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.

View as Markdown · For AI agents: the full docs index is at /llms.txt

Base URL https://api.brixsignage.com. Send Authorization: Bearer $BRIX_API_KEY unless an operation says Auth: none or Auth: no API key. The Permission line names what the key must hold. See Authentication and scopes, Errors and rate limits and Pagination.

Every 4xx and 5xx response below returns this body:

FieldTypeDescription
errorstringMachine-readable code: unauthorized, forbidden, not_found, validation_error, conflict, rate_limited, internal_error, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

GET /v1/shared-with-me

Auth: Bearer token. Permission: playlist.view.

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.

FieldTypeDescription
dataarray of object
data[].allocationIdstring
data[].labelstring
data[].reservedForNodeIdstringThe location the slice is reserved for.
data[].reservedForNamestring
data[].kind"percent" | "every-nth" | "daypart"Only percent and every-nth slices are listed.
data[].valuenumberThe share of airtime (a percentage, or every Nth item).
data[].requiresApprovalboolean
data[].sourcePlaylistobject
data[].sourcePlaylist.idstring
data[].sourcePlaylist.namestring
data[].sourcePlaylist.nodeIdstring | null
data[].fillobject | nullThe playlist that fills the slice; null when none is bound.

Response 401: Missing, expired or revoked bearer token.

Response 403: The token lacks the permission this operation needs (see x-brix-permission).

Response 5XX: Server error. The body carries a requestId to quote to support.

POST /v1/shared-with-me/{allocationId}/fill

Auth: Bearer token. Permission: playlist.view.

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.

ParameterInTypeRequiredDescription
allocationIdpathstringyesSlice (allocation) id.

Request body: application/json

FieldTypeRequiredDescription
namestringnoDefault <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.

FieldTypeDescription
dataobject
data.allocationIdstring
data.fillPlaylistIdstring
data.namestring
data.createdboolean

Response 201: Success.

FieldTypeDescription
dataobject
data.allocationIdstring
data.fillPlaylistIdstring
data.namestring
data.createdboolean

Response 401: Missing, expired or revoked bearer token.

Response 403: You cannot fill this slice.

Response 404: No such fillable slice in this workspace.

Response 5XX: Server error. The body carries a requestId to quote to support.

PUT /v1/shared-with-me/{allocationId}/fill

Auth: Bearer token. Permission: playlist.view.

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.

ParameterInTypeRequiredDescription
allocationIdpathstringyesSlice (allocation) id.

Request body: application/json

FieldTypeRequiredDescription
playlistIdstring | nullyesA 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.

FieldTypeDescription
dataobject
data.allocationIdstring
data.fillPlaylistIdstring | null

Response 401: Missing, expired or revoked bearer token.

Response 403: You cannot fill this slice, or cannot edit that playlist.

Response 404: No such fillable slice, or no such playlist in this workspace.

Response 422: The playlist is the one the slice belongs to.

Response 5XX: Server error. The body carries a requestId to quote to support.

GET /v1/shared-with-me/{allocationId}/source

Auth: Bearer token. Permission: playlist.view.

Get the owner playlist around an airtime slice shared with your team: its name, whether it shuffles, its items in play order (name, kind, thumbnail, duration), and the share itself (kind, value, whether approval is required, and your fill playlist). Read only. Besides playlist.view, you need playlist.edit at the location the slice is reserved for. Other locations’ shares and the owner’s settings are not returned. 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.

ParameterInTypeRequiredDescription
allocationIdpathstringyesSlice (allocation) id.
curl "https://api.brixsignage.com/v1/shared-with-me/{allocationId}/source" \
  -H "Authorization: Bearer $BRIX_API_KEY"

Response 200: Success.

FieldTypeDescription
dataobject
data.playlistobject
data.playlist.idstring
data.playlist.namestring
data.playlist.shuffleboolean
data.itemsarray of objectThe owner's items in order: what plays around your share.
data.items[].namestring
data.items[].kindstring
data.items[].thumbnailUrlstring | null
data.items[].durationSecnumber
data.shareobject
data.share.kind"percent" | "every-nth" | "daypart"
data.share.valuenumber
data.share.requiresApprovalboolean
data.share.reservedForNamestring
data.share.fillPlaylistIdstring | null

Response 401: Missing, expired or revoked bearer token.

Response 403: You cannot fill this slice.

Response 404: No such fillable slice in this workspace.

Response 5XX: Server error. The body carries a requestId to quote to support.