GET
/
monetization
/
offers
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/monetization/offers/v1 \
  --header 'Authorization: Bearer <token>'
{
  "offers": [
    {
      "id": "<string>",
      "project_id": "<string>",
      "name": "<string>",
      "cleeng_offer_id": "<string>",
      "applies_to_all": true,
      "target": {
        "entity_ids": [
          "<string>"
        ],
        "event_ids": [
          "<string>"
        ],
        "creative_work_ids": [
          "<string>"
        ],
        "content_start_time": "2023-11-07T05:31:56Z",
        "content_end_time": "2023-11-07T05:31:56Z"
      },
      "localized_title": {},
      "localized_description": {},
      "localized_logo_asset_id": {},
      "localized_image_asset_id": {},
      "offer_prices": [
        {
          "id": "<string>",
          "msrp_price": {
            "currency_code": "<string>",
            "units": "<string>",
            "nanos": 123
          },
          "price": {
            "currency_code": "<string>",
            "units": "<string>",
            "nanos": 123
          },
          "geo_restrictions_disallow": {
            "country_codes": [
              "<string>"
            ]
          },
          "geo_restrictions_allow": {
            "country_codes": [
              "<string>"
            ]
          },
          "billing_period": "BILLING_PERIOD_UNSPECIFIED",
          "access_period": "ACCESS_PERIOD_UNSPECIFIED",
          "priority": "<string>"
        }
      ],
      "priority": "<string>",
      "concurrency_limit": "<string>",
      "visibility": "VISIBILITY_UNSPECIFIED"
    }
  ],
  "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

project_id
string
filter
string

Filter the result-set by properties using a subset of the Kibana Query Language. Only AND statements are supported. Currently supports filtering on cleeng_offer_id field.

page_token
string

The pagination token in the List request.

Response

200
application/json
OK
offers
object[]

Offer represents a collection of video content that end users can purchase. This can be used e.g. to define Entitlements against.

next_page_token
string

The pagination token that should be used to get next page results. An empty value means no more results