-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEVDOCS-4719: [migrate] Upgrade docs to new Dev Center syntax and spe…
…c standards (#1212) Co-authored-by: Sarah Riehl <[email protected]> Co-authored-by: Traci Porter <[email protected]> Co-authored-by: Andrea Dao <[email protected]> Co-authored-by: Tina Gomez <[email protected]> Co-authored-by: Constanze Kratel <[email protected]> Co-authored-by: Mark Murphy <[email protected]> Co-authored-by: Katie Hoesley <[email protected]> Co-authored-by: Stephen Hilliard <[email protected]> Co-authored-by: Heather Barr <[email protected]> Co-authored-by: Matthew Volk <[email protected]> Co-authored-by: Nate Stewart <[email protected]>
- Loading branch information
1 parent
16bf158
commit 6c7a67f
Showing
118 changed files
with
14,051 additions
and
12,272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": ["plugin:mdx/recommended"], | ||
// optional, if you want to lint code blocks at the same time | ||
"settings": { | ||
"mdx/code-blocks": true, | ||
// optional, if you want to disable language mapper, set it to `false` | ||
// if you want to override the default language mapper inside, you can provide your own | ||
"mdx/language-mapper": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: lint-valid-mdx | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js v17.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 17.x | ||
- run: npm ci | ||
- run: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
.idea | ||
node_modules | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
# Available APIs | ||
|
||
## Storefront APIs | ||
|
||
### REST | ||
|
||
Manage a shopper's cart and checkout and fetch order data via client-side JavaScript on BigCommerce [Stencil](/stencil-docs/getting-started/about-stencil) powered storefronts. | ||
|
||
[Learn more about storefront APIs](/api-docs/storefront/overview). | ||
|
||
### GraphQL | ||
|
||
Use GraphQL to query data for headless storefronts and BigCommerce [Stencil](/stencil-docs/getting-started/about-stencil) powered storefronts. | ||
|
||
[Learn more about the GraphQL Storefront API](/api-docs/storefront/graphql/graphql-storefront-api-overview) | ||
|
||
### Add to cart URLs | ||
|
||
Append query string parameters to product and `/cart.php` URLs to pre-select a SKU or add a product to cart. Use these parameters to build custom add to cart links and forms on BigCommerce hosted storefronts and remote sites (such as WordPress, blog posts, and social media). | ||
|
||
[Learn more about add to cart URLs](/api-docs/cart-and-checkout/add-to-cart-url). | ||
|
||
### Current Customer | ||
|
||
Identify logged-in customers securely via JavaScript. | ||
|
||
[Learn more about the current customer API](/api-docs/customers/current-customer-api). | ||
|
||
### Customer Login SSO | ||
|
||
Enable single sign-on for shoppers on BigCommerce hosted storefronts. | ||
|
||
[Learn more about the customer login API](/api-docs/customers/customer-login-api). | ||
|
||
## Management APIs | ||
|
||
### V2 REST API | ||
|
||
Mananage store resources from server-side code. | ||
|
||
Some **V2** resources are not yet exposed in the **V3 API**; however, for resources that are accessible via both APIs, the **V3 API** is recommended; it contains performance optimizations and [other improvements](#v3-rest-api). | ||
|
||
### V3 REST API | ||
|
||
Mananage store resources from server-side code. | ||
|
||
Interactions with the **V3** API are very similar to that of the **V2** API; however, the **V3** API introduces a number of improvements: | ||
* Most tasks can be performed with fewer API calls (for example, a product with variants and custom fields can be created in a single request) | ||
* Each **V3** resource includes a `meta` object, simplifying pagination | ||
* **V3** Brands, Categories, Products, and Product Variants expose a [metafields](/api-reference/catalog/catalog-api/product-metafields/createproductmetafield) resource for use by developers to store custom data. | ||
* **V3** API is optimized for performance (in general, data can be sent, received, and processed faster via **V3**, relative to **V2**). | ||
|
||
[Learn more about the V3 API](/api-docs/getting-started/about-our-api). | ||
|
||
## Provider APIs | ||
|
||
Implement endpoints consumed by BigCommerce for custom integrations (ex: custom shipping carrier rates via `/rates`). | ||
|
||
[Learn more about the Shipping Provider API](/api-docs/store-management/shipping/shipping-provider-api). | ||
|
||
## Resources | ||
|
||
- [Deprecations and Sunsets](/api-docs/getting-started/deprecations-and-sunsets) | ||
- [Difference between V2 and V3 Catalog REST APIs](/api-docs/store-management/catalog/v2-vs-v3) | ||
# Available APIs | ||
|
||
## Storefront APIs | ||
|
||
### REST | ||
|
||
Manage a shopper's cart and checkout and fetch order data via client-side JavaScript on BigCommerce [Stencil](/stencil-docs/getting-started/about-stencil) powered storefronts. | ||
|
||
[Learn more about storefront APIs](/api-docs/storefront/overview). | ||
|
||
### GraphQL | ||
|
||
Use GraphQL to query data for headless storefronts and BigCommerce [Stencil](/stencil-docs/getting-started/about-stencil) powered storefronts. | ||
|
||
[Learn more about the GraphQL Storefront API](/api-docs/storefront/graphql/graphql-storefront-api-overview) | ||
|
||
### Add to cart URLs | ||
|
||
Append query string parameters to product and `/cart.php` URLs to pre-select a SKU or add a product to cart. Use these parameters to build custom add to cart links and forms on BigCommerce hosted storefronts and remote sites (such as WordPress, blog posts, and social media). | ||
|
||
[Learn more about add to cart URLs](/api-docs/cart-and-checkout/add-to-cart-url). | ||
|
||
### Current Customer | ||
|
||
Identify logged-in customers securely via JavaScript. | ||
|
||
[Learn more about the current customer API](/api-docs/customers/current-customer-api). | ||
|
||
### Customer Login SSO | ||
|
||
Enable single sign-on for shoppers on BigCommerce hosted storefronts. | ||
|
||
[Learn more about the customer login API](/api-docs/customers/customer-login-api). | ||
|
||
## Management APIs | ||
|
||
### V2 REST API | ||
|
||
Mananage store resources from server-side code. | ||
|
||
Some **V2** resources are not yet exposed in the **V3 API**; however, for resources that are accessible via both APIs, the **V3 API** is recommended; it contains performance optimizations and [other improvements](#v3-rest-api). | ||
|
||
### V3 REST API | ||
|
||
Mananage store resources from server-side code. | ||
|
||
Interactions with the **V3** API are very similar to that of the **V2** API; however, the **V3** API introduces a number of improvements: | ||
* Most tasks can be performed with fewer API calls (for example, a product with variants and custom fields can be created in a single request) | ||
* Each **V3** resource includes a `meta` object, simplifying pagination | ||
* **V3** Brands, Categories, Products, and Product Variants expose a [metafields](/docs/rest-management/catalog/product-metafields#create-a-product-metafield) resource for use by developers to store custom data. | ||
* **V3** API is optimized for performance (in general, data can be sent, received, and processed faster via **V3**, relative to **V2**). | ||
|
||
[Learn more about the V3 API](/api-docs/getting-started/about-our-api). | ||
|
||
## Provider APIs | ||
|
||
Implement endpoints consumed by BigCommerce for custom integrations (ex: custom shipping carrier rates via `/rates`). | ||
|
||
[Learn more about the Shipping Provider API](/api-docs/store-management/shipping/shipping-provider-api). | ||
|
||
## Resources | ||
|
||
- [Deprecations and Sunsets](/api-docs/getting-started/deprecations-and-sunsets) | ||
- [Difference between V2 and V3 Catalog REST APIs](/api-docs/store-management/catalog/v2-vs-v3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.