List current media pricing configuration choices
Generated from the checked-in source. Do not edit this reference by hand.
GET /api/v1/providers/{provider}/media-rate-models
Installation read authority only. Named model and API-key choices include current qualified active offer bindings and syntactically validated media-schema constraints. This does not qualify dispatch protocols or provide prices. Disabled routes, personal credentials, invalid schemas and foreign Providers are excluded. Revisions remain exact strings; clients keep binding identifiers out of product UI and publication rechecks current state. Cursor ordering uses model alias, including rows skipped for invalid schemas.
Operation: listSupplierMediaRateModels.
Authentication
Section titled “Authentication”Use the credential and permission scope described above. Each object below is an alternative; schemes within one object are required together.
[ { "operatorBearer": [] }]HTTP request
Section titled “HTTP request”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.
curl --fail-with-body -X GET "$NIU_ORIGIN/api/v1/providers/{provider}/media-rate-models" \ -H "Authorization: Bearer $NIU_MEMBER_TOKEN"Parameters
Section titled “Parameters”provider
Section titled “provider”Location: path. Required.
{ "type": "string", "format": "uuid"}Location: query. Optional.
{ "type": "string", "minLength": 1, "maxLength": 256}Location: query. Optional.
{ "type": "integer", "minimum": 1, "maximum": 100, "default": 50}Request body
Section titled “Request body”No request body is declared.
Responses
Section titled “Responses”HTTP 200
Section titled “HTTP 200”Bounded configuration choices
Content type: application/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", "offer_revision", "vendor_revision", "model_revision", "schema_revision", "channel", "resolutions", "reference_video" ], "properties": { "model_alias": { "type": "string" }, "api_key_name": { "type": "string" }, "offer_revision": { "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" }, "resolutions": { "type": "array", "maxItems": 64, "items": { "type": "string" } }, "reference_video": { "type": "boolean" } } } } }}HTTP 400
Section titled “HTTP 400”Invalid cursor or page size
HTTP 401
Section titled “HTTP 401”Valid management session required
HTTP 403
Section titled “HTTP 403”Installation administration required
HTTP 503
Section titled “HTTP 503”Durable storage unavailable
Behavior and supported scope
Section titled “Behavior and supported scope”Installation read authority only. Named model and API-key choices include current qualified active offer bindings and syntactically validated media-schema constraints. This does not qualify dispatch protocols or provide prices. Disabled routes, personal credentials, invalid schemas and foreign Providers are excluded. Revisions remain exact strings; clients keep binding identifiers out of product UI and publication rechecks current state. Cursor ordering uses model alias, including rows skipped for invalid schemas.