Shared Drives
List the Shared Drives in your account and retrieve a single Shared Drive by ID.
Shared Drives (also called Workspaces) let teams organise and collaborate on Trints together. Use these endpoints to discover the Shared Drives available to your account and to look up an individual Shared Drive by its ID. Authenticate every request with Basic Authentication using your API key ID and secret.
Organization keys and membership
When you authenticate with an organization key, Shared Drive access is resolved against the account owner's membership rather than the user who created the key. Make sure the account owner is a member of any Shared Drive you need to reach.
List all Shared Drives
Returns every Shared Drive your account can access. By default archived Shared Drives are excluded; set include-archived to true to include them.
List Shared Drives
https://api.trint.com/workspaces/List workspaces
Query parameters
include-archivedbooleanoptionalWhether or not to include Workspaces/Shared Drives that have been archived
curl --request GET \ --url 'https://api.trint.com/workspaces/' \
--header 'Authorization: Basic YOUR_BASE64_KEY_ID_AND_SECRET'Response 200
[
{
"_id": "qNLOwIxUTQy9mIAl1BQrrA",
"name": "Clippings",
"description": "Interview Clippings",
},
{
"_id": "UPN5-hv_Rze3AtBQKvvfUA",
"name": "Video Edits",
"description": "Video 2015/16",
}
]200200Retrieve a Shared Drive
Fetch a single Shared Drive by its ID. Pass the drive's identifier in the required workspaceId query parameter.
Retrieve Shared Drive
https://api.trint.com/workspaces/workspaceQuery parameters
workspaceIdstringrequiredcurl --request GET \ --url 'https://api.trint.com/workspaces/workspace?workspaceId=YOUR_WORKSPACEID' \
--header 'Authorization: Basic YOUR_BASE64_KEY_ID_AND_SECRET'Response 200
{}200200400400