Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

List named draft media offer bindings

Generated from the checked-in source. Do not edit this reference by hand.

GET /api/v1/providers/{provider}/media-offer-models

Installation read authority only. Bounded canonical alias traversal includes configured video schemas on explicitly owned Provider credentials, regardless of activation or qualification. Invalid schemas, personal credentials and aliases owned by another Provider are excluded. No credential, endpoint, upstream model or prices are returned. Exact revision strings and internal binding identifiers must remain out of product UI. Cursor progression includes invalid rows skipped after validation. A page may have empty data with has_more true; clients must continue with next_after until has_more is false. Multiple credentials belonging to the same Provider retain their independent model bindings.

Operation: listSupplierMediaOfferModels.

Use the credential and permission scope described above. Each object below is an alternative; schemes within one object are required together.

JSON
[
{
"operatorBearer": []
}
]

Set NIU_ORIGIN to your installation origin (without /v1). Replace path, query and header placeholders with the required values. Query examples use curl 7.87 or newer to encode values with --url-query. Use the credential scope described above; a bearer token must have the authority required by this operation.

Shell
curl --fail-with-body -X GET "$NIU_ORIGIN/api/v1/providers/{provider}/media-offer-models" \
-H "Authorization: Bearer $NIU_MEMBER_TOKEN"

Location: path. Required.

JSON
{
"type": "string",
"format": "uuid"
}

Location: query. Optional.

JSON
{
"type": "string",
"minLength": 1,
"maxLength": 256
}

Location: query. Optional.

JSON
{
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}

No request body is declared.

Draft configuration choices, not dispatch qualification

Content type: application/json.

JSON
{
"type": "object",
"additionalProperties": false,
"required": [
"data",
"has_more",
"next_after"
],
"properties": {
"has_more": {
"type": "boolean"
},
"next_after": {
"type": [
"string",
"null"
]
},
"data": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"model_alias",
"api_key_name",
"vendor_id",
"vendor_revision",
"model_revision",
"schema_revision",
"channel",
"offer_revision"
],
"properties": {
"model_alias": {
"type": "string"
},
"api_key_name": {
"type": "string"
},
"vendor_id": {
"type": "string",
"format": "uuid"
},
"vendor_revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
},
"model_revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
},
"schema_revision": {
"type": "string"
},
"channel": {
"type": "string"
},
"offer_revision": {
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}
}
}
}

Invalid cursor or page size

Valid management session required

Installation administration required

Durable storage unavailable

Installation read authority only. Bounded canonical alias traversal includes configured video schemas on explicitly owned Provider credentials, regardless of activation or qualification. Invalid schemas, personal credentials and aliases owned by another Provider are excluded. No credential, endpoint, upstream model or prices are returned. Exact revision strings and internal binding identifiers must remain out of product UI. Cursor progression includes invalid rows skipped after validation. A page may have empty data with has_more true; clients must continue with next_after until has_more is false. Multiple credentials belonging to the same Provider retain their independent model bindings.