Get firmware channels

GET/channels

Base URL: https://api.tinkermode.com

Get a list of firmware channels for a project. Optionally, results can be filtered by device class or keywords.

Authentication

Send an Authorization header of the form ModeCloud <AUTH_CODE>.

Must contain either a user, service account, device, or project API key.

Query parameters

NameTypeRequiredConstraintsDescription
deviceClassstringNoReturn only channels for the specified Device Class ID
limitintegerNodefault: 25; min: 0Maximum number of channels to return. If value is 0, all channels are returned.
projectIdintegerYesReturn channels of the specified project.
searchstringNoSearch for channels by keywords.
skipintegerNodefault: 0; min: 0Number of channels to skip over.
sortBystringNoA comma-delimited list of sort keys. (e.g. "name:asc,deviceClass:desc") The default sort order is ascending.

Responses

200 Successful retrieval of firmware channels.

Content type: application/json

Represents a channel.

An array of objects with the following shape:

PropertyTypeRequiredConstraintsDescription
bundleIdstringNoID of the bundle to be deployed to the channel.
creationTimestringNoread-only (server-generated); format: date-timeTimestamp of channel creation.
descriptionstringNoDescription of the channel.
deviceClassstringYesread-only (server-generated)device class that this channel belongs to.
idstringYesread-only (server-generated)Unique ID assigned at time of creation.
namestringYesDisplay name of channel and is unique per device class and project.
projectIdintegerYesread-only (server-generated)Project that this channel belongs to.

401 Authorization is required to access this resource.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

403 Request failed because of denied permission.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

429 Request failed because of rate limit.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

500 An unexpected error has occurred.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

503 The service is temporarily unavailable.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.