GET
/
streaming
/
assets
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/streaming/assets/v1 \
  --header 'Authorization: Bearer <token>'
{
  "assets": [
    {
      "id": "<string>",
      "name": "<string>",
      "project_id": "<string>",
      "type": "ASSET_TYPE_UNSPECIFIED",
      "content_type": "<string>",
      "size_bytes": "<string>",
      "access_control_mode": "ACCESS_CONTROL_MODE_UNSPECIFIED",
      "create_time": "2023-11-07T05:31:56Z",
      "labels": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page_size
integer

Maximum number of records to return

page_token
string

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

project_id
string

ID of the project from which assets are returned.

filter
string

You can filter list of assets. Example: labels.event_id:123

order_by
string

Specifies the result ordering for List requests. Supported values are:

  • "create_time asc|desc"
  • "size_bytes asc|desc"
  • "labels.<key> asc|desc"

Response

200
application/json
OK
assets
object[]

List of assets.

next_page_token
string

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.