GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - contentstack/contentstack-openapi: Contentstack provides OpenAPI JSON files for its Content Delivery and Content Management REST APIs. They are a set of preconfigured requests that will make it easy for you to automatically generate the API documentation and try out our API requests using Swagger Editor.

BranchesTags
Open more actions menu

Latest commit

 

History

68 Commits
68 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.talismanrc
.talismanrc
 
 
CODEOWNERS
CODEOWNERS
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

Contentstack CDA/CMA OpenAPI

Contentstack provides OpenAPI files for its Content Delivery and Content Management APIs in JSON format. These files allow you to automatically generate API documentation, test requests, and streamline your development workflow.

This tutorial walks you through how to use these JSON files with Swagger Editor to interact with Contentstack’s APIs.

Content Delivery API (CDA)

To use CDA with Swagger, follow these steps:

  1. Download the latest CDA JSON file and navigate to Swagger Editor.
  2. Click File on top-right and select Import File to upload the JSON.
  3. Open any API request and click the Try it out button to unlock the parameter fields.
  4. Enter your stack's values or use the default demo stack credentials.
  5. Click Execute.

The Responses section will display the following:

  • The API request in cURL format.
  • The response body (JSON).
  • The HTTP status code.

Note: To ensure you are testing against the most accurate environment, always download the latest CDA file from the Contentstack documentation site.

Content Management API (CMA)

To use CDA with Swagger, follow these steps:

  1. Download the latest CMA JSON file and navigate to Swagger Editor.
  2. Click File on top-right and select Import File to upload the JSON.
  3. Before running a request, ensure you have an authentication method ready:
  4. Management Token: We recommend using a management token for CMA requests. Refer to the Generate Management Token guide for details.
  5. Authtoken: Run the Log in API request under the User Session section to retrieve an authtoken in the response.
  6. Open any API request and click the Try it out button to unlock the parameter fields.
  7. Enter your stack's values or use the default demo stack credentials.
  8. Click Execute.

The Responses section will display the following:

  • The API request in cURL format.
  • The response body (JSON).
  • The HTTP status code.

Note:

  • We recommend using the Management token for executing CMA requests rather than authtoken.
  • For any DELETE request that has a request body in it, you won’t be able to run it in Swagger.

About

Contentstack provides OpenAPI JSON files for its Content Delivery and Content Management REST APIs. They are a set of preconfigured requests that will make it easy for you to automatically generate the API documentation and try out our API requests using Swagger Editor.

Topics

apicdacmacontentstackopenapiswagger

Resources

Readme
MIT license

Security policy

Security policy
Activity
Custom properties

Stars

8 stars

Watchers

12 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.