Docs
Get Partitions
GET /drives/{eventId}/partitions
GET
/drives/{eventId}/partitionsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Returns all drive partitions the current user has access to. A partition represents a scoped section of the drive — files and folders are always stored within exactly one partition.
Partition types:
- Event — the event-level partition, shared across all event users. Its ID is the event ID.
- Collaborator — a partition scoped to a specific collaborator. Its ID is the collaborator ID.
- Area — a partition scoped to a specific area. Its ID is the area ID.
Event admins see all partitions. Non-admins see only partitions they have been explicitly granted access to.
The partition id returned here is used as the partitionKey when browsing the drive or creating files and folders.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveId | Guid | Required | The event ID. |
Example Response
[
{
"id": "0197f067-94af-743b-bc06-9c00d54efe20",
"name": "Main Event",
"type": "Event"
},
{
"id": "0197f069-bd91-76c8-bfd0-5e287b932da7",
"name": "Headliner",
"type": "Collaborator"
}
]
Response Fields
| Field | Type | Description |
|---|---|---|
| id | Guid | The partition ID. Use this as `partitionKey` when browsing or creating content in this partition. |
| name | string | Display name of the partition (event name, collaborator name, or area name). |
| type | string | Partition type: `"Event"`, `"Collaborator"`, or `"Area"`. |
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token. |
NOT_FOUND | 404 | Drive not found. |