Load all snippets

Beta
POST

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
Allowed values: PUTPOSTGETPATCHDELETE

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.

nextintegerOptional

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