Shared with Me API
Shared with Me endpoints in the Brix REST API: 4 operations (GET, POST, PUT). Each lists its path, auth, required permission and a curl example.
Base URL https://api.brixsignage.com. Send Authorization: Bearer $BRIX_API_KEY unless an operation says No auth. The permission chip names what the key must hold. See Authentication and scopes, Errors and rate limits and Pagination.
GET /v1/shared-with-mePOST /v1/shared-with-me/{allocationId}/fillPUT /v1/shared-with-me/{allocationId}/fillGET /v1/shared-with-me/{allocationId}/source
GET/v1/shared-with-me
List airtime slices that other teams have reserved and made available for the caller's team to fill.
**Notes.**
- Only slices the caller can fill are listed. Besides playlist.view, the caller needs playlist.edit at the location the slice is reserved for.
curl "https://api.brixsignage.com/v1/shared-with-me" \
-H "Authorization: Bearer $BRIX_API_KEY" Response 200 Success.
| Field | Type | Description |
|---|---|---|
data | array of object | |
data[].allocationId | string | |
data[].label | string | |
data[].reservedForNodeId | string | The location the slice is reserved for. |
data[].reservedForName | string | |
data[].kind | "percent" | "every-nth" | "daypart" | Only `percent` and `every-nth` slices are listed. |
data[].value | number | The share of airtime (a percentage, or every Nth item). |
data[].requiresApproval | boolean | |
data[].sourcePlaylist | object | |
data[].sourcePlaylist.id | string | |
data[].sourcePlaylist.name | string | |
data[].sourcePlaylist.nodeId | string | null | |
data[].fill | object | null | The playlist that fills the slice; null when none is bound. |
Response 401 Missing, expired or revoked bearer token.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 403 The token lacks the permission this operation needs (see `x-brix-permission`).
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 5XX Server error. The body carries a `requestId` to quote to support.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
POST/v1/shared-with-me/{allocationId}/fill
Create a new playlist and attach it as the fill for an airtime slice reserved for the caller's team.
**Notes.**
- Besides playlist.view, the caller needs playlist.edit at the location the slice is reserved for.
- The new playlist is empty and is placed at the reserved location.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
allocationId | path | string | yes | Slice (allocation) id. |
Request body application/json
| Field | Type | Required | Description |
|---|---|---|---|
name | string | no | Default `<location> slice`. |
curl -X POST "https://api.brixsignage.com/v1/shared-with-me/{allocationId}/fill" \
-H "Authorization: Bearer $BRIX_API_KEY" \
-H "Content-Type: application/json" Response 200 Success: A fill playlist is already bound: it is returned (`created: false`) and nothing is created.
| Field | Type | Description |
|---|---|---|
data | object | |
data.allocationId | string | |
data.fillPlaylistId | string | |
data.name | string | |
data.created | boolean |
Response 201 Success.
| Field | Type | Description |
|---|---|---|
data | object | |
data.allocationId | string | |
data.fillPlaylistId | string | |
data.name | string | |
data.created | boolean |
Response 401 Missing, expired or revoked bearer token.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 403 You cannot fill this slice.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 404 No such fillable slice in this workspace.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 5XX Server error. The body carries a `requestId` to quote to support.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
PUT/v1/shared-with-me/{allocationId}/fill
Attach an existing playlist as the fill for an airtime slice reserved for the caller's team. Send playlistId as null to remove it.
**Notes.**
- Besides playlist.view, the caller needs playlist.edit at the location the slice is reserved for.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
allocationId | path | string | yes | Slice (allocation) id. |
Request body application/json
| Field | Type | Required | Description |
|---|---|---|---|
playlistId | string | null | yes | A playlist you can edit; null unbinds. |
curl -X PUT "https://api.brixsignage.com/v1/shared-with-me/{allocationId}/fill" \
-H "Authorization: Bearer $BRIX_API_KEY" \
-H "Content-Type: application/json" Response 200 Success.
| Field | Type | Description |
|---|---|---|
data | object | |
data.allocationId | string | |
data.fillPlaylistId | string | null |
Response 401 Missing, expired or revoked bearer token.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 403 You cannot fill this slice, or cannot edit that playlist.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 404 No such fillable slice, or no such playlist in this workspace.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 422 The playlist is the one the slice belongs to.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 5XX Server error. The body carries a `requestId` to quote to support.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
GET/v1/shared-with-me/{allocationId}/source
The owner's playlist, read only (names, kinds, thumbnails, durations), for a location that fills a share of it — so it can see what else plays on its screens.
**Notes.**
- Besides playlist.view, the caller needs playlist.edit at the location the slice is reserved for.
- Read only. Other locations' shares and the owner's settings are not returned.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
allocationId | path | string | yes | Slice (allocation) id. |
curl "https://api.brixsignage.com/v1/shared-with-me/{allocationId}/source" \
-H "Authorization: Bearer $BRIX_API_KEY" Response 200 Success.
| Field | Type | Description |
|---|---|---|
data | object | |
data.playlist | object | |
data.playlist.id | string | |
data.playlist.name | string | |
data.playlist.shuffle | boolean | |
data.items | array of object | The owner's items in order: what plays around your share. |
data.items[].name | string | |
data.items[].kind | string | |
data.items[].thumbnailUrl | string | null | |
data.items[].durationSec | number | |
data.share | object | |
data.share.kind | "percent" | "every-nth" | "daypart" | |
data.share.value | number | |
data.share.requiresApproval | boolean | |
data.share.reservedForName | string | |
data.share.fillPlaylistId | string | null |
Response 401 Missing, expired or revoked bearer token.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 403 You cannot fill this slice.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 404 No such fillable slice in this workspace.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |
Response 5XX Server error. The body carries a `requestId` to quote to support.
| Field | Type | Description |
|---|---|---|
error | string | Machine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, … |
message | string | Human-readable explanation. Safe to show an operator. |
requestId | string | Present on 5xx: quote it to support. |