OpenAPI
Upload, access, or version-control your OpenAPI specifications directly in GitBook.
The OpenAPI endpoints let you integrate your existing or newly generated OpenAPI definitions into GitBook. This includes uploading, updating, and retrieving specs.
The object type, which is always "openapi-spec"
openapi-spec
Unique identifier
Date of creation
Date of the last update
Slug used as reference
^[a-z0-9]+(?:-[a-z0-9]+)*$
Processing state
pending
, progress
, complete
ID of the latest version of the OpenAPI specification
Date of the last processing
OpenAPI processing error code
FETCH_TIMEOUT
, FETCH_ERROR
, PARSE_ERROR
The set of permissions for the OpenAPI specification.
URLs associated with the object
The unique id of the organization
Identifier of the page results to fetch.
The number of results per page
The unique id of the organization
Slug used as reference
^[a-z0-9]+(?:-[a-z0-9]+)*$
Create a specification from an URL
Create a specification from a text string
The unique id of the organization
Slug of the OpenAPI specification
Create a specification from an URL
Create a specification from a text string
Was this helpful?