v1

latestOpenAPI 3.0.32026-07-17485661.9 KB

List database shares

Lists all shared snapshots for a space.

get/spaces/{space_id}/shares

Path parameters

space_idstring required

Ghost space ID.

Response

List of shares

share_tokenstring required

Token passed to createDatabase (via share_token) to create a new database from the shared snapshot in another space. Also used to revoke the share via revokeShare. Always begins with gs_.

database_idstring required

ID of the source database.

database_namestring required

Name of the source database.

created_atstring date-time required

Time the share was created.

expires_atstring date-time

Time the share expires. Absent if the share does not expire.

revoked_atstring date-time

Time the share was revoked. Absent if the share is still active.