openapi: 3.2.0 info: title: Istreamplanet Available Sources API version: v1.52.0 contact: email: live-control-plane-devs@wbd.com name: ChannelAPI Support url: https://warnermedia.enterprise.slack.com/archives/C0648UND8SD description: 'Operations tagged Available Sources across 2 of this provider''s published API definitions: istreamplanet-aventus-channels-openapi.json, istreamplanet-aventus-channels-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - description: prod url: https://api.istreamplanet.com security: - authcode: [] m2m: [] tags: - name: Available Sources paths: /v2/{org}/sources: get: description: Get a list of sources that are used to create channels. operationId: list-org-sources parameters: - description: Organization name in: path name: org required: true schema: description: Organization name type: string - description: Current page cursor explode: false in: query name: cursor schema: description: Current page cursor type: string - description: Number of items to return explode: false in: query name: page_size schema: default: 100 description: Number of items to return format: int32 maximum: 100 minimum: 1 type: integer responses: '200': content: application/json: schema: items: $ref: '#/components/schemas/SourceSummary' type: - array - 'null' description: OK '400': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Bad Request '401': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Unauthorized '422': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Unprocessable Entity '499': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' '500': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Internal Server Error '503': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Service Unavailable summary: List Sources tags: - Available Sources servers: - description: prod url: https://api.istreamplanet.com /v2/{org}/sources/{source-id}: get: description: Get a source's configuration operationId: get-org-source parameters: - description: Organization name in: path name: org required: true schema: description: Organization name type: string - description: Unique source identifier in: path name: source-id required: true schema: description: Unique source identifier pattern: ^.*$ type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/SourceDetail' description: OK headers: ETag: schema: type: string '400': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Bad Request '404': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Not Found '422': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Unprocessable Entity '499': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' '500': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Internal Server Error '503': content: application/problem+json: schema: $ref: '#/components/schemas/ErrorModel' description: Service Unavailable summary: Get Source tags: - Available Sources servers: - description: prod url: https://api.istreamplanet.com components: schemas: SourceDetail: additionalProperties: false properties: $schema: description: A URL to the JSON Schema for this object. examples: - https://api.istreamplanet.com/schemas/SourceDetail.json format: uri readOnly: true type: string id: description: Unique source ID examples: - s-knc54ts9kazynm97 readOnly: true type: string name: description: Source name examples: - HBO type: string self: description: Link to this resource format: uri readOnly: true type: string required: - id - name type: object ErrorDetail: additionalProperties: false properties: location: description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' type: string message: description: Error message text type: string value: description: The value at the given location type: object ErrorModel: additionalProperties: false properties: $schema: description: A URL to the JSON Schema for this object. examples: - https://api.istreamplanet.com/schemas/ErrorModel.json format: uri readOnly: true type: string detail: description: A human-readable explanation specific to this occurrence of the problem. examples: - Property foo is required but is missing. type: string errors: description: Optional list of individual error details items: $ref: '#/components/schemas/ErrorDetail' type: - array - 'null' instance: description: A URI reference that identifies the specific occurrence of the problem. examples: - https://example.com/error-log/abc123 format: uri type: string status: description: HTTP status code examples: - 400 format: int64 type: integer title: description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error. examples: - Bad Request type: string type: default: about:blank description: A URI reference to human-readable documentation for the error. examples: - https://example.com/errors/example format: uri type: string type: object SourceSummary: additionalProperties: false properties: id: description: Station source ID examples: - stn-knc54ts9kazynm97 type: string name: description: Source name examples: - HBO type: string self: description: Link to this resource format: uri readOnly: true type: string required: - id type: object securitySchemes: authcode: flows: authorizationCode: authorizationUrl: https://sso.wbd.com/oauth2/aus125bl6q770za4g0x8/v1/authorize scopes: null tokenUrl: https://sso.wbd.com/oauth2/aus125bl6q770za4g0x8/v1/token type: oauth2 m2m: flows: clientCredentials: scopes: null tokenUrl: https://sso.wbd.com/oauth2/aus125bl6q770za4g0x8/v1/token type: oauth2 x-refined-from: - istreamplanet-aventus-channels-openapi.json - istreamplanet-aventus-channels-openapi.yml x-cli-config: params: authorize_url: https://sso.wbd.com/oauth2/aus125bl6q770za4g0x8/v1/authorize client_id: 0oa125bj1lwLZRxjD0x8 redirect_url: http://auth.rest.sh:8484 scopes: offline_access,Groups state: non-empty token_url: https://sso.wbd.com/oauth2/aus125bl6q770za4g0x8/v1/token security: authcode