New to Corsair? See API access, authentication, and error handling.
Documents
get
documents.get
Read one published document by id, at the master ref or a given one
Risk: read
Output
alternate_languages full type
alternate_languages full type
search
documents.search
Query published documents with Prismic predicates, ordering, tags and locale at the master ref or a given one, paged by number or by next_page
Risk: read
Output
results full type
results full type
Migration
create
migration.create
Create one page as a draft in a migration release. It is not published until the release is published, and Prismic accepts one page per request at one request per second
Risk: write
Output
update
migration.update
Update one existing page. The type, locale and translation link cannot be changed, and omitting tags deletes them all
Risk: write
Output
Repository
info
repository.info
Read the repository’s refs, custom types, languages and tags. Document reads use the master ref unless given another one
Risk: read
Output
refs full type
refs full type
languages full type
languages full type