channels

Protocol buffer definition for channels

sift/channels/v2/channels.proto

Channel

FieldTypeLabelDescription
channel_idstring
namestring
componentstring
asset_idstring
descriptionstring
unit_idstring
created_dategoogle.protobuf.Timestamp
modified_dategoogle.protobuf.Timestamp
created_by_user_idstring
modified_by_user_idstring
organization_idstring
data_typesift.common.type.v1.ChannelDataType
enum_typessift.common.type.v1.ChannelEnumTyperepeated
bit_field_elementssift.common.type.v1.ChannelBitFieldElementrepeated

GetChannelRequest

The request for a call to ChannelService_GetChannel.

FieldTypeLabelDescription
channel_idstring

GetChannelResponse

The response of a call to ChannelService_GetChannel.

FieldTypeLabelDescription
channelChannel

ListChannelsRequest

The request for a call to ChannelService_ListChannels to retrieve channels.

FieldTypeLabelDescription
page_sizeuint32The maximum number of channels to return. The service may return fewer than this value. If unspecified, at most 50 channels will be returned. The maximum value is 10,000; values above 10,000 will be coerced to 10,000. Optional.
page_tokenstringA page token, received from a previous ListChannels call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListChannels must match the call that provided the page token. Optional.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are channel_id, asset_id, name, component, description, active, created_date, and modified_date. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.
organization_idstringThis field is only required if your user belongs to multiple organizations.
order_bystringHow to order the retrieved channels. Formatted as a comma-separated string i.e. "FIELD_NAME[ desc],...". Available fields to order_by are created_date and modified_date. If left empty, items are ordered by created_date in ascending order (oldest-first). For more information about the format of this field, read this Example: "created_date desc,modified_date"

ListChannelsResponse

The result of a call to ChannelService_ListChannels.

FieldTypeLabelDescription
channelsChannelrepeated
next_page_tokenstring

ChannelService

Method NameRequest TypeResponse TypeDescription
GetChannelGetChannelRequestGetChannelResponseRetrieve a channel
ListChannelsListChannelsRequestListChannelsResponseRetrieve channels using an optional filter.

On this page