Load all snippets

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

pageintegerOptional

Request

This endpoint expects an object.
orgIdstringOptional

If the same API is defined across multiple organization, you must specify an organization ID.

apiIdstringOptional

If you have more than one API, you must specify its ID.

sdkslist of objectsOptional

The SDKs for which to load snippets. If unspecified, snippets for the latest published SDKs will be returned.

Response

This endpoint returns an object.
snippetsmap from strings to maps from enums to lists of objects

The snippets are returned as a map of endpoint path (e.g. /api/users) to a map of endpoint method (e.g. POST) to snippets.

Allowed values:
nextintegerOptional

If present, pass this into the page query parameter to load the next page.

Errors