openapi: 3.0.3 info: title: Frikanalen Django API version: 1.1.0 description: API for Frikanalen paths: /api: get: operationId: root_retrieve description: The root of the FK API / web services responses: '200': description: '' content: application/json: schema: type: object additionalProperties: {} '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RootRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} /api/asrun: get: operationId: asrun_list description: A historic log over what was sent through playout. parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedAsRunList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/AsrunListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - asrun post: operationId: asrun_create description: A historic log over what was sent through playout. requestBody: content: application/json: schema: $ref: '#/components/schemas/AsRunRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/AsRun' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/AsrunCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - asrun /api/asrun/{id}: get: operationId: asrun_retrieve description: A historic log over what was sent through playout. parameters: - name: id in: path description: A unique integer value identifying this as run. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AsRun' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/AsrunRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - asrun put: operationId: asrun_update description: A historic log over what was sent through playout. parameters: - name: id in: path description: A unique integer value identifying this as run. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/AsRunRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AsRun' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/AsrunUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - asrun patch: operationId: asrun_partial_update description: A historic log over what was sent through playout. parameters: - name: id in: path description: A unique integer value identifying this as run. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedAsRunRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AsRun' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/AsrunPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - asrun delete: operationId: asrun_destroy description: A historic log over what was sent through playout. parameters: - name: id in: path description: A unique integer value identifying this as run. required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/AsrunDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - asrun /api/categories: get: operationId: categories_list parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedCategoryList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CategoriesListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - categories post: operationId: categories_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CategoryRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/Category' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CategoriesCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - categories /api/categories/{id}: get: operationId: categories_retrieve parameters: - name: id in: path description: A unique value identifying this video category. required: true schema: type: integer maximum: 2147483647 minimum: -2147483648 responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Category' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CategoriesRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - categories put: operationId: categories_update parameters: - name: id in: path description: A unique value identifying this video category. required: true schema: type: integer maximum: 2147483647 minimum: -2147483648 requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CategoryRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Category' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CategoriesUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - categories patch: operationId: categories_partial_update parameters: - name: id in: path description: A unique value identifying this video category. required: true schema: type: integer maximum: 2147483647 minimum: -2147483648 requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedCategoryRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Category' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CategoriesPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - categories delete: operationId: categories_destroy parameters: - name: id in: path description: A unique value identifying this video category. required: true schema: type: integer maximum: 2147483647 minimum: -2147483648 responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CategoriesDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - categories /api/csrf: get: operationId: csrf_retrieve responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Csrf' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/CsrfRetrieveErrorResponse400' '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - {} tags: - csrf /api/ingest/claim: post: operationId: ingest_claim summary: Claim an ingest job description: Atomically hands the caller the highest-priority claimable job and moves it to `probing`. Claimable means waiting, or claimed by a worker that has not reported for longer than the ingest lease. Concurrent callers are never given the same job. An idle queue answers 204. requestBody: content: application/json: schema: $ref: '#/components/schemas/IngestClaimRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/IngestJob' '204': description: Nothing is claimable right now. '400': description: '' content: application/json: schema: $ref: '#/components/schemas/IngestClaimErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - ingest /api/news/bulletins: get: operationId: news_bulletins_list parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedBulletinList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/NewsBulletinsListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - news post: operationId: news_bulletins_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BulletinRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/Bulletin' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/NewsBulletinsCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - news /api/news/bulletins/{id}: get: operationId: news_bulletins_retrieve parameters: - name: id in: path description: A unique integer value identifying this bulletin. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Bulletin' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/NewsBulletinsRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - news put: operationId: news_bulletins_update parameters: - name: id in: path description: A unique integer value identifying this bulletin. required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/BulletinRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Bulletin' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/NewsBulletinsUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - news patch: operationId: news_bulletins_partial_update parameters: - name: id in: path description: A unique integer value identifying this bulletin. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedBulletinRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Bulletin' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/NewsBulletinsPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - news delete: operationId: news_bulletins_destroy parameters: - name: id in: path description: A unique integer value identifying this bulletin. required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/NewsBulletinsDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - news /api/obtain-token: post: operationId: obtain_token_create description: |- If we don't restrict this to JSON-only, the Python generated code tries to both send form-multipart and JSON. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AuthTokenRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AuthToken' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ObtainTokenCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - obtain-token /api/organization: get: operationId: organization_list parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedOrganizationList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - organization post: operationId: organization_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OrganizationRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/Organization' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - organization /api/organization/{id}: get: operationId: organization_retrieve description: Video file details parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Organization' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - organization put: operationId: organization_update description: Video file details parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OrganizationRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Organization' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - organization patch: operationId: organization_partial_update description: Video file details parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedOrganizationRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Organization' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - organization delete: operationId: organization_destroy description: Video file details parameters: - name: id in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - organization /api/scheduleitems: get: operationId: scheduleitems_list description: |- Video events schedule list: Query parameters ---------------- `date`: YYYY-MM-DD or 'today' (Europe/Oslo). Defaults to today. `days`: Number of days. Defaults to 1. `surrounding`: Include event before and after the window. `ordering`: Field to order by. Prefix '-' for desc. Defaults to 'starttime'. parameters: - name: date in: query schema: type: string format: date - name: days in: query schema: type: number - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string - name: surrounding in: query schema: type: boolean responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedScheduleitemReadList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemsListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - scheduleitems post: operationId: scheduleitems_create description: |- Video events schedule list: Query parameters ---------------- `date`: YYYY-MM-DD or 'today' (Europe/Oslo). Defaults to today. `days`: Number of days. Defaults to 1. `surrounding`: Include event before and after the window. `ordering`: Field to order by. Prefix '-' for desc. Defaults to 'starttime'. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ScheduleitemModifyRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemModify' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemsCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - scheduleitems /api/scheduleitems/{id}: get: operationId: scheduleitems_retrieve description: |- Video events schedule list: Query parameters ---------------- `date`: YYYY-MM-DD or 'today' (Europe/Oslo). Defaults to today. `days`: Number of days. Defaults to 1. `surrounding`: Include event before and after the window. `ordering`: Field to order by. Prefix '-' for desc. Defaults to 'starttime'. parameters: - name: id in: path description: A unique integer value identifying this TX schedule entry. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemRead' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemsRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - scheduleitems put: operationId: scheduleitems_update description: |- Video events schedule list: Query parameters ---------------- `date`: YYYY-MM-DD or 'today' (Europe/Oslo). Defaults to today. `days`: Number of days. Defaults to 1. `surrounding`: Include event before and after the window. `ordering`: Field to order by. Prefix '-' for desc. Defaults to 'starttime'. parameters: - name: id in: path description: A unique integer value identifying this TX schedule entry. required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ScheduleitemModifyRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemModify' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemsUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - scheduleitems patch: operationId: scheduleitems_partial_update description: |- Video events schedule list: Query parameters ---------------- `date`: YYYY-MM-DD or 'today' (Europe/Oslo). Defaults to today. `days`: Number of days. Defaults to 1. `surrounding`: Include event before and after the window. `ordering`: Field to order by. Prefix '-' for desc. Defaults to 'starttime'. parameters: - name: id in: path description: A unique integer value identifying this TX schedule entry. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedScheduleitemModifyRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemModify' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemsPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - scheduleitems delete: operationId: scheduleitems_destroy description: |- Video events schedule list: Query parameters ---------------- `date`: YYYY-MM-DD or 'today' (Europe/Oslo). Defaults to today. `days`: Number of days. Defaults to 1. `surrounding`: Include event before and after the window. `ordering`: Field to order by. Prefix '-' for desc. Defaults to 'starttime'. parameters: - name: id in: path description: A unique integer value identifying this TX schedule entry. required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/ScheduleitemsDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - scheduleitems /api/scheduling/policy: get: operationId: scheduling_policy_retrieve summary: Broadcast-week scheduling policy description: |- The instants that divide the broadcast schedule into its three states. Every broadcast week runs Monday 00:00 to Monday 00:00, Europe/Oslo, and is drafted two Mondays before it airs, open for member changes for one week, then frozen from the Monday before airing. Derive per-item state by comparing `starttime` against these boundaries: before `freezeBoundary` the item is frozen; from `freezeBoundary` up to `schedulingHorizon` it is in the open week, where an item marked `displaceable` can be replaced by a member organization's own pick; beyond `schedulingHorizon` nothing is drafted yet. The values only change on Mondays at midnight Europe/Oslo. Staff accounts are exempt from the freeze. `weeklySlots` describes recurring reserved airtime whether or not its concrete programme has been drafted yet. responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/SchedulingPolicy' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SchedulingPolicyRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} tags: - scheduling /api/schema/: get: operationId: schema_retrieve description: |- OpenApi3 schema for this API. Format can be selected via content negotiation. - YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json parameters: - name: format in: query schema: type: string enum: - json - yaml - name: lang in: query schema: type: string enum: - af - ar - ar-dz - ast - az - be - bg - bn - br - bs - ca - ckb - cs - cy - da - de - dsb - el - en - en-au - en-gb - eo - es - es-ar - es-co - es-mx - es-ni - es-ve - et - eu - fa - fi - fr - fy - ga - gd - gl - he - hi - hr - hsb - hu - hy - ia - id - ig - io - is - it - ja - ka - kab - kk - km - kn - ko - ky - lb - lt - lv - mk - ml - mn - mr - ms - my - nb - ne - nl - nn - os - pa - pl - pt - pt-br - ro - ru - sk - sl - sq - sr - sr-latn - sv - sw - ta - te - tg - th - tk - tr - tt - udm - ug - uk - ur - uz - vi - zh-hans - zh-hant responses: '200': description: '' content: application/json: schema: type: object additionalProperties: {} application/vnd.oai.openapi: schema: type: object additionalProperties: {} application/vnd.oai.openapi+json: schema: type: object additionalProperties: {} application/yaml: schema: type: object additionalProperties: {} '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SchemaRetrieveErrorResponse400' application/vnd.oai.openapi: schema: $ref: '#/components/schemas/SchemaRetrieveErrorResponse400' application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/SchemaRetrieveErrorResponse400' application/yaml: schema: $ref: '#/components/schemas/SchemaRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null application/vnd.oai.openapi: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null application/yaml: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null application/vnd.oai.openapi: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null application/yaml: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null application/vnd.oai.openapi: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null application/yaml: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null application/vnd.oai.openapi: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null application/yaml: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null application/vnd.oai.openapi: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null application/yaml: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null application/vnd.oai.openapi: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null application/vnd.oai.openapi+json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null application/yaml: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} tags: - schema /api/series: get: operationId: series_list description: List public series or create one for an organization you administer. parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: name in: query schema: type: string - name: name__icontains in: query schema: type: string - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string - name: organization in: query schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedSeriesList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - series post: operationId: series_create description: List public series or create one for an organization you administer. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SeriesWriteRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesWrite' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - series /api/series/{id}: get: operationId: series_retrieve description: Read a series, edit its metadata, or delete it while it has no episodes. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Series' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - series put: operationId: series_update description: Read a series, edit its metadata, or delete it while it has no episodes. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SeriesWriteRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesWrite' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - series patch: operationId: series_partial_update description: Read a series, edit its metadata, or delete it while it has no episodes. parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedSeriesWriteRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesWrite' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - series delete: operationId: series_destroy description: Read a series, edit its metadata, or delete it while it has no episodes. parameters: - name: id in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/SeriesDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - series /api/tvanytime/{year}/{month}/{day}: get: operationId: tvanytime_date_retrieve summary: Schedule from a given date as TV-Anytime description: |- The broadcast schedule as NorDig TV-Anytime metadata (ETSI TS 102 822-3-1, profiled by the NorDig TVA Implementation Guidelines 1.4). `ProgramInformationTable` describes each programme once and `ProgramLocationTable` says when it airs, joined by a `crid://` identifier that is stable across requests. Videos we hold online rights for additionally appear as `OnDemandProgram` entries. Times are Europe/Oslo. `PublishedStartTime` is what is scheduled; `ActualStartTime` appears only once the airtime has passed, marking the transmission as one we stand behind as having aired. parameters: - name: day in: path required: true schema: type: string pattern: ^\d{2}$ - name: days in: query description: Number of days to cover, 1-31. Defaults to 7. schema: type: integer - name: month in: path required: true schema: type: string pattern: ^\d{2}$ - name: year in: path required: true schema: type: string pattern: ^\d{4}$ responses: '200': description: A TVAMain document. content: application/xml: schema: type: string format: binary '400': description: '' content: application/xml: schema: $ref: '#/components/schemas/TvanytimeDateRetrieveErrorResponse400' '401': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} tags: - tvanytime /api/tvanytime/upcoming: get: operationId: tvanytime_upcoming_retrieve summary: Upcoming schedule as TV-Anytime description: |- The broadcast schedule as NorDig TV-Anytime metadata (ETSI TS 102 822-3-1, profiled by the NorDig TVA Implementation Guidelines 1.4). `ProgramInformationTable` describes each programme once and `ProgramLocationTable` says when it airs, joined by a `crid://` identifier that is stable across requests. Videos we hold online rights for additionally appear as `OnDemandProgram` entries. Times are Europe/Oslo. `PublishedStartTime` is what is scheduled; `ActualStartTime` appears only once the airtime has passed, marking the transmission as one we stand behind as having aired. parameters: - name: days in: query description: Number of days to cover, 1-31. Defaults to 7. schema: type: integer responses: '200': description: A TVAMain document. content: application/xml: schema: type: string format: binary '400': description: '' content: application/xml: schema: $ref: '#/components/schemas/TvanytimeUpcomingRetrieveErrorResponse400' '401': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} tags: - tvanytime /api/user: get: operationId: user_retrieve description: User details - used to manage your own user responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/User' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - user put: operationId: user_update description: User details - used to manage your own user requestBody: content: application/json: schema: $ref: '#/components/schemas/UserRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/User' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - user patch: operationId: user_partial_update description: User details - used to manage your own user requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedUserRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/User' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - user delete: operationId: user_destroy description: User details - used to manage your own user responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - user /api/user/login: post: operationId: user_login_create description: Sets a session cookie for the user requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LoginRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/Login' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserLoginCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} tags: - user /api/user/logout: post: operationId: user_logout_create responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Logout' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserLogoutCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - user /api/user/register: post: operationId: user_register_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/NewUserRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/NewUser' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserRegisterCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '429': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse429' examples: Throttled: value: type: client_error errors: - code: throttled detail: Request was throttled. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] - {} tags: - user /api/videofiles: get: operationId: videofiles_list description: Video file list and detail endpoint. parameters: - name: created_time_after in: query schema: type: string format: date-time - name: created_time_before in: query schema: type: string format: date-time - name: integrated_lufs__isnull in: query schema: type: boolean - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string - name: profile_revision in: query schema: type: integer - name: profile_revision__lt in: query schema: type: integer - name: variant in: query description: |- * `large_thumb` - Large thumbnail * `broadcast` - Broadcast master * `vc1` - VC-1 * `med_thumb` - Medium thumbnail * `small_thumb` - Small thumbnail * `original` - Original upload * `theora` - Ogg Theora * `srt` - SubRip subtitles * `cloudflare_id` - Cloudflare Stream identifier * `dash` - MPEG-DASH manifest * `dash_preview` - Transient low-quality MPEG-DASH manifest * `webm_med` - Medium-quality WebM schema: type: string enum: - broadcast - cloudflare_id - dash - dash_preview - large_thumb - med_thumb - original - small_thumb - srt - theora - vc1 - webm_med - name: video_id in: query schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedVideoFileList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideofilesListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videofiles post: operationId: videofiles_create description: Video file list and detail endpoint. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VideoFileRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoFile' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideofilesCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videofiles /api/videofiles/{id}: get: operationId: videofiles_retrieve description: Video file list and detail endpoint. parameters: - name: id in: path description: A unique integer value identifying this video file. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoFile' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideofilesRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videofiles put: operationId: videofiles_update description: Video file list and detail endpoint. parameters: - name: id in: path description: A unique integer value identifying this video file. required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VideoFileRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoFile' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideofilesUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videofiles patch: operationId: videofiles_partial_update description: Video file list and detail endpoint. parameters: - name: id in: path description: A unique integer value identifying this video file. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedVideoFileRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoFile' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideofilesPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videofiles delete: operationId: videofiles_destroy description: Video file list and detail endpoint. parameters: - name: id in: path description: A unique integer value identifying this video file. required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideofilesDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videofiles /api/videos: get: operationId: videos_list description: |- List of videos Query parameters ---------------- `q` - Free search query. `ordering` - Order results by specified field. Prepend a minus for descending order. I.e. `?ordering=-id`. `creator__email` - the email of the video's creator `framerate` - the framerate in hz * 1000 `has_tono_records` - if the tono flag is set (true/false) `is_filler` - if this is a filler video (true/false) `name` - the exact name/title of the video `name__icontains` - substring is part of name/title of the video `organization` - Frikanalen ID of organization behind video. Given alongside `q`, it also narrows the search to that organization's own videos: the organization's name stops counting as a match, since it would otherwise return the whole catalogue. `played_count_web` - the number of times this video was played on the web `played_count_web__gt` - greater than `played_count_web__gte` - greater than or equal `played_count_web__lt` - less than `played_count_web__lte` - less than or equal `publish_on_web` - if this video is published ont the web (true/false) `proper_import` - whether ingest finished (true/false). Omitted, the list shows only finished videos, which is the public catalogue. `ref_url` - the exact reference url `ref_url__startswith` - the reference url start with this string `ref_url__icontains` - the reference url contain this string parameters: - name: categories__name__icontains in: query schema: type: array items: type: string explode: true style: form - name: created_time_after in: query schema: type: string format: date-time - name: created_time_before in: query schema: type: string format: date-time - name: creator__email in: query schema: type: string - name: duration in: query schema: type: string format: duration - name: duration__gt in: query schema: type: string format: duration - name: duration__gte in: query schema: type: string format: duration - name: duration__lt in: query schema: type: string format: duration - name: duration__lte in: query schema: type: string format: duration - name: framerate in: query schema: type: integer - name: has_tono_records in: query schema: type: boolean - name: is_filler in: query schema: type: boolean - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: name in: query schema: type: string - name: name__icontains in: query schema: type: string - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string - name: organization in: query schema: type: integer - name: played_count_web in: query schema: type: integer - name: played_count_web__gt in: query schema: type: integer - name: played_count_web__gte in: query schema: type: integer - name: played_count_web__lt in: query schema: type: integer - name: played_count_web__lte in: query schema: type: integer - name: proper_import in: query description: Whether ingest finished. Omitted means true. schema: type: boolean - name: publish_on_web in: query schema: type: boolean - name: q in: query description: Free-text search schema: type: string - name: ref_url in: query schema: type: string - name: ref_url__icontains in: query schema: type: string - name: ref_url__startswith in: query schema: type: string - name: series in: query schema: type: integer - name: updated_time_after in: query schema: type: string format: date-time - name: updated_time_before in: query schema: type: string format: date-time - name: uploaded_time_after in: query schema: type: string format: date-time - name: uploaded_time_before in: query schema: type: string format: date-time responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedVideoList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos post: operationId: videos_create description: |- List of videos Query parameters ---------------- `q` - Free search query. `ordering` - Order results by specified field. Prepend a minus for descending order. I.e. `?ordering=-id`. `creator__email` - the email of the video's creator `framerate` - the framerate in hz * 1000 `has_tono_records` - if the tono flag is set (true/false) `is_filler` - if this is a filler video (true/false) `name` - the exact name/title of the video `name__icontains` - substring is part of name/title of the video `organization` - Frikanalen ID of organization behind video. Given alongside `q`, it also narrows the search to that organization's own videos: the organization's name stops counting as a match, since it would otherwise return the whole catalogue. `played_count_web` - the number of times this video was played on the web `played_count_web__gt` - greater than `played_count_web__gte` - greater than or equal `played_count_web__lt` - less than `played_count_web__lte` - less than or equal `publish_on_web` - if this video is published ont the web (true/false) `proper_import` - whether ingest finished (true/false). Omitted, the list shows only finished videos, which is the public catalogue. `ref_url` - the exact reference url `ref_url__startswith` - the reference url start with this string `ref_url__icontains` - the reference url contain this string requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VideoCreateRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoCreate' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/videos/{id}: get: operationId: videos_retrieve description: Video details parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Video' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos put: operationId: videos_update description: Video details parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VideoRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Video' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos patch: operationId: videos_partial_update description: Video details parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedVideoRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Video' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos delete: operationId: videos_destroy description: Video details parameters: - name: id in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/videos/{id}/ingest: get: operationId: videos_ingest_retrieve summary: Read a video's ingest state description: How far ingest has got with the video's uploaded file. Videos that were ingested before this endpoint existed report `done`; videos nothing has uploaded to report `pending`. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/IngestJob' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosIngestRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos put: operationId: videos_ingest_report summary: Report a video's ingest state description: Replaces the video's ingest state with the one given. Reserved for the ingest service; the whole state is sent every time, so a retried report is indistinguishable from the first. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/IngestJobRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/IngestJob' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosIngestReportErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/videos/{id}/upload_token: get: operationId: videos_upload_token_retrieve description: Video details parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoUploadToken' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosUploadTokenRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/videos/{id}/upload_token/verify: post: operationId: videos_upload_token_verify summary: Verify an upload token description: Confirms that `uploadToken` authorizes an upload for this video. An invalid token deliberately produces the same response as an unknown video. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UploadTokenVerificationRequest' responses: '204': description: The upload token is valid. '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosUploadTokenVerifyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: The video does not exist or the upload token is invalid. '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/videos/{video_id}/images: get: operationId: videos_images_list description: Editorial image metadata; image bytes are uploaded through tusd. parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string - name: role in: query description: |- * `network_logo` - Network logo * `channel_logo` - Channel logo * `show_logo` - Show logo * `show_still` - Show still * `episode_still` - Episode still * `key_art_titled` - Key art with title * `key_art_untitled` - Key art without title * `behind_the_scenes` - Behind the scenes * `location` - Location * `news_event` - News event * `portrait_headshot` - Portrait, headshot * `portrait_half_body` - Portrait, half body * `portrait_full_body` - Portrait, full body * `cast_ensemble` - Cast ensemble schema: type: string enum: - behind_the_scenes - cast_ensemble - channel_logo - episode_still - key_art_titled - key_art_untitled - location - network_logo - news_event - portrait_full_body - portrait_half_body - portrait_headshot - show_logo - show_still - name: video_id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedProgramImageList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosImagesListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos post: operationId: videos_images_create description: Editorial image metadata; image bytes are uploaded through tusd. parameters: - name: video_id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProgramImageRegistrationRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/ProgramImageRegistration' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosImagesCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/videos/{video_id}/images/{id}: get: operationId: videos_images_retrieve description: Editorial image metadata; image bytes are uploaded through tusd. parameters: - name: id in: path required: true schema: type: integer - name: video_id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ProgramImage' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosImagesRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos put: operationId: videos_images_update description: Editorial image metadata; image bytes are uploaded through tusd. parameters: - name: id in: path required: true schema: type: integer - name: video_id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ProgramImageRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ProgramImage' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosImagesUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos patch: operationId: videos_images_partial_update description: Editorial image metadata; image bytes are uploaded through tusd. parameters: - name: id in: path required: true schema: type: integer - name: video_id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedProgramImageRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/ProgramImage' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosImagesPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos delete: operationId: videos_images_destroy description: Editorial image metadata; image bytes are uploaded through tusd. parameters: - name: id in: path required: true schema: type: integer - name: video_id in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosImagesDestroyErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - videos /api/weekly-slot-requests: get: operationId: weekly_slot_requests_list description: One chronological read view over both request models. parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedWeeklySlotRequestList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotRequestsListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-requests /api/weekly-slot-requests/creation: post: operationId: weekly_slot_requests_creation_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WeeklySlotCreationRequestRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotCreationRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-requests /api/weekly-slot-requests/ownership: post: operationId: weekly_slot_requests_ownership_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WeeklySlotOwnershipRequestRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotOwnershipRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotRequestsOwnershipCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-requests /api/weekly-slot-sources: get: operationId: weekly_slot_sources_list parameters: - name: limit in: query description: Number of results to return per page. required: false schema: type: integer - name: offset in: query description: The initial index from which to return the results. required: false schema: type: integer - name: ordering in: query description: Which field to use when ordering the results. required: false schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedWeeklySlotSourceList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourcesListErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-sources post: operationId: weekly_slot_sources_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourceRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourcesCreateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-sources /api/weekly-slot-sources/{id}: get: operationId: weekly_slot_sources_retrieve parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourcesRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-sources put: operationId: weekly_slot_sources_update parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourceRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourcesUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-sources patch: operationId: weekly_slot_sources_partial_update parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedWeeklySlotSourceRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slot-sources /api/weekly-slots/{id}: get: operationId: weekly_slots_retrieve parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotsRetrieveErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slots put: operationId: weekly_slots_update parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/WeeklySlotRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotsUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slots patch: operationId: weekly_slots_partial_update parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedWeeklySlotRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/WeeklySlotsPartialUpdateErrorResponse400' '401': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse401' examples: AuthenticationFailed: value: type: client_error errors: - code: authentication_failed detail: Incorrect authentication credentials. attr: null NotAuthenticated: value: type: client_error errors: - code: not_authenticated detail: Authentication credentials were not provided. attr: null '403': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse403' examples: PermissionDenied: value: type: client_error errors: - code: permission_denied detail: You do not have permission to perform this action. attr: null '404': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse404' examples: NotFound: value: type: client_error errors: - code: not_found detail: Not found. attr: null '405': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse405' examples: MethodNotAllowed: value: type: client_error errors: - code: method_not_allowed detail: Method "get" not allowed. attr: null '406': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse406' examples: NotAcceptable: value: type: client_error errors: - code: not_acceptable detail: Could not satisfy the request Accept header. attr: null '415': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse415' examples: UnsupportedMediaType: value: type: client_error errors: - code: unsupported_media_type detail: Unsupported media type "application/json" in request. attr: null '500': description: '' content: application/json: schema: $ref: '#/components/schemas/ErrorResponse500' examples: APIException: value: type: server_error errors: - code: error detail: A server error occurred. attr: null security: - tokenAuth: [] - cookieAuth: [] tags: - weekly-slots components: parameters: X-CSRFToken: name: X-CSRFToken in: header required: false schema: type: string description: CSRF token echoed from csrftoken cookie when using SessionAuthentication. schemas: AsRun: description: |- One entry in the playout log: a video or a named programme, and when it went to air. type: object properties: id: type: integer readOnly: true video: description: Points to the Video which was played if there is one. Can be empty if something other than a video was played. The field is mutually exclusive with `programName`. type: integer nullable: true programName: description: A free form text input saying what was played. If `video` is set, this field should not be set. Examples of where you'd use this field is e.g. when broadcasting live. Defaults to the empty string. type: string maxLength: 160 playout: description: The playout this entry corresponds with. This will almost always be 'main' which it defaults to. type: string maxLength: 255 playedAt: description: Time when the playout started. Defaults to now. type: string format: date-time inMs: description: The inpoint where the video/stream was started at. In milliseconds. Normally 0 which it defaults to. type: integer maximum: 2147483647 minimum: -2147483648 outMs: description: The outpoint where the video/stream stopped. This would often be the duration of the video, or how long we live streamed a particular URL. Can be null (None) if this is 'currently happening'. type: integer maximum: 2147483647 minimum: -2147483648 nullable: true required: - id AsRunRequest: description: |- One entry in the playout log: a video or a named programme, and when it went to air. type: object properties: video: description: Points to the Video which was played if there is one. Can be empty if something other than a video was played. The field is mutually exclusive with `programName`. type: integer nullable: true programName: description: A free form text input saying what was played. If `video` is set, this field should not be set. Examples of where you'd use this field is e.g. when broadcasting live. Defaults to the empty string. type: string maxLength: 160 playout: description: The playout this entry corresponds with. This will almost always be 'main' which it defaults to. type: string maxLength: 255 playedAt: description: Time when the playout started. Defaults to now. type: string format: date-time inMs: description: The inpoint where the video/stream was started at. In milliseconds. Normally 0 which it defaults to. type: integer maximum: 2147483647 minimum: -2147483648 outMs: description: The outpoint where the video/stream stopped. This would often be the duration of the video, or how long we live streamed a particular URL. Can be null (None) if this is 'currently happening'. type: integer maximum: 2147483647 minimum: -2147483648 nullable: true AsrunCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/AsrunCreateNonFieldErrorsErrorComponent' video: '#/components/schemas/AsrunCreateVideoErrorComponent' program_name: '#/components/schemas/AsrunCreateProgramNameErrorComponent' playout: '#/components/schemas/AsrunCreatePlayoutErrorComponent' played_at: '#/components/schemas/AsrunCreatePlayedAtErrorComponent' in_ms: '#/components/schemas/AsrunCreateInMsErrorComponent' out_ms: '#/components/schemas/AsrunCreateOutMsErrorComponent' oneOf: - $ref: '#/components/schemas/AsrunCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/AsrunCreateVideoErrorComponent' - $ref: '#/components/schemas/AsrunCreateProgramNameErrorComponent' - $ref: '#/components/schemas/AsrunCreatePlayoutErrorComponent' - $ref: '#/components/schemas/AsrunCreatePlayedAtErrorComponent' - $ref: '#/components/schemas/AsrunCreateInMsErrorComponent' - $ref: '#/components/schemas/AsrunCreateOutMsErrorComponent' AsrunCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/AsrunCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/AsrunCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' AsrunCreateInMsErrorComponent: type: object properties: attr: description: '* `in_ms` - in_ms' type: string enum: - in_ms code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail AsrunCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail AsrunCreateOutMsErrorComponent: type: object properties: attr: description: '* `out_ms` - out_ms' type: string enum: - out_ms code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail AsrunCreatePlayedAtErrorComponent: type: object properties: attr: description: '* `played_at` - played_at' type: string enum: - played_at code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `null` - null * `overflow` - overflow type: string enum: - date - invalid - make_aware - 'null' - overflow detail: type: string required: - attr - code - detail AsrunCreatePlayoutErrorComponent: type: object properties: attr: description: '* `playout` - playout' type: string enum: - playout code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail AsrunCreateProgramNameErrorComponent: type: object properties: attr: description: '* `program_name` - program_name' type: string enum: - program_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail AsrunCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/AsrunCreateError' required: - errors - type AsrunCreateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail AsrunDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' AsrunListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' AsrunPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/AsrunPartialUpdateNonFieldErrorsErrorComponent' video: '#/components/schemas/AsrunPartialUpdateVideoErrorComponent' program_name: '#/components/schemas/AsrunPartialUpdateProgramNameErrorComponent' playout: '#/components/schemas/AsrunPartialUpdatePlayoutErrorComponent' played_at: '#/components/schemas/AsrunPartialUpdatePlayedAtErrorComponent' in_ms: '#/components/schemas/AsrunPartialUpdateInMsErrorComponent' out_ms: '#/components/schemas/AsrunPartialUpdateOutMsErrorComponent' oneOf: - $ref: '#/components/schemas/AsrunPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/AsrunPartialUpdateVideoErrorComponent' - $ref: '#/components/schemas/AsrunPartialUpdateProgramNameErrorComponent' - $ref: '#/components/schemas/AsrunPartialUpdatePlayoutErrorComponent' - $ref: '#/components/schemas/AsrunPartialUpdatePlayedAtErrorComponent' - $ref: '#/components/schemas/AsrunPartialUpdateInMsErrorComponent' - $ref: '#/components/schemas/AsrunPartialUpdateOutMsErrorComponent' AsrunPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/AsrunPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/AsrunPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' AsrunPartialUpdateInMsErrorComponent: type: object properties: attr: description: '* `in_ms` - in_ms' type: string enum: - in_ms code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail AsrunPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail AsrunPartialUpdateOutMsErrorComponent: type: object properties: attr: description: '* `out_ms` - out_ms' type: string enum: - out_ms code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail AsrunPartialUpdatePlayedAtErrorComponent: type: object properties: attr: description: '* `played_at` - played_at' type: string enum: - played_at code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `null` - null * `overflow` - overflow type: string enum: - date - invalid - make_aware - 'null' - overflow detail: type: string required: - attr - code - detail AsrunPartialUpdatePlayoutErrorComponent: type: object properties: attr: description: '* `playout` - playout' type: string enum: - playout code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail AsrunPartialUpdateProgramNameErrorComponent: type: object properties: attr: description: '* `program_name` - program_name' type: string enum: - program_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail AsrunPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/AsrunPartialUpdateError' required: - errors - type AsrunPartialUpdateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail AsrunRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' AsrunUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/AsrunUpdateNonFieldErrorsErrorComponent' video: '#/components/schemas/AsrunUpdateVideoErrorComponent' program_name: '#/components/schemas/AsrunUpdateProgramNameErrorComponent' playout: '#/components/schemas/AsrunUpdatePlayoutErrorComponent' played_at: '#/components/schemas/AsrunUpdatePlayedAtErrorComponent' in_ms: '#/components/schemas/AsrunUpdateInMsErrorComponent' out_ms: '#/components/schemas/AsrunUpdateOutMsErrorComponent' oneOf: - $ref: '#/components/schemas/AsrunUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/AsrunUpdateVideoErrorComponent' - $ref: '#/components/schemas/AsrunUpdateProgramNameErrorComponent' - $ref: '#/components/schemas/AsrunUpdatePlayoutErrorComponent' - $ref: '#/components/schemas/AsrunUpdatePlayedAtErrorComponent' - $ref: '#/components/schemas/AsrunUpdateInMsErrorComponent' - $ref: '#/components/schemas/AsrunUpdateOutMsErrorComponent' AsrunUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/AsrunUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/AsrunUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' AsrunUpdateInMsErrorComponent: type: object properties: attr: description: '* `in_ms` - in_ms' type: string enum: - in_ms code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail AsrunUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail AsrunUpdateOutMsErrorComponent: type: object properties: attr: description: '* `out_ms` - out_ms' type: string enum: - out_ms code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail AsrunUpdatePlayedAtErrorComponent: type: object properties: attr: description: '* `played_at` - played_at' type: string enum: - played_at code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `null` - null * `overflow` - overflow type: string enum: - date - invalid - make_aware - 'null' - overflow detail: type: string required: - attr - code - detail AsrunUpdatePlayoutErrorComponent: type: object properties: attr: description: '* `playout` - playout' type: string enum: - playout code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail AsrunUpdateProgramNameErrorComponent: type: object properties: attr: description: '* `program_name` - program_name' type: string enum: - program_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail AsrunUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/AsrunUpdateError' required: - errors - type AsrunUpdateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail AuthToken: type: object properties: token: type: string readOnly: true required: - token AuthTokenRequest: type: object properties: username: type: string minLength: 1 writeOnly: true password: type: string minLength: 1 writeOnly: true required: - password - username Bulletin: type: object properties: id: type: integer readOnly: true heading: type: string maxLength: 80 text: type: string createdTime: type: string format: date-time readOnly: true isPublished: type: boolean required: - createdTime - heading - id - text BulletinRequest: type: object properties: heading: type: string maxLength: 80 minLength: 1 text: type: string minLength: 1 isPublished: type: boolean required: - heading - text CategoriesCreateDescErrorComponent: type: object properties: attr: description: '* `desc` - desc' type: string enum: - desc code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail CategoriesCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/CategoriesCreateNonFieldErrorsErrorComponent' id: '#/components/schemas/CategoriesCreateIdErrorComponent' name: '#/components/schemas/CategoriesCreateNameErrorComponent' desc: '#/components/schemas/CategoriesCreateDescErrorComponent' oneOf: - $ref: '#/components/schemas/CategoriesCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/CategoriesCreateIdErrorComponent' - $ref: '#/components/schemas/CategoriesCreateNameErrorComponent' - $ref: '#/components/schemas/CategoriesCreateDescErrorComponent' CategoriesCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/CategoriesCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/CategoriesCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' CategoriesCreateIdErrorComponent: type: object properties: attr: description: '* `id` - id' type: string enum: - id code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required * `unique` - unique type: string enum: - invalid - max_string_length - max_value - min_value - 'null' - required - unique detail: type: string required: - attr - code - detail CategoriesCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail CategoriesCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail CategoriesCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/CategoriesCreateError' required: - errors - type CategoriesDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' CategoriesListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' CategoriesPartialUpdateDescErrorComponent: type: object properties: attr: description: '* `desc` - desc' type: string enum: - desc code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail CategoriesPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/CategoriesPartialUpdateNonFieldErrorsErrorComponent' id: '#/components/schemas/CategoriesPartialUpdateIdErrorComponent' name: '#/components/schemas/CategoriesPartialUpdateNameErrorComponent' desc: '#/components/schemas/CategoriesPartialUpdateDescErrorComponent' oneOf: - $ref: '#/components/schemas/CategoriesPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/CategoriesPartialUpdateIdErrorComponent' - $ref: '#/components/schemas/CategoriesPartialUpdateNameErrorComponent' - $ref: '#/components/schemas/CategoriesPartialUpdateDescErrorComponent' CategoriesPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/CategoriesPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/CategoriesPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' CategoriesPartialUpdateIdErrorComponent: type: object properties: attr: description: '* `id` - id' type: string enum: - id code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required * `unique` - unique type: string enum: - invalid - max_string_length - max_value - min_value - 'null' - required - unique detail: type: string required: - attr - code - detail CategoriesPartialUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail CategoriesPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail CategoriesPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/CategoriesPartialUpdateError' required: - errors - type CategoriesRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' CategoriesUpdateDescErrorComponent: type: object properties: attr: description: '* `desc` - desc' type: string enum: - desc code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail CategoriesUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/CategoriesUpdateNonFieldErrorsErrorComponent' id: '#/components/schemas/CategoriesUpdateIdErrorComponent' name: '#/components/schemas/CategoriesUpdateNameErrorComponent' desc: '#/components/schemas/CategoriesUpdateDescErrorComponent' oneOf: - $ref: '#/components/schemas/CategoriesUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/CategoriesUpdateIdErrorComponent' - $ref: '#/components/schemas/CategoriesUpdateNameErrorComponent' - $ref: '#/components/schemas/CategoriesUpdateDescErrorComponent' CategoriesUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/CategoriesUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/CategoriesUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' CategoriesUpdateIdErrorComponent: type: object properties: attr: description: '* `id` - id' type: string enum: - id code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required * `unique` - unique type: string enum: - invalid - max_string_length - max_value - min_value - 'null' - required - unique detail: type: string required: - attr - code - detail CategoriesUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail CategoriesUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail CategoriesUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/CategoriesUpdateError' required: - errors - type Category: type: object properties: id: type: integer maximum: 2147483647 minimum: -2147483648 name: type: string maxLength: 255 desc: type: string maxLength: 255 videocount: type: integer readOnly: true required: - id - name - videocount CategoryRequest: type: object properties: id: type: integer maximum: 2147483647 minimum: -2147483648 name: type: string maxLength: 255 minLength: 1 desc: type: string maxLength: 255 required: - id - name ClientErrorEnum: description: '* `client_error` - Client Error' type: string enum: - client_error Csrf: type: object properties: csrfToken: type: string required: - csrfToken CsrfRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' DayEnum: description: |- * `0` - Monday * `1` - Tuesday * `2` - Wednesday * `3` - Thursday * `4` - Friday * `5` - Saturday * `6` - Sunday type: integer enum: - 0 - 1 - 2 - 3 - 4 - 5 - 6 Error401: type: object properties: code: $ref: '#/components/schemas/ErrorCode401Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error403: type: object properties: code: $ref: '#/components/schemas/ErrorCode403Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error404: type: object properties: code: $ref: '#/components/schemas/ErrorCode404Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error405: type: object properties: code: $ref: '#/components/schemas/ErrorCode405Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error406: type: object properties: code: $ref: '#/components/schemas/ErrorCode406Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error415: type: object properties: code: $ref: '#/components/schemas/ErrorCode415Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error429: type: object properties: code: $ref: '#/components/schemas/ErrorCode429Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail Error500: type: object properties: code: $ref: '#/components/schemas/ErrorCode500Enum' detail: type: string attr: type: string nullable: true required: - attr - code - detail ErrorCode401Enum: description: |- * `authentication_failed` - Authentication Failed * `not_authenticated` - Not Authenticated type: string enum: - authentication_failed - not_authenticated ErrorCode403Enum: description: '* `permission_denied` - Permission Denied' type: string enum: - permission_denied ErrorCode404Enum: description: '* `not_found` - Not Found' type: string enum: - not_found ErrorCode405Enum: description: '* `method_not_allowed` - Method Not Allowed' type: string enum: - method_not_allowed ErrorCode406Enum: description: '* `not_acceptable` - Not Acceptable' type: string enum: - not_acceptable ErrorCode415Enum: description: '* `unsupported_media_type` - Unsupported Media Type' type: string enum: - unsupported_media_type ErrorCode429Enum: description: '* `throttled` - Throttled' type: string enum: - throttled ErrorCode500Enum: description: '* `error` - Error' type: string enum: - error ErrorResponse401: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error401' required: - errors - type ErrorResponse403: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error403' required: - errors - type ErrorResponse404: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error404' required: - errors - type ErrorResponse405: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error405' required: - errors - type ErrorResponse406: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error406' required: - errors - type ErrorResponse415: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error415' required: - errors - type ErrorResponse429: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error429' required: - errors - type ErrorResponse500: type: object properties: type: $ref: '#/components/schemas/ServerErrorEnum' errors: type: array items: $ref: '#/components/schemas/Error500' required: - errors - type IngestClaimError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/IngestClaimNonFieldErrorsErrorComponent' kind: '#/components/schemas/IngestClaimKindErrorComponent' worker: '#/components/schemas/IngestClaimWorkerErrorComponent' oneOf: - $ref: '#/components/schemas/IngestClaimNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/IngestClaimKindErrorComponent' - $ref: '#/components/schemas/IngestClaimWorkerErrorComponent' IngestClaimErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/IngestClaimValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/IngestClaimValidationError' - $ref: '#/components/schemas/ParseErrorResponse' IngestClaimKindErrorComponent: type: object properties: attr: description: '* `kind` - kind' type: string enum: - kind code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail IngestClaimNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail IngestClaimRequest: description: |- What a worker says about itself when it asks for work. Both fields are optional, and mean different things by their absence. No `kind` is "give me anything", which is right for a single undifferentiated worker pool and stays right once the pool splits -- it is the workers that can only reach one source that have to name one. No `worker` is simply an anonymous claim: the identity is recorded for operators to read and nothing is decided by it. type: object properties: kind: nullable: true oneOf: - $ref: '#/components/schemas/IngestKindEnum' - $ref: '#/components/schemas/NullEnum' worker: type: string maxLength: 128 IngestClaimValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/IngestClaimError' required: - errors - type IngestClaimWorkerErrorComponent: type: object properties: attr: description: '* `worker` - worker' type: string enum: - worker code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail IngestJob: description: |- What ingest reports about an upload, and what its uploader is shown. `status_text` is write-only deliberately: it carries ffmpeg's complaints and the archive paths behind them, which belong in the admin and the logs rather than in a response to an organization's members. What they get instead is `error_code`, which the frontend turns into words -- ingest has no business choosing the Norwegian. type: object properties: video: type: integer readOnly: true state: $ref: '#/components/schemas/IngestStateEnum' priority: description: Claim order among waiting jobs; higher is claimed sooner. type: integer maximum: 32767 minimum: -32768 kind: description: |- Where this job's source file is, and therefore which workers can take it. * `upload` - Source is a fresh upload in the tusd volume * `backfill` - Source is the media archive allOf: - $ref: '#/components/schemas/IngestKindEnum' claimedBy: description: Identity of the worker that last claimed this job, if any. type: string nullable: true readOnly: true percentageDone: description: Progress through the current state, not through the pipeline as a whole. Null where the current state has no progress to report. type: integer maximum: 100 minimum: 0 nullable: true errorCode: description: Machine-readable reason the ingest failed; empty otherwise. The wording shown to the uploader is the frontend's to choose, not ingest's. type: string maxLength: 64 updatedTime: type: string format: date-time nullable: true readOnly: true required: - claimedBy - state - updatedTime - video IngestJobRequest: description: |- What ingest reports about an upload, and what its uploader is shown. `status_text` is write-only deliberately: it carries ffmpeg's complaints and the archive paths behind them, which belong in the admin and the logs rather than in a response to an organization's members. What they get instead is `error_code`, which the frontend turns into words -- ingest has no business choosing the Norwegian. type: object properties: state: $ref: '#/components/schemas/IngestStateEnum' priority: description: Claim order among waiting jobs; higher is claimed sooner. type: integer maximum: 32767 minimum: -32768 kind: description: |- Where this job's source file is, and therefore which workers can take it. * `upload` - Source is a fresh upload in the tusd volume * `backfill` - Source is the media archive allOf: - $ref: '#/components/schemas/IngestKindEnum' percentageDone: description: Progress through the current state, not through the pipeline as a whole. Null where the current state has no progress to report. type: integer maximum: 100 minimum: 0 nullable: true statusText: type: string maxLength: 1000 writeOnly: true errorCode: description: Machine-readable reason the ingest failed; empty otherwise. The wording shown to the uploader is the frontend's to choose, not ingest's. type: string maxLength: 64 required: - state IngestKindEnum: description: |- * `upload` - Source is a fresh upload in the tusd volume * `backfill` - Source is the media archive type: string enum: - upload - backfill IngestStateEnum: description: |- * `pending` - Waiting to be picked up * `probing` - Inspecting the uploaded file * `archiving` - Storing the original * `transcoding` - Generating derived files * `done` - Finished * `failed` - Failed type: string enum: - pending - probing - archiving - transcoding - done - failed Login: type: object properties: email: type: string format: email password: type: string required: - email - password LoginRequest: type: object properties: email: type: string format: email minLength: 1 password: type: string minLength: 1 required: - email - password Logout: description: 'Representation for the logout response: a short human-readable message.' type: object properties: detail: type: string readOnly: true required: - detail MediaTypeEnum: description: |- * `image/jpeg` - JPEG * `image/png` - PNG * `image/webp` - WebP type: string enum: - image/jpeg - image/png - image/webp MinimumAgeEnum: description: |- * `0` - All ages * `6` - 6 * `9` - 9 * `12` - 12 * `15` - 15 * `18` - 18 type: integer enum: - 0 - 6 - 9 - 12 - 15 - 18 NewUser: type: object properties: id: type: integer readOnly: true email: type: string format: email maxLength: 254 title: Email address firstName: type: string lastName: type: string required: - email - firstName - id - lastName NewUserRequest: type: object properties: email: type: string format: email maxLength: 254 minLength: 1 title: Email address firstName: type: string minLength: 1 lastName: type: string minLength: 1 password: type: string minLength: 1 writeOnly: true required: - email - firstName - lastName - password NewsBulletinsCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/NewsBulletinsCreateNonFieldErrorsErrorComponent' heading: '#/components/schemas/NewsBulletinsCreateHeadingErrorComponent' text: '#/components/schemas/NewsBulletinsCreateTextErrorComponent' is_published: '#/components/schemas/NewsBulletinsCreateIsPublishedErrorComponent' oneOf: - $ref: '#/components/schemas/NewsBulletinsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateHeadingErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateTextErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateIsPublishedErrorComponent' NewsBulletinsCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/NewsBulletinsCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/NewsBulletinsCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsCreateHeadingErrorComponent: type: object properties: attr: description: '* `heading` - heading' type: string enum: - heading code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail NewsBulletinsCreateIsPublishedErrorComponent: type: object properties: attr: description: '* `is_published` - is_published' type: string enum: - is_published code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsCreateTextErrorComponent: type: object properties: attr: description: '* `text` - text' type: string enum: - text code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail NewsBulletinsCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/NewsBulletinsCreateError' required: - errors - type NewsBulletinsDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/NewsBulletinsPartialUpdateNonFieldErrorsErrorComponent' heading: '#/components/schemas/NewsBulletinsPartialUpdateHeadingErrorComponent' text: '#/components/schemas/NewsBulletinsPartialUpdateTextErrorComponent' is_published: '#/components/schemas/NewsBulletinsPartialUpdateIsPublishedErrorComponent' oneOf: - $ref: '#/components/schemas/NewsBulletinsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateHeadingErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateTextErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateIsPublishedErrorComponent' NewsBulletinsPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/NewsBulletinsPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/NewsBulletinsPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsPartialUpdateHeadingErrorComponent: type: object properties: attr: description: '* `heading` - heading' type: string enum: - heading code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail NewsBulletinsPartialUpdateIsPublishedErrorComponent: type: object properties: attr: description: '* `is_published` - is_published' type: string enum: - is_published code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsPartialUpdateTextErrorComponent: type: object properties: attr: description: '* `text` - text' type: string enum: - text code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail NewsBulletinsPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/NewsBulletinsPartialUpdateError' required: - errors - type NewsBulletinsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/NewsBulletinsUpdateNonFieldErrorsErrorComponent' heading: '#/components/schemas/NewsBulletinsUpdateHeadingErrorComponent' text: '#/components/schemas/NewsBulletinsUpdateTextErrorComponent' is_published: '#/components/schemas/NewsBulletinsUpdateIsPublishedErrorComponent' oneOf: - $ref: '#/components/schemas/NewsBulletinsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/NewsBulletinsUpdateHeadingErrorComponent' - $ref: '#/components/schemas/NewsBulletinsUpdateTextErrorComponent' - $ref: '#/components/schemas/NewsBulletinsUpdateIsPublishedErrorComponent' NewsBulletinsUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/NewsBulletinsUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/NewsBulletinsUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsUpdateHeadingErrorComponent: type: object properties: attr: description: '* `heading` - heading' type: string enum: - heading code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail NewsBulletinsUpdateIsPublishedErrorComponent: type: object properties: attr: description: '* `is_published` - is_published' type: string enum: - is_published code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsUpdateTextErrorComponent: type: object properties: attr: description: '* `text` - text' type: string enum: - text code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail NewsBulletinsUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/NewsBulletinsUpdateError' required: - errors - type NullEnum: enum: - null ObtainTokenCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/ObtainTokenCreateNonFieldErrorsErrorComponent' username: '#/components/schemas/ObtainTokenCreateUsernameErrorComponent' password: '#/components/schemas/ObtainTokenCreatePasswordErrorComponent' oneOf: - $ref: '#/components/schemas/ObtainTokenCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ObtainTokenCreateUsernameErrorComponent' - $ref: '#/components/schemas/ObtainTokenCreatePasswordErrorComponent' ObtainTokenCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/ObtainTokenCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ObtainTokenCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' ObtainTokenCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail ObtainTokenCreatePasswordErrorComponent: type: object properties: attr: description: '* `password` - password' type: string enum: - password code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail ObtainTokenCreateUsernameErrorComponent: type: object properties: attr: description: '* `username` - username' type: string enum: - username code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail ObtainTokenCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/ObtainTokenCreateError' required: - errors - type Organization: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 homepage: type: string maxLength: 255 nullable: true title: Link back to the organisation home page. description: type: string maxLength: 255 postalAddress: type: string maxLength: 2048 nullable: true title: Postal address for organization. streetAddress: type: string maxLength: 2048 nullable: true title: Street address for organization. editorId: type: integer nullable: true readOnly: true editorName: type: string readOnly: true editorEmail: type: string nullable: true readOnly: true editorMsisdn: description: The editor's number in international format, or None if there isn't one. type: string nullable: true readOnly: true fkmember: type: boolean readOnly: true required: - editorEmail - editorId - editorMsisdn - editorName - fkmember - id - name OrganizationCreateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/OrganizationCreateNonFieldErrorsErrorComponent' name: '#/components/schemas/OrganizationCreateNameErrorComponent' homepage: '#/components/schemas/OrganizationCreateHomepageErrorComponent' description: '#/components/schemas/OrganizationCreateDescriptionErrorComponent' postal_address: '#/components/schemas/OrganizationCreatePostalAddressErrorComponent' street_address: '#/components/schemas/OrganizationCreateStreetAddressErrorComponent' oneOf: - $ref: '#/components/schemas/OrganizationCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/OrganizationCreateNameErrorComponent' - $ref: '#/components/schemas/OrganizationCreateHomepageErrorComponent' - $ref: '#/components/schemas/OrganizationCreateDescriptionErrorComponent' - $ref: '#/components/schemas/OrganizationCreatePostalAddressErrorComponent' - $ref: '#/components/schemas/OrganizationCreateStreetAddressErrorComponent' OrganizationCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/OrganizationCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/OrganizationCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' OrganizationCreateHomepageErrorComponent: type: object properties: attr: description: '* `homepage` - homepage' type: string enum: - homepage code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail OrganizationCreatePostalAddressErrorComponent: type: object properties: attr: description: '* `postal_address` - postal_address' type: string enum: - postal_address code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationCreateStreetAddressErrorComponent: type: object properties: attr: description: '* `street_address` - street_address' type: string enum: - street_address code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/OrganizationCreateError' required: - errors - type OrganizationDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationPartialUpdateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/OrganizationPartialUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/OrganizationPartialUpdateNameErrorComponent' homepage: '#/components/schemas/OrganizationPartialUpdateHomepageErrorComponent' description: '#/components/schemas/OrganizationPartialUpdateDescriptionErrorComponent' postal_address: '#/components/schemas/OrganizationPartialUpdatePostalAddressErrorComponent' street_address: '#/components/schemas/OrganizationPartialUpdateStreetAddressErrorComponent' oneOf: - $ref: '#/components/schemas/OrganizationPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/OrganizationPartialUpdateNameErrorComponent' - $ref: '#/components/schemas/OrganizationPartialUpdateHomepageErrorComponent' - $ref: '#/components/schemas/OrganizationPartialUpdateDescriptionErrorComponent' - $ref: '#/components/schemas/OrganizationPartialUpdatePostalAddressErrorComponent' - $ref: '#/components/schemas/OrganizationPartialUpdateStreetAddressErrorComponent' OrganizationPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/OrganizationPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/OrganizationPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' OrganizationPartialUpdateHomepageErrorComponent: type: object properties: attr: description: '* `homepage` - homepage' type: string enum: - homepage code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationPartialUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail OrganizationPartialUpdatePostalAddressErrorComponent: type: object properties: attr: description: '* `postal_address` - postal_address' type: string enum: - postal_address code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationPartialUpdateStreetAddressErrorComponent: type: object properties: attr: description: '* `street_address` - street_address' type: string enum: - street_address code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/OrganizationPartialUpdateError' required: - errors - type OrganizationRequest: type: object properties: name: type: string maxLength: 255 minLength: 1 homepage: type: string maxLength: 255 nullable: true title: Link back to the organisation home page. description: type: string maxLength: 255 postalAddress: type: string maxLength: 2048 nullable: true title: Postal address for organization. streetAddress: type: string maxLength: 2048 nullable: true title: Street address for organization. required: - name OrganizationRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationUpdateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/OrganizationUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/OrganizationUpdateNameErrorComponent' homepage: '#/components/schemas/OrganizationUpdateHomepageErrorComponent' description: '#/components/schemas/OrganizationUpdateDescriptionErrorComponent' postal_address: '#/components/schemas/OrganizationUpdatePostalAddressErrorComponent' street_address: '#/components/schemas/OrganizationUpdateStreetAddressErrorComponent' oneOf: - $ref: '#/components/schemas/OrganizationUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/OrganizationUpdateNameErrorComponent' - $ref: '#/components/schemas/OrganizationUpdateHomepageErrorComponent' - $ref: '#/components/schemas/OrganizationUpdateDescriptionErrorComponent' - $ref: '#/components/schemas/OrganizationUpdatePostalAddressErrorComponent' - $ref: '#/components/schemas/OrganizationUpdateStreetAddressErrorComponent' OrganizationUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/OrganizationUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/OrganizationUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' OrganizationUpdateHomepageErrorComponent: type: object properties: attr: description: '* `homepage` - homepage' type: string enum: - homepage code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail OrganizationUpdatePostalAddressErrorComponent: type: object properties: attr: description: '* `postal_address` - postal_address' type: string enum: - postal_address code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationUpdateStreetAddressErrorComponent: type: object properties: attr: description: '* `street_address` - street_address' type: string enum: - street_address code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/OrganizationUpdateError' required: - errors - type PaginatedAsRunList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/AsRun' required: - count - results PaginatedBulletinList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/Bulletin' required: - count - results PaginatedCategoryList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/Category' required: - count - results PaginatedOrganizationList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/Organization' required: - count - results PaginatedProgramImageList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/ProgramImage' required: - count - results PaginatedScheduleitemReadList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/ScheduleitemRead' required: - count - results PaginatedSeriesList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/Series' required: - count - results PaginatedVideoFileList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/VideoFile' required: - count - results PaginatedVideoList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/Video' required: - count - results PaginatedWeeklySlotRequestList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/WeeklySlotRequest' required: - count - results PaginatedWeeklySlotSourceList: type: object properties: count: type: integer example: 123 next: type: string format: uri example: http://api.example.org/accounts/?offset=400&limit=100 nullable: true previous: type: string format: uri example: http://api.example.org/accounts/?offset=200&limit=100 nullable: true results: type: array items: $ref: '#/components/schemas/WeeklySlotSource' required: - count - results ParseError: type: object properties: code: $ref: '#/components/schemas/ParseErrorCodeEnum' detail: type: string attr: type: string nullable: true required: - attr - code - detail ParseErrorCodeEnum: description: '* `parse_error` - Parse Error' type: string enum: - parse_error ParseErrorResponse: type: object properties: type: $ref: '#/components/schemas/ClientErrorEnum' errors: type: array items: $ref: '#/components/schemas/ParseError' required: - errors - type PatchedAsRunRequest: description: |- One entry in the playout log: a video or a named programme, and when it went to air. type: object properties: video: description: Points to the Video which was played if there is one. Can be empty if something other than a video was played. The field is mutually exclusive with `programName`. type: integer nullable: true programName: description: A free form text input saying what was played. If `video` is set, this field should not be set. Examples of where you'd use this field is e.g. when broadcasting live. Defaults to the empty string. type: string maxLength: 160 playout: description: The playout this entry corresponds with. This will almost always be 'main' which it defaults to. type: string maxLength: 255 playedAt: description: Time when the playout started. Defaults to now. type: string format: date-time inMs: description: The inpoint where the video/stream was started at. In milliseconds. Normally 0 which it defaults to. type: integer maximum: 2147483647 minimum: -2147483648 outMs: description: The outpoint where the video/stream stopped. This would often be the duration of the video, or how long we live streamed a particular URL. Can be null (None) if this is 'currently happening'. type: integer maximum: 2147483647 minimum: -2147483648 nullable: true PatchedBulletinRequest: type: object properties: heading: type: string maxLength: 80 minLength: 1 text: type: string minLength: 1 isPublished: type: boolean PatchedCategoryRequest: type: object properties: id: type: integer maximum: 2147483647 minimum: -2147483648 name: type: string maxLength: 255 minLength: 1 desc: type: string maxLength: 255 PatchedOrganizationRequest: type: object properties: name: type: string maxLength: 255 minLength: 1 homepage: type: string maxLength: 255 nullable: true title: Link back to the organisation home page. description: type: string maxLength: 255 postalAddress: type: string maxLength: 2048 nullable: true title: Postal address for organization. streetAddress: type: string maxLength: 2048 nullable: true title: Street address for organization. PatchedProgramImageRequest: type: object properties: role: $ref: '#/components/schemas/RoleEnum' PatchedScheduleitemModifyRequest: type: object properties: video: type: integer nullable: true schedulereason: description: |- Staff may choose provenance. Member writes are always recorded as User. * `1` - Legacy * `2` - Administrative * `3` - User * `4` - Automatic * `5` - Jukebox allOf: - $ref: '#/components/schemas/SchedulereasonEnum' starttime: type: string format: date-time duration: type: string PatchedSeriesWriteRequest: type: object properties: name: type: string maxLength: 255 minLength: 1 synopsis: type: string maxLength: 2048 organization: type: integer PatchedUserRequest: type: object properties: firstName: type: string maxLength: 30 lastName: type: string maxLength: 30 dateOfBirth: type: string format: date nullable: true phoneNumber: description: Phone number at which this user can be reached type: string maxLength: 128 password: type: string minLength: 1 writeOnly: true PatchedVideoFileRequest: type: object properties: video: type: integer variant: $ref: '#/components/schemas/VideoFileVariantEnum' filename: type: string maxLength: 256 minLength: 1 integratedLufs: type: number format: double nullable: true title: Integrated LUFS of file defined in ITU R.128 truepeakLufs: type: number format: double nullable: true title: True peak LUFS of file defined in ITU R.128 profileRevision: description: Revision of the encoding profile that produced this file. 0 means it predates profile tracking. type: integer maximum: 32767 minimum: 0 PatchedVideoRequest: description: 'The read serializer: the organization arrives whole.' type: object properties: name: type: string maxLength: 255 minLength: 1 header: type: string maxLength: 2048 nullable: true description: type: string maxLength: 2048 nullable: true seriesId: type: integer nullable: true writeOnly: true episodeNumber: description: Episode number within the series. Leave blank when the series is unordered. type: integer maximum: 2147483647 minimum: 1 nullable: true duration: type: string categories: type: array items: type: string minLength: 1 framerate: description: Framerate of master video in thousands / second type: integer maximum: 2147483647 minimum: -2147483648 properImport: description: Has the video been properly imported? type: boolean hasTonoRecords: type: boolean publishOnWeb: type: boolean isFiller: description: You still have the editorial responsibility. Only affect videos from members. type: boolean title: Play automatically? refUrl: description: URL for reference type: string maxLength: 1024 spokenLanguage: description: Language tag for the speech in this programme, e.g. 'no', 'nn', 'se' (Northern Sami) or 'en'. Leave blank if there is no speech. oneOf: - type: string pattern: ^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{1,8})*$ maxLength: 32 - type: string maxLength: 0 minimumAge: description: |- Norwegian age rating (Medietilsynet's scale). Leave blank when the programme has not been rated -- blank publishes no rating at all, while 'All ages' publishes one. * `0` - All ages * `6` - 6 * `9` - 9 * `12` - 12 * `15` - 15 * `18` - 18 maximum: 32767 minimum: 0 nullable: true oneOf: - $ref: '#/components/schemas/MinimumAgeEnum' - $ref: '#/components/schemas/NullEnum' uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true PatchedWeeklySlotRequest: type: object properties: source: description: Which source picks the video for this slot. Blank means the slot reserves airtime that nothing is scheduled into automatically. type: integer nullable: true PatchedWeeklySlotSourceRequest: type: object properties: name: description: Shown wherever a slot names its source, including the public planner. type: string maxLength: 100 minLength: 1 type: description: |- Where the candidate videos come from. * `videos` - Hand-picked videos * `organization` - Everything one organization has uploaded allOf: - $ref: '#/components/schemas/WeeklySlotSourceTypeEnum' strategy: description: |- Which candidate airs when a slot using this source comes round. * `latest` - The newest upload * `random` - A random one * `least_scheduled` - The one that has aired the least allOf: - $ref: '#/components/schemas/StrategyEnum' organization: type: integer directVideos: type: array items: type: integer ProgramImage: type: object properties: id: type: integer readOnly: true video: type: integer readOnly: true role: $ref: '#/components/schemas/RoleEnum' filename: type: string readOnly: true mediaType: allOf: - $ref: '#/components/schemas/MediaTypeEnum' readOnly: true width: type: integer readOnly: true height: type: integer readOnly: true url: type: string readOnly: true createdTime: type: string format: date-time readOnly: true required: - createdTime - filename - height - id - mediaType - role - url - video - width ProgramImageRegistration: description: Trusted archive metadata reported by ingest after publication. type: object properties: id: type: integer readOnly: true video: type: integer readOnly: true role: $ref: '#/components/schemas/RoleEnum' filename: type: string maxLength: 300 mediaType: $ref: '#/components/schemas/MediaTypeEnum' width: type: integer maximum: 65535 minimum: 1 height: type: integer maximum: 65535 minimum: 1 url: type: string readOnly: true createdTime: type: string format: date-time readOnly: true required: - createdTime - filename - height - id - mediaType - role - url - video - width ProgramImageRegistrationRequest: description: Trusted archive metadata reported by ingest after publication. type: object properties: role: $ref: '#/components/schemas/RoleEnum' filename: type: string maxLength: 300 minLength: 1 mediaType: $ref: '#/components/schemas/MediaTypeEnum' width: type: integer maximum: 65535 minimum: 1 height: type: integer maximum: 65535 minimum: 1 required: - filename - height - mediaType - role - width ProgramImageRequest: type: object properties: role: $ref: '#/components/schemas/RoleEnum' required: - role RoleEnum: description: |- * `network_logo` - Network logo * `channel_logo` - Channel logo * `show_logo` - Show logo * `show_still` - Show still * `episode_still` - Episode still * `key_art_titled` - Key art with title * `key_art_untitled` - Key art without title * `behind_the_scenes` - Behind the scenes * `location` - Location * `news_event` - News event * `portrait_headshot` - Portrait, headshot * `portrait_half_body` - Portrait, half body * `portrait_full_body` - Portrait, full body * `cast_ensemble` - Cast ensemble type: string enum: - network_logo - channel_logo - show_logo - show_still - episode_still - key_art_titled - key_art_untitled - behind_the_scenes - location - news_event - portrait_headshot - portrait_half_body - portrait_full_body - cast_ensemble RootRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemModify: type: object properties: id: type: integer readOnly: true video: type: integer nullable: true schedulereason: description: |- Staff may choose provenance. Member writes are always recorded as User. * `1` - Legacy * `2` - Administrative * `3` - User * `4` - Automatic * `5` - Jukebox allOf: - $ref: '#/components/schemas/SchedulereasonEnum' starttime: type: string format: date-time endtime: type: string format: date-time readOnly: true duration: type: string required: - duration - endtime - id - starttime ScheduleitemModifyRequest: type: object properties: video: type: integer nullable: true schedulereason: description: |- Staff may choose provenance. Member writes are always recorded as User. * `1` - Legacy * `2` - Administrative * `3` - User * `4` - Automatic * `5` - Jukebox allOf: - $ref: '#/components/schemas/SchedulereasonEnum' starttime: type: string format: date-time duration: type: string required: - duration - starttime ScheduleitemOrganization: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true description: type: string readOnly: true required: - description - id - name ScheduleitemRead: type: object properties: id: type: integer readOnly: true defaultName: type: string readOnly: true video: allOf: - $ref: '#/components/schemas/ScheduleitemVideo' nullable: true schedulereason: allOf: - $ref: '#/components/schemas/SchedulereasonEnum' readOnly: true starttime: type: string format: date-time endtime: type: string format: date-time readOnly: true duration: type: string readOnly: true displaceable: description: Whether this item is automatic jukebox filler, which a member organization's own pick replaces when scheduled over it. Deliberate programming is never displaceable. Only meaningful for items starting at or after the freezeBoundary of /api/scheduling/policy; frozen airtime cannot be changed regardless. type: boolean readOnly: true weeklySlot: type: integer nullable: true readOnly: true required: - defaultName - displaceable - duration - endtime - id - schedulereason - starttime - video - weeklySlot ScheduleitemVideo: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 header: type: string maxLength: 2048 nullable: true description: type: string maxLength: 2048 nullable: true organization: allOf: - $ref: '#/components/schemas/ScheduleitemOrganization' readOnly: true categories: type: array items: type: string files: type: array items: $ref: '#/components/schemas/ScheduleitemVideoFile' readOnly: true required: - categories - files - id - name - organization ScheduleitemVideoFile: type: object properties: id: type: integer readOnly: true variant: allOf: - $ref: '#/components/schemas/VideoFileVariantEnum' readOnly: true filename: type: string readOnly: true required: - filename - id - variant ScheduleitemsCreateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid - min_value - 'null' - required detail: type: string required: - attr - code - detail ScheduleitemsCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/ScheduleitemsCreateNonFieldErrorsErrorComponent' video: '#/components/schemas/ScheduleitemsCreateVideoErrorComponent' schedulereason: '#/components/schemas/ScheduleitemsCreateSchedulereasonErrorComponent' starttime: '#/components/schemas/ScheduleitemsCreateStarttimeErrorComponent' duration: '#/components/schemas/ScheduleitemsCreateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ScheduleitemsCreateVideoErrorComponent' - $ref: '#/components/schemas/ScheduleitemsCreateSchedulereasonErrorComponent' - $ref: '#/components/schemas/ScheduleitemsCreateStarttimeErrorComponent' - $ref: '#/components/schemas/ScheduleitemsCreateDurationErrorComponent' ScheduleitemsCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/ScheduleitemsCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ScheduleitemsCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemsCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail ScheduleitemsCreateSchedulereasonErrorComponent: type: object properties: attr: description: '* `schedulereason` - schedulereason' type: string enum: - schedulereason code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail ScheduleitemsCreateStarttimeErrorComponent: type: object properties: attr: description: '* `starttime` - starttime' type: string enum: - starttime code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `null` - null * `overflow` - overflow * `required` - required type: string enum: - date - invalid - make_aware - 'null' - overflow - required detail: type: string required: - attr - code - detail ScheduleitemsCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/ScheduleitemsCreateError' required: - errors - type ScheduleitemsCreateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail ScheduleitemsDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemsListDateErrorComponent: type: object properties: attr: description: '* `date` - date' type: string enum: - date code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail ScheduleitemsListDaysErrorComponent: type: object properties: attr: description: '* `days` - days' type: string enum: - days code: description: |- * `invalid` - invalid * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_value - min_value detail: type: string required: - attr - code - detail ScheduleitemsListError: discriminator: propertyName: attr mapping: date: '#/components/schemas/ScheduleitemsListDateErrorComponent' days: '#/components/schemas/ScheduleitemsListDaysErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsListDateErrorComponent' - $ref: '#/components/schemas/ScheduleitemsListDaysErrorComponent' ScheduleitemsListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/ScheduleitemsListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ScheduleitemsListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemsListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/ScheduleitemsListError' required: - errors - type ScheduleitemsPartialUpdateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid - min_value - 'null' - required detail: type: string required: - attr - code - detail ScheduleitemsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/ScheduleitemsPartialUpdateNonFieldErrorsErrorComponent' video: '#/components/schemas/ScheduleitemsPartialUpdateVideoErrorComponent' schedulereason: '#/components/schemas/ScheduleitemsPartialUpdateSchedulereasonErrorComponent' starttime: '#/components/schemas/ScheduleitemsPartialUpdateStarttimeErrorComponent' duration: '#/components/schemas/ScheduleitemsPartialUpdateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ScheduleitemsPartialUpdateVideoErrorComponent' - $ref: '#/components/schemas/ScheduleitemsPartialUpdateSchedulereasonErrorComponent' - $ref: '#/components/schemas/ScheduleitemsPartialUpdateStarttimeErrorComponent' - $ref: '#/components/schemas/ScheduleitemsPartialUpdateDurationErrorComponent' ScheduleitemsPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/ScheduleitemsPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ScheduleitemsPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemsPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail ScheduleitemsPartialUpdateSchedulereasonErrorComponent: type: object properties: attr: description: '* `schedulereason` - schedulereason' type: string enum: - schedulereason code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail ScheduleitemsPartialUpdateStarttimeErrorComponent: type: object properties: attr: description: '* `starttime` - starttime' type: string enum: - starttime code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `null` - null * `overflow` - overflow * `required` - required type: string enum: - date - invalid - make_aware - 'null' - overflow - required detail: type: string required: - attr - code - detail ScheduleitemsPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/ScheduleitemsPartialUpdateError' required: - errors - type ScheduleitemsPartialUpdateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail ScheduleitemsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemsUpdateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid - min_value - 'null' - required detail: type: string required: - attr - code - detail ScheduleitemsUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/ScheduleitemsUpdateNonFieldErrorsErrorComponent' video: '#/components/schemas/ScheduleitemsUpdateVideoErrorComponent' schedulereason: '#/components/schemas/ScheduleitemsUpdateSchedulereasonErrorComponent' starttime: '#/components/schemas/ScheduleitemsUpdateStarttimeErrorComponent' duration: '#/components/schemas/ScheduleitemsUpdateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ScheduleitemsUpdateVideoErrorComponent' - $ref: '#/components/schemas/ScheduleitemsUpdateSchedulereasonErrorComponent' - $ref: '#/components/schemas/ScheduleitemsUpdateStarttimeErrorComponent' - $ref: '#/components/schemas/ScheduleitemsUpdateDurationErrorComponent' ScheduleitemsUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/ScheduleitemsUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ScheduleitemsUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' ScheduleitemsUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail ScheduleitemsUpdateSchedulereasonErrorComponent: type: object properties: attr: description: '* `schedulereason` - schedulereason' type: string enum: - schedulereason code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail ScheduleitemsUpdateStarttimeErrorComponent: type: object properties: attr: description: '* `starttime` - starttime' type: string enum: - starttime code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `null` - null * `overflow` - overflow * `required` - required type: string enum: - date - invalid - make_aware - 'null' - overflow - required detail: type: string required: - attr - code - detail ScheduleitemsUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/ScheduleitemsUpdateError' required: - errors - type ScheduleitemsUpdateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail SchedulereasonEnum: description: |- * `1` - Legacy * `2` - Administrative * `3` - User * `4` - Automatic * `5` - Jukebox type: integer enum: - 1 - 2 - 3 - 4 - 5 SchedulingPolicy: description: |- The broadcast-week policy and its recurring reservations. Clients should derive per-item state from the boundary instants rather than re-implement the week arithmetic (see agenda.scheduling.policy): items before freezeBoundary are frozen, items between freezeBoundary and schedulingHorizon are in the open week, and airtime beyond schedulingHorizon has not been drafted yet. Weekly slots describe reserved airtime even when no concrete schedule item has been drafted. type: object properties: freezeBoundary: description: 'Schedule items starting before this instant are frozen: member organizations can no longer create, move, edit, or delete them. It is the Monday midnight (Europe/Oslo) before the open broadcast week, and advances one week every Monday at midnight.' type: string format: date-time readOnly: true schedulingHorizon: description: 'The end of the drafted schedule: the open week runs from freezeBoundary to here. The nightly jobs do not schedule beyond this instant, and neither should clients present later airtime as available.' type: string format: date-time readOnly: true serverTime: description: The server's clock when this response was produced. Compare against it, not the local clock, when deciding which side of a boundary the present moment falls on. type: string format: date-time readOnly: true weeklySlots: description: Recurring reservations that the automatic scheduler fills before jukebox airtime. type: array items: $ref: '#/components/schemas/WeeklySlotRead' readOnly: true required: - freezeBoundary - schedulingHorizon - serverTime - weeklySlots SchedulingPolicyRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' SchemaRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' Series: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 synopsis: type: string maxLength: 2048 imageUrl: type: string format: uri readOnly: true organization: allOf: - $ref: '#/components/schemas/Organization' readOnly: true episodeCount: type: integer readOnly: true required: - episodeCount - id - imageUrl - name - organization SeriesCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/SeriesCreateNonFieldErrorsErrorComponent' name: '#/components/schemas/SeriesCreateNameErrorComponent' synopsis: '#/components/schemas/SeriesCreateSynopsisErrorComponent' organization: '#/components/schemas/SeriesCreateOrganizationErrorComponent' oneOf: - $ref: '#/components/schemas/SeriesCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/SeriesCreateNameErrorComponent' - $ref: '#/components/schemas/SeriesCreateSynopsisErrorComponent' - $ref: '#/components/schemas/SeriesCreateOrganizationErrorComponent' SeriesCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/SeriesCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/SeriesCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' SeriesCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail SeriesCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail SeriesCreateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail SeriesCreateSynopsisErrorComponent: type: object properties: attr: description: '* `synopsis` - synopsis' type: string enum: - synopsis code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail SeriesCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/SeriesCreateError' required: - errors - type SeriesDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' SeriesListError: discriminator: propertyName: attr mapping: organization: '#/components/schemas/SeriesListOrganizationErrorComponent' name: '#/components/schemas/SeriesListNameErrorComponent' name__icontains: '#/components/schemas/SeriesListName_icontainsErrorComponent' oneOf: - $ref: '#/components/schemas/SeriesListOrganizationErrorComponent' - $ref: '#/components/schemas/SeriesListNameErrorComponent' - $ref: '#/components/schemas/SeriesListName_icontainsErrorComponent' SeriesListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/SeriesListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/SeriesListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' SeriesListNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail SeriesListName_icontainsErrorComponent: type: object properties: attr: description: '* `name__icontains` - name__icontains' type: string enum: - name__icontains code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail SeriesListOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail SeriesListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/SeriesListError' required: - errors - type SeriesPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/SeriesPartialUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/SeriesPartialUpdateNameErrorComponent' synopsis: '#/components/schemas/SeriesPartialUpdateSynopsisErrorComponent' organization: '#/components/schemas/SeriesPartialUpdateOrganizationErrorComponent' oneOf: - $ref: '#/components/schemas/SeriesPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/SeriesPartialUpdateNameErrorComponent' - $ref: '#/components/schemas/SeriesPartialUpdateSynopsisErrorComponent' - $ref: '#/components/schemas/SeriesPartialUpdateOrganizationErrorComponent' SeriesPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/SeriesPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/SeriesPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' SeriesPartialUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail SeriesPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail SeriesPartialUpdateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail SeriesPartialUpdateSynopsisErrorComponent: type: object properties: attr: description: '* `synopsis` - synopsis' type: string enum: - synopsis code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail SeriesPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/SeriesPartialUpdateError' required: - errors - type SeriesRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' SeriesSummary: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 synopsis: type: string maxLength: 2048 imageUrl: type: string format: uri readOnly: true required: - id - imageUrl - name SeriesSummaryRequest: type: object properties: name: type: string maxLength: 255 minLength: 1 synopsis: type: string maxLength: 2048 required: - name SeriesUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/SeriesUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/SeriesUpdateNameErrorComponent' synopsis: '#/components/schemas/SeriesUpdateSynopsisErrorComponent' organization: '#/components/schemas/SeriesUpdateOrganizationErrorComponent' oneOf: - $ref: '#/components/schemas/SeriesUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/SeriesUpdateNameErrorComponent' - $ref: '#/components/schemas/SeriesUpdateSynopsisErrorComponent' - $ref: '#/components/schemas/SeriesUpdateOrganizationErrorComponent' SeriesUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/SeriesUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/SeriesUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' SeriesUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail SeriesUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail SeriesUpdateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail SeriesUpdateSynopsisErrorComponent: type: object properties: attr: description: '* `synopsis` - synopsis' type: string enum: - synopsis code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail SeriesUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/SeriesUpdateError' required: - errors - type SeriesWrite: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 synopsis: type: string maxLength: 2048 imageUrl: type: string format: uri readOnly: true organization: type: integer episodeCount: type: integer readOnly: true required: - episodeCount - id - imageUrl - name - organization SeriesWriteRequest: type: object properties: name: type: string maxLength: 255 minLength: 1 synopsis: type: string maxLength: 2048 organization: type: integer required: - name - organization ServerErrorEnum: description: '* `server_error` - Server Error' type: string enum: - server_error SimpleOrg: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 required: - id - name SimpleOrgRequest: type: object properties: name: type: string maxLength: 255 minLength: 1 required: - name StatusEnum: description: |- * `pending` - Pending * `approved` - Approved * `denied` - Denied type: string enum: - pending - approved - denied StrategyEnum: description: |- * `latest` - The newest upload * `random` - A random one * `least_scheduled` - The one that has aired the least type: string enum: - latest - random - least_scheduled TvanytimeDateRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' TvanytimeUpcomingRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' UploadTokenVerificationRequest: description: The upload capability presented by ingest for a specific video. type: object properties: uploadToken: type: string maxLength: 32 minLength: 1 required: - uploadToken User: type: object properties: id: type: integer readOnly: true email: type: string format: email readOnly: true title: Email address isStaff: description: Is the user a member of staff? type: boolean readOnly: true identityConfirmed: description: Whether the identity of this user has been confirmed by Frikanalen management. type: boolean readOnly: true dateJoined: type: string format: date-time readOnly: true editorOf: type: array items: $ref: '#/components/schemas/SimpleOrg' readOnly: true memberOf: type: array items: $ref: '#/components/schemas/SimpleOrg' readOnly: true firstName: type: string maxLength: 30 lastName: type: string maxLength: 30 dateOfBirth: type: string format: date nullable: true phoneNumber: description: Phone number at which this user can be reached type: string maxLength: 128 required: - dateJoined - editorOf - email - id - identityConfirmed - isStaff - memberOf UserDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' UserLoginCreateEmailErrorComponent: type: object properties: attr: description: '* `email` - email' type: string enum: - email code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserLoginCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserLoginCreateNonFieldErrorsErrorComponent' email: '#/components/schemas/UserLoginCreateEmailErrorComponent' password: '#/components/schemas/UserLoginCreatePasswordErrorComponent' oneOf: - $ref: '#/components/schemas/UserLoginCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserLoginCreateEmailErrorComponent' - $ref: '#/components/schemas/UserLoginCreatePasswordErrorComponent' UserLoginCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserLoginCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserLoginCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserLoginCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail UserLoginCreatePasswordErrorComponent: type: object properties: attr: description: '* `password` - password' type: string enum: - password code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserLoginCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserLoginCreateError' required: - errors - type UserLogoutCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserLogoutCreateNonFieldErrorsErrorComponent' oneOf: - $ref: '#/components/schemas/UserLogoutCreateNonFieldErrorsErrorComponent' UserLogoutCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserLogoutCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserLogoutCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserLogoutCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail UserLogoutCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserLogoutCreateError' required: - errors - type UserPartialUpdateDateOfBirthErrorComponent: type: object properties: attr: description: '* `date_of_birth` - date_of_birth' type: string enum: - date_of_birth code: description: |- * `datetime` - datetime * `invalid` - invalid type: string enum: - datetime - invalid detail: type: string required: - attr - code - detail UserPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserPartialUpdateNonFieldErrorsErrorComponent' first_name: '#/components/schemas/UserPartialUpdateFirstNameErrorComponent' last_name: '#/components/schemas/UserPartialUpdateLastNameErrorComponent' date_of_birth: '#/components/schemas/UserPartialUpdateDateOfBirthErrorComponent' phone_number: '#/components/schemas/UserPartialUpdatePhoneNumberErrorComponent' password: '#/components/schemas/UserPartialUpdatePasswordErrorComponent' oneOf: - $ref: '#/components/schemas/UserPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserPartialUpdateFirstNameErrorComponent' - $ref: '#/components/schemas/UserPartialUpdateLastNameErrorComponent' - $ref: '#/components/schemas/UserPartialUpdateDateOfBirthErrorComponent' - $ref: '#/components/schemas/UserPartialUpdatePhoneNumberErrorComponent' - $ref: '#/components/schemas/UserPartialUpdatePasswordErrorComponent' UserPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserPartialUpdateFirstNameErrorComponent: type: object properties: attr: description: '* `first_name` - first_name' type: string enum: - first_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserPartialUpdateLastNameErrorComponent: type: object properties: attr: description: '* `last_name` - last_name' type: string enum: - last_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail UserPartialUpdatePasswordErrorComponent: type: object properties: attr: description: '* `password` - password' type: string enum: - password code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserPartialUpdatePhoneNumberErrorComponent: type: object properties: attr: description: '* `phone_number` - phone_number' type: string enum: - phone_number code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserPartialUpdateError' required: - errors - type UserRegisterCreateEmailErrorComponent: type: object properties: attr: description: '* `email` - email' type: string enum: - email code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed * `unique` - unique type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed - unique detail: type: string required: - attr - code - detail UserRegisterCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserRegisterCreateNonFieldErrorsErrorComponent' email: '#/components/schemas/UserRegisterCreateEmailErrorComponent' first_name: '#/components/schemas/UserRegisterCreateFirstNameErrorComponent' last_name: '#/components/schemas/UserRegisterCreateLastNameErrorComponent' password: '#/components/schemas/UserRegisterCreatePasswordErrorComponent' oneOf: - $ref: '#/components/schemas/UserRegisterCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserRegisterCreateEmailErrorComponent' - $ref: '#/components/schemas/UserRegisterCreateFirstNameErrorComponent' - $ref: '#/components/schemas/UserRegisterCreateLastNameErrorComponent' - $ref: '#/components/schemas/UserRegisterCreatePasswordErrorComponent' UserRegisterCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserRegisterCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserRegisterCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserRegisterCreateFirstNameErrorComponent: type: object properties: attr: description: '* `first_name` - first_name' type: string enum: - first_name code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserRegisterCreateLastNameErrorComponent: type: object properties: attr: description: '* `last_name` - last_name' type: string enum: - last_name code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserRegisterCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail UserRegisterCreatePasswordErrorComponent: type: object properties: attr: description: '* `password` - password' type: string enum: - password code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserRegisterCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserRegisterCreateError' required: - errors - type UserRequest: type: object properties: firstName: type: string maxLength: 30 lastName: type: string maxLength: 30 dateOfBirth: type: string format: date nullable: true phoneNumber: description: Phone number at which this user can be reached type: string maxLength: 128 password: type: string minLength: 1 writeOnly: true UserRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' UserUpdateDateOfBirthErrorComponent: type: object properties: attr: description: '* `date_of_birth` - date_of_birth' type: string enum: - date_of_birth code: description: |- * `datetime` - datetime * `invalid` - invalid type: string enum: - datetime - invalid detail: type: string required: - attr - code - detail UserUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserUpdateNonFieldErrorsErrorComponent' first_name: '#/components/schemas/UserUpdateFirstNameErrorComponent' last_name: '#/components/schemas/UserUpdateLastNameErrorComponent' date_of_birth: '#/components/schemas/UserUpdateDateOfBirthErrorComponent' phone_number: '#/components/schemas/UserUpdatePhoneNumberErrorComponent' password: '#/components/schemas/UserUpdatePasswordErrorComponent' oneOf: - $ref: '#/components/schemas/UserUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserUpdateFirstNameErrorComponent' - $ref: '#/components/schemas/UserUpdateLastNameErrorComponent' - $ref: '#/components/schemas/UserUpdateDateOfBirthErrorComponent' - $ref: '#/components/schemas/UserUpdatePhoneNumberErrorComponent' - $ref: '#/components/schemas/UserUpdatePasswordErrorComponent' UserUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserUpdateFirstNameErrorComponent: type: object properties: attr: description: '* `first_name` - first_name' type: string enum: - first_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserUpdateLastNameErrorComponent: type: object properties: attr: description: '* `last_name` - last_name' type: string enum: - last_name code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail UserUpdatePasswordErrorComponent: type: object properties: attr: description: '* `password` - password' type: string enum: - password code: description: |- * `blank` - blank * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserUpdatePhoneNumberErrorComponent: type: object properties: attr: description: '* `phone_number` - phone_number' type: string enum: - phone_number code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserUpdateError' required: - errors - type ValidationErrorEnum: description: '* `validation_error` - Validation Error' type: string enum: - validation_error Video: description: 'The read serializer: the organization arrives whole.' type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 header: type: string maxLength: 2048 nullable: true description: type: string maxLength: 2048 nullable: true files: allOf: - $ref: '#/components/schemas/VideoFiles' readOnly: true creator: type: string format: email readOnly: true title: Email address organization: allOf: - $ref: '#/components/schemas/Organization' readOnly: true series: allOf: - $ref: '#/components/schemas/SeriesSummary' nullable: true readOnly: true episodeNumber: description: Episode number within the series. Leave blank when the series is unordered. type: integer maximum: 2147483647 minimum: 1 nullable: true duration: type: string durationSec: type: number format: double nullable: true readOnly: true categories: type: array items: type: string framerate: description: Framerate of master video in thousands / second type: integer maximum: 2147483647 minimum: -2147483648 properImport: description: Has the video been properly imported? type: boolean hasTonoRecords: type: boolean publishOnWeb: type: boolean isFiller: description: You still have the editorial responsibility. Only affect videos from members. type: boolean title: Play automatically? refUrl: description: URL for reference type: string maxLength: 1024 spokenLanguage: description: Language tag for the speech in this programme, e.g. 'no', 'nn', 'se' (Northern Sami) or 'en'. Leave blank if there is no speech. oneOf: - type: string pattern: ^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{1,8})*$ maxLength: 32 - type: string maxLength: 0 minimumAge: description: |- Norwegian age rating (Medietilsynet's scale). Leave blank when the programme has not been rated -- blank publishes no rating at all, while 'All ages' publishes one. * `0` - All ages * `6` - 6 * `9` - 9 * `12` - 12 * `15` - 15 * `18` - 18 maximum: 32767 minimum: 0 nullable: true oneOf: - $ref: '#/components/schemas/MinimumAgeEnum' - $ref: '#/components/schemas/NullEnum' createdTime: description: Time the program record was created type: string format: date-time readOnly: true updatedTime: description: Time the program record has been updated type: string format: date-time readOnly: true uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true ogvUrl: type: string nullable: true readOnly: true largeThumbnailUrl: type: string readOnly: true required: - categories - createdTime - creator - durationSec - files - id - largeThumbnailUrl - name - ogvUrl - organization - series - updatedTime VideoCreate: description: |- The write serializer: the organization is named by primary key, or left out entirely for validate() to infer from the creator. type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 header: type: string maxLength: 2048 nullable: true description: type: string maxLength: 2048 nullable: true files: allOf: - $ref: '#/components/schemas/VideoFiles' readOnly: true creator: type: string format: email readOnly: true title: Email address organization: type: integer series: allOf: - $ref: '#/components/schemas/SeriesSummary' nullable: true readOnly: true episodeNumber: description: Episode number within the series. Leave blank when the series is unordered. type: integer maximum: 2147483647 minimum: 1 nullable: true duration: type: string durationSec: type: number format: double nullable: true readOnly: true categories: type: array items: type: string framerate: description: Framerate of master video in thousands / second type: integer maximum: 2147483647 minimum: -2147483648 properImport: description: Has the video been properly imported? type: boolean hasTonoRecords: type: boolean publishOnWeb: type: boolean isFiller: description: You still have the editorial responsibility. Only affect videos from members. type: boolean title: Play automatically? refUrl: description: URL for reference type: string maxLength: 1024 spokenLanguage: description: Language tag for the speech in this programme, e.g. 'no', 'nn', 'se' (Northern Sami) or 'en'. Leave blank if there is no speech. oneOf: - type: string pattern: ^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{1,8})*$ maxLength: 32 - type: string maxLength: 0 minimumAge: description: |- Norwegian age rating (Medietilsynet's scale). Leave blank when the programme has not been rated -- blank publishes no rating at all, while 'All ages' publishes one. * `0` - All ages * `6` - 6 * `9` - 9 * `12` - 12 * `15` - 15 * `18` - 18 maximum: 32767 minimum: 0 nullable: true oneOf: - $ref: '#/components/schemas/MinimumAgeEnum' - $ref: '#/components/schemas/NullEnum' createdTime: description: Time the program record was created type: string format: date-time readOnly: true updatedTime: description: Time the program record has been updated type: string format: date-time readOnly: true uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true ogvUrl: type: string nullable: true readOnly: true largeThumbnailUrl: type: string readOnly: true required: - categories - createdTime - creator - durationSec - files - id - largeThumbnailUrl - name - ogvUrl - series - updatedTime VideoCreateRequest: description: |- The write serializer: the organization is named by primary key, or left out entirely for validate() to infer from the creator. type: object properties: name: type: string maxLength: 255 minLength: 1 header: type: string maxLength: 2048 nullable: true description: type: string maxLength: 2048 nullable: true organization: type: integer seriesId: type: integer nullable: true writeOnly: true episodeNumber: description: Episode number within the series. Leave blank when the series is unordered. type: integer maximum: 2147483647 minimum: 1 nullable: true duration: type: string categories: type: array items: type: string minLength: 1 framerate: description: Framerate of master video in thousands / second type: integer maximum: 2147483647 minimum: -2147483648 properImport: description: Has the video been properly imported? type: boolean hasTonoRecords: type: boolean publishOnWeb: type: boolean isFiller: description: You still have the editorial responsibility. Only affect videos from members. type: boolean title: Play automatically? refUrl: description: URL for reference type: string maxLength: 1024 spokenLanguage: description: Language tag for the speech in this programme, e.g. 'no', 'nn', 'se' (Northern Sami) or 'en'. Leave blank if there is no speech. oneOf: - type: string pattern: ^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{1,8})*$ maxLength: 32 - type: string maxLength: 0 minimumAge: description: |- Norwegian age rating (Medietilsynet's scale). Leave blank when the programme has not been rated -- blank publishes no rating at all, while 'All ages' publishes one. * `0` - All ages * `6` - 6 * `9` - 9 * `12` - 12 * `15` - 15 * `18` - 18 maximum: 32767 minimum: 0 nullable: true oneOf: - $ref: '#/components/schemas/MinimumAgeEnum' - $ref: '#/components/schemas/NullEnum' uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true required: - categories - name VideoFile: type: object properties: id: type: integer readOnly: true createdTime: description: Time the video file was created type: string format: date-time readOnly: true video: type: integer variant: $ref: '#/components/schemas/VideoFileVariantEnum' filename: type: string maxLength: 256 integratedLufs: type: number format: double nullable: true title: Integrated LUFS of file defined in ITU R.128 truepeakLufs: type: number format: double nullable: true title: True peak LUFS of file defined in ITU R.128 profileRevision: description: Revision of the encoding profile that produced this file. 0 means it predates profile tracking. type: integer maximum: 32767 minimum: 0 required: - createdTime - filename - id - variant - video VideoFileLink: type: object properties: url: type: string mimeType: type: string nullable: true required: - mimeType - url VideoFileRequest: type: object properties: video: type: integer variant: $ref: '#/components/schemas/VideoFileVariantEnum' filename: type: string maxLength: 256 minLength: 1 integratedLufs: type: number format: double nullable: true title: Integrated LUFS of file defined in ITU R.128 truepeakLufs: type: number format: double nullable: true title: True peak LUFS of file defined in ITU R.128 profileRevision: description: Revision of the encoding profile that produced this file. 0 means it predates profile tracking. type: integer maximum: 32767 minimum: 0 required: - filename - variant - video VideoFileVariantEnum: description: |- * `large_thumb` - Large thumbnail * `broadcast` - Broadcast master * `vc1` - VC-1 * `med_thumb` - Medium thumbnail * `small_thumb` - Small thumbnail * `original` - Original upload * `theora` - Ogg Theora * `srt` - SubRip subtitles * `cloudflare_id` - Cloudflare Stream identifier * `dash` - MPEG-DASH manifest * `dash_preview` - Transient low-quality MPEG-DASH manifest * `webm_med` - Medium-quality WebM type: string enum: - large_thumb - broadcast - vc1 - med_thumb - small_thumb - original - theora - srt - cloudflare_id - dash - dash_preview - webm_med VideoFiles: type: object properties: largeThumb: $ref: '#/components/schemas/VideoFileLink' broadcast: $ref: '#/components/schemas/VideoFileLink' vc1: $ref: '#/components/schemas/VideoFileLink' medThumb: $ref: '#/components/schemas/VideoFileLink' smallThumb: $ref: '#/components/schemas/VideoFileLink' original: $ref: '#/components/schemas/VideoFileLink' theora: $ref: '#/components/schemas/VideoFileLink' srt: $ref: '#/components/schemas/VideoFileLink' cloudflareId: $ref: '#/components/schemas/VideoFileLink' dash: $ref: '#/components/schemas/VideoFileLink' dashPreview: $ref: '#/components/schemas/VideoFileLink' webmMed: $ref: '#/components/schemas/VideoFileLink' VideoRequest: description: 'The read serializer: the organization arrives whole.' type: object properties: name: type: string maxLength: 255 minLength: 1 header: type: string maxLength: 2048 nullable: true description: type: string maxLength: 2048 nullable: true seriesId: type: integer nullable: true writeOnly: true episodeNumber: description: Episode number within the series. Leave blank when the series is unordered. type: integer maximum: 2147483647 minimum: 1 nullable: true duration: type: string categories: type: array items: type: string minLength: 1 framerate: description: Framerate of master video in thousands / second type: integer maximum: 2147483647 minimum: -2147483648 properImport: description: Has the video been properly imported? type: boolean hasTonoRecords: type: boolean publishOnWeb: type: boolean isFiller: description: You still have the editorial responsibility. Only affect videos from members. type: boolean title: Play automatically? refUrl: description: URL for reference type: string maxLength: 1024 spokenLanguage: description: Language tag for the speech in this programme, e.g. 'no', 'nn', 'se' (Northern Sami) or 'en'. Leave blank if there is no speech. oneOf: - type: string pattern: ^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{1,8})*$ maxLength: 32 - type: string maxLength: 0 minimumAge: description: |- Norwegian age rating (Medietilsynet's scale). Leave blank when the programme has not been rated -- blank publishes no rating at all, while 'All ages' publishes one. * `0` - All ages * `6` - 6 * `9` - 9 * `12` - 12 * `15` - 15 * `18` - 18 maximum: 32767 minimum: 0 nullable: true oneOf: - $ref: '#/components/schemas/MinimumAgeEnum' - $ref: '#/components/schemas/NullEnum' uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true required: - categories - name VideoUploadToken: type: object properties: uploadToken: description: Video upload token (used by fkupload/frontend) type: string maxLength: 32 uploadUrl: type: string default: http://localhost:1080/files/ readOnly: true required: - uploadUrl VideofilesCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideofilesCreateNonFieldErrorsErrorComponent' video: '#/components/schemas/VideofilesCreateVideoErrorComponent' variant: '#/components/schemas/VideofilesCreateVariantErrorComponent' filename: '#/components/schemas/VideofilesCreateFilenameErrorComponent' integrated_lufs: '#/components/schemas/VideofilesCreateIntegratedLufsErrorComponent' truepeak_lufs: '#/components/schemas/VideofilesCreateTruepeakLufsErrorComponent' profile_revision: '#/components/schemas/VideofilesCreateProfileRevisionErrorComponent' oneOf: - $ref: '#/components/schemas/VideofilesCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideofilesCreateVideoErrorComponent' - $ref: '#/components/schemas/VideofilesCreateVariantErrorComponent' - $ref: '#/components/schemas/VideofilesCreateFilenameErrorComponent' - $ref: '#/components/schemas/VideofilesCreateIntegratedLufsErrorComponent' - $ref: '#/components/schemas/VideofilesCreateTruepeakLufsErrorComponent' - $ref: '#/components/schemas/VideofilesCreateProfileRevisionErrorComponent' VideofilesCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideofilesCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideofilesCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideofilesCreateFilenameErrorComponent: type: object properties: attr: description: '* `filename` - filename' type: string enum: - filename code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideofilesCreateIntegratedLufsErrorComponent: type: object properties: attr: description: '* `integrated_lufs` - integrated_lufs' type: string enum: - integrated_lufs code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length type: string enum: - invalid - max_string_length detail: type: string required: - attr - code - detail VideofilesCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail VideofilesCreateProfileRevisionErrorComponent: type: object properties: attr: description: '* `profile_revision` - profile_revision' type: string enum: - profile_revision code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideofilesCreateTruepeakLufsErrorComponent: type: object properties: attr: description: '* `truepeak_lufs` - truepeak_lufs' type: string enum: - truepeak_lufs code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length type: string enum: - invalid - max_string_length detail: type: string required: - attr - code - detail VideofilesCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideofilesCreateError' required: - errors - type VideofilesCreateVariantErrorComponent: type: object properties: attr: description: '* `variant` - variant' type: string enum: - variant code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideofilesCreateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail VideofilesDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideofilesListCreatedTimeErrorComponent: type: object properties: attr: description: '* `created_time` - created_time' type: string enum: - created_time code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail VideofilesListError: discriminator: propertyName: attr mapping: video_id: '#/components/schemas/VideofilesListVideoIdErrorComponent' variant: '#/components/schemas/VideofilesListVariantErrorComponent' profile_revision: '#/components/schemas/VideofilesListProfileRevisionErrorComponent' profile_revision__lt: '#/components/schemas/VideofilesListProfileRevision_ltErrorComponent' created_time: '#/components/schemas/VideofilesListCreatedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideofilesListVideoIdErrorComponent' - $ref: '#/components/schemas/VideofilesListVariantErrorComponent' - $ref: '#/components/schemas/VideofilesListProfileRevisionErrorComponent' - $ref: '#/components/schemas/VideofilesListProfileRevision_ltErrorComponent' - $ref: '#/components/schemas/VideofilesListCreatedTimeErrorComponent' VideofilesListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideofilesListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideofilesListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideofilesListProfileRevisionErrorComponent: type: object properties: attr: description: '* `profile_revision` - profile_revision' type: string enum: - profile_revision code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideofilesListProfileRevision_ltErrorComponent: type: object properties: attr: description: '* `profile_revision__lt` - profile_revision__lt' type: string enum: - profile_revision__lt code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideofilesListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideofilesListError' required: - errors - type VideofilesListVariantErrorComponent: type: object properties: attr: description: '* `variant` - variant' type: string enum: - variant code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail VideofilesListVideoIdErrorComponent: type: object properties: attr: description: '* `video_id` - video_id' type: string enum: - video_id code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail VideofilesPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideofilesPartialUpdateNonFieldErrorsErrorComponent' video: '#/components/schemas/VideofilesPartialUpdateVideoErrorComponent' variant: '#/components/schemas/VideofilesPartialUpdateVariantErrorComponent' filename: '#/components/schemas/VideofilesPartialUpdateFilenameErrorComponent' integrated_lufs: '#/components/schemas/VideofilesPartialUpdateIntegratedLufsErrorComponent' truepeak_lufs: '#/components/schemas/VideofilesPartialUpdateTruepeakLufsErrorComponent' profile_revision: '#/components/schemas/VideofilesPartialUpdateProfileRevisionErrorComponent' oneOf: - $ref: '#/components/schemas/VideofilesPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideofilesPartialUpdateVideoErrorComponent' - $ref: '#/components/schemas/VideofilesPartialUpdateVariantErrorComponent' - $ref: '#/components/schemas/VideofilesPartialUpdateFilenameErrorComponent' - $ref: '#/components/schemas/VideofilesPartialUpdateIntegratedLufsErrorComponent' - $ref: '#/components/schemas/VideofilesPartialUpdateTruepeakLufsErrorComponent' - $ref: '#/components/schemas/VideofilesPartialUpdateProfileRevisionErrorComponent' VideofilesPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideofilesPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideofilesPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideofilesPartialUpdateFilenameErrorComponent: type: object properties: attr: description: '* `filename` - filename' type: string enum: - filename code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideofilesPartialUpdateIntegratedLufsErrorComponent: type: object properties: attr: description: '* `integrated_lufs` - integrated_lufs' type: string enum: - integrated_lufs code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length type: string enum: - invalid - max_string_length detail: type: string required: - attr - code - detail VideofilesPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail VideofilesPartialUpdateProfileRevisionErrorComponent: type: object properties: attr: description: '* `profile_revision` - profile_revision' type: string enum: - profile_revision code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideofilesPartialUpdateTruepeakLufsErrorComponent: type: object properties: attr: description: '* `truepeak_lufs` - truepeak_lufs' type: string enum: - truepeak_lufs code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length type: string enum: - invalid - max_string_length detail: type: string required: - attr - code - detail VideofilesPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideofilesPartialUpdateError' required: - errors - type VideofilesPartialUpdateVariantErrorComponent: type: object properties: attr: description: '* `variant` - variant' type: string enum: - variant code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideofilesPartialUpdateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail VideofilesRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideofilesUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideofilesUpdateNonFieldErrorsErrorComponent' video: '#/components/schemas/VideofilesUpdateVideoErrorComponent' variant: '#/components/schemas/VideofilesUpdateVariantErrorComponent' filename: '#/components/schemas/VideofilesUpdateFilenameErrorComponent' integrated_lufs: '#/components/schemas/VideofilesUpdateIntegratedLufsErrorComponent' truepeak_lufs: '#/components/schemas/VideofilesUpdateTruepeakLufsErrorComponent' profile_revision: '#/components/schemas/VideofilesUpdateProfileRevisionErrorComponent' oneOf: - $ref: '#/components/schemas/VideofilesUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideofilesUpdateVideoErrorComponent' - $ref: '#/components/schemas/VideofilesUpdateVariantErrorComponent' - $ref: '#/components/schemas/VideofilesUpdateFilenameErrorComponent' - $ref: '#/components/schemas/VideofilesUpdateIntegratedLufsErrorComponent' - $ref: '#/components/schemas/VideofilesUpdateTruepeakLufsErrorComponent' - $ref: '#/components/schemas/VideofilesUpdateProfileRevisionErrorComponent' VideofilesUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideofilesUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideofilesUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideofilesUpdateFilenameErrorComponent: type: object properties: attr: description: '* `filename` - filename' type: string enum: - filename code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideofilesUpdateIntegratedLufsErrorComponent: type: object properties: attr: description: '* `integrated_lufs` - integrated_lufs' type: string enum: - integrated_lufs code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length type: string enum: - invalid - max_string_length detail: type: string required: - attr - code - detail VideofilesUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail VideofilesUpdateProfileRevisionErrorComponent: type: object properties: attr: description: '* `profile_revision` - profile_revision' type: string enum: - profile_revision code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideofilesUpdateTruepeakLufsErrorComponent: type: object properties: attr: description: '* `truepeak_lufs` - truepeak_lufs' type: string enum: - truepeak_lufs code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length type: string enum: - invalid - max_string_length detail: type: string required: - attr - code - detail VideofilesUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideofilesUpdateError' required: - errors - type VideofilesUpdateVariantErrorComponent: type: object properties: attr: description: '* `variant` - variant' type: string enum: - variant code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideofilesUpdateVideoErrorComponent: type: object properties: attr: description: '* `video` - video' type: string enum: - video code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail VideosCreateCategoriesErrorComponent: type: object properties: attr: description: '* `categories` - categories' type: string enum: - categories code: description: |- * `does_not_exist` - does_not_exist * `invalid` - invalid * `not_a_list` - not_a_list * `null` - null * `required` - required type: string enum: - does_not_exist - invalid - not_a_list - 'null' - required detail: type: string required: - attr - code - detail VideosCreateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosCreateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null type: string enum: - invalid - min_value - 'null' detail: type: string required: - attr - code - detail VideosCreateEpisodeNumberErrorComponent: type: object properties: attr: description: '* `episode_number` - episode_number' type: string enum: - episode_number code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail VideosCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosCreateNonFieldErrorsErrorComponent' name: '#/components/schemas/VideosCreateNameErrorComponent' header: '#/components/schemas/VideosCreateHeaderErrorComponent' description: '#/components/schemas/VideosCreateDescriptionErrorComponent' organization: '#/components/schemas/VideosCreateOrganizationErrorComponent' series_id: '#/components/schemas/VideosCreateSeriesIdErrorComponent' episode_number: '#/components/schemas/VideosCreateEpisodeNumberErrorComponent' duration: '#/components/schemas/VideosCreateDurationErrorComponent' categories: '#/components/schemas/VideosCreateCategoriesErrorComponent' framerate: '#/components/schemas/VideosCreateFramerateErrorComponent' proper_import: '#/components/schemas/VideosCreateProperImportErrorComponent' has_tono_records: '#/components/schemas/VideosCreateHasTonoRecordsErrorComponent' publish_on_web: '#/components/schemas/VideosCreatePublishOnWebErrorComponent' is_filler: '#/components/schemas/VideosCreateIsFillerErrorComponent' ref_url: '#/components/schemas/VideosCreateRefUrlErrorComponent' spoken_language: '#/components/schemas/VideosCreateSpokenLanguageErrorComponent' minimum_age: '#/components/schemas/VideosCreateMinimumAgeErrorComponent' uploaded_time: '#/components/schemas/VideosCreateUploadedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosCreateNameErrorComponent' - $ref: '#/components/schemas/VideosCreateHeaderErrorComponent' - $ref: '#/components/schemas/VideosCreateDescriptionErrorComponent' - $ref: '#/components/schemas/VideosCreateOrganizationErrorComponent' - $ref: '#/components/schemas/VideosCreateSeriesIdErrorComponent' - $ref: '#/components/schemas/VideosCreateEpisodeNumberErrorComponent' - $ref: '#/components/schemas/VideosCreateDurationErrorComponent' - $ref: '#/components/schemas/VideosCreateCategoriesErrorComponent' - $ref: '#/components/schemas/VideosCreateFramerateErrorComponent' - $ref: '#/components/schemas/VideosCreateProperImportErrorComponent' - $ref: '#/components/schemas/VideosCreateHasTonoRecordsErrorComponent' - $ref: '#/components/schemas/VideosCreatePublishOnWebErrorComponent' - $ref: '#/components/schemas/VideosCreateIsFillerErrorComponent' - $ref: '#/components/schemas/VideosCreateRefUrlErrorComponent' - $ref: '#/components/schemas/VideosCreateSpokenLanguageErrorComponent' - $ref: '#/components/schemas/VideosCreateMinimumAgeErrorComponent' - $ref: '#/components/schemas/VideosCreateUploadedTimeErrorComponent' VideosCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosCreateFramerateErrorComponent: type: object properties: attr: description: '* `framerate` - framerate' type: string enum: - framerate code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideosCreateHasTonoRecordsErrorComponent: type: object properties: attr: description: '* `has_tono_records` - has_tono_records' type: string enum: - has_tono_records code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosCreateHeaderErrorComponent: type: object properties: attr: description: '* `header` - header' type: string enum: - header code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosCreateIsFillerErrorComponent: type: object properties: attr: description: '* `is_filler` - is_filler' type: string enum: - is_filler code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosCreateMinimumAgeErrorComponent: type: object properties: attr: description: '* `minimum_age` - minimum_age' type: string enum: - minimum_age code: description: |- * `invalid_choice` - invalid_choice * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid_choice - max_value - min_value detail: type: string required: - attr - code - detail VideosCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosCreateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null type: string enum: - does_not_exist - incorrect_type - 'null' detail: type: string required: - attr - code - detail VideosCreateProperImportErrorComponent: type: object properties: attr: description: '* `proper_import` - proper_import' type: string enum: - proper_import code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosCreatePublishOnWebErrorComponent: type: object properties: attr: description: '* `publish_on_web` - publish_on_web' type: string enum: - publish_on_web code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosCreateRefUrlErrorComponent: type: object properties: attr: description: '* `ref_url` - ref_url' type: string enum: - ref_url code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosCreateSeriesIdErrorComponent: type: object properties: attr: description: '* `series_id` - series_id' type: string enum: - series_id code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail VideosCreateSpokenLanguageErrorComponent: type: object properties: attr: description: '* `spoken_language` - spoken_language' type: string enum: - spoken_language code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosCreateUploadedTimeErrorComponent: type: object properties: attr: description: '* `uploaded_time` - uploaded_time' type: string enum: - uploaded_time code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `overflow` - overflow type: string enum: - date - invalid - make_aware - overflow detail: type: string required: - attr - code - detail VideosCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosCreateError' required: - errors - type VideosDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosImagesCreateNonFieldErrorsErrorComponent' role: '#/components/schemas/VideosImagesCreateRoleErrorComponent' filename: '#/components/schemas/VideosImagesCreateFilenameErrorComponent' media_type: '#/components/schemas/VideosImagesCreateMediaTypeErrorComponent' width: '#/components/schemas/VideosImagesCreateWidthErrorComponent' height: '#/components/schemas/VideosImagesCreateHeightErrorComponent' oneOf: - $ref: '#/components/schemas/VideosImagesCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosImagesCreateRoleErrorComponent' - $ref: '#/components/schemas/VideosImagesCreateFilenameErrorComponent' - $ref: '#/components/schemas/VideosImagesCreateMediaTypeErrorComponent' - $ref: '#/components/schemas/VideosImagesCreateWidthErrorComponent' - $ref: '#/components/schemas/VideosImagesCreateHeightErrorComponent' VideosImagesCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosImagesCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosImagesCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesCreateFilenameErrorComponent: type: object properties: attr: description: '* `filename` - filename' type: string enum: - filename code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosImagesCreateHeightErrorComponent: type: object properties: attr: description: '* `height` - height' type: string enum: - height code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid - max_string_length - max_value - min_value - 'null' - required detail: type: string required: - attr - code - detail VideosImagesCreateMediaTypeErrorComponent: type: object properties: attr: description: '* `media_type` - media_type' type: string enum: - media_type code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideosImagesCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosImagesCreateRoleErrorComponent: type: object properties: attr: description: '* `role` - role' type: string enum: - role code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideosImagesCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosImagesCreateError' required: - errors - type VideosImagesCreateWidthErrorComponent: type: object properties: attr: description: '* `width` - width' type: string enum: - width code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid - max_string_length - max_value - min_value - 'null' - required detail: type: string required: - attr - code - detail VideosImagesDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesListError: discriminator: propertyName: attr mapping: role: '#/components/schemas/VideosImagesListRoleErrorComponent' oneOf: - $ref: '#/components/schemas/VideosImagesListRoleErrorComponent' VideosImagesListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosImagesListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosImagesListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesListRoleErrorComponent: type: object properties: attr: description: '* `role` - role' type: string enum: - role code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail VideosImagesListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosImagesListError' required: - errors - type VideosImagesPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosImagesPartialUpdateNonFieldErrorsErrorComponent' role: '#/components/schemas/VideosImagesPartialUpdateRoleErrorComponent' oneOf: - $ref: '#/components/schemas/VideosImagesPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosImagesPartialUpdateRoleErrorComponent' VideosImagesPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosImagesPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosImagesPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosImagesPartialUpdateRoleErrorComponent: type: object properties: attr: description: '* `role` - role' type: string enum: - role code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideosImagesPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosImagesPartialUpdateError' required: - errors - type VideosImagesRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosImagesUpdateNonFieldErrorsErrorComponent' role: '#/components/schemas/VideosImagesUpdateRoleErrorComponent' oneOf: - $ref: '#/components/schemas/VideosImagesUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosImagesUpdateRoleErrorComponent' VideosImagesUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosImagesUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosImagesUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosImagesUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosImagesUpdateRoleErrorComponent: type: object properties: attr: description: '* `role` - role' type: string enum: - role code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideosImagesUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosImagesUpdateError' required: - errors - type VideosIngestReportError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosIngestReportNonFieldErrorsErrorComponent' state: '#/components/schemas/VideosIngestReportStateErrorComponent' priority: '#/components/schemas/VideosIngestReportPriorityErrorComponent' kind: '#/components/schemas/VideosIngestReportKindErrorComponent' percentage_done: '#/components/schemas/VideosIngestReportPercentageDoneErrorComponent' status_text: '#/components/schemas/VideosIngestReportStatusTextErrorComponent' error_code: '#/components/schemas/VideosIngestReportErrorCodeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosIngestReportNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosIngestReportStateErrorComponent' - $ref: '#/components/schemas/VideosIngestReportPriorityErrorComponent' - $ref: '#/components/schemas/VideosIngestReportKindErrorComponent' - $ref: '#/components/schemas/VideosIngestReportPercentageDoneErrorComponent' - $ref: '#/components/schemas/VideosIngestReportStatusTextErrorComponent' - $ref: '#/components/schemas/VideosIngestReportErrorCodeErrorComponent' VideosIngestReportErrorCodeErrorComponent: type: object properties: attr: description: '* `error_code` - error_code' type: string enum: - error_code code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosIngestReportErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosIngestReportValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosIngestReportValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosIngestReportKindErrorComponent: type: object properties: attr: description: '* `kind` - kind' type: string enum: - kind code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail VideosIngestReportNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosIngestReportPercentageDoneErrorComponent: type: object properties: attr: description: '* `percentage_done` - percentage_done' type: string enum: - percentage_done code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail VideosIngestReportPriorityErrorComponent: type: object properties: attr: description: '* `priority` - priority' type: string enum: - priority code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideosIngestReportStateErrorComponent: type: object properties: attr: description: '* `state` - state' type: string enum: - state code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail VideosIngestReportStatusTextErrorComponent: type: object properties: attr: description: '* `status_text` - status_text' type: string enum: - status_text code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosIngestReportValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosIngestReportError' required: - errors - type VideosIngestRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideosListCategories_name_icontainsErrorComponent: type: object properties: attr: description: '* `categories__name__icontains` - categories__name__icontains' type: string enum: - categories__name__icontains code: description: |- * `invalid_choice` - invalid_choice * `invalid_list` - invalid_list * `invalid_pk_value` - invalid_pk_value type: string enum: - invalid_choice - invalid_list - invalid_pk_value detail: type: string required: - attr - code - detail VideosListCreatedTimeErrorComponent: type: object properties: attr: description: '* `created_time` - created_time' type: string enum: - created_time code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail VideosListCreator_emailErrorComponent: type: object properties: attr: description: '* `creator__email` - creator__email' type: string enum: - creator__email code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `overflow` - overflow type: string enum: - invalid - overflow detail: type: string required: - attr - code - detail VideosListDuration_gtErrorComponent: type: object properties: attr: description: '* `duration__gt` - duration__gt' type: string enum: - duration__gt code: description: |- * `invalid` - invalid * `overflow` - overflow type: string enum: - invalid - overflow detail: type: string required: - attr - code - detail VideosListDuration_gteErrorComponent: type: object properties: attr: description: '* `duration__gte` - duration__gte' type: string enum: - duration__gte code: description: |- * `invalid` - invalid * `overflow` - overflow type: string enum: - invalid - overflow detail: type: string required: - attr - code - detail VideosListDuration_ltErrorComponent: type: object properties: attr: description: '* `duration__lt` - duration__lt' type: string enum: - duration__lt code: description: |- * `invalid` - invalid * `overflow` - overflow type: string enum: - invalid - overflow detail: type: string required: - attr - code - detail VideosListDuration_lteErrorComponent: type: object properties: attr: description: '* `duration__lte` - duration__lte' type: string enum: - duration__lte code: description: |- * `invalid` - invalid * `overflow` - overflow type: string enum: - invalid - overflow detail: type: string required: - attr - code - detail VideosListError: discriminator: propertyName: attr mapping: duration: '#/components/schemas/VideosListDurationErrorComponent' duration__gt: '#/components/schemas/VideosListDuration_gtErrorComponent' duration__gte: '#/components/schemas/VideosListDuration_gteErrorComponent' duration__lt: '#/components/schemas/VideosListDuration_ltErrorComponent' duration__lte: '#/components/schemas/VideosListDuration_lteErrorComponent' creator__email: '#/components/schemas/VideosListCreator_emailErrorComponent' framerate: '#/components/schemas/VideosListFramerateErrorComponent' name: '#/components/schemas/VideosListNameErrorComponent' name__icontains: '#/components/schemas/VideosListName_icontainsErrorComponent' organization: '#/components/schemas/VideosListOrganizationErrorComponent' played_count_web: '#/components/schemas/VideosListPlayedCountWebErrorComponent' played_count_web__gt: '#/components/schemas/VideosListPlayedCountWeb_gtErrorComponent' played_count_web__gte: '#/components/schemas/VideosListPlayedCountWeb_gteErrorComponent' played_count_web__lt: '#/components/schemas/VideosListPlayedCountWeb_ltErrorComponent' played_count_web__lte: '#/components/schemas/VideosListPlayedCountWeb_lteErrorComponent' ref_url: '#/components/schemas/VideosListRefUrlErrorComponent' ref_url__startswith: '#/components/schemas/VideosListRefUrl_startswithErrorComponent' ref_url__icontains: '#/components/schemas/VideosListRefUrl_icontainsErrorComponent' series: '#/components/schemas/VideosListSeriesErrorComponent' categories__name__icontains: '#/components/schemas/VideosListCategories_name_icontainsErrorComponent' created_time: '#/components/schemas/VideosListCreatedTimeErrorComponent' updated_time: '#/components/schemas/VideosListUpdatedTimeErrorComponent' uploaded_time: '#/components/schemas/VideosListUploadedTimeErrorComponent' q: '#/components/schemas/VideosListQErrorComponent' oneOf: - $ref: '#/components/schemas/VideosListDurationErrorComponent' - $ref: '#/components/schemas/VideosListDuration_gtErrorComponent' - $ref: '#/components/schemas/VideosListDuration_gteErrorComponent' - $ref: '#/components/schemas/VideosListDuration_ltErrorComponent' - $ref: '#/components/schemas/VideosListDuration_lteErrorComponent' - $ref: '#/components/schemas/VideosListCreator_emailErrorComponent' - $ref: '#/components/schemas/VideosListFramerateErrorComponent' - $ref: '#/components/schemas/VideosListNameErrorComponent' - $ref: '#/components/schemas/VideosListName_icontainsErrorComponent' - $ref: '#/components/schemas/VideosListOrganizationErrorComponent' - $ref: '#/components/schemas/VideosListPlayedCountWebErrorComponent' - $ref: '#/components/schemas/VideosListPlayedCountWeb_gtErrorComponent' - $ref: '#/components/schemas/VideosListPlayedCountWeb_gteErrorComponent' - $ref: '#/components/schemas/VideosListPlayedCountWeb_ltErrorComponent' - $ref: '#/components/schemas/VideosListPlayedCountWeb_lteErrorComponent' - $ref: '#/components/schemas/VideosListRefUrlErrorComponent' - $ref: '#/components/schemas/VideosListRefUrl_startswithErrorComponent' - $ref: '#/components/schemas/VideosListRefUrl_icontainsErrorComponent' - $ref: '#/components/schemas/VideosListSeriesErrorComponent' - $ref: '#/components/schemas/VideosListCategories_name_icontainsErrorComponent' - $ref: '#/components/schemas/VideosListCreatedTimeErrorComponent' - $ref: '#/components/schemas/VideosListUpdatedTimeErrorComponent' - $ref: '#/components/schemas/VideosListUploadedTimeErrorComponent' - $ref: '#/components/schemas/VideosListQErrorComponent' VideosListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosListFramerateErrorComponent: type: object properties: attr: description: '* `framerate` - framerate' type: string enum: - framerate code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideosListNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListName_icontainsErrorComponent: type: object properties: attr: description: '* `name__icontains` - name__icontains' type: string enum: - name__icontains code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail VideosListPlayedCountWebErrorComponent: type: object properties: attr: description: '* `played_count_web` - played_count_web' type: string enum: - played_count_web code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideosListPlayedCountWeb_gtErrorComponent: type: object properties: attr: description: '* `played_count_web__gt` - played_count_web__gt' type: string enum: - played_count_web__gt code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideosListPlayedCountWeb_gteErrorComponent: type: object properties: attr: description: '* `played_count_web__gte` - played_count_web__gte' type: string enum: - played_count_web__gte code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideosListPlayedCountWeb_ltErrorComponent: type: object properties: attr: description: '* `played_count_web__lt` - played_count_web__lt' type: string enum: - played_count_web__lt code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideosListPlayedCountWeb_lteErrorComponent: type: object properties: attr: description: '* `played_count_web__lte` - played_count_web__lte' type: string enum: - played_count_web__lte code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail VideosListQErrorComponent: type: object properties: attr: description: '* `q` - q' type: string enum: - q code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListRefUrlErrorComponent: type: object properties: attr: description: '* `ref_url` - ref_url' type: string enum: - ref_url code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListRefUrl_icontainsErrorComponent: type: object properties: attr: description: '* `ref_url__icontains` - ref_url__icontains' type: string enum: - ref_url__icontains code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListRefUrl_startswithErrorComponent: type: object properties: attr: description: '* `ref_url__startswith` - ref_url__startswith' type: string enum: - ref_url__startswith code: description: '* `null_characters_not_allowed` - null_characters_not_allowed' type: string enum: - null_characters_not_allowed detail: type: string required: - attr - code - detail VideosListSeriesErrorComponent: type: object properties: attr: description: '* `series` - series' type: string enum: - series code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail VideosListUpdatedTimeErrorComponent: type: object properties: attr: description: '* `updated_time` - updated_time' type: string enum: - updated_time code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail VideosListUploadedTimeErrorComponent: type: object properties: attr: description: '* `uploaded_time` - uploaded_time' type: string enum: - uploaded_time code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail VideosListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosListError' required: - errors - type VideosPartialUpdateCategoriesErrorComponent: type: object properties: attr: description: '* `categories` - categories' type: string enum: - categories code: description: |- * `does_not_exist` - does_not_exist * `invalid` - invalid * `not_a_list` - not_a_list * `null` - null * `required` - required type: string enum: - does_not_exist - invalid - not_a_list - 'null' - required detail: type: string required: - attr - code - detail VideosPartialUpdateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosPartialUpdateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null type: string enum: - invalid - min_value - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateEpisodeNumberErrorComponent: type: object properties: attr: description: '* `episode_number` - episode_number' type: string enum: - episode_number code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail VideosPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosPartialUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/VideosPartialUpdateNameErrorComponent' header: '#/components/schemas/VideosPartialUpdateHeaderErrorComponent' description: '#/components/schemas/VideosPartialUpdateDescriptionErrorComponent' series_id: '#/components/schemas/VideosPartialUpdateSeriesIdErrorComponent' episode_number: '#/components/schemas/VideosPartialUpdateEpisodeNumberErrorComponent' duration: '#/components/schemas/VideosPartialUpdateDurationErrorComponent' categories: '#/components/schemas/VideosPartialUpdateCategoriesErrorComponent' framerate: '#/components/schemas/VideosPartialUpdateFramerateErrorComponent' proper_import: '#/components/schemas/VideosPartialUpdateProperImportErrorComponent' has_tono_records: '#/components/schemas/VideosPartialUpdateHasTonoRecordsErrorComponent' publish_on_web: '#/components/schemas/VideosPartialUpdatePublishOnWebErrorComponent' is_filler: '#/components/schemas/VideosPartialUpdateIsFillerErrorComponent' ref_url: '#/components/schemas/VideosPartialUpdateRefUrlErrorComponent' spoken_language: '#/components/schemas/VideosPartialUpdateSpokenLanguageErrorComponent' minimum_age: '#/components/schemas/VideosPartialUpdateMinimumAgeErrorComponent' uploaded_time: '#/components/schemas/VideosPartialUpdateUploadedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateNameErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateHeaderErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateDescriptionErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateSeriesIdErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateEpisodeNumberErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateDurationErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateCategoriesErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateFramerateErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateProperImportErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateHasTonoRecordsErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdatePublishOnWebErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateIsFillerErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateRefUrlErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateSpokenLanguageErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateMinimumAgeErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateUploadedTimeErrorComponent' VideosPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosPartialUpdateFramerateErrorComponent: type: object properties: attr: description: '* `framerate` - framerate' type: string enum: - framerate code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateHasTonoRecordsErrorComponent: type: object properties: attr: description: '* `has_tono_records` - has_tono_records' type: string enum: - has_tono_records code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateHeaderErrorComponent: type: object properties: attr: description: '* `header` - header' type: string enum: - header code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosPartialUpdateIsFillerErrorComponent: type: object properties: attr: description: '* `is_filler` - is_filler' type: string enum: - is_filler code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateMinimumAgeErrorComponent: type: object properties: attr: description: '* `minimum_age` - minimum_age' type: string enum: - minimum_age code: description: |- * `invalid_choice` - invalid_choice * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid_choice - max_value - min_value detail: type: string required: - attr - code - detail VideosPartialUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateProperImportErrorComponent: type: object properties: attr: description: '* `proper_import` - proper_import' type: string enum: - proper_import code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdatePublishOnWebErrorComponent: type: object properties: attr: description: '* `publish_on_web` - publish_on_web' type: string enum: - publish_on_web code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateRefUrlErrorComponent: type: object properties: attr: description: '* `ref_url` - ref_url' type: string enum: - ref_url code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosPartialUpdateSeriesIdErrorComponent: type: object properties: attr: description: '* `series_id` - series_id' type: string enum: - series_id code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail VideosPartialUpdateSpokenLanguageErrorComponent: type: object properties: attr: description: '* `spoken_language` - spoken_language' type: string enum: - spoken_language code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosPartialUpdateUploadedTimeErrorComponent: type: object properties: attr: description: '* `uploaded_time` - uploaded_time' type: string enum: - uploaded_time code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `overflow` - overflow type: string enum: - date - invalid - make_aware - overflow detail: type: string required: - attr - code - detail VideosPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosPartialUpdateError' required: - errors - type VideosRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideosUpdateCategoriesErrorComponent: type: object properties: attr: description: '* `categories` - categories' type: string enum: - categories code: description: |- * `does_not_exist` - does_not_exist * `invalid` - invalid * `not_a_list` - not_a_list * `null` - null * `required` - required type: string enum: - does_not_exist - invalid - not_a_list - 'null' - required detail: type: string required: - attr - code - detail VideosUpdateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosUpdateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null type: string enum: - invalid - min_value - 'null' detail: type: string required: - attr - code - detail VideosUpdateEpisodeNumberErrorComponent: type: object properties: attr: description: '* `episode_number` - episode_number' type: string enum: - episode_number code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid - max_string_length - max_value - min_value detail: type: string required: - attr - code - detail VideosUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/VideosUpdateNameErrorComponent' header: '#/components/schemas/VideosUpdateHeaderErrorComponent' description: '#/components/schemas/VideosUpdateDescriptionErrorComponent' series_id: '#/components/schemas/VideosUpdateSeriesIdErrorComponent' episode_number: '#/components/schemas/VideosUpdateEpisodeNumberErrorComponent' duration: '#/components/schemas/VideosUpdateDurationErrorComponent' categories: '#/components/schemas/VideosUpdateCategoriesErrorComponent' framerate: '#/components/schemas/VideosUpdateFramerateErrorComponent' proper_import: '#/components/schemas/VideosUpdateProperImportErrorComponent' has_tono_records: '#/components/schemas/VideosUpdateHasTonoRecordsErrorComponent' publish_on_web: '#/components/schemas/VideosUpdatePublishOnWebErrorComponent' is_filler: '#/components/schemas/VideosUpdateIsFillerErrorComponent' ref_url: '#/components/schemas/VideosUpdateRefUrlErrorComponent' spoken_language: '#/components/schemas/VideosUpdateSpokenLanguageErrorComponent' minimum_age: '#/components/schemas/VideosUpdateMinimumAgeErrorComponent' uploaded_time: '#/components/schemas/VideosUpdateUploadedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosUpdateNameErrorComponent' - $ref: '#/components/schemas/VideosUpdateHeaderErrorComponent' - $ref: '#/components/schemas/VideosUpdateDescriptionErrorComponent' - $ref: '#/components/schemas/VideosUpdateSeriesIdErrorComponent' - $ref: '#/components/schemas/VideosUpdateEpisodeNumberErrorComponent' - $ref: '#/components/schemas/VideosUpdateDurationErrorComponent' - $ref: '#/components/schemas/VideosUpdateCategoriesErrorComponent' - $ref: '#/components/schemas/VideosUpdateFramerateErrorComponent' - $ref: '#/components/schemas/VideosUpdateProperImportErrorComponent' - $ref: '#/components/schemas/VideosUpdateHasTonoRecordsErrorComponent' - $ref: '#/components/schemas/VideosUpdatePublishOnWebErrorComponent' - $ref: '#/components/schemas/VideosUpdateIsFillerErrorComponent' - $ref: '#/components/schemas/VideosUpdateRefUrlErrorComponent' - $ref: '#/components/schemas/VideosUpdateSpokenLanguageErrorComponent' - $ref: '#/components/schemas/VideosUpdateMinimumAgeErrorComponent' - $ref: '#/components/schemas/VideosUpdateUploadedTimeErrorComponent' VideosUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosUpdateFramerateErrorComponent: type: object properties: attr: description: '* `framerate` - framerate' type: string enum: - framerate code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_string_length - max_value - min_value - 'null' detail: type: string required: - attr - code - detail VideosUpdateHasTonoRecordsErrorComponent: type: object properties: attr: description: '* `has_tono_records` - has_tono_records' type: string enum: - has_tono_records code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosUpdateHeaderErrorComponent: type: object properties: attr: description: '* `header` - header' type: string enum: - header code: description: |- * `invalid` - invalid * `max_length` - max_length * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosUpdateIsFillerErrorComponent: type: object properties: attr: description: '* `is_filler` - is_filler' type: string enum: - is_filler code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosUpdateMinimumAgeErrorComponent: type: object properties: attr: description: '* `minimum_age` - minimum_age' type: string enum: - minimum_age code: description: |- * `invalid_choice` - invalid_choice * `max_value` - max_value * `min_value` - min_value type: string enum: - invalid_choice - max_value - min_value detail: type: string required: - attr - code - detail VideosUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosUpdateProperImportErrorComponent: type: object properties: attr: description: '* `proper_import` - proper_import' type: string enum: - proper_import code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosUpdatePublishOnWebErrorComponent: type: object properties: attr: description: '* `publish_on_web` - publish_on_web' type: string enum: - publish_on_web code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosUpdateRefUrlErrorComponent: type: object properties: attr: description: '* `ref_url` - ref_url' type: string enum: - ref_url code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosUpdateSeriesIdErrorComponent: type: object properties: attr: description: '* `series_id` - series_id' type: string enum: - series_id code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail VideosUpdateSpokenLanguageErrorComponent: type: object properties: attr: description: '* `spoken_language` - spoken_language' type: string enum: - spoken_language code: description: |- * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosUpdateUploadedTimeErrorComponent: type: object properties: attr: description: '* `uploaded_time` - uploaded_time' type: string enum: - uploaded_time code: description: |- * `date` - date * `invalid` - invalid * `make_aware` - make_aware * `overflow` - overflow type: string enum: - date - invalid - make_aware - overflow detail: type: string required: - attr - code - detail VideosUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosUpdateError' required: - errors - type VideosUploadTokenRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' VideosUploadTokenVerifyError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/VideosUploadTokenVerifyNonFieldErrorsErrorComponent' upload_token: '#/components/schemas/VideosUploadTokenVerifyUploadTokenErrorComponent' oneOf: - $ref: '#/components/schemas/VideosUploadTokenVerifyNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosUploadTokenVerifyUploadTokenErrorComponent' VideosUploadTokenVerifyErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/VideosUploadTokenVerifyValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/VideosUploadTokenVerifyValidationError' - $ref: '#/components/schemas/ParseErrorResponse' VideosUploadTokenVerifyNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail VideosUploadTokenVerifyUploadTokenErrorComponent: type: object properties: attr: description: '* `upload_token` - upload_token' type: string enum: - upload_token code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail VideosUploadTokenVerifyValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/VideosUploadTokenVerifyError' required: - errors - type WeeklySlot: type: object properties: id: type: integer readOnly: true organization: description: The organization that controls what fills this slot. Legacy unowned slots are staff-only. type: integer nullable: true readOnly: true source: description: Which source picks the video for this slot. Blank means the slot reserves airtime that nothing is scheduled into automatically. type: integer nullable: true day: allOf: - $ref: '#/components/schemas/DayEnum' readOnly: true startTime: type: string format: time readOnly: true duration: type: string readOnly: true required: - day - duration - id - organization - startTime WeeklySlotCreationRequest: type: object properties: id: type: integer readOnly: true organization: type: integer requestedBy: type: integer readOnly: true day: allOf: - $ref: '#/components/schemas/DayEnum' maximum: 2147483647 minimum: -2147483648 startTime: type: string format: time duration: type: string status: allOf: - $ref: '#/components/schemas/StatusEnum' readOnly: true reviewedBy: type: integer nullable: true readOnly: true adminComment: type: string readOnly: true createdAt: type: string format: date-time readOnly: true reviewedAt: type: string format: date-time nullable: true readOnly: true weeklySlot: type: integer nullable: true readOnly: true required: - adminComment - createdAt - day - duration - id - organization - requestedBy - reviewedAt - reviewedBy - startTime - status - weeklySlot WeeklySlotCreationRequestRequest: type: object properties: organization: type: integer day: allOf: - $ref: '#/components/schemas/DayEnum' maximum: 2147483647 minimum: -2147483648 startTime: type: string format: time duration: type: string required: - day - duration - organization - startTime WeeklySlotOwnershipRequest: type: object properties: id: type: integer readOnly: true organization: type: integer requestedBy: type: integer readOnly: true weeklySlot: type: integer previousOrganization: description: The target slot's owner when the request was submitted. type: integer nullable: true readOnly: true status: default: pending allOf: - $ref: '#/components/schemas/StatusEnum' readOnly: true reviewedBy: type: integer nullable: true readOnly: true adminComment: type: string readOnly: true createdAt: type: string format: date-time readOnly: true reviewedAt: type: string format: date-time nullable: true readOnly: true required: - adminComment - createdAt - id - organization - previousOrganization - requestedBy - reviewedAt - reviewedBy - status - weeklySlot WeeklySlotOwnershipRequestRequest: type: object properties: organization: type: integer weeklySlot: type: integer required: - organization - weeklySlot WeeklySlotRead: description: A recurring reservation shown alongside the drafted schedule. type: object properties: id: type: integer readOnly: true organization: description: The organization that controls what fills this slot. Legacy unowned slots are staff-only. type: integer nullable: true readOnly: true source: allOf: - $ref: '#/components/schemas/WeeklySlotSourceSummary' nullable: true readOnly: true day: allOf: - $ref: '#/components/schemas/DayEnum' readOnly: true startTime: type: string format: time readOnly: true duration: type: string readOnly: true required: - day - duration - id - organization - source - startTime WeeklySlotRequest: description: Read envelope around the two deliberately separate request models. type: object properties: creation: allOf: - $ref: '#/components/schemas/WeeklySlotCreationRequest' readOnly: true ownership: allOf: - $ref: '#/components/schemas/WeeklySlotOwnershipRequest' readOnly: true required: - creation - ownership WeeklySlotRequestsCreationCreateDayErrorComponent: type: object properties: attr: description: '* `day` - day' type: string enum: - day code: description: |- * `invalid_choice` - invalid_choice * `max_value` - max_value * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid_choice - max_value - min_value - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotRequestsCreationCreateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `min_value` - min_value * `null` - null * `required` - required type: string enum: - invalid - min_value - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotRequestsCreationCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotRequestsCreationCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/WeeklySlotRequestsCreationCreateOrganizationErrorComponent' day: '#/components/schemas/WeeklySlotRequestsCreationCreateDayErrorComponent' start_time: '#/components/schemas/WeeklySlotRequestsCreationCreateStartTimeErrorComponent' duration: '#/components/schemas/WeeklySlotRequestsCreationCreateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateOrganizationErrorComponent' - $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateDayErrorComponent' - $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateStartTimeErrorComponent' - $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateDurationErrorComponent' WeeklySlotRequestsCreationCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotRequestsCreationCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotRequestsCreationCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail WeeklySlotRequestsCreationCreateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotRequestsCreationCreateStartTimeErrorComponent: type: object properties: attr: description: '* `start_time` - start_time' type: string enum: - start_time code: description: |- * `invalid` - invalid * `null` - null * `required` - required type: string enum: - invalid - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotRequestsCreationCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotRequestsCreationCreateError' required: - errors - type WeeklySlotRequestsListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotRequestsOwnershipCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotRequestsOwnershipCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/WeeklySlotRequestsOwnershipCreateOrganizationErrorComponent' weekly_slot: '#/components/schemas/WeeklySlotRequestsOwnershipCreateWeeklySlotErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotRequestsOwnershipCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotRequestsOwnershipCreateOrganizationErrorComponent' - $ref: '#/components/schemas/WeeklySlotRequestsOwnershipCreateWeeklySlotErrorComponent' WeeklySlotRequestsOwnershipCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotRequestsOwnershipCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotRequestsOwnershipCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotRequestsOwnershipCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `unique` - unique type: string enum: - invalid - 'null' - unique detail: type: string required: - attr - code - detail WeeklySlotRequestsOwnershipCreateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotRequestsOwnershipCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotRequestsOwnershipCreateError' required: - errors - type WeeklySlotRequestsOwnershipCreateWeeklySlotErrorComponent: type: object properties: attr: description: '* `weekly_slot` - weekly_slot' type: string enum: - weekly_slot code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSource: type: object properties: id: type: integer readOnly: true name: description: Shown wherever a slot names its source, including the public planner. type: string maxLength: 100 type: description: |- Where the candidate videos come from. * `videos` - Hand-picked videos * `organization` - Everything one organization has uploaded allOf: - $ref: '#/components/schemas/WeeklySlotSourceTypeEnum' strategy: description: |- Which candidate airs when a slot using this source comes round. * `latest` - The newest upload * `random` - A random one * `least_scheduled` - The one that has aired the least allOf: - $ref: '#/components/schemas/StrategyEnum' organization: type: integer directVideos: type: array items: type: integer required: - id - name - organization - strategy - type WeeklySlotSourceRequest: type: object properties: name: description: Shown wherever a slot names its source, including the public planner. type: string maxLength: 100 minLength: 1 type: description: |- Where the candidate videos come from. * `videos` - Hand-picked videos * `organization` - Everything one organization has uploaded allOf: - $ref: '#/components/schemas/WeeklySlotSourceTypeEnum' strategy: description: |- Which candidate airs when a slot using this source comes round. * `latest` - The newest upload * `random` - A random one * `least_scheduled` - The one that has aired the least allOf: - $ref: '#/components/schemas/StrategyEnum' organization: type: integer directVideos: type: array items: type: integer required: - name - organization - strategy - type WeeklySlotSourceSummary: type: object properties: id: type: integer readOnly: true name: description: Shown wherever a slot names its source, including the public planner. type: string readOnly: true required: - id - name WeeklySlotSourceTypeEnum: description: |- * `videos` - Hand-picked videos * `organization` - Everything one organization has uploaded type: string enum: - videos - organization WeeklySlotSourcesCreateDirectVideosErrorComponent: type: object properties: attr: description: '* `direct_videos` - direct_videos' type: string enum: - direct_videos code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null type: string enum: - does_not_exist - incorrect_type - not_a_list - 'null' detail: type: string required: - attr - code - detail WeeklySlotSourcesCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotSourcesCreateNonFieldErrorsErrorComponent' name: '#/components/schemas/WeeklySlotSourcesCreateNameErrorComponent' type: '#/components/schemas/WeeklySlotSourcesCreateTypeErrorComponent' strategy: '#/components/schemas/WeeklySlotSourcesCreateStrategyErrorComponent' organization: '#/components/schemas/WeeklySlotSourcesCreateOrganizationErrorComponent' direct_videos: '#/components/schemas/WeeklySlotSourcesCreateDirectVideosErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotSourcesCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesCreateNameErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesCreateTypeErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesCreateStrategyErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesCreateOrganizationErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesCreateDirectVideosErrorComponent' WeeklySlotSourcesCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotSourcesCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotSourcesCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotSourcesCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail WeeklySlotSourcesCreateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail WeeklySlotSourcesCreateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesCreateStrategyErrorComponent: type: object properties: attr: description: '* `strategy` - strategy' type: string enum: - strategy code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesCreateTypeErrorComponent: type: object properties: attr: description: '* `type` - type' type: string enum: - type code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotSourcesCreateError' required: - errors - type WeeklySlotSourcesListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotSourcesPartialUpdateDirectVideosErrorComponent: type: object properties: attr: description: '* `direct_videos` - direct_videos' type: string enum: - direct_videos code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null type: string enum: - does_not_exist - incorrect_type - not_a_list - 'null' detail: type: string required: - attr - code - detail WeeklySlotSourcesPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotSourcesPartialUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/WeeklySlotSourcesPartialUpdateNameErrorComponent' type: '#/components/schemas/WeeklySlotSourcesPartialUpdateTypeErrorComponent' strategy: '#/components/schemas/WeeklySlotSourcesPartialUpdateStrategyErrorComponent' organization: '#/components/schemas/WeeklySlotSourcesPartialUpdateOrganizationErrorComponent' direct_videos: '#/components/schemas/WeeklySlotSourcesPartialUpdateDirectVideosErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateNameErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateTypeErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateStrategyErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateOrganizationErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateDirectVideosErrorComponent' WeeklySlotSourcesPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotSourcesPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotSourcesPartialUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail WeeklySlotSourcesPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail WeeklySlotSourcesPartialUpdateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesPartialUpdateStrategyErrorComponent: type: object properties: attr: description: '* `strategy` - strategy' type: string enum: - strategy code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesPartialUpdateTypeErrorComponent: type: object properties: attr: description: '* `type` - type' type: string enum: - type code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotSourcesPartialUpdateError' required: - errors - type WeeklySlotSourcesRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotSourcesUpdateDirectVideosErrorComponent: type: object properties: attr: description: '* `direct_videos` - direct_videos' type: string enum: - direct_videos code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `not_a_list` - not_a_list * `null` - null type: string enum: - does_not_exist - incorrect_type - not_a_list - 'null' detail: type: string required: - attr - code - detail WeeklySlotSourcesUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotSourcesUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/WeeklySlotSourcesUpdateNameErrorComponent' type: '#/components/schemas/WeeklySlotSourcesUpdateTypeErrorComponent' strategy: '#/components/schemas/WeeklySlotSourcesUpdateStrategyErrorComponent' organization: '#/components/schemas/WeeklySlotSourcesUpdateOrganizationErrorComponent' direct_videos: '#/components/schemas/WeeklySlotSourcesUpdateDirectVideosErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotSourcesUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesUpdateNameErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesUpdateTypeErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesUpdateStrategyErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesUpdateOrganizationErrorComponent' - $ref: '#/components/schemas/WeeklySlotSourcesUpdateDirectVideosErrorComponent' WeeklySlotSourcesUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotSourcesUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotSourcesUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotSourcesUpdateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - name code: description: |- * `blank` - blank * `invalid` - invalid * `max_length` - max_length * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `required` - required * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail WeeklySlotSourcesUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail WeeklySlotSourcesUpdateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `null` - null * `required` - required type: string enum: - does_not_exist - incorrect_type - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesUpdateStrategyErrorComponent: type: object properties: attr: description: '* `strategy` - strategy' type: string enum: - strategy code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesUpdateTypeErrorComponent: type: object properties: attr: description: '* `type` - type' type: string enum: - type code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail WeeklySlotSourcesUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotSourcesUpdateError' required: - errors - type WeeklySlotsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotsPartialUpdateNonFieldErrorsErrorComponent' source: '#/components/schemas/WeeklySlotsPartialUpdateSourceErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotsPartialUpdateSourceErrorComponent' WeeklySlotsPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotsPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotsPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotsPartialUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail WeeklySlotsPartialUpdateSourceErrorComponent: type: object properties: attr: description: '* `source` - source' type: string enum: - source code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail WeeklySlotsPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotsPartialUpdateError' required: - errors - type WeeklySlotsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotsUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/WeeklySlotsUpdateNonFieldErrorsErrorComponent' source: '#/components/schemas/WeeklySlotsUpdateSourceErrorComponent' oneOf: - $ref: '#/components/schemas/WeeklySlotsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/WeeklySlotsUpdateSourceErrorComponent' WeeklySlotsUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/WeeklySlotsUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/WeeklySlotsUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' WeeklySlotsUpdateNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `non_field_errors` - non_field_errors' type: string enum: - non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail WeeklySlotsUpdateSourceErrorComponent: type: object properties: attr: description: '* `source` - source' type: string enum: - source code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type type: string enum: - does_not_exist - incorrect_type detail: type: string required: - attr - code - detail WeeklySlotsUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/WeeklySlotsUpdateError' required: - errors - type securitySchemes: cookieAuth: type: apiKey in: cookie name: sessionid tokenAuth: type: apiKey in: header name: Authorization description: Token-based authentication with required prefix "Token"