Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.25 KB

File metadata and controls

33 lines (23 loc) · 1.25 KB
description
An organization in GitBook is the entity of a place that users, spaces, and collections belong to.

Organizations

GET organizations for current user

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

GET collections in an organization

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

GET spaces in an organization

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

GET spaces of the organization including Git Sync metadata

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