Links

Revisions

The GitBook API is currently in beta. This means you should not rely on it's availability, and that it may change without prior warning.

Retrieve a Revision and Pages

get
https://api.gitbook.com/v1
/spaces/{spaceId}/revisions/{revisionId}
Get a specific revision in a space
get
https://api.gitbook.com/v1
/spaces/{spaceId}/revisions/{revisionId}/page/{pageId}
Get a page by its ID in a revision.
get
https://api.gitbook.com/v1
/spaces/{spaceId}/revisions/{revisionId}/path/{pagePath}
Get a page by its path in a revision.

Retrieve files in a Revision

get
https://api.gitbook.com/v1
/spaces/{spaceId}/revisions/{revisionId}/files
List all files in a revision