Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.18 KB

collections.md

File metadata and controls

30 lines (20 loc) · 1.18 KB
description
A collection in GitBook is the entity of a group that a space can belong to.

Collections

GET a specific collection

{% swagger src="https://api.gitbook.com/openapi.json" path="/collections/{collectionId}" method="get" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

GET spaces in a collection

{% swagger src="https://api.gitbook.com/openapi.json" path="/collections/{collectionId}/spaces" method="get" %} https://api.gitbook.com/openapi.json {% endswagger %}

{% swagger src="https://api.gitbook.com/openapi.json" path="/collections/{collectionId}" method="get" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}

GET permissions for all users in a collection

{% swagger src="https://api.gitbook.com/openapi.json" path="/collections/{collectionId}/permissions/aggregate" method="get" expanded="true" %} https://api.gitbook.com/openapi.json {% endswagger %}