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/grant-requests: get: operationId: grant_requests_list description: Airtime and exemption requests together, newest first. 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: organization in: query description: Only this organization's requests schema: type: integer - name: status in: query description: Only these schema: type: string enum: - approved - denied - pending responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedGrantRequestEnvelopeList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantRequestsListErrorResponse400' '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: - grant-requests /api/grant-requests/airtime: post: operationId: grant_requests_airtime_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AirtimeGrantRequestRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrantRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantRequestsAirtimeCreateErrorResponse400' '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: - grant-requests /api/grant-requests/airtime/{id}/decision: post: operationId: grant_requests_airtime_decision_create description: |- Approve or deny a pending request, once, with a comment for the organization. Approval applies the request in the same transaction: the grant, slot, transfer or exemption is created then, or the decision fails and the request stays pending. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DecisionRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrantRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantRequestsAirtimeDecisionCreateErrorResponse400' '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: - grant-requests /api/grant-requests/exemption: post: operationId: grant_requests_exemption_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GrantExemptionRequestRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantExemptionRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantRequestsExemptionCreateErrorResponse400' '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: - grant-requests /api/grant-requests/exemption/{id}/decision: post: operationId: grant_requests_exemption_decision_create description: |- Approve or deny a pending request, once, with a comment for the organization. Approval applies the request in the same transaction: the grant, slot, transfer or exemption is created then, or the decision fails and the request stays pending. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DecisionRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantExemptionRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantRequestsExemptionDecisionCreateErrorResponse400' '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: - grant-requests /api/grants: get: operationId: grants_list description: |- Airtime grants: a window of airtime given to one organization, and the list of what plays in it. Members see their organizations' grants and replace a grant's list while it is open (or until air, if it is exempt from locking). Staff see every grant, create grants, and cancel or exempt them. 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: organization in: query schema: type: number - name: starts_after in: query schema: type: string format: date-time - name: starts_before in: query schema: type: string format: date-time - name: state in: query description: |- * `open` - Open * `locked` - Locked * `compiled` - Compiled * `cancelled` - Cancelled schema: type: string enum: - cancelled - compiled - locked - open responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedAirtimeGrantList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsListErrorResponse400' '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: - grants post: operationId: grants_create description: |- Airtime grants: a window of airtime given to one organization, and the list of what plays in it. Members see their organizations' grants and replace a grant's list while it is open (or until air, if it is exempt from locking). Staff see every grant, create grants, and cancel or exempt them. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/AirtimeGrantCreateRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrant' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsCreateErrorResponse400' '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: - grants /api/grants/{id}: get: operationId: grants_retrieve description: |- Airtime grants: a window of airtime given to one organization, and the list of what plays in it. Members see their organizations' grants and replace a grant's list while it is open (or until air, if it is exempt from locking). Staff see every grant, create grants, and cancel or exempt them. parameters: - name: id in: path description: A unique integer value identifying this airtime grant. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrant' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsRetrieveErrorResponse400' '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: - grants put: operationId: grants_update description: |- Airtime grants: a window of airtime given to one organization, and the list of what plays in it. Members see their organizations' grants and replace a grant's list while it is open (or until air, if it is exempt from locking). Staff see every grant, create grants, and cancel or exempt them. parameters: - name: id in: path description: A unique integer value identifying this airtime grant. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/AirtimeGrantUpdateRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrant' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsUpdateErrorResponse400' '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: - grants patch: operationId: grants_partial_update description: |- Airtime grants: a window of airtime given to one organization, and the list of what plays in it. Members see their organizations' grants and replace a grant's list while it is open (or until air, if it is exempt from locking). Staff see every grant, create grants, and cancel or exempt them. parameters: - name: id in: path description: A unique integer value identifying this airtime grant. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedAirtimeGrantUpdateRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrantUpdate' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsPartialUpdateErrorResponse400' '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: - grants /api/grants/{id}/automatic: post: operationId: grants_automatic_create description: Unpin everything and let the grant's recipe program the whole window. parameters: - name: id in: path description: A unique integer value identifying this airtime grant. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrant' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsAutomaticCreateErrorResponse400' '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: - grants /api/grants/{id}/items: put: operationId: grants_items_update description: |- Save the chosen videos, pinned, in the order given. With `automatic`, the grant's recipe fills the time they leave. parameters: - name: id in: path description: A unique integer value identifying this airtime grant. required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GrantItemsWriteRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AirtimeGrant' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsItemsUpdateErrorResponse400' '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: - grants /api/grants/public: get: operationId: grants_public_list description: |- Whose airtime it is, for everyone: the grants that touch the given days, with only their organization and window. The public schedule shows them around the programmes of /api/scheduleitems, which name their grant. parameters: - name: date in: query description: Europe/Oslo. Today if left out. schema: type: string format: date - name: days in: query description: Number of days. Defaults to 1. schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/PublicGrant' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GrantsPublicListErrorResponse400' '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: - grants /api/graphics: get: operationId: graphics_list description: |- Graphics staff can put in a grant's list for as long as they like: HTML pages such as the infographics, aired with filler music under them. Staff only; they are added in the Django admin. parameters: - 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: type: array items: $ref: '#/components/schemas/Graphic' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GraphicsListErrorResponse400' '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: - graphics /api/graphics/{id}: get: operationId: graphics_retrieve description: |- Graphics staff can put in a grant's list for as long as they like: HTML pages such as the infographics, aired with filler music under them. Staff only; they are added in the Django admin. parameters: - name: id in: path description: A unique integer value identifying this graphic. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Graphic' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/GraphicsRetrieveErrorResponse400' '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: - graphics /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/invitations/{token}: get: operationId: invitations_retrieve description: |- What the e-mailed link shows: which organization, who invited, and to which address. Anyone holding the link can read it. parameters: - name: token in: path required: true schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/InvitationPreview' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/InvitationsRetrieveErrorResponse400' '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: No open invitation. '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: - invitations /api/invitations/{token}/accept: post: operationId: invitations_accept_create description: |- Accept an invitation. Logged in: join as yourself. Not logged in: give a name and a password to create an account with the invited address, join, and be logged in. If the address already has an account, log in first. parameters: - name: token in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/AcceptInvitationRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationMember' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/InvitationsAcceptCreateErrorResponse400' '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: No open invitation. '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: - invitations /api/live-sources/{id}: get: operationId: live_sources_retrieve description: |- Rename a source, switch it off, change where it is pulled from, or delete it. A disabled source refuses every encoder and reader, and can't be given to a video. Setting a pull address revokes the source's encoder keys. Neither switching off nor changing how the signal comes in is allowed while a live airing of the source is coming. Only a source no programme has ever used can be deleted (see `canDelete`); its keys go with it. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesRetrieveErrorResponse400' '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: - live-sources patch: operationId: live_sources_partial_update description: |- Rename a source, switch it off, change where it is pulled from, or delete it. A disabled source refuses every encoder and reader, and can't be given to a video. Setting a pull address revokes the source's encoder keys. Neither switching off nor changing how the signal comes in is allowed while a live airing of the source is coming. Only a source no programme has ever used can be deleted (see `canDelete`); its keys go with it. parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedLiveSourceRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesPartialUpdateErrorResponse400' '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: - live-sources delete: operationId: live_sources_destroy description: |- Rename a source, switch it off, change where it is pulled from, or delete it. A disabled source refuses every encoder and reader, and can't be given to a video. Setting a pull address revokes the source's encoder keys. Neither switching off nor changing how the signal comes in is allowed while a live airing of the source is coming. Only a source no programme has ever used can be deleted (see `canDelete`); its keys go with it. 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/LiveSourcesDestroyErrorResponse400' '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: - live-sources /api/live-sources/{id}/encoder-keys: get: operationId: live_sources_encoder_keys_list description: |- A source's encoder keys. Issuing one answers with its password and the encoder settings built from it, once; the list never shows them. Only publish keys: readers, preview workers and playout stay with staff. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/EncoderKey' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesEncoderKeysListErrorResponse400' '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: - live-sources post: operationId: live_sources_encoder_keys_create description: |- A source's encoder keys. Issuing one answers with its password and the encoder settings built from it, once; the list never shows them. Only publish keys: readers, preview workers and playout stay with staff. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/EncoderKeyRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/IssuedEncoderKey' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesEncoderKeysCreateErrorResponse400' '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: - live-sources /api/live-sources/{id}/encoder-keys/{key_pk}: delete: operationId: live_sources_encoder_keys_destroy description: 'Revoke an encoder key: an encoder using it is refused from then on.' parameters: - name: id in: path required: true schema: type: integer - name: key_pk in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesEncoderKeysDestroyErrorResponse400' '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: - live-sources /api/live-sources/{id}/encoder-keys/{key_pk}/replace: post: operationId: live_sources_encoder_keys_replace description: |- Give an encoder a new key: for when its settings were lost, or leaked. The encoder keeps its name; the old key stops working at once, and the answer shows the new password and settings, once. parameters: - name: id in: path required: true schema: type: integer - name: key_pk in: path required: true schema: type: integer responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/IssuedEncoderKey' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesEncoderKeysReplaceErrorResponse400' '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: - live-sources /api/live-sources/{id}/preview-token: post: operationId: live_sources_preview_token_create summary: Issue a WebRTC preview token description: A short-lived bearer token that lets the caller's browser read this source's feed over WHEP, at `//whep` on the site's own host. parameters: - name: id in: path required: true schema: type: integer responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/PreviewToken' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesPreviewTokenCreateErrorResponse400' '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: No such enabled source in your organizations. '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: - live-sources /api/live-sources/{id}/signal: get: operationId: live_sources_signal_retrieve summary: The signal a live source is receiving description: 'What the receiver sees arriving on this source right now, as the encoder sends it: format, how long it has been in, and transport health. Reading it does not start a pulled source.' parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Signal' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesSignalRetrieveErrorResponse400' '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: No such source in your organizations. '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: - live-sources /api/live-sources/{id}/signal/history: get: operationId: live_sources_signal_history_retrieve summary: How a live source's signal has held up description: Bitrate, SRT packet loss and reconnects for this source over the last while, one sample per scrape step, from the receiver's metrics. It covers the time before the caller started watching. parameters: - name: id in: path required: true schema: type: integer - name: minutes in: query description: How far back, at most 180. Default 60. schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/SignalHistory' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSourcesSignalHistoryRetrieveErrorResponse400' '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: No such source in your organizations. '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: - live-sources /api/news/bulletins: get: operationId: news_bulletins_list description: |- Messages from the channel, shown between programmes by the on-air graphics and in the infographics rotation. Anyone can read the published ones; staff see every one and edit them. Highest priority first, then newest. 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: placement in: query description: |- Only the bulletins that are showing there now: `air` for the on-air graphics, `infographics` for the infographics rotation. * `air` - air * `infographics` - infographics schema: type: string enum: - air - infographics 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 description: |- Messages from the channel, shown between programmes by the on-air graphics and in the infographics rotation. Anyone can read the published ones; staff see every one and edit them. Highest priority first, then newest. 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 description: |- Messages from the channel, shown between programmes by the on-air graphics and in the infographics rotation. Anyone can read the published ones; staff see every one and edit them. Highest priority first, then newest. 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 patch: operationId: news_bulletins_partial_update description: |- Messages from the channel, shown between programmes by the on-air graphics and in the infographics rotation. Anyone can read the published ones; staff see every one and edit them. Highest priority first, then newest. 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 description: |- Messages from the channel, shown between programmes by the on-air graphics and in the infographics rotation. Anyone can read the published ones; staff see every one and edit them. Highest priority first, then newest. 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/AuthTokenWithSecondFactorRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/AuthTokenWithSecondFactor' '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: |- Organization details. A suspended organization (`is_rogue`) can still be fetched, so its page can show the suspension notice, but only its id, name and flag are returned to anyone but staff. 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: |- Organization details. A suspended organization (`is_rogue`) can still be fetched, so its page can show the suspension notice, but only its id, name and flag are returned to anyone but staff. 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: |- Organization details. A suspended organization (`is_rogue`) can still be fetched, so its page can show the suspension notice, but only its id, name and flag are returned to anyone but staff. 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: |- Organization details. A suspended organization (`is_rogue`) can still be fetched, so its page can show the suspension notice, but only its id, name and flag are returned to anyone but staff. 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/organization/{id}/affidavit: get: operationId: organization_affidavit_list description: |- The organization's uploaded affidavit scans, newest first, and how far each has got. The editor uploads a new one here; uploading replaces any scan still waiting for review. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/AffidavitSubmission' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationAffidavitListErrorResponse400' '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: - organization post: operationId: organization_affidavit_create description: |- The organization's uploaded affidavit scans, newest first, and how far each has got. The editor uploads a new one here; uploading replaces any scan still waiting for review. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: multipart/form-data: schema: $ref: '#/components/schemas/AffidavitUploadRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/AffidavitSubmission' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationAffidavitCreateErrorResponse400' '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: - organization /api/organization/{id}/affidavit/{submission_id}/file: get: operationId: organization_affidavit_file_retrieve description: The scan itself, for staff only. parameters: - name: id in: path required: true schema: type: integer - name: submission_id in: path required: true schema: type: integer responses: '200': description: '' content: application/octet-stream: schema: type: string format: binary '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationAffidavitFileRetrieveErrorResponse400' '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}/invitations: get: operationId: organization_invitations_list description: |- The organization's open invitations, by address (blank for one shared as a link). The editor and staff see them and invite more: by e-mail, or as a link and QR code to hand over themselves. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/Invitation' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationInvitationsListErrorResponse400' '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: - organization post: operationId: organization_invitations_create description: |- The organization's open invitations, by address (blank for one shared as a link). The editor and staff see them and invite more: by e-mail, or as a link and QR code to hand over themselves. parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/InviteRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/InvitationCreated' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationInvitationsCreateErrorResponse400' '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: - organization /api/organization/{id}/invitations/{invitation_id}: delete: operationId: organization_invitations_destroy description: The editor and staff withdraw an invitation. parameters: - name: id in: path required: true schema: type: integer - name: invitation_id in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationInvitationsDestroyErrorResponse400' '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: - organization /api/organization/{id}/live-sources: get: operationId: organization_live_sources_list description: |- An organization's live contribution inputs and their coming bookings. Only its own members see them: a source's stream ID is half of what an encoder needs to publish to it. Creating one is for those who may program the organization's airtime. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/LiveSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationLiveSourcesListErrorResponse400' '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: - organization post: operationId: organization_live_sources_create description: |- An organization's live contribution inputs and their coming bookings. Only its own members see them: a source's stream ID is half of what an encoder needs to publish to it. Creating one is for those who may program the organization's airtime. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/LiveSourceRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/LiveSource' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationLiveSourcesCreateErrorResponse400' '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: - organization /api/organization/{id}/members: get: operationId: organization_members_list description: |- The organization's editor and members. Everyone in the organization sees the list. People join by accepting an invitation (see invitations.py). parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/OrganizationMember' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationMembersListErrorResponse400' '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: - organization /api/organization/{id}/members/{user_id}: delete: operationId: organization_members_destroy description: |- One member. The editor and staff remove members; a member removes themselves to leave. The editor cannot be removed here. parameters: - name: id in: path required: true schema: type: integer - name: user_id in: path required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/OrganizationMembersDestroyErrorResponse400' '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: - organization /api/organization/brreg/{orgnr}: get: operationId: organization_brreg_retrieve description: |- Look up an organisasjonsnummer in Enhetsregisteret, so the form for a new organization can fill itself in. For logged-in users only: it is there to register an organization, not as an open proxy. parameters: - name: orgnr in: path required: true schema: type: string responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/BrregEntity' '400': description: Not a valid organisasjonsnummer. '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: No entity has this number. '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 '410': description: The entity has been deleted from the register. '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 '503': description: Enhetsregisteret did not answer. security: - tokenAuth: [] - cookieAuth: [] tags: - organization /api/posters: get: operationId: posters_list description: |- Text posters: a heading and a few lines of text on one of the on-air graphics templates, which an organization lists in its airtime like a video. Members see and edit their organizations' posters; staff see every one. 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: organization in: query schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedPosterList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/PostersListErrorResponse400' '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: - posters post: operationId: posters_create description: |- Text posters: a heading and a few lines of text on one of the on-air graphics templates, which an organization lists in its airtime like a video. Members see and edit their organizations' posters; staff see every one. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PosterRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/Poster' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/PostersCreateErrorResponse400' '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: - posters /api/posters/{id}: get: operationId: posters_retrieve description: |- Text posters: a heading and a few lines of text on one of the on-air graphics templates, which an organization lists in its airtime like a video. Members see and edit their organizations' posters; staff see every one. parameters: - name: id in: path description: A unique integer value identifying this poster. required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Poster' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/PostersRetrieveErrorResponse400' '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: - posters patch: operationId: posters_partial_update description: |- Text posters: a heading and a few lines of text on one of the on-air graphics templates, which an organization lists in its airtime like a video. Members see and edit their organizations' posters; staff see every one. parameters: - name: id in: path description: A unique integer value identifying this poster. required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedPosterUpdateRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Poster' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/PostersPartialUpdateErrorResponse400' '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: - posters delete: operationId: posters_destroy description: |- Text posters: a heading and a few lines of text on one of the on-air graphics templates, which an organization lists in its airtime like a video. Members see and edit their organizations' posters; staff see every one. parameters: - name: id in: path description: A unique integer value identifying this poster. required: true schema: type: integer responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/PostersDestroyErrorResponse400' '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: - posters /api/recordings/{id}: get: operationId: recordings_retrieve description: A recording request, with a URL to fetch its window from (ingest only). parameters: - name: id in: path required: true schema: type: integer responses: '200': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecordingsRetrieveErrorResponse400' '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: - recordings /api/recordings/{id}/result: post: operationId: recordings_result_create description: Ingest reports that it archived the recording, or why it couldn't. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecordingsResultCreateErrorResponse400' '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: - recordings /api/recurring-slot-requests: get: operationId: recurring_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: organization in: query description: Only this organization's requests schema: type: integer - name: status in: query description: Only these schema: type: string enum: - approved - denied - pending responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PaginatedRecurringSlotRequestEnvelopeList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequestsListErrorResponse400' '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: - recurring-slot-requests /api/recurring-slot-requests/creation: post: operationId: recurring_slot_requests_creation_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RecurringSlotCreationRequestRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotCreationRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateErrorResponse400' '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: - recurring-slot-requests /api/recurring-slot-requests/creation/{id}/decision: post: operationId: recurring_slot_requests_creation_decision_create description: |- Approve or deny a pending request, once, with a comment for the organization. Approval applies the request in the same transaction: the grant, slot, transfer or exemption is created then, or the decision fails and the request stays pending. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DecisionRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotCreationRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateErrorResponse400' '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: - recurring-slot-requests /api/recurring-slot-requests/ownership: post: operationId: recurring_slot_requests_ownership_create requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RecurringSlotOwnershipRequestRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotOwnershipRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateErrorResponse400' '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: - recurring-slot-requests /api/recurring-slot-requests/ownership/{id}/decision: post: operationId: recurring_slot_requests_ownership_decision_create description: |- Approve or deny a pending request, once, with a comment for the organization. Approval applies the request in the same transaction: the grant, slot, transfer or exemption is created then, or the decision fails and the request stays pending. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DecisionRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotOwnershipRequest' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateErrorResponse400' '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: - recurring-slot-requests /api/recurring-slots: get: operationId: recurring_slots_list description: |- Every recurring slot. Public, like the schedule it produces; staff create them. 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/PaginatedRecurringSlotList' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotsListErrorResponse400' '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: - recurring-slots post: operationId: recurring_slots_create description: |- Every recurring slot. Public, like the schedule it produces; staff create them. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotsCreateErrorResponse400' '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: - recurring-slots /api/recurring-slots/{id}: get: operationId: recurring_slots_retrieve description: |- Staff change or delete a slot. Grants it already issued stay as they are, without their origin once the slot is deleted. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotsRetrieveErrorResponse400' '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: - recurring-slots put: operationId: recurring_slots_update description: |- Staff change or delete a slot. Grants it already issued stay as they are, without their origin once the slot is deleted. parameters: - name: id in: path required: true schema: type: integer requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RecurringSlotRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotsUpdateErrorResponse400' '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: - recurring-slots patch: operationId: recurring_slots_partial_update description: |- Staff change or delete a slot. Grants it already issued stay as they are, without their origin once the slot is deleted. parameters: - name: id in: path required: true schema: type: integer requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedRecurringSlotRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotsPartialUpdateErrorResponse400' '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: - recurring-slots delete: operationId: recurring_slots_destroy description: |- Staff change or delete a slot. Grants it already issued stay as they are, without their origin once the slot is deleted. 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/RecurringSlotsDestroyErrorResponse400' '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: - recurring-slots /api/recurring-slots/public: get: operationId: recurring_slots_public_list description: |- The regular slots in force, for everyone: who has the airtime and when. Ended slots and those of suspended organizations are left out, as is how each slot programs itself. responses: '200': description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/PublicRecurringSlot' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/RecurringSlotsPublicListErrorResponse400' '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: - recurring-slots /api/scheduleitems: get: operationId: scheduleitems_list description: |- The compiled broadcast schedule. Read by everyone; written only by staff, as corrections. Organizations program through /api/grants. 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. `include_fillers`: Include members' text posters and staff graphics (for playout). `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: include_fillers in: query description: "Include members' text posters and staff graphics, which playout airs between programmes. Left out by default: they are not programmes." 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: 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: |- The compiled broadcast schedule. Read by everyone; written only by staff, as corrections. Organizations program through /api/grants. 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. `include_fillers`: Include members' text posters and staff graphics (for playout). `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: |- The compiled broadcast schedule. Read by everyone; written only by staff, as corrections. Organizations program through /api/grants. 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. `include_fillers`: Include members' text posters and staff graphics (for playout). `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: |- The compiled broadcast schedule. Read by everyone; written only by staff, as corrections. Organizations program through /api/grants. 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. `include_fillers`: Include members' text posters and staff graphics (for playout). `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: |- The compiled broadcast schedule. Read by everyone; written only by staff, as corrections. Organizations program through /api/grants. 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. `include_fillers`: Include members' text posters and staff graphics (for playout). `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: |- The compiled broadcast schedule. Read by everyone; written only by staff, as corrections. Organizations program through /api/grants. 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. `include_fillers`: Include members' text posters and staff graphics (for playout). `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/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/2fa: get: operationId: user_2fa_retrieve description: |- The account's apps and keys, recovery codes left, and whether this session may change them. responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/TwoFactorStatus' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faRetrieveErrorResponse400' '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/2fa/methods/{method}: patch: operationId: user_2fa_methods_partial_update description: |- Rename or remove one app or key. Removing the last one turns two-factor off and deletes the recovery codes. parameters: - name: method in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedRenameRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Method' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faMethodsPartialUpdateErrorResponse400' '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 delete: operationId: user_2fa_methods_destroy description: |- Rename or remove one app or key. Removing the last one turns two-factor off and deletes the recovery codes. parameters: - name: method in: path required: true schema: type: string responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faMethodsDestroyErrorResponse400' '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/user/2fa/recovery-codes: post: operationId: user_2fa_recovery_codes_create description: Replace the recovery codes. Old ones stop working. responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/RecoveryCodes' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faRecoveryCodesCreateErrorResponse400' '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/user/2fa/totp/confirm: post: operationId: user_2fa_totp_confirm_create description: |- Finish adding the app with a code from it. With the account's first method, this also returns the recovery codes, the only time they are returned. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CodeRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/MethodAdded' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faTotpConfirmCreateErrorResponse400' '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/user/2fa/totp/setup: post: operationId: user_2fa_totp_setup_create description: |- Start adding an authenticator app: a new secret, as text and QR code. It protects nothing until confirmed with a code from the app. Starting over replaces an unconfirmed secret. requestBody: content: application/json: schema: $ref: '#/components/schemas/AppNameRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/TwoFactorSetup' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faTotpSetupCreateErrorResponse400' '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/user/2fa/verify: post: operationId: user_2fa_verify_create description: |- Pass the second step in this session with an app or recovery code, so it may change the methods. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CodeRequest' responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faVerifyCreateErrorResponse400' '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/user/2fa/webauthn/begin: post: operationId: user_2fa_webauthn_begin_create description: |- Start the second step with a security key: options for navigator.credentials.get(). For a session whose password was just found right (the login or a reset link answered `otp_required`), or a logged-in session that wants to change its methods. 400 `no_security_key` when the account has none, so the client asks for a code instead. responses: '200': description: '' content: application/json: schema: type: object additionalProperties: {} '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faWebauthnBeginCreateErrorResponse400' '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/user/2fa/webauthn/complete: post: operationId: user_2fa_webauthn_complete_create description: |- Finish the second step with the browser's answer. After a password, send the login (or reset) again: it passes without a code. A logged-in session may now change its methods. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CredentialRequest' responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faWebauthnCompleteCreateErrorResponse400' '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/user/2fa/webauthn/register/begin: post: operationId: user_2fa_webauthn_register_begin_create description: |- Start adding a passkey or security key: options for navigator.credentials.create(). responses: '200': description: '' content: application/json: schema: type: object additionalProperties: {} '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faWebauthnRegisterBeginCreateErrorResponse400' '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/user/2fa/webauthn/register/complete: post: operationId: user_2fa_webauthn_register_complete_create description: |- Finish adding the key with the browser's answer. With the account's first method, this also returns the recovery codes, the only time they are returned. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/RegisterCompleteRequest' responses: '201': description: '' content: application/json: schema: $ref: '#/components/schemas/MethodAdded' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/User2faWebauthnRegisterCompleteCreateErrorResponse400' '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/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/login/passkey: get: operationId: user_login_passkey_retrieve description: |- Whether passkeys are switched on here, so the login page knows whether to offer them. responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/PasskeysAvailable' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserLoginPasskeyRetrieveErrorResponse400' '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/passkey/begin: post: operationId: user_login_passkey_begin_create description: |- Start logging in with a passkey: options for navigator.credentials.get(), with no account named. responses: '200': description: '' content: application/json: schema: type: object additionalProperties: {} '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserLoginPasskeyBeginCreateErrorResponse400' '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/user/login/passkey/complete: post: operationId: user_login_passkey_complete_create description: |- Log in with the browser's answer. Returns the profile, as the password login does. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CredentialRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/User' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserLoginPasskeyCompleteCreateErrorResponse400' '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/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/password: post: operationId: user_password_create description: |- Change your own password, given the current one. Django's PasswordChangeForm: the current password must be right and the new one must pass AUTH_PASSWORD_VALIDATORS. Other sessions end (the session auth hash rotates); this one stays signed in. Someone holding only a stolen session cannot use this to take the account over; they would have to know the password, or have the mailbox for a reset. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PasswordChangeRequest' responses: '204': description: No response body '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserPasswordCreateErrorResponse400' '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/user/password-reset: post: operationId: user_password_reset_create description: |- Mail a password reset link to an address, if it has an account. The answer is the same whether or not it does. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PasswordResetRequestRequest' responses: '202': description: '' content: application/json: schema: $ref: '#/components/schemas/Detail' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserPasswordResetCreateErrorResponse400' '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/user/password-reset/confirm: post: operationId: user_password_reset_confirm_create description: |- Set a new password from a reset link's uid and token. Logs the user in and returns their profile, as the login endpoint does. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PasswordResetConfirmRequest' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/User' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/UserPasswordResetConfirmCreateErrorResponse400' '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/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 * `hls` - HLS playlists over the DASH media schema: type: string enum: - broadcast - cloudflare_id - dash - dash_preview - hls - 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: get: operationId: videos_upload_retrieve summary: Get a video's upload endpoint description: |- Where to upload this video's file, for those allowed to. Answering at all is the authorization: ingest asks this endpoint on the uploader's behalf, with the uploader's own session cookie or API token, before it accepts an upload. Allowed are staff and the members of the video's organization, for a video they can see; a removed video or a suspended organization's takes no uploads. parameters: - name: id in: path required: true schema: type: integer responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/VideoUpload' '400': description: '' content: application/json: schema: $ref: '#/components/schemas/VideosUploadRetrieveErrorResponse400' '401': description: Not signed in. '403': description: Not allowed to upload to this video. '404': description: No such video, or not one the caller can see. '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 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: AcceptInvitationRequest: description: "Empty when logged in. Without a session: the new account's details." type: object properties: email: description: Only for an invitation shared as a link, which has no address. type: string format: email minLength: 1 firstName: type: string minLength: 1 lastName: type: string minLength: 1 password: type: string minLength: 1 writeOnly: true AffidavitSubmission: type: object properties: id: type: integer readOnly: true submittedAt: type: string format: date-time readOnly: true fileName: type: string readOnly: true status: allOf: - $ref: '#/components/schemas/AffidavitSubmissionStatusEnum' readOnly: true reviewedAt: type: string format: date-time nullable: true readOnly: true reviewNote: description: 'Shown to the organization when the scan is rejected: say what to fix.' type: string readOnly: true required: - fileName - id - reviewNote - reviewedAt - status - submittedAt AffidavitSubmissionStatusEnum: description: |- * `pending` - Awaiting review * `approved` - Approved * `rejected` - Rejected type: string enum: - pending - approved - rejected AffidavitUploadRequest: type: object properties: file: description: 'The signed affidavit: PDF, JPEG or PNG, up to 10 MB.' type: string format: binary required: - file AirtimeGrant: type: object properties: id: type: integer readOnly: true organization: allOf: - $ref: '#/components/schemas/GrantOrganization' readOnly: true starttime: type: string format: date-time readOnly: true endtime: type: string format: date-time readOnly: true state: allOf: - $ref: '#/components/schemas/AirtimeGrantStateEnum' readOnly: true locksAt: type: string format: date-time readOnly: true lockExempt: description: Editable until air; every save after compiling recompiles it. Staff only. type: boolean readOnly: true recipe: description: 'How the grant fills the time its pinned items leave. Null: hand-made.' allOf: - $ref: '#/components/schemas/Recipe' nullable: true readOnly: true originSlot: description: "Provenance only: the grant copied the slot's time when issued." type: integer nullable: true readOnly: true items: type: array items: $ref: '#/components/schemas/GrantItem' readOnly: true itemsDuration: description: From the grant's start to the end of the list, with the gaps that start each programme on the five-minute grid. type: string readOnly: true padded: description: Whether programmes start on the five-minute grid, at least 30 s after the programme before. Posters follow whatever is before them. False for a jukebox grant, which plays back to back. type: boolean readOnly: true canEdit: description: Whether the requesting user may replace the list right now. type: boolean readOnly: true startedItems: description: How many entries at the head of the list have aired, are on air or start within seconds. Staff may change what follows them, and move the end, while the grant is on air. type: integer readOnly: true airedItems: description: 'How many entries at the head of the list have finished airing. An edit must keep them first, as they are. Staff may leave out the ones between this and `startedItems`: that takes them off the air at once.' type: integer readOnly: true required: - airedItems - canEdit - endtime - id - items - itemsDuration - lockExempt - locksAt - organization - originSlot - padded - recipe - startedItems - starttime - state AirtimeGrantCreateRequest: description: Staff gives an organization a window of airtime directly. type: object properties: organization: type: integer starttime: type: string format: date-time endtime: type: string format: date-time locksAt: description: Defaults to the Monday 00:00 before the grant's week airs. type: string format: date-time lockExempt: description: Editable until air; every save after compiling recompiles it. Staff only. type: boolean recipe: allOf: - $ref: '#/components/schemas/RecipeRequest' nullable: true items: description: Videos already in the grant, pinned, in playing order. They must fit the window; otherwise no grant is made. type: array items: $ref: '#/components/schemas/GrantItemWriteRequest' required: - endtime - organization - starttime AirtimeGrantRequest: description: A request for one window of airtime. Approval creates the grant. type: object properties: id: type: integer readOnly: true organization: type: integer organizationName: type: string readOnly: true requestedBy: type: integer readOnly: true requestedByName: type: string readOnly: true starttime: type: string format: date-time endtime: type: string format: date-time message: description: What the organization wants Frikanalen to know. type: string status: allOf: - $ref: '#/components/schemas/ReviewStatusEnum' 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 grant: type: integer nullable: true readOnly: true required: - adminComment - createdAt - endtime - grant - id - organization - organizationName - requestedBy - requestedByName - reviewedAt - reviewedBy - starttime - status AirtimeGrantRequestRequest: description: A request for one window of airtime. Approval creates the grant. type: object properties: organization: type: integer starttime: type: string format: date-time endtime: type: string format: date-time message: description: What the organization wants Frikanalen to know. type: string required: - endtime - organization - starttime AirtimeGrantStateEnum: description: |- * `open` - Open * `locked` - Locked * `compiled` - Compiled * `cancelled` - Cancelled type: string enum: - open - locked - compiled - cancelled AirtimeGrantUpdate: description: Staff cancels a grant, moves its deadline or end, or exempts it from locking. type: object properties: state: description: |- Only 'cancelled': withdraw the grant and free its window. * `cancelled` - cancelled allOf: - $ref: '#/components/schemas/AirtimeGrantUpdateStateEnum' locksAt: type: string format: date-time lockExempt: type: boolean starttime: description: Move the start, until the grant is on air. A start that has passed means now. Entries that no longer fit come off the list; an earlier start needs the extra time to be free. type: string format: date-time endtime: description: 'Move the end, even while the grant is on air: what is on air past it is cut short there. Entries that no longer fit come off the list. A later end needs the extra time to be free.' type: string format: date-time AirtimeGrantUpdateRequest: description: Staff cancels a grant, moves its deadline or end, or exempts it from locking. type: object properties: state: description: |- Only 'cancelled': withdraw the grant and free its window. * `cancelled` - cancelled allOf: - $ref: '#/components/schemas/AirtimeGrantUpdateStateEnum' locksAt: type: string format: date-time lockExempt: type: boolean starttime: description: Move the start, until the grant is on air. A start that has passed means now. Entries that no longer fit come off the list; an earlier start needs the extra time to be free. type: string format: date-time endtime: description: 'Move the end, even while the grant is on air: what is on air past it is cut short there. Entries that no longer fit come off the list. A later end needs the extra time to be free.' type: string format: date-time AirtimeGrantUpdateStateEnum: description: '* `cancelled` - cancelled' type: string enum: - cancelled AppNameRequest: type: object properties: name: type: string maxLength: 64 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 AuthTokenWithSecondFactor: description: |- DRF's token login (username/password), plus `otp` for accounts with 2FA. Codes only: an account with nothing but security keys uses a recovery code here. type: object properties: token: type: string readOnly: true required: - token AuthTokenWithSecondFactorRequest: description: |- DRF's token login (username/password), plus `otp` for accounts with 2FA. Codes only: an account with nothing but security keys uses a recovery code here. type: object properties: username: type: string minLength: 1 writeOnly: true password: type: string minLength: 1 writeOnly: true otp: type: string writeOnly: true required: - password - username BrregEntity: description: An entity in Enhetsregisteret, as the fields of a new organization. type: object properties: orgnr: type: string name: type: string organizationForm: description: E.g. Forening/lag/innretning type: string homepage: type: string purpose: description: 'Vedtektsfestet formål: what the organization is for.' type: string streetAddress: type: string postalAddress: type: string bankrupt: type: boolean beingDissolved: type: boolean required: - bankrupt - beingDissolved - homepage - name - organizationForm - orgnr - postalAddress - purpose - streetAddress Bulletin: type: object properties: id: type: integer readOnly: true heading: type: string maxLength: 80 text: type: string maxLength: 1692 template: $ref: '#/components/schemas/TemplateEnum' pages: description: 'The text as the screen pages it: a blank line starts a page, and a long block is paged by itself. The heading is on every page.' type: array items: type: string readOnly: true pageSeconds: description: How long each page takes to read. type: array items: type: number format: double readOnly: true readingSeconds: description: The time it takes to read every page once. type: integer readOnly: true createdTime: type: string format: date-time readOnly: true updatedTime: type: string format: date-time readOnly: true isPublished: type: boolean isCurrent: description: Published, and inside the dates it runs between. type: boolean readOnly: true startsAt: description: 'Shown from this time. Empty: as soon as it is published.' type: string format: date-time nullable: true endsAt: description: 'Shown until this time. Empty: until it is unpublished.' type: string format: date-time nullable: true priority: description: Higher is shown first, and more often when there is little time. type: integer maximum: 32767 minimum: -32768 onAir: description: Shown by the on-air graphics between programmes. type: boolean onInfographics: description: Shown in the infographics rotation. type: boolean required: - createdTime - heading - id - isCurrent - pageSeconds - pages - readingSeconds - text - updatedTime BulletinRequest: type: object properties: heading: type: string maxLength: 80 minLength: 1 text: type: string maxLength: 1692 minLength: 1 template: $ref: '#/components/schemas/TemplateEnum' isPublished: type: boolean startsAt: description: 'Shown from this time. Empty: as soon as it is published.' type: string format: date-time nullable: true endsAt: description: 'Shown until this time. Empty: until it is unpublished.' type: string format: date-time nullable: true priority: description: Higher is shown first, and more often when there is little time. type: integer maximum: 32767 minimum: -32768 onAir: description: Shown by the on-air graphics between programmes. type: boolean onInfographics: description: Shown in the infographics rotation. 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 CodeRequest: type: object properties: code: type: string minLength: 1 required: - code ConnectionExample: type: object properties: label: type: string url: type: string token: type: string note: type: string required: - label - url CredentialRequest: type: object properties: credential: description: The browser's PublicKeyCredential, as JSON (toJSON(), or @simplewebauthn/browser). required: - credential 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 DecisionRequest: description: 'A staff decision on any request: final, with a comment.' type: object properties: status: $ref: '#/components/schemas/DecisionStatusEnum' adminComment: description: Shown to the organization. Required, also for approvals. type: string minLength: 1 required: - adminComment - status DecisionStatusEnum: description: |- * `approved` - Approved * `denied` - Denied type: string enum: - approved - denied Detail: type: object properties: detail: type: string readOnly: true required: - detail EncoderKey: description: "An encoder's publish credential, as listed: never its password." type: object properties: id: type: integer readOnly: true label: type: string maxLength: 100 keyId: type: string format: uuid readOnly: true createdAt: type: string format: date-time readOnly: true lastUsedAt: type: string format: date-time nullable: true readOnly: true revokedAt: type: string format: date-time nullable: true readOnly: true required: - createdAt - id - keyId - label - lastUsedAt - revokedAt EncoderKeyRequest: description: "An encoder's publish credential, as listed: never its password." type: object properties: label: type: string maxLength: 100 minLength: 1 required: - label 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 FrequencyEnum: description: |- * `daily` - Daily * `weekly` - Weekly * `monthly` - Monthly type: string enum: - daily - weekly - monthly GrantExemptionRequest: description: A request to keep changing a grant after its deadline. type: object properties: id: type: integer readOnly: true organization: type: integer readOnly: true organizationName: type: string readOnly: true requestedBy: type: integer readOnly: true requestedByName: type: string readOnly: true grant: type: integer grantStarttime: type: string format: date-time readOnly: true grantEndtime: type: string format: date-time readOnly: true message: description: What the organization wants Frikanalen to know. type: string status: default: pending allOf: - $ref: '#/components/schemas/ReviewStatusEnum' 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 - grant - grantEndtime - grantStarttime - id - organization - organizationName - requestedBy - requestedByName - reviewedAt - reviewedBy - status GrantExemptionRequestRequest: description: A request to keep changing a grant after its deadline. type: object properties: grant: type: integer message: description: What the organization wants Frikanalen to know. type: string required: - grant GrantItem: type: object properties: position: type: integer readOnly: true video: allOf: - $ref: '#/components/schemas/GrantItemVideo' nullable: true readOnly: true poster: description: Set instead of `video` for a text poster. allOf: - $ref: '#/components/schemas/GrantItemPoster' nullable: true readOnly: true graphic: description: Set instead of `video` for a staff graphic, on for `duration`. allOf: - $ref: '#/components/schemas/GrantItemGraphic' nullable: true readOnly: true duration: description: How long the graphic is on. Only for a graphic. type: string nullable: true readOnly: true pinned: description: Chosen by the owner. Automatic filling keeps it and fills around it. type: boolean readOnly: true required: - duration - graphic - pinned - position - poster - video GrantItemGraphic: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true url: description: 'Where CasparCG loads it from: a full address, or a path on the site such as /infographics/ (add ?page= to hold one page). Playout adds ?duration=.' type: string readOnly: true required: - id - name - url GrantItemLiveSource: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true required: - id - name GrantItemPoster: type: object properties: id: type: integer readOnly: true template: allOf: - $ref: '#/components/schemas/TemplateEnum' readOnly: true heading: type: string readOnly: true text: type: string readOnly: true duration: description: How long it is on screen each time it airs. type: string readOnly: true required: - duration - heading - id - template - text GrantItemVideo: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true duration: type: string readOnly: true organization: allOf: - $ref: '#/components/schemas/GrantOrganization' readOnly: true pendingUpload: description: An entry made ahead of its file; its duration was set by hand. type: boolean readOnly: true liveSource: description: 'Set for a live programme: it airs from this source until it has a file.' allOf: - $ref: '#/components/schemas/GrantItemLiveSource' nullable: true readOnly: true required: - duration - id - liveSource - name - organization - pendingUpload GrantItemWriteRequest: description: 'A video, a text poster, or a graphic with its duration: exactly one.' type: object properties: video: type: integer poster: type: integer graphic: description: Staff only. type: integer duration: description: 'With `graphic`: how long it is on.' type: string GrantItemsWriteRequest: description: |- The videos the organization chose, in playing order. They replace the current list and are pinned. type: object properties: items: type: array items: $ref: '#/components/schemas/GrantItemWriteRequest' automatic: description: "True: the grant's recipe fills the time these videos leave, and keeps doing so. False: the list stays exactly as given." type: boolean default: false recipe: description: 'With `automatic`: how the grant fills itself. Leave out to keep what it has.' allOf: - $ref: '#/components/schemas/RecipeRequest' wholeSlot: description: "With `recipe`: make it the choice for the grant's recurring slot too, so its other broadcasts follow." type: boolean default: false required: - items GrantOrganization: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true required: - id - name GrantRequestEnvelope: description: Read envelope around the two kinds of grant request. type: object properties: airtime: allOf: - $ref: '#/components/schemas/AirtimeGrantRequest' readOnly: true exemption: allOf: - $ref: '#/components/schemas/GrantExemptionRequest' readOnly: true required: - airtime - exemption GrantRequestsAirtimeCreateEndtimeErrorComponent: type: object properties: attr: description: '* `endtime` - endtime' type: string enum: - endtime 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 GrantRequestsAirtimeCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantRequestsAirtimeCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/GrantRequestsAirtimeCreateOrganizationErrorComponent' starttime: '#/components/schemas/GrantRequestsAirtimeCreateStarttimeErrorComponent' endtime: '#/components/schemas/GrantRequestsAirtimeCreateEndtimeErrorComponent' message: '#/components/schemas/GrantRequestsAirtimeCreateMessageErrorComponent' oneOf: - $ref: '#/components/schemas/GrantRequestsAirtimeCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantRequestsAirtimeCreateOrganizationErrorComponent' - $ref: '#/components/schemas/GrantRequestsAirtimeCreateStarttimeErrorComponent' - $ref: '#/components/schemas/GrantRequestsAirtimeCreateEndtimeErrorComponent' - $ref: '#/components/schemas/GrantRequestsAirtimeCreateMessageErrorComponent' GrantRequestsAirtimeCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantRequestsAirtimeCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantRequestsAirtimeCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantRequestsAirtimeCreateMessageErrorComponent: type: object properties: attr: description: '* `message` - message' type: string enum: - message code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail GrantRequestsAirtimeCreateNonFieldErrorsErrorComponent: 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 GrantRequestsAirtimeCreateOrganizationErrorComponent: 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 GrantRequestsAirtimeCreateStarttimeErrorComponent: 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 GrantRequestsAirtimeCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantRequestsAirtimeCreateError' required: - errors - type GrantRequestsAirtimeDecisionCreateAdminCommentErrorComponent: type: object properties: attr: description: '* `admin_comment` - admin_comment' type: string enum: - admin_comment 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 GrantRequestsAirtimeDecisionCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantRequestsAirtimeDecisionCreateNonFieldErrorsErrorComponent' status: '#/components/schemas/GrantRequestsAirtimeDecisionCreateStatusErrorComponent' admin_comment: '#/components/schemas/GrantRequestsAirtimeDecisionCreateAdminCommentErrorComponent' oneOf: - $ref: '#/components/schemas/GrantRequestsAirtimeDecisionCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantRequestsAirtimeDecisionCreateStatusErrorComponent' - $ref: '#/components/schemas/GrantRequestsAirtimeDecisionCreateAdminCommentErrorComponent' GrantRequestsAirtimeDecisionCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantRequestsAirtimeDecisionCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantRequestsAirtimeDecisionCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantRequestsAirtimeDecisionCreateNonFieldErrorsErrorComponent: 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 GrantRequestsAirtimeDecisionCreateStatusErrorComponent: type: object properties: attr: description: '* `status` - status' type: string enum: - status code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail GrantRequestsAirtimeDecisionCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantRequestsAirtimeDecisionCreateError' required: - errors - type GrantRequestsExemptionCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantRequestsExemptionCreateNonFieldErrorsErrorComponent' grant: '#/components/schemas/GrantRequestsExemptionCreateGrantErrorComponent' message: '#/components/schemas/GrantRequestsExemptionCreateMessageErrorComponent' oneOf: - $ref: '#/components/schemas/GrantRequestsExemptionCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantRequestsExemptionCreateGrantErrorComponent' - $ref: '#/components/schemas/GrantRequestsExemptionCreateMessageErrorComponent' GrantRequestsExemptionCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantRequestsExemptionCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantRequestsExemptionCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantRequestsExemptionCreateGrantErrorComponent: type: object properties: attr: description: '* `grant` - grant' type: string enum: - grant 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 GrantRequestsExemptionCreateMessageErrorComponent: type: object properties: attr: description: '* `message` - message' type: string enum: - message code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail GrantRequestsExemptionCreateNonFieldErrorsErrorComponent: 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 GrantRequestsExemptionCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantRequestsExemptionCreateError' required: - errors - type GrantRequestsExemptionDecisionCreateAdminCommentErrorComponent: type: object properties: attr: description: '* `admin_comment` - admin_comment' type: string enum: - admin_comment 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 GrantRequestsExemptionDecisionCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantRequestsExemptionDecisionCreateNonFieldErrorsErrorComponent' status: '#/components/schemas/GrantRequestsExemptionDecisionCreateStatusErrorComponent' admin_comment: '#/components/schemas/GrantRequestsExemptionDecisionCreateAdminCommentErrorComponent' oneOf: - $ref: '#/components/schemas/GrantRequestsExemptionDecisionCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantRequestsExemptionDecisionCreateStatusErrorComponent' - $ref: '#/components/schemas/GrantRequestsExemptionDecisionCreateAdminCommentErrorComponent' GrantRequestsExemptionDecisionCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantRequestsExemptionDecisionCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantRequestsExemptionDecisionCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantRequestsExemptionDecisionCreateNonFieldErrorsErrorComponent: 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 GrantRequestsExemptionDecisionCreateStatusErrorComponent: type: object properties: attr: description: '* `status` - status' type: string enum: - status code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail GrantRequestsExemptionDecisionCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantRequestsExemptionDecisionCreateError' required: - errors - type GrantRequestsListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' GrantsAutomaticCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' GrantsCreateEndtimeErrorComponent: type: object properties: attr: description: '* `endtime` - endtime' type: string enum: - endtime 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 GrantsCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantsCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/GrantsCreateOrganizationErrorComponent' starttime: '#/components/schemas/GrantsCreateStarttimeErrorComponent' endtime: '#/components/schemas/GrantsCreateEndtimeErrorComponent' locks_at: '#/components/schemas/GrantsCreateLocksAtErrorComponent' lock_exempt: '#/components/schemas/GrantsCreateLockExemptErrorComponent' recipe.non_field_errors: '#/components/schemas/GrantsCreateRecipeNonFieldErrorsErrorComponent' recipe.kind: '#/components/schemas/GrantsCreateRecipeKindErrorComponent' recipe.series: '#/components/schemas/GrantsCreateRecipeSeriesErrorComponent' recipe.name: '#/components/schemas/GrantsCreateRecipeNameErrorComponent' recipe.categories: '#/components/schemas/GrantsCreateRecipeCategoriesErrorComponent' recipe.shortest: '#/components/schemas/GrantsCreateRecipeShortestErrorComponent' recipe.longest: '#/components/schemas/GrantsCreateRecipeLongestErrorComponent' recipe.newer_than_days: '#/components/schemas/GrantsCreateRecipeNewerThanDaysErrorComponent' recipe.older_than_days: '#/components/schemas/GrantsCreateRecipeOlderThanDaysErrorComponent' items.non_field_errors: '#/components/schemas/GrantsCreateItemsNonFieldErrorsErrorComponent' items.INDEX.non_field_errors: '#/components/schemas/GrantsCreateItemsINDEXNonFieldErrorsErrorComponent' items.INDEX.video: '#/components/schemas/GrantsCreateItemsINDEXVideoErrorComponent' items.INDEX.poster: '#/components/schemas/GrantsCreateItemsINDEXPosterErrorComponent' items.INDEX.graphic: '#/components/schemas/GrantsCreateItemsINDEXGraphicErrorComponent' items.INDEX.duration: '#/components/schemas/GrantsCreateItemsINDEXDurationErrorComponent' oneOf: - $ref: '#/components/schemas/GrantsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsCreateOrganizationErrorComponent' - $ref: '#/components/schemas/GrantsCreateStarttimeErrorComponent' - $ref: '#/components/schemas/GrantsCreateEndtimeErrorComponent' - $ref: '#/components/schemas/GrantsCreateLocksAtErrorComponent' - $ref: '#/components/schemas/GrantsCreateLockExemptErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeKindErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeSeriesErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeNameErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeCategoriesErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeShortestErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeLongestErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeNewerThanDaysErrorComponent' - $ref: '#/components/schemas/GrantsCreateRecipeOlderThanDaysErrorComponent' - $ref: '#/components/schemas/GrantsCreateItemsNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsCreateItemsINDEXNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsCreateItemsINDEXVideoErrorComponent' - $ref: '#/components/schemas/GrantsCreateItemsINDEXPosterErrorComponent' - $ref: '#/components/schemas/GrantsCreateItemsINDEXGraphicErrorComponent' - $ref: '#/components/schemas/GrantsCreateItemsINDEXDurationErrorComponent' GrantsCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantsCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantsCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantsCreateItemsINDEXDurationErrorComponent: type: object properties: attr: description: '* `items.INDEX.duration` - items.INDEX.duration' type: string enum: - items.INDEX.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 GrantsCreateItemsINDEXGraphicErrorComponent: type: object properties: attr: description: '* `items.INDEX.graphic` - items.INDEX.graphic' type: string enum: - items.INDEX.graphic 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 GrantsCreateItemsINDEXNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `items.INDEX.non_field_errors` - items.INDEX.non_field_errors' type: string enum: - items.INDEX.non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsCreateItemsINDEXPosterErrorComponent: type: object properties: attr: description: '* `items.INDEX.poster` - items.INDEX.poster' type: string enum: - items.INDEX.poster 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 GrantsCreateItemsINDEXVideoErrorComponent: type: object properties: attr: description: '* `items.INDEX.video` - items.INDEX.video' type: string enum: - items.INDEX.video 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 GrantsCreateItemsNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `items.non_field_errors` - items.non_field_errors' type: string enum: - items.non_field_errors code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail GrantsCreateLockExemptErrorComponent: type: object properties: attr: description: '* `lock_exempt` - lock_exempt' type: string enum: - lock_exempt code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsCreateLocksAtErrorComponent: type: object properties: attr: description: '* `locks_at` - locks_at' type: string enum: - locks_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 GrantsCreateNonFieldErrorsErrorComponent: 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 GrantsCreateOrganizationErrorComponent: 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 GrantsCreateRecipeCategoriesErrorComponent: type: object properties: attr: description: '* `recipe.categories` - recipe.categories' type: string enum: - recipe.categories 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 GrantsCreateRecipeKindErrorComponent: type: object properties: attr: description: '* `recipe.kind` - recipe.kind' type: string enum: - recipe.kind code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail GrantsCreateRecipeLongestErrorComponent: type: object properties: attr: description: '* `recipe.longest` - recipe.longest' type: string enum: - recipe.longest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsCreateRecipeNameErrorComponent: type: object properties: attr: description: '* `recipe.name` - recipe.name' type: string enum: - recipe.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 GrantsCreateRecipeNewerThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.newer_than_days` - recipe.newer_than_days' type: string enum: - recipe.newer_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail GrantsCreateRecipeNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `recipe.non_field_errors` - recipe.non_field_errors' type: string enum: - recipe.non_field_errors code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsCreateRecipeOlderThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.older_than_days` - recipe.older_than_days' type: string enum: - recipe.older_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail GrantsCreateRecipeSeriesErrorComponent: type: object properties: attr: description: '* `recipe.series` - recipe.series' type: string enum: - recipe.series 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 GrantsCreateRecipeShortestErrorComponent: type: object properties: attr: description: '* `recipe.shortest` - recipe.shortest' type: string enum: - recipe.shortest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsCreateStarttimeErrorComponent: 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 GrantsCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantsCreateError' required: - errors - type GrantsItemsUpdateAutomaticErrorComponent: type: object properties: attr: description: '* `automatic` - automatic' type: string enum: - automatic code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsItemsUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantsItemsUpdateNonFieldErrorsErrorComponent' items.non_field_errors: '#/components/schemas/GrantsItemsUpdateItemsNonFieldErrorsErrorComponent' items.INDEX.non_field_errors: '#/components/schemas/GrantsItemsUpdateItemsINDEXNonFieldErrorsErrorComponent' items.INDEX.video: '#/components/schemas/GrantsItemsUpdateItemsINDEXVideoErrorComponent' items.INDEX.poster: '#/components/schemas/GrantsItemsUpdateItemsINDEXPosterErrorComponent' items.INDEX.graphic: '#/components/schemas/GrantsItemsUpdateItemsINDEXGraphicErrorComponent' items.INDEX.duration: '#/components/schemas/GrantsItemsUpdateItemsINDEXDurationErrorComponent' automatic: '#/components/schemas/GrantsItemsUpdateAutomaticErrorComponent' recipe.non_field_errors: '#/components/schemas/GrantsItemsUpdateRecipeNonFieldErrorsErrorComponent' recipe.kind: '#/components/schemas/GrantsItemsUpdateRecipeKindErrorComponent' recipe.series: '#/components/schemas/GrantsItemsUpdateRecipeSeriesErrorComponent' recipe.name: '#/components/schemas/GrantsItemsUpdateRecipeNameErrorComponent' recipe.categories: '#/components/schemas/GrantsItemsUpdateRecipeCategoriesErrorComponent' recipe.shortest: '#/components/schemas/GrantsItemsUpdateRecipeShortestErrorComponent' recipe.longest: '#/components/schemas/GrantsItemsUpdateRecipeLongestErrorComponent' recipe.newer_than_days: '#/components/schemas/GrantsItemsUpdateRecipeNewerThanDaysErrorComponent' recipe.older_than_days: '#/components/schemas/GrantsItemsUpdateRecipeOlderThanDaysErrorComponent' whole_slot: '#/components/schemas/GrantsItemsUpdateWholeSlotErrorComponent' oneOf: - $ref: '#/components/schemas/GrantsItemsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateItemsNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateItemsINDEXNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateItemsINDEXVideoErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateItemsINDEXPosterErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateItemsINDEXGraphicErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateItemsINDEXDurationErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateAutomaticErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeKindErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeSeriesErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeNameErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeCategoriesErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeShortestErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeLongestErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeNewerThanDaysErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateRecipeOlderThanDaysErrorComponent' - $ref: '#/components/schemas/GrantsItemsUpdateWholeSlotErrorComponent' GrantsItemsUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantsItemsUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantsItemsUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantsItemsUpdateItemsINDEXDurationErrorComponent: type: object properties: attr: description: '* `items.INDEX.duration` - items.INDEX.duration' type: string enum: - items.INDEX.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 GrantsItemsUpdateItemsINDEXGraphicErrorComponent: type: object properties: attr: description: '* `items.INDEX.graphic` - items.INDEX.graphic' type: string enum: - items.INDEX.graphic 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 GrantsItemsUpdateItemsINDEXNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `items.INDEX.non_field_errors` - items.INDEX.non_field_errors' type: string enum: - items.INDEX.non_field_errors code: description: |- * `invalid` - invalid * `null` - null * `required` - required type: string enum: - invalid - 'null' - required detail: type: string required: - attr - code - detail GrantsItemsUpdateItemsINDEXPosterErrorComponent: type: object properties: attr: description: '* `items.INDEX.poster` - items.INDEX.poster' type: string enum: - items.INDEX.poster 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 GrantsItemsUpdateItemsINDEXVideoErrorComponent: type: object properties: attr: description: '* `items.INDEX.video` - items.INDEX.video' type: string enum: - items.INDEX.video 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 GrantsItemsUpdateItemsNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `items.non_field_errors` - items.non_field_errors' type: string enum: - items.non_field_errors code: description: |- * `not_a_list` - not_a_list * `null` - null * `required` - required type: string enum: - not_a_list - 'null' - required detail: type: string required: - attr - code - detail GrantsItemsUpdateNonFieldErrorsErrorComponent: 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 GrantsItemsUpdateRecipeCategoriesErrorComponent: type: object properties: attr: description: '* `recipe.categories` - recipe.categories' type: string enum: - recipe.categories 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 GrantsItemsUpdateRecipeKindErrorComponent: type: object properties: attr: description: '* `recipe.kind` - recipe.kind' type: string enum: - recipe.kind code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail GrantsItemsUpdateRecipeLongestErrorComponent: type: object properties: attr: description: '* `recipe.longest` - recipe.longest' type: string enum: - recipe.longest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsItemsUpdateRecipeNameErrorComponent: type: object properties: attr: description: '* `recipe.name` - recipe.name' type: string enum: - recipe.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 GrantsItemsUpdateRecipeNewerThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.newer_than_days` - recipe.newer_than_days' type: string enum: - recipe.newer_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail GrantsItemsUpdateRecipeNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `recipe.non_field_errors` - recipe.non_field_errors' type: string enum: - recipe.non_field_errors code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsItemsUpdateRecipeOlderThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.older_than_days` - recipe.older_than_days' type: string enum: - recipe.older_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail GrantsItemsUpdateRecipeSeriesErrorComponent: type: object properties: attr: description: '* `recipe.series` - recipe.series' type: string enum: - recipe.series 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 GrantsItemsUpdateRecipeShortestErrorComponent: type: object properties: attr: description: '* `recipe.shortest` - recipe.shortest' type: string enum: - recipe.shortest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsItemsUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantsItemsUpdateError' required: - errors - type GrantsItemsUpdateWholeSlotErrorComponent: type: object properties: attr: description: '* `whole_slot` - whole_slot' type: string enum: - whole_slot code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsListError: discriminator: propertyName: attr mapping: organization: '#/components/schemas/GrantsListOrganizationErrorComponent' starts_after: '#/components/schemas/GrantsListStartsAfterErrorComponent' starts_before: '#/components/schemas/GrantsListStartsBeforeErrorComponent' state: '#/components/schemas/GrantsListStateErrorComponent' oneOf: - $ref: '#/components/schemas/GrantsListOrganizationErrorComponent' - $ref: '#/components/schemas/GrantsListStartsAfterErrorComponent' - $ref: '#/components/schemas/GrantsListStartsBeforeErrorComponent' - $ref: '#/components/schemas/GrantsListStateErrorComponent' GrantsListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantsListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantsListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantsListOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `invalid` - invalid * `max_value` - max_value type: string enum: - invalid - max_value detail: type: string required: - attr - code - detail GrantsListStartsAfterErrorComponent: type: object properties: attr: description: '* `starts_after` - starts_after' type: string enum: - starts_after code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsListStartsBeforeErrorComponent: type: object properties: attr: description: '* `starts_before` - starts_before' type: string enum: - starts_before code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail GrantsListStateErrorComponent: type: object properties: attr: description: '* `state` - state' type: string enum: - state code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail GrantsListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantsListError' required: - errors - type GrantsPartialUpdateEndtimeErrorComponent: type: object properties: attr: description: '* `endtime` - endtime' type: string enum: - endtime 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 GrantsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantsPartialUpdateNonFieldErrorsErrorComponent' state: '#/components/schemas/GrantsPartialUpdateStateErrorComponent' locks_at: '#/components/schemas/GrantsPartialUpdateLocksAtErrorComponent' lock_exempt: '#/components/schemas/GrantsPartialUpdateLockExemptErrorComponent' starttime: '#/components/schemas/GrantsPartialUpdateStarttimeErrorComponent' endtime: '#/components/schemas/GrantsPartialUpdateEndtimeErrorComponent' oneOf: - $ref: '#/components/schemas/GrantsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsPartialUpdateStateErrorComponent' - $ref: '#/components/schemas/GrantsPartialUpdateLocksAtErrorComponent' - $ref: '#/components/schemas/GrantsPartialUpdateLockExemptErrorComponent' - $ref: '#/components/schemas/GrantsPartialUpdateStarttimeErrorComponent' - $ref: '#/components/schemas/GrantsPartialUpdateEndtimeErrorComponent' GrantsPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantsPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantsPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantsPartialUpdateLockExemptErrorComponent: type: object properties: attr: description: '* `lock_exempt` - lock_exempt' type: string enum: - lock_exempt code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsPartialUpdateLocksAtErrorComponent: type: object properties: attr: description: '* `locks_at` - locks_at' type: string enum: - locks_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 GrantsPartialUpdateNonFieldErrorsErrorComponent: 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 GrantsPartialUpdateStarttimeErrorComponent: 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 type: string enum: - date - invalid - make_aware - 'null' - overflow detail: type: string required: - attr - code - detail GrantsPartialUpdateStateErrorComponent: type: object properties: attr: description: '* `state` - state' type: string enum: - state code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail GrantsPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantsPartialUpdateError' required: - errors - type GrantsPublicListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' GrantsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' GrantsUpdateEndtimeErrorComponent: type: object properties: attr: description: '* `endtime` - endtime' type: string enum: - endtime 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 GrantsUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/GrantsUpdateNonFieldErrorsErrorComponent' state: '#/components/schemas/GrantsUpdateStateErrorComponent' locks_at: '#/components/schemas/GrantsUpdateLocksAtErrorComponent' lock_exempt: '#/components/schemas/GrantsUpdateLockExemptErrorComponent' starttime: '#/components/schemas/GrantsUpdateStarttimeErrorComponent' endtime: '#/components/schemas/GrantsUpdateEndtimeErrorComponent' oneOf: - $ref: '#/components/schemas/GrantsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/GrantsUpdateStateErrorComponent' - $ref: '#/components/schemas/GrantsUpdateLocksAtErrorComponent' - $ref: '#/components/schemas/GrantsUpdateLockExemptErrorComponent' - $ref: '#/components/schemas/GrantsUpdateStarttimeErrorComponent' - $ref: '#/components/schemas/GrantsUpdateEndtimeErrorComponent' GrantsUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/GrantsUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/GrantsUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' GrantsUpdateLockExemptErrorComponent: type: object properties: attr: description: '* `lock_exempt` - lock_exempt' type: string enum: - lock_exempt code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail GrantsUpdateLocksAtErrorComponent: type: object properties: attr: description: '* `locks_at` - locks_at' type: string enum: - locks_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 GrantsUpdateNonFieldErrorsErrorComponent: 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 GrantsUpdateStarttimeErrorComponent: 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 type: string enum: - date - invalid - make_aware - 'null' - overflow detail: type: string required: - attr - code - detail GrantsUpdateStateErrorComponent: type: object properties: attr: description: '* `state` - state' type: string enum: - state code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail GrantsUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/GrantsUpdateError' required: - errors - type Graphic: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true url: description: 'Where CasparCG loads it from: a full address, or a path on the site such as /infographics/ (add ?page= to hold one page). Playout adds ?duration=.' type: string readOnly: true required: - id - name - url GraphicsListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' GraphicsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' 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 Invitation: type: object properties: id: type: integer readOnly: true email: oneOf: - type: string format: email maxLength: 254 - type: string maxLength: 0 createdAt: type: string format: date-time expiresAt: type: string format: date-time required: - expiresAt - id InvitationCreated: description: |- A new invitation, with its link. The link is only ever shown here: only its hash is stored, so a lost link means a new invitation. type: object properties: id: type: integer readOnly: true email: oneOf: - type: string format: email maxLength: 254 - type: string maxLength: 0 createdAt: type: string format: date-time expiresAt: type: string format: date-time link: type: string readOnly: true qrCode: description: The link as an SVG data URI type: string readOnly: true required: - expiresAt - id - link - qrCode InvitationPreview: type: object properties: organizationId: type: integer organizationName: type: string invitedBy: type: string email: description: The address the invitation was sent to; blank for a link. type: string expiresAt: type: string format: date-time required: - email - expiresAt - invitedBy - organizationId - organizationName InvitationsAcceptCreateEmailErrorComponent: 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 * `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 InvitationsAcceptCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/InvitationsAcceptCreateNonFieldErrorsErrorComponent' email: '#/components/schemas/InvitationsAcceptCreateEmailErrorComponent' first_name: '#/components/schemas/InvitationsAcceptCreateFirstNameErrorComponent' last_name: '#/components/schemas/InvitationsAcceptCreateLastNameErrorComponent' password: '#/components/schemas/InvitationsAcceptCreatePasswordErrorComponent' oneOf: - $ref: '#/components/schemas/InvitationsAcceptCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/InvitationsAcceptCreateEmailErrorComponent' - $ref: '#/components/schemas/InvitationsAcceptCreateFirstNameErrorComponent' - $ref: '#/components/schemas/InvitationsAcceptCreateLastNameErrorComponent' - $ref: '#/components/schemas/InvitationsAcceptCreatePasswordErrorComponent' InvitationsAcceptCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/InvitationsAcceptCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/InvitationsAcceptCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' InvitationsAcceptCreateFirstNameErrorComponent: 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 * `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 InvitationsAcceptCreateLastNameErrorComponent: 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 * `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 InvitationsAcceptCreateNonFieldErrorsErrorComponent: 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 InvitationsAcceptCreatePasswordErrorComponent: 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 InvitationsAcceptCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/InvitationsAcceptCreateError' required: - errors - type InvitationsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' InviteRequest: type: object properties: email: description: Send the link here. Leave out to only get the link, to share yourself. oneOf: - type: string format: email - type: string maxLength: 0 IssuedEncoderKey: description: |- The one response that carries the password, with the encoder settings built from it. Nothing here is stored: lose it and issue a new key. type: object properties: id: type: integer readOnly: true label: type: string maxLength: 100 keyId: type: string format: uuid readOnly: true createdAt: type: string format: date-time readOnly: true lastUsedAt: type: string format: date-time nullable: true readOnly: true revokedAt: type: string format: date-time nullable: true readOnly: true password: type: string readOnly: true connections: type: array items: $ref: '#/components/schemas/ConnectionExample' readOnly: true blackmagicConfig: description: An XML file Blackmagic Web Presenter and ATEM Mini can import. type: string nullable: true readOnly: true required: - blackmagicConfig - connections - createdAt - id - keyId - label - lastUsedAt - password - revokedAt LiveAiring: description: One coming live airing of a video, in the channel's own time zone. type: object properties: id: type: integer readOnly: true starttime: type: string format: date-time readOnly: true endtime: type: string format: date-time readOnly: true required: - endtime - id - starttime LiveSource: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 100 enabled: type: boolean logoPosition: $ref: '#/components/schemas/LogoPositionEnum' isPulled: type: boolean readOnly: true pullTarget: description: Scheme, host and port of the pull address. type: string readOnly: true encoderCount: description: Encoders that hold a key to this source. A pushed source with none cannot receive a signal. type: integer readOnly: true canDelete: description: A source no programme has ever used can be deleted; one that has stays, and can be switched off. type: boolean readOnly: true streamId: type: string format: uuid readOnly: true contributionPath: type: string readOnly: true previewPath: type: string readOnly: true upcomingTransmissions: type: array items: $ref: '#/components/schemas/UpcomingTransmission' readOnly: true required: - canDelete - contributionPath - encoderCount - id - isPulled - name - previewPath - pullTarget - streamId - upcomingTransmissions LiveSourceRequest: type: object properties: name: type: string maxLength: 100 minLength: 1 enabled: type: boolean logoPosition: $ref: '#/components/schemas/LogoPositionEnum' pullUrl: description: An address Frikanalen pulls this source from (srt://, rtmp(s)://, rtsp(s)://, or https:// for HLS), instead of an encoder pushing to it. Empty makes it a pushed source again. Never returned; see pull_target. type: string maxLength: 2048 writeOnly: true required: - name LiveSourcesDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesEncoderKeysCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/LiveSourcesEncoderKeysCreateNonFieldErrorsErrorComponent' label: '#/components/schemas/LiveSourcesEncoderKeysCreateLabelErrorComponent' oneOf: - $ref: '#/components/schemas/LiveSourcesEncoderKeysCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/LiveSourcesEncoderKeysCreateLabelErrorComponent' LiveSourcesEncoderKeysCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/LiveSourcesEncoderKeysCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/LiveSourcesEncoderKeysCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesEncoderKeysCreateLabelErrorComponent: type: object properties: attr: description: '* `label` - label' type: string enum: - label 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 LiveSourcesEncoderKeysCreateNonFieldErrorsErrorComponent: 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 LiveSourcesEncoderKeysCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/LiveSourcesEncoderKeysCreateError' required: - errors - type LiveSourcesEncoderKeysDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesEncoderKeysListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesEncoderKeysReplaceErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesPartialUpdateEnabledErrorComponent: type: object properties: attr: description: '* `enabled` - enabled' type: string enum: - enabled code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail LiveSourcesPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/LiveSourcesPartialUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/LiveSourcesPartialUpdateNameErrorComponent' enabled: '#/components/schemas/LiveSourcesPartialUpdateEnabledErrorComponent' logo_position: '#/components/schemas/LiveSourcesPartialUpdateLogoPositionErrorComponent' pull_url: '#/components/schemas/LiveSourcesPartialUpdatePullUrlErrorComponent' oneOf: - $ref: '#/components/schemas/LiveSourcesPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/LiveSourcesPartialUpdateNameErrorComponent' - $ref: '#/components/schemas/LiveSourcesPartialUpdateEnabledErrorComponent' - $ref: '#/components/schemas/LiveSourcesPartialUpdateLogoPositionErrorComponent' - $ref: '#/components/schemas/LiveSourcesPartialUpdatePullUrlErrorComponent' LiveSourcesPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/LiveSourcesPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/LiveSourcesPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesPartialUpdateLogoPositionErrorComponent: type: object properties: attr: description: '* `logo_position` - logo_position' type: string enum: - logo_position code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail LiveSourcesPartialUpdateNameErrorComponent: 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 LiveSourcesPartialUpdateNonFieldErrorsErrorComponent: 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 LiveSourcesPartialUpdatePullUrlErrorComponent: type: object properties: attr: description: '* `pull_url` - pull_url' type: string enum: - pull_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 LiveSourcesPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/LiveSourcesPartialUpdateError' required: - errors - type LiveSourcesPreviewTokenCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesSignalHistoryRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' LiveSourcesSignalRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' 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 otp: type: string writeOnly: true required: - email - password LogoPositionEnum: description: |- * `top-right` - Øverst til høyre * `stortinget-clock` - Rundt Stortingets klokke type: string enum: - top-right - stortinget-clock 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 Method: type: object properties: id: description: '`totp-` or `webauthn-`' type: string readOnly: true kind: allOf: - $ref: '#/components/schemas/MethodKindEnum' readOnly: true name: type: string readOnly: true passkey: description: A key that can log in on its own. Null when the browser did not say. type: boolean nullable: true readOnly: true createdAt: type: string format: date-time nullable: true readOnly: true lastUsedAt: type: string format: date-time nullable: true readOnly: true required: - createdAt - id - kind - lastUsedAt - name - passkey MethodAdded: type: object properties: method: allOf: - $ref: '#/components/schemas/Method' readOnly: true recoveryCodes: description: Only with the account's first method; shown once. type: array items: type: string nullable: true readOnly: true required: - method - recoveryCodes MethodKindEnum: description: |- * `totp` - totp * `webauthn` - webauthn type: string enum: - totp - webauthn 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 NewsBulletinsCreateEndsAtErrorComponent: type: object properties: attr: description: '* `ends_at` - ends_at' type: string enum: - ends_at 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 NewsBulletinsCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/NewsBulletinsCreateNonFieldErrorsErrorComponent' heading: '#/components/schemas/NewsBulletinsCreateHeadingErrorComponent' text: '#/components/schemas/NewsBulletinsCreateTextErrorComponent' template: '#/components/schemas/NewsBulletinsCreateTemplateErrorComponent' is_published: '#/components/schemas/NewsBulletinsCreateIsPublishedErrorComponent' starts_at: '#/components/schemas/NewsBulletinsCreateStartsAtErrorComponent' ends_at: '#/components/schemas/NewsBulletinsCreateEndsAtErrorComponent' priority: '#/components/schemas/NewsBulletinsCreatePriorityErrorComponent' on_air: '#/components/schemas/NewsBulletinsCreateOnAirErrorComponent' on_infographics: '#/components/schemas/NewsBulletinsCreateOnInfographicsErrorComponent' oneOf: - $ref: '#/components/schemas/NewsBulletinsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateHeadingErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateTextErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateTemplateErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateIsPublishedErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateStartsAtErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateEndsAtErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreatePriorityErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateOnAirErrorComponent' - $ref: '#/components/schemas/NewsBulletinsCreateOnInfographicsErrorComponent' 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 NewsBulletinsCreateOnAirErrorComponent: type: object properties: attr: description: '* `on_air` - on_air' type: string enum: - on_air code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsCreateOnInfographicsErrorComponent: type: object properties: attr: description: '* `on_infographics` - on_infographics' type: string enum: - on_infographics code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsCreatePriorityErrorComponent: 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 NewsBulletinsCreateStartsAtErrorComponent: type: object properties: attr: description: '* `starts_at` - starts_at' type: string enum: - starts_at 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 NewsBulletinsCreateTemplateErrorComponent: type: object properties: attr: description: '* `template` - template' type: string enum: - template code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - '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 * `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 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' NewsBulletinsListError: discriminator: propertyName: attr mapping: placement: '#/components/schemas/NewsBulletinsListPlacementErrorComponent' oneOf: - $ref: '#/components/schemas/NewsBulletinsListPlacementErrorComponent' NewsBulletinsListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/NewsBulletinsListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/NewsBulletinsListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' NewsBulletinsListPlacementErrorComponent: type: object properties: attr: description: '* `placement` - placement' type: string enum: - placement code: description: '* `invalid_choice` - invalid_choice' type: string enum: - invalid_choice detail: type: string required: - attr - code - detail NewsBulletinsListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/NewsBulletinsListError' required: - errors - type NewsBulletinsPartialUpdateEndsAtErrorComponent: type: object properties: attr: description: '* `ends_at` - ends_at' type: string enum: - ends_at 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 NewsBulletinsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/NewsBulletinsPartialUpdateNonFieldErrorsErrorComponent' heading: '#/components/schemas/NewsBulletinsPartialUpdateHeadingErrorComponent' text: '#/components/schemas/NewsBulletinsPartialUpdateTextErrorComponent' template: '#/components/schemas/NewsBulletinsPartialUpdateTemplateErrorComponent' is_published: '#/components/schemas/NewsBulletinsPartialUpdateIsPublishedErrorComponent' starts_at: '#/components/schemas/NewsBulletinsPartialUpdateStartsAtErrorComponent' ends_at: '#/components/schemas/NewsBulletinsPartialUpdateEndsAtErrorComponent' priority: '#/components/schemas/NewsBulletinsPartialUpdatePriorityErrorComponent' on_air: '#/components/schemas/NewsBulletinsPartialUpdateOnAirErrorComponent' on_infographics: '#/components/schemas/NewsBulletinsPartialUpdateOnInfographicsErrorComponent' oneOf: - $ref: '#/components/schemas/NewsBulletinsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateHeadingErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateTextErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateTemplateErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateIsPublishedErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateStartsAtErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateEndsAtErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdatePriorityErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateOnAirErrorComponent' - $ref: '#/components/schemas/NewsBulletinsPartialUpdateOnInfographicsErrorComponent' 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 NewsBulletinsPartialUpdateOnAirErrorComponent: type: object properties: attr: description: '* `on_air` - on_air' type: string enum: - on_air code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsPartialUpdateOnInfographicsErrorComponent: type: object properties: attr: description: '* `on_infographics` - on_infographics' type: string enum: - on_infographics code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail NewsBulletinsPartialUpdatePriorityErrorComponent: 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 NewsBulletinsPartialUpdateStartsAtErrorComponent: type: object properties: attr: description: '* `starts_at` - starts_at' type: string enum: - starts_at 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 NewsBulletinsPartialUpdateTemplateErrorComponent: type: object properties: attr: description: '* `template` - template' type: string enum: - template code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - '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 * `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 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' NullEnum: enum: - null ObtainTokenCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/ObtainTokenCreateNonFieldErrorsErrorComponent' username: '#/components/schemas/ObtainTokenCreateUsernameErrorComponent' password: '#/components/schemas/ObtainTokenCreatePasswordErrorComponent' otp: '#/components/schemas/ObtainTokenCreateOtpErrorComponent' oneOf: - $ref: '#/components/schemas/ObtainTokenCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ObtainTokenCreateUsernameErrorComponent' - $ref: '#/components/schemas/ObtainTokenCreatePasswordErrorComponent' - $ref: '#/components/schemas/ObtainTokenCreateOtpErrorComponent' 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 ObtainTokenCreateOtpErrorComponent: type: object properties: attr: description: '* `otp` - otp' type: string enum: - otp code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed 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 orgnr: 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: |- Always None: no phone number is published for an organization or its editor. Kept so clients built against the old schema still parse. type: string nullable: true readOnly: true fkmember: type: boolean readOnly: true isRogue: type: boolean readOnly: true required: - editorEmail - editorId - editorMsisdn - editorName - fkmember - id - isRogue - name - orgnr OrganizationAffidavitCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationAffidavitFileRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationAffidavitListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' 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' orgnr: '#/components/schemas/OrganizationCreateOrgnrErrorComponent' 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/OrganizationCreateOrgnrErrorComponent' - $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 OrganizationCreateOrgnrErrorComponent: type: object properties: attr: description: '* `orgnr` - orgnr' type: string enum: - orgnr code: description: |- * `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: - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed 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' OrganizationInvitationsCreateEmailErrorComponent: type: object properties: attr: description: '* `email` - email' type: string enum: - email code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail OrganizationInvitationsCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/OrganizationInvitationsCreateNonFieldErrorsErrorComponent' email: '#/components/schemas/OrganizationInvitationsCreateEmailErrorComponent' oneOf: - $ref: '#/components/schemas/OrganizationInvitationsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/OrganizationInvitationsCreateEmailErrorComponent' OrganizationInvitationsCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/OrganizationInvitationsCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/OrganizationInvitationsCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' OrganizationInvitationsCreateNonFieldErrorsErrorComponent: 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 OrganizationInvitationsCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/OrganizationInvitationsCreateError' required: - errors - type OrganizationInvitationsDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationInvitationsListErrorResponse400: 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' OrganizationLiveSourcesCreateEnabledErrorComponent: type: object properties: attr: description: '* `enabled` - enabled' type: string enum: - enabled code: description: |- * `invalid` - invalid * `null` - null type: string enum: - invalid - 'null' detail: type: string required: - attr - code - detail OrganizationLiveSourcesCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/OrganizationLiveSourcesCreateNonFieldErrorsErrorComponent' name: '#/components/schemas/OrganizationLiveSourcesCreateNameErrorComponent' enabled: '#/components/schemas/OrganizationLiveSourcesCreateEnabledErrorComponent' logo_position: '#/components/schemas/OrganizationLiveSourcesCreateLogoPositionErrorComponent' pull_url: '#/components/schemas/OrganizationLiveSourcesCreatePullUrlErrorComponent' oneOf: - $ref: '#/components/schemas/OrganizationLiveSourcesCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/OrganizationLiveSourcesCreateNameErrorComponent' - $ref: '#/components/schemas/OrganizationLiveSourcesCreateEnabledErrorComponent' - $ref: '#/components/schemas/OrganizationLiveSourcesCreateLogoPositionErrorComponent' - $ref: '#/components/schemas/OrganizationLiveSourcesCreatePullUrlErrorComponent' OrganizationLiveSourcesCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/OrganizationLiveSourcesCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/OrganizationLiveSourcesCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' OrganizationLiveSourcesCreateLogoPositionErrorComponent: type: object properties: attr: description: '* `logo_position` - logo_position' type: string enum: - logo_position code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail OrganizationLiveSourcesCreateNameErrorComponent: 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 OrganizationLiveSourcesCreateNonFieldErrorsErrorComponent: 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 OrganizationLiveSourcesCreatePullUrlErrorComponent: type: object properties: attr: description: '* `pull_url` - pull_url' type: string enum: - pull_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 OrganizationLiveSourcesCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/OrganizationLiveSourcesCreateError' required: - errors - type OrganizationLiveSourcesListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationMember: type: object properties: id: type: integer name: type: string email: type: string format: email isEditor: type: boolean identityConfirmed: description: 'Whether Frikanalen has confirmed who they are: needed to set up airtime.' type: boolean required: - email - id - identityConfirmed - isEditor - name OrganizationMembersDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' OrganizationMembersListErrorResponse400: 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' orgnr: '#/components/schemas/OrganizationPartialUpdateOrgnrErrorComponent' 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/OrganizationPartialUpdateOrgnrErrorComponent' - $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 OrganizationPartialUpdateOrgnrErrorComponent: type: object properties: attr: description: '* `orgnr` - orgnr' type: string enum: - orgnr code: description: |- * `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: - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed 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 orgnr: 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 - orgnr 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' orgnr: '#/components/schemas/OrganizationUpdateOrgnrErrorComponent' 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/OrganizationUpdateOrgnrErrorComponent' - $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 OrganizationUpdateOrgnrErrorComponent: type: object properties: attr: description: '* `orgnr` - orgnr' type: string enum: - orgnr code: description: |- * `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: - invalid - max_length - 'null' - null_characters_not_allowed - required - surrogate_characters_not_allowed 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 PaginatedAirtimeGrantList: 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/AirtimeGrant' required: - count - results 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 PaginatedGrantRequestEnvelopeList: 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/GrantRequestEnvelope' 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 PaginatedPosterList: 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/Poster' 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 PaginatedRecurringSlotList: 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/RecurringSlot' required: - count - results PaginatedRecurringSlotRequestEnvelopeList: 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/RecurringSlotRequestEnvelope' 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 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 PasskeysAvailable: type: object properties: enabled: type: boolean readOnly: true required: - enabled PasswordChangeRequest: type: object properties: currentPassword: type: string minLength: 1 writeOnly: true newPassword: type: string minLength: 1 writeOnly: true required: - currentPassword - newPassword PasswordResetConfirmRequest: type: object properties: uid: type: string minLength: 1 token: type: string minLength: 1 newPassword: type: string minLength: 1 writeOnly: true otp: type: string writeOnly: true required: - newPassword - token - uid PasswordResetRequestRequest: type: object properties: email: type: string format: email minLength: 1 required: - email PatchedAirtimeGrantUpdateRequest: description: Staff cancels a grant, moves its deadline or end, or exempts it from locking. type: object properties: state: description: |- Only 'cancelled': withdraw the grant and free its window. * `cancelled` - cancelled allOf: - $ref: '#/components/schemas/AirtimeGrantUpdateStateEnum' locksAt: type: string format: date-time lockExempt: type: boolean starttime: description: Move the start, until the grant is on air. A start that has passed means now. Entries that no longer fit come off the list; an earlier start needs the extra time to be free. type: string format: date-time endtime: description: 'Move the end, even while the grant is on air: what is on air past it is cut short there. Entries that no longer fit come off the list. A later end needs the extra time to be free.' type: string format: date-time 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 maxLength: 1692 minLength: 1 template: $ref: '#/components/schemas/TemplateEnum' isPublished: type: boolean startsAt: description: 'Shown from this time. Empty: as soon as it is published.' type: string format: date-time nullable: true endsAt: description: 'Shown until this time. Empty: until it is unpublished.' type: string format: date-time nullable: true priority: description: Higher is shown first, and more often when there is little time. type: integer maximum: 32767 minimum: -32768 onAir: description: Shown by the on-air graphics between programmes. type: boolean onInfographics: description: Shown in the infographics rotation. 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 PatchedLiveSourceRequest: type: object properties: name: type: string maxLength: 100 minLength: 1 enabled: type: boolean logoPosition: $ref: '#/components/schemas/LogoPositionEnum' pullUrl: description: An address Frikanalen pulls this source from (srt://, rtmp(s)://, rtsp(s)://, or https:// for HLS), instead of an encoder pushing to it. Empty makes it a pushed source again. Never returned; see pull_target. type: string maxLength: 2048 writeOnly: true 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 orgnr: 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. PatchedPosterUpdateRequest: type: object properties: template: $ref: '#/components/schemas/TemplateEnum' heading: type: string maxLength: 80 minLength: 1 text: type: string maxLength: 1692 duration: description: How long it is on screen each time it airs. type: string PatchedProgramImageRequest: type: object properties: role: $ref: '#/components/schemas/RoleEnum' PatchedRecurringSlotRequest: description: |- Recurring airtime. Each occurrence becomes an airtime grant two Mondays before it airs; the grant copies the slot's time and recipe. Staff create, change and delete slots. A change only affects grants issued after it: grants already issued keep their time and owner. type: object properties: organization: description: Who gets the airtime. Unowned slots issue grants to the station. type: integer nullable: true frequency: $ref: '#/components/schemas/FrequencyEnum' interval: type: integer maximum: 32767 minimum: 1 weekdays: description: 0 is Monday. Required for weekly and monthly slots; for daily slots, empty means every day. type: array items: type: integer maximum: 6 minimum: 0 monthWeeks: description: 'Monthly slots: which occurrence of the weekday in the month, 1-5, or -1 for the last.' type: array items: type: integer maximum: 5 minimum: -1 startTime: description: Wall-clock time in Europe/Oslo. type: string format: time duration: type: string startsOn: type: string format: date endsOn: type: string format: date nullable: true recipe: description: "How the slot's grants program themselves. Leave out on a new owner for everything they upload. Null: the grants are set up by hand. A jukebox recipe makes this the station's airtime, with no organization." allOf: - $ref: '#/components/schemas/RecipeRequest' nullable: true PatchedRenameRequest: type: object properties: name: type: string maxLength: 64 minLength: 1 PatchedScheduleitemModifyRequest: description: |- Staff corrections to the compiled schedule. Organizations program airtime through grants; only the compiler and staff write schedule items. A staff entry carries no grant and no schedule reason, which holds it to the database's no-overlap constraint -- its violation is reported here as a 400. type: object properties: video: type: integer nullable: true 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 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 description: type: string 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' liveSource: description: "Makes the video a live programme: it airs from this live source, one of the organization's own, until it has a file. Null for none." type: integer nullable: true uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true Poster: description: A text poster made from an on-air graphics template. type: object properties: id: type: integer readOnly: true organization: allOf: - $ref: '#/components/schemas/GrantOrganization' readOnly: true template: $ref: '#/components/schemas/TemplateEnum' heading: type: string maxLength: 80 text: type: string maxLength: 1692 duration: description: How long it is on screen each time it airs. type: string minimumDuration: description: 'The time it takes to read every slide once: the shortest `duration` allowed. A blank line in `text` starts a new slide.' type: string readOnly: true createdAt: type: string format: date-time readOnly: true updatedAt: type: string format: date-time readOnly: true required: - createdAt - heading - id - minimumDuration - organization - updatedAt PosterRequest: description: A text poster made from an on-air graphics template. type: object properties: organizationId: description: The organization the poster is for. Only when creating one. type: integer writeOnly: true template: $ref: '#/components/schemas/TemplateEnum' heading: type: string maxLength: 80 minLength: 1 text: type: string maxLength: 1692 duration: description: How long it is on screen each time it airs. type: string required: - heading - organizationId PostersCreateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_value - min_value - 'null' detail: type: string required: - attr - code - detail PostersCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/PostersCreateNonFieldErrorsErrorComponent' organization_id: '#/components/schemas/PostersCreateOrganizationIdErrorComponent' template: '#/components/schemas/PostersCreateTemplateErrorComponent' heading: '#/components/schemas/PostersCreateHeadingErrorComponent' text: '#/components/schemas/PostersCreateTextErrorComponent' duration: '#/components/schemas/PostersCreateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/PostersCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/PostersCreateOrganizationIdErrorComponent' - $ref: '#/components/schemas/PostersCreateTemplateErrorComponent' - $ref: '#/components/schemas/PostersCreateHeadingErrorComponent' - $ref: '#/components/schemas/PostersCreateTextErrorComponent' - $ref: '#/components/schemas/PostersCreateDurationErrorComponent' PostersCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/PostersCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/PostersCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' PostersCreateHeadingErrorComponent: 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 PostersCreateNonFieldErrorsErrorComponent: 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 PostersCreateOrganizationIdErrorComponent: type: object properties: attr: description: '* `organization_id` - organization_id' type: string enum: - organization_id 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 PostersCreateTemplateErrorComponent: type: object properties: attr: description: '* `template` - template' type: string enum: - template code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail PostersCreateTextErrorComponent: type: object properties: attr: description: '* `text` - text' type: string enum: - 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 PostersCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/PostersCreateError' required: - errors - type PostersDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' PostersListError: discriminator: propertyName: attr mapping: organization: '#/components/schemas/PostersListOrganizationErrorComponent' oneOf: - $ref: '#/components/schemas/PostersListOrganizationErrorComponent' PostersListErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/PostersListValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/PostersListValidationError' - $ref: '#/components/schemas/ParseErrorResponse' PostersListOrganizationErrorComponent: 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 PostersListValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/PostersListError' required: - errors - type PostersPartialUpdateDurationErrorComponent: type: object properties: attr: description: '* `duration` - duration' type: string enum: - duration code: description: |- * `invalid` - invalid * `max_value` - max_value * `min_value` - min_value * `null` - null type: string enum: - invalid - max_value - min_value - 'null' detail: type: string required: - attr - code - detail PostersPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/PostersPartialUpdateNonFieldErrorsErrorComponent' template: '#/components/schemas/PostersPartialUpdateTemplateErrorComponent' heading: '#/components/schemas/PostersPartialUpdateHeadingErrorComponent' text: '#/components/schemas/PostersPartialUpdateTextErrorComponent' duration: '#/components/schemas/PostersPartialUpdateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/PostersPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/PostersPartialUpdateTemplateErrorComponent' - $ref: '#/components/schemas/PostersPartialUpdateHeadingErrorComponent' - $ref: '#/components/schemas/PostersPartialUpdateTextErrorComponent' - $ref: '#/components/schemas/PostersPartialUpdateDurationErrorComponent' PostersPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/PostersPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/PostersPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' PostersPartialUpdateHeadingErrorComponent: 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 * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - blank - invalid - max_length - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail PostersPartialUpdateNonFieldErrorsErrorComponent: 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 PostersPartialUpdateTemplateErrorComponent: type: object properties: attr: description: '* `template` - template' type: string enum: - template code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail PostersPartialUpdateTextErrorComponent: type: object properties: attr: description: '* `text` - text' type: string enum: - 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 PostersPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/PostersPartialUpdateError' required: - errors - type PostersRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' PreviewToken: type: object properties: token: description: 'Send as `Authorization: Bearer ` with the WHEP request.' type: string expiresAt: description: The token must be presented before this; a session it started keeps playing. type: string format: date-time contributionPath: description: The original feed. WebRTC carries its video but not AAC audio. type: string previewPath: description: The Opus-audio preview, if a conversion worker runs for this source. type: string programPath: description: A low-latency copy of what the channel is airing, readable with the same token. Empty where the receiver has no programme return. type: string required: - contributionPath - expiresAt - previewPath - programPath - token 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 PublicGrant: description: 'Whose airtime a window is: all the public schedule says of a grant.' type: object properties: id: type: integer readOnly: true organization: allOf: - $ref: '#/components/schemas/PublicGrantOrganization' readOnly: true station: description: "True for the station's own airtime (the jukebox, Stortinget): the organization is the station itself, not a holder to announce." type: boolean readOnly: true starttime: type: string format: date-time readOnly: true endtime: type: string format: date-time readOnly: true required: - endtime - id - organization - starttime - station PublicGrantOrganization: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true fkmember: description: Tick when the editor's signed affidavit has been received. This approves the membership and confirms the editor's identity. type: boolean readOnly: true title: Member required: - fkmember - id - name PublicRecurringSlot: description: |- A regular slot as anyone may see it: who has the airtime and when, without how it programs itself. type: object properties: id: type: integer readOnly: true organization: allOf: - $ref: '#/components/schemas/PublicGrantOrganization' nullable: true readOnly: true frequency: allOf: - $ref: '#/components/schemas/FrequencyEnum' readOnly: true interval: type: integer readOnly: true weekdays: description: 0 is Monday. Required for weekly and monthly slots; for daily slots, empty means every day. type: array items: type: integer maximum: 6 minimum: 0 readOnly: true monthWeeks: description: 'Monthly slots: which occurrence of the weekday in the month, 1-5, or -1 for the last.' type: array items: type: integer maximum: 5 minimum: -1 readOnly: true startTime: description: Wall-clock time in Europe/Oslo. type: string format: time readOnly: true duration: type: string readOnly: true startsOn: type: string format: date readOnly: true endsOn: type: string format: date nullable: true readOnly: true jukebox: description: The station's own airtime, filled from the archive. type: boolean readOnly: true required: - duration - endsOn - frequency - id - interval - jukebox - monthWeeks - organization - startTime - startsOn - weekdays Recipe: description: |- How a slot or a grant programs itself. Read, it describes the recipe. Written, it is a choice: the kind and what that kind needs. `uploads` (everything the owner uploads, new first, then the archive) needs nothing; `series` needs one of the owner's series; `jukebox` (staff only, the station's airtime) takes an optional theme: categories, shortest and longest length, and how new or old the videos may be. type: object properties: id: type: integer readOnly: true kind: $ref: '#/components/schemas/RecipeKindEnum' description: type: string readOnly: true series: type: integer nullable: true seriesName: type: string nullable: true readOnly: true name: type: string maxLength: 100 categories: type: array items: type: integer maximum: 2147483647 minimum: -2147483648 shortest: type: string nullable: true longest: type: string nullable: true newerThanDays: type: integer minimum: 1 nullable: true olderThanDays: type: integer minimum: 1 nullable: true required: - description - id - kind - seriesName RecipeKindEnum: description: |- * `uploads` - Everything the owner uploads * `series` - One of the owner's series * `playlist` - A list of videos * `jukebox` - The video jukebox type: string enum: - uploads - series - playlist - jukebox RecipeRequest: description: |- How a slot or a grant programs itself. Read, it describes the recipe. Written, it is a choice: the kind and what that kind needs. `uploads` (everything the owner uploads, new first, then the archive) needs nothing; `series` needs one of the owner's series; `jukebox` (staff only, the station's airtime) takes an optional theme: categories, shortest and longest length, and how new or old the videos may be. type: object properties: kind: $ref: '#/components/schemas/RecipeKindEnum' series: type: integer nullable: true name: type: string maxLength: 100 categories: type: array items: type: integer maximum: 2147483647 minimum: -2147483648 shortest: type: string nullable: true longest: type: string nullable: true newerThanDays: type: integer minimum: 1 nullable: true olderThanDays: type: integer minimum: 1 nullable: true required: - kind RecordingsResultCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecordingsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecoveryCodes: type: object properties: recoveryCodes: type: array items: type: string readOnly: true required: - recoveryCodes RecurringSlot: description: |- Recurring airtime. Each occurrence becomes an airtime grant two Mondays before it airs; the grant copies the slot's time and recipe. Staff create, change and delete slots. A change only affects grants issued after it: grants already issued keep their time and owner. type: object properties: id: type: integer readOnly: true organization: description: Who gets the airtime. Unowned slots issue grants to the station. type: integer nullable: true organizationName: type: string nullable: true readOnly: true frequency: $ref: '#/components/schemas/FrequencyEnum' interval: type: integer maximum: 32767 minimum: 1 weekdays: description: 0 is Monday. Required for weekly and monthly slots; for daily slots, empty means every day. type: array items: type: integer maximum: 6 minimum: 0 monthWeeks: description: 'Monthly slots: which occurrence of the weekday in the month, 1-5, or -1 for the last.' type: array items: type: integer maximum: 5 minimum: -1 startTime: description: Wall-clock time in Europe/Oslo. type: string format: time duration: type: string startsOn: type: string format: date endsOn: type: string format: date nullable: true recipe: description: "How the slot's grants program themselves. Leave out on a new owner for everything they upload. Null: the grants are set up by hand. A jukebox recipe makes this the station's airtime, with no organization." allOf: - $ref: '#/components/schemas/Recipe' nullable: true description: type: string readOnly: true required: - description - duration - id - organization - organizationName - startTime - startsOn RecurringSlotCreationRequest: description: Names for the organization and requester, so lists need no lookups. type: object properties: id: type: integer readOnly: true organization: type: integer organizationName: type: string readOnly: true requestedBy: type: integer readOnly: true requestedByName: type: string readOnly: true message: description: What the organization wants Frikanalen to know. type: string day: allOf: - $ref: '#/components/schemas/DayEnum' maximum: 2147483647 minimum: -2147483648 startTime: type: string format: time duration: type: string status: allOf: - $ref: '#/components/schemas/ReviewStatusEnum' 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 slot: type: integer nullable: true readOnly: true required: - adminComment - createdAt - day - duration - id - organization - organizationName - requestedBy - requestedByName - reviewedAt - reviewedBy - slot - startTime - status RecurringSlotCreationRequestRequest: description: Names for the organization and requester, so lists need no lookups. type: object properties: organization: type: integer message: description: What the organization wants Frikanalen to know. type: string day: allOf: - $ref: '#/components/schemas/DayEnum' maximum: 2147483647 minimum: -2147483648 startTime: type: string format: time duration: type: string required: - day - duration - organization - startTime RecurringSlotOwnershipRequest: description: Names for the organization and requester, so lists need no lookups. type: object properties: id: type: integer readOnly: true organization: type: integer organizationName: type: string readOnly: true requestedBy: type: integer readOnly: true requestedByName: type: string readOnly: true message: description: What the organization wants Frikanalen to know. type: string slot: type: integer slotDescription: type: string readOnly: true 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/ReviewStatusEnum' 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 - organizationName - previousOrganization - requestedBy - requestedByName - reviewedAt - reviewedBy - slot - slotDescription - status RecurringSlotOwnershipRequestRequest: description: Names for the organization and requester, so lists need no lookups. type: object properties: organization: type: integer message: description: What the organization wants Frikanalen to know. type: string slot: type: integer required: - organization - slot RecurringSlotRequest: description: |- Recurring airtime. Each occurrence becomes an airtime grant two Mondays before it airs; the grant copies the slot's time and recipe. Staff create, change and delete slots. A change only affects grants issued after it: grants already issued keep their time and owner. type: object properties: organization: description: Who gets the airtime. Unowned slots issue grants to the station. type: integer nullable: true frequency: $ref: '#/components/schemas/FrequencyEnum' interval: type: integer maximum: 32767 minimum: 1 weekdays: description: 0 is Monday. Required for weekly and monthly slots; for daily slots, empty means every day. type: array items: type: integer maximum: 6 minimum: 0 monthWeeks: description: 'Monthly slots: which occurrence of the weekday in the month, 1-5, or -1 for the last.' type: array items: type: integer maximum: 5 minimum: -1 startTime: description: Wall-clock time in Europe/Oslo. type: string format: time duration: type: string startsOn: type: string format: date endsOn: type: string format: date nullable: true recipe: description: "How the slot's grants program themselves. Leave out on a new owner for everything they upload. Null: the grants are set up by hand. A jukebox recipe makes this the station's airtime, with no organization." allOf: - $ref: '#/components/schemas/RecipeRequest' nullable: true required: - duration - organization - startTime - startsOn RecurringSlotRequestEnvelope: description: Read envelope around the two deliberately separate request models. type: object properties: creation: allOf: - $ref: '#/components/schemas/RecurringSlotCreationRequest' readOnly: true ownership: allOf: - $ref: '#/components/schemas/RecurringSlotOwnershipRequest' readOnly: true required: - creation - ownership RecurringSlotRequestsCreationCreateDayErrorComponent: 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 RecurringSlotRequestsCreationCreateDurationErrorComponent: 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 RecurringSlotRequestsCreationCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotRequestsCreationCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/RecurringSlotRequestsCreationCreateOrganizationErrorComponent' message: '#/components/schemas/RecurringSlotRequestsCreationCreateMessageErrorComponent' day: '#/components/schemas/RecurringSlotRequestsCreationCreateDayErrorComponent' start_time: '#/components/schemas/RecurringSlotRequestsCreationCreateStartTimeErrorComponent' duration: '#/components/schemas/RecurringSlotRequestsCreationCreateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateOrganizationErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateMessageErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateDayErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateStartTimeErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateDurationErrorComponent' RecurringSlotRequestsCreationCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotRequestsCreationCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotRequestsCreationCreateMessageErrorComponent: type: object properties: attr: description: '* `message` - message' type: string enum: - message code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail RecurringSlotRequestsCreationCreateNonFieldErrorsErrorComponent: 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 RecurringSlotRequestsCreationCreateOrganizationErrorComponent: 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 RecurringSlotRequestsCreationCreateStartTimeErrorComponent: 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 RecurringSlotRequestsCreationCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotRequestsCreationCreateError' required: - errors - type RecurringSlotRequestsCreationDecisionCreateAdminCommentErrorComponent: type: object properties: attr: description: '* `admin_comment` - admin_comment' type: string enum: - admin_comment 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 RecurringSlotRequestsCreationDecisionCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateNonFieldErrorsErrorComponent' status: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateStatusErrorComponent' admin_comment: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateAdminCommentErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateStatusErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateAdminCommentErrorComponent' RecurringSlotRequestsCreationDecisionCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotRequestsCreationDecisionCreateNonFieldErrorsErrorComponent: 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 RecurringSlotRequestsCreationDecisionCreateStatusErrorComponent: type: object properties: attr: description: '* `status` - status' type: string enum: - status code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotRequestsCreationDecisionCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotRequestsCreationDecisionCreateError' required: - errors - type RecurringSlotRequestsListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotRequestsOwnershipCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotRequestsOwnershipCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/RecurringSlotRequestsOwnershipCreateOrganizationErrorComponent' message: '#/components/schemas/RecurringSlotRequestsOwnershipCreateMessageErrorComponent' slot: '#/components/schemas/RecurringSlotRequestsOwnershipCreateSlotErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateOrganizationErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateMessageErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateSlotErrorComponent' RecurringSlotRequestsOwnershipCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotRequestsOwnershipCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotRequestsOwnershipCreateMessageErrorComponent: type: object properties: attr: description: '* `message` - message' type: string enum: - message code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail RecurringSlotRequestsOwnershipCreateNonFieldErrorsErrorComponent: 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 RecurringSlotRequestsOwnershipCreateOrganizationErrorComponent: 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 RecurringSlotRequestsOwnershipCreateSlotErrorComponent: type: object properties: attr: description: '* `slot` - slot' type: string enum: - 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 RecurringSlotRequestsOwnershipCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotRequestsOwnershipCreateError' required: - errors - type RecurringSlotRequestsOwnershipDecisionCreateAdminCommentErrorComponent: type: object properties: attr: description: '* `admin_comment` - admin_comment' type: string enum: - admin_comment 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 RecurringSlotRequestsOwnershipDecisionCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateNonFieldErrorsErrorComponent' status: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateStatusErrorComponent' admin_comment: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateAdminCommentErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateStatusErrorComponent' - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateAdminCommentErrorComponent' RecurringSlotRequestsOwnershipDecisionCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotRequestsOwnershipDecisionCreateNonFieldErrorsErrorComponent: 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 RecurringSlotRequestsOwnershipDecisionCreateStatusErrorComponent: type: object properties: attr: description: '* `status` - status' type: string enum: - status code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotRequestsOwnershipDecisionCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotRequestsOwnershipDecisionCreateError' required: - errors - type RecurringSlotsCreateDurationErrorComponent: 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 RecurringSlotsCreateEndsOnErrorComponent: type: object properties: attr: description: '* `ends_on` - ends_on' type: string enum: - ends_on code: description: |- * `datetime` - datetime * `invalid` - invalid type: string enum: - datetime - invalid detail: type: string required: - attr - code - detail RecurringSlotsCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotsCreateNonFieldErrorsErrorComponent' organization: '#/components/schemas/RecurringSlotsCreateOrganizationErrorComponent' frequency: '#/components/schemas/RecurringSlotsCreateFrequencyErrorComponent' interval: '#/components/schemas/RecurringSlotsCreateIntervalErrorComponent' weekdays: '#/components/schemas/RecurringSlotsCreateWeekdaysErrorComponent' weekdays.INDEX: '#/components/schemas/RecurringSlotsCreateWeekdaysINDEXErrorComponent' month_weeks: '#/components/schemas/RecurringSlotsCreateMonthWeeksErrorComponent' month_weeks.INDEX: '#/components/schemas/RecurringSlotsCreateMonthWeeksINDEXErrorComponent' start_time: '#/components/schemas/RecurringSlotsCreateStartTimeErrorComponent' duration: '#/components/schemas/RecurringSlotsCreateDurationErrorComponent' starts_on: '#/components/schemas/RecurringSlotsCreateStartsOnErrorComponent' ends_on: '#/components/schemas/RecurringSlotsCreateEndsOnErrorComponent' recipe.non_field_errors: '#/components/schemas/RecurringSlotsCreateRecipeNonFieldErrorsErrorComponent' recipe.kind: '#/components/schemas/RecurringSlotsCreateRecipeKindErrorComponent' recipe.series: '#/components/schemas/RecurringSlotsCreateRecipeSeriesErrorComponent' recipe.name: '#/components/schemas/RecurringSlotsCreateRecipeNameErrorComponent' recipe.categories: '#/components/schemas/RecurringSlotsCreateRecipeCategoriesErrorComponent' recipe.shortest: '#/components/schemas/RecurringSlotsCreateRecipeShortestErrorComponent' recipe.longest: '#/components/schemas/RecurringSlotsCreateRecipeLongestErrorComponent' recipe.newer_than_days: '#/components/schemas/RecurringSlotsCreateRecipeNewerThanDaysErrorComponent' recipe.older_than_days: '#/components/schemas/RecurringSlotsCreateRecipeOlderThanDaysErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateOrganizationErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateFrequencyErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateIntervalErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateWeekdaysErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateWeekdaysINDEXErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateMonthWeeksErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateMonthWeeksINDEXErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateStartTimeErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateDurationErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateStartsOnErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateEndsOnErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeKindErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeSeriesErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeNameErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeCategoriesErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeShortestErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeLongestErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeNewerThanDaysErrorComponent' - $ref: '#/components/schemas/RecurringSlotsCreateRecipeOlderThanDaysErrorComponent' RecurringSlotsCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotsCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotsCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsCreateFrequencyErrorComponent: type: object properties: attr: description: '* `frequency` - frequency' type: string enum: - frequency code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail RecurringSlotsCreateIntervalErrorComponent: type: object properties: attr: description: '* `interval` - interval' type: string enum: - interval 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 RecurringSlotsCreateMonthWeeksErrorComponent: type: object properties: attr: description: '* `month_weeks` - month_weeks' type: string enum: - month_weeks code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail RecurringSlotsCreateMonthWeeksINDEXErrorComponent: type: object properties: attr: description: '* `month_weeks.INDEX` - month_weeks.INDEX' type: string enum: - month_weeks.INDEX 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 RecurringSlotsCreateNonFieldErrorsErrorComponent: 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 RecurringSlotsCreateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `required` - required type: string enum: - does_not_exist - incorrect_type - required detail: type: string required: - attr - code - detail RecurringSlotsCreateRecipeCategoriesErrorComponent: type: object properties: attr: description: '* `recipe.categories` - recipe.categories' type: string enum: - recipe.categories 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 RecurringSlotsCreateRecipeKindErrorComponent: type: object properties: attr: description: '* `recipe.kind` - recipe.kind' type: string enum: - recipe.kind code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotsCreateRecipeLongestErrorComponent: type: object properties: attr: description: '* `recipe.longest` - recipe.longest' type: string enum: - recipe.longest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsCreateRecipeNameErrorComponent: type: object properties: attr: description: '* `recipe.name` - recipe.name' type: string enum: - recipe.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 RecurringSlotsCreateRecipeNewerThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.newer_than_days` - recipe.newer_than_days' type: string enum: - recipe.newer_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail RecurringSlotsCreateRecipeNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `recipe.non_field_errors` - recipe.non_field_errors' type: string enum: - recipe.non_field_errors code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsCreateRecipeOlderThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.older_than_days` - recipe.older_than_days' type: string enum: - recipe.older_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail RecurringSlotsCreateRecipeSeriesErrorComponent: type: object properties: attr: description: '* `recipe.series` - recipe.series' type: string enum: - recipe.series 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 RecurringSlotsCreateRecipeShortestErrorComponent: type: object properties: attr: description: '* `recipe.shortest` - recipe.shortest' type: string enum: - recipe.shortest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsCreateStartTimeErrorComponent: 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 RecurringSlotsCreateStartsOnErrorComponent: type: object properties: attr: description: '* `starts_on` - starts_on' type: string enum: - starts_on code: description: |- * `datetime` - datetime * `invalid` - invalid * `null` - null * `required` - required type: string enum: - datetime - invalid - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotsCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotsCreateError' required: - errors - type RecurringSlotsCreateWeekdaysErrorComponent: type: object properties: attr: description: '* `weekdays` - weekdays' type: string enum: - weekdays code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail RecurringSlotsCreateWeekdaysINDEXErrorComponent: type: object properties: attr: description: '* `weekdays.INDEX` - weekdays.INDEX' type: string enum: - weekdays.INDEX 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 RecurringSlotsDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsPartialUpdateDurationErrorComponent: 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 RecurringSlotsPartialUpdateEndsOnErrorComponent: type: object properties: attr: description: '* `ends_on` - ends_on' type: string enum: - ends_on code: description: |- * `datetime` - datetime * `invalid` - invalid type: string enum: - datetime - invalid detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotsPartialUpdateNonFieldErrorsErrorComponent' organization: '#/components/schemas/RecurringSlotsPartialUpdateOrganizationErrorComponent' frequency: '#/components/schemas/RecurringSlotsPartialUpdateFrequencyErrorComponent' interval: '#/components/schemas/RecurringSlotsPartialUpdateIntervalErrorComponent' weekdays: '#/components/schemas/RecurringSlotsPartialUpdateWeekdaysErrorComponent' weekdays.INDEX: '#/components/schemas/RecurringSlotsPartialUpdateWeekdaysINDEXErrorComponent' month_weeks: '#/components/schemas/RecurringSlotsPartialUpdateMonthWeeksErrorComponent' month_weeks.INDEX: '#/components/schemas/RecurringSlotsPartialUpdateMonthWeeksINDEXErrorComponent' start_time: '#/components/schemas/RecurringSlotsPartialUpdateStartTimeErrorComponent' duration: '#/components/schemas/RecurringSlotsPartialUpdateDurationErrorComponent' starts_on: '#/components/schemas/RecurringSlotsPartialUpdateStartsOnErrorComponent' ends_on: '#/components/schemas/RecurringSlotsPartialUpdateEndsOnErrorComponent' recipe.non_field_errors: '#/components/schemas/RecurringSlotsPartialUpdateRecipeNonFieldErrorsErrorComponent' recipe.kind: '#/components/schemas/RecurringSlotsPartialUpdateRecipeKindErrorComponent' recipe.series: '#/components/schemas/RecurringSlotsPartialUpdateRecipeSeriesErrorComponent' recipe.name: '#/components/schemas/RecurringSlotsPartialUpdateRecipeNameErrorComponent' recipe.categories: '#/components/schemas/RecurringSlotsPartialUpdateRecipeCategoriesErrorComponent' recipe.shortest: '#/components/schemas/RecurringSlotsPartialUpdateRecipeShortestErrorComponent' recipe.longest: '#/components/schemas/RecurringSlotsPartialUpdateRecipeLongestErrorComponent' recipe.newer_than_days: '#/components/schemas/RecurringSlotsPartialUpdateRecipeNewerThanDaysErrorComponent' recipe.older_than_days: '#/components/schemas/RecurringSlotsPartialUpdateRecipeOlderThanDaysErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateOrganizationErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateFrequencyErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateIntervalErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateWeekdaysErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateWeekdaysINDEXErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateMonthWeeksErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateMonthWeeksINDEXErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateStartTimeErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateDurationErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateStartsOnErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateEndsOnErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeKindErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeSeriesErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeNameErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeCategoriesErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeShortestErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeLongestErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeNewerThanDaysErrorComponent' - $ref: '#/components/schemas/RecurringSlotsPartialUpdateRecipeOlderThanDaysErrorComponent' RecurringSlotsPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotsPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotsPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsPartialUpdateFrequencyErrorComponent: type: object properties: attr: description: '* `frequency` - frequency' type: string enum: - frequency code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateIntervalErrorComponent: type: object properties: attr: description: '* `interval` - interval' type: string enum: - interval 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 RecurringSlotsPartialUpdateMonthWeeksErrorComponent: type: object properties: attr: description: '* `month_weeks` - month_weeks' type: string enum: - month_weeks code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateMonthWeeksINDEXErrorComponent: type: object properties: attr: description: '* `month_weeks.INDEX` - month_weeks.INDEX' type: string enum: - month_weeks.INDEX 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 RecurringSlotsPartialUpdateNonFieldErrorsErrorComponent: 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 RecurringSlotsPartialUpdateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `required` - required type: string enum: - does_not_exist - incorrect_type - required detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateRecipeCategoriesErrorComponent: type: object properties: attr: description: '* `recipe.categories` - recipe.categories' type: string enum: - recipe.categories 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 RecurringSlotsPartialUpdateRecipeKindErrorComponent: type: object properties: attr: description: '* `recipe.kind` - recipe.kind' type: string enum: - recipe.kind code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateRecipeLongestErrorComponent: type: object properties: attr: description: '* `recipe.longest` - recipe.longest' type: string enum: - recipe.longest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateRecipeNameErrorComponent: type: object properties: attr: description: '* `recipe.name` - recipe.name' type: string enum: - recipe.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 RecurringSlotsPartialUpdateRecipeNewerThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.newer_than_days` - recipe.newer_than_days' type: string enum: - recipe.newer_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateRecipeNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `recipe.non_field_errors` - recipe.non_field_errors' type: string enum: - recipe.non_field_errors code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateRecipeOlderThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.older_than_days` - recipe.older_than_days' type: string enum: - recipe.older_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateRecipeSeriesErrorComponent: type: object properties: attr: description: '* `recipe.series` - recipe.series' type: string enum: - recipe.series 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 RecurringSlotsPartialUpdateRecipeShortestErrorComponent: type: object properties: attr: description: '* `recipe.shortest` - recipe.shortest' type: string enum: - recipe.shortest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateStartTimeErrorComponent: 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 RecurringSlotsPartialUpdateStartsOnErrorComponent: type: object properties: attr: description: '* `starts_on` - starts_on' type: string enum: - starts_on code: description: |- * `datetime` - datetime * `invalid` - invalid * `null` - null * `required` - required type: string enum: - datetime - invalid - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotsPartialUpdateError' required: - errors - type RecurringSlotsPartialUpdateWeekdaysErrorComponent: type: object properties: attr: description: '* `weekdays` - weekdays' type: string enum: - weekdays code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail RecurringSlotsPartialUpdateWeekdaysINDEXErrorComponent: type: object properties: attr: description: '* `weekdays.INDEX` - weekdays.INDEX' type: string enum: - weekdays.INDEX 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 RecurringSlotsPublicListErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsUpdateDurationErrorComponent: 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 RecurringSlotsUpdateEndsOnErrorComponent: type: object properties: attr: description: '* `ends_on` - ends_on' type: string enum: - ends_on code: description: |- * `datetime` - datetime * `invalid` - invalid type: string enum: - datetime - invalid detail: type: string required: - attr - code - detail RecurringSlotsUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/RecurringSlotsUpdateNonFieldErrorsErrorComponent' organization: '#/components/schemas/RecurringSlotsUpdateOrganizationErrorComponent' frequency: '#/components/schemas/RecurringSlotsUpdateFrequencyErrorComponent' interval: '#/components/schemas/RecurringSlotsUpdateIntervalErrorComponent' weekdays: '#/components/schemas/RecurringSlotsUpdateWeekdaysErrorComponent' weekdays.INDEX: '#/components/schemas/RecurringSlotsUpdateWeekdaysINDEXErrorComponent' month_weeks: '#/components/schemas/RecurringSlotsUpdateMonthWeeksErrorComponent' month_weeks.INDEX: '#/components/schemas/RecurringSlotsUpdateMonthWeeksINDEXErrorComponent' start_time: '#/components/schemas/RecurringSlotsUpdateStartTimeErrorComponent' duration: '#/components/schemas/RecurringSlotsUpdateDurationErrorComponent' starts_on: '#/components/schemas/RecurringSlotsUpdateStartsOnErrorComponent' ends_on: '#/components/schemas/RecurringSlotsUpdateEndsOnErrorComponent' recipe.non_field_errors: '#/components/schemas/RecurringSlotsUpdateRecipeNonFieldErrorsErrorComponent' recipe.kind: '#/components/schemas/RecurringSlotsUpdateRecipeKindErrorComponent' recipe.series: '#/components/schemas/RecurringSlotsUpdateRecipeSeriesErrorComponent' recipe.name: '#/components/schemas/RecurringSlotsUpdateRecipeNameErrorComponent' recipe.categories: '#/components/schemas/RecurringSlotsUpdateRecipeCategoriesErrorComponent' recipe.shortest: '#/components/schemas/RecurringSlotsUpdateRecipeShortestErrorComponent' recipe.longest: '#/components/schemas/RecurringSlotsUpdateRecipeLongestErrorComponent' recipe.newer_than_days: '#/components/schemas/RecurringSlotsUpdateRecipeNewerThanDaysErrorComponent' recipe.older_than_days: '#/components/schemas/RecurringSlotsUpdateRecipeOlderThanDaysErrorComponent' oneOf: - $ref: '#/components/schemas/RecurringSlotsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateOrganizationErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateFrequencyErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateIntervalErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateWeekdaysErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateWeekdaysINDEXErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateMonthWeeksErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateMonthWeeksINDEXErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateStartTimeErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateDurationErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateStartsOnErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateEndsOnErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeKindErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeSeriesErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeNameErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeCategoriesErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeShortestErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeLongestErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeNewerThanDaysErrorComponent' - $ref: '#/components/schemas/RecurringSlotsUpdateRecipeOlderThanDaysErrorComponent' RecurringSlotsUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/RecurringSlotsUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/RecurringSlotsUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' RecurringSlotsUpdateFrequencyErrorComponent: type: object properties: attr: description: '* `frequency` - frequency' type: string enum: - frequency code: description: |- * `invalid_choice` - invalid_choice * `null` - null type: string enum: - invalid_choice - 'null' detail: type: string required: - attr - code - detail RecurringSlotsUpdateIntervalErrorComponent: type: object properties: attr: description: '* `interval` - interval' type: string enum: - interval 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 RecurringSlotsUpdateMonthWeeksErrorComponent: type: object properties: attr: description: '* `month_weeks` - month_weeks' type: string enum: - month_weeks code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail RecurringSlotsUpdateMonthWeeksINDEXErrorComponent: type: object properties: attr: description: '* `month_weeks.INDEX` - month_weeks.INDEX' type: string enum: - month_weeks.INDEX 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 RecurringSlotsUpdateNonFieldErrorsErrorComponent: 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 RecurringSlotsUpdateOrganizationErrorComponent: type: object properties: attr: description: '* `organization` - organization' type: string enum: - organization code: description: |- * `does_not_exist` - does_not_exist * `incorrect_type` - incorrect_type * `required` - required type: string enum: - does_not_exist - incorrect_type - required detail: type: string required: - attr - code - detail RecurringSlotsUpdateRecipeCategoriesErrorComponent: type: object properties: attr: description: '* `recipe.categories` - recipe.categories' type: string enum: - recipe.categories 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 RecurringSlotsUpdateRecipeKindErrorComponent: type: object properties: attr: description: '* `recipe.kind` - recipe.kind' type: string enum: - recipe.kind code: description: |- * `invalid_choice` - invalid_choice * `null` - null * `required` - required type: string enum: - invalid_choice - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotsUpdateRecipeLongestErrorComponent: type: object properties: attr: description: '* `recipe.longest` - recipe.longest' type: string enum: - recipe.longest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsUpdateRecipeNameErrorComponent: type: object properties: attr: description: '* `recipe.name` - recipe.name' type: string enum: - recipe.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 RecurringSlotsUpdateRecipeNewerThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.newer_than_days` - recipe.newer_than_days' type: string enum: - recipe.newer_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail RecurringSlotsUpdateRecipeNonFieldErrorsErrorComponent: type: object properties: attr: description: '* `recipe.non_field_errors` - recipe.non_field_errors' type: string enum: - recipe.non_field_errors code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsUpdateRecipeOlderThanDaysErrorComponent: type: object properties: attr: description: '* `recipe.older_than_days` - recipe.older_than_days' type: string enum: - recipe.older_than_days code: description: |- * `invalid` - invalid * `max_string_length` - max_string_length * `min_value` - min_value type: string enum: - invalid - max_string_length - min_value detail: type: string required: - attr - code - detail RecurringSlotsUpdateRecipeSeriesErrorComponent: type: object properties: attr: description: '* `recipe.series` - recipe.series' type: string enum: - recipe.series 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 RecurringSlotsUpdateRecipeShortestErrorComponent: type: object properties: attr: description: '* `recipe.shortest` - recipe.shortest' type: string enum: - recipe.shortest code: description: '* `invalid` - invalid' type: string enum: - invalid detail: type: string required: - attr - code - detail RecurringSlotsUpdateStartTimeErrorComponent: 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 RecurringSlotsUpdateStartsOnErrorComponent: type: object properties: attr: description: '* `starts_on` - starts_on' type: string enum: - starts_on code: description: |- * `datetime` - datetime * `invalid` - invalid * `null` - null * `required` - required type: string enum: - datetime - invalid - 'null' - required detail: type: string required: - attr - code - detail RecurringSlotsUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/RecurringSlotsUpdateError' required: - errors - type RecurringSlotsUpdateWeekdaysErrorComponent: type: object properties: attr: description: '* `weekdays` - weekdays' type: string enum: - weekdays code: description: |- * `not_a_list` - not_a_list * `null` - null type: string enum: - not_a_list - 'null' detail: type: string required: - attr - code - detail RecurringSlotsUpdateWeekdaysINDEXErrorComponent: type: object properties: attr: description: '* `weekdays.INDEX` - weekdays.INDEX' type: string enum: - weekdays.INDEX 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 RegisterCompleteRequest: type: object properties: credential: description: The browser's PublicKeyCredential, as JSON (toJSON(), or @simplewebauthn/browser). name: type: string maxLength: 64 required: - credential ReviewStatusEnum: description: |- * `pending` - Pending * `approved` - Approved * `denied` - Denied type: string enum: - pending - approved - denied 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' ScheduleitemGraphic: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true url: description: 'Where CasparCG loads it from: a full address, or a path on the site such as /infographics/ (add ?page= to hold one page). Playout adds ?duration=.' type: string readOnly: true required: - id - name - url ScheduleitemLiveSource: type: object properties: id: type: integer readOnly: true streamId: type: string format: uuid readOnly: true logoPosition: description: "How the channel logo sits while the source is on air: top-right (the usual bug) or stortinget-clock (DIREKTE under the clock in Stortinget's feed, the logo to its left), or one added since. Anything unknown is shown top-right." type: string readOnly: true required: - id - logoPosition - streamId ScheduleitemModify: description: |- Staff corrections to the compiled schedule. Organizations program airtime through grants; only the compiler and staff write schedule items. A staff entry carries no grant and no schedule reason, which holds it to the database's no-overlap constraint -- its violation is reported here as a 400. type: object properties: id: type: integer readOnly: true video: type: integer nullable: true starttime: type: string format: date-time endtime: type: string format: date-time readOnly: true duration: type: string required: - duration - endtime - id - starttime ScheduleitemModifyRequest: description: |- Staff corrections to the compiled schedule. Organizations program airtime through grants; only the compiler and staff write schedule items. A staff entry carries no grant and no schedule reason, which holds it to the database's no-overlap constraint -- its violation is reported here as a 400. type: object properties: video: type: integer nullable: true 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 ScheduleitemPoster: type: object properties: id: type: integer readOnly: true template: description: 'The on-air graphics template it is shown with: standard or notice, or one added since. Anything unknown is shown as standard.' type: string readOnly: true heading: type: string readOnly: true text: type: string readOnly: true organization: allOf: - $ref: '#/components/schemas/ScheduleitemOrganization' readOnly: true updatedAt: type: string format: date-time readOnly: true required: - heading - id - organization - template - text - updatedAt ScheduleitemRead: type: object properties: id: type: integer readOnly: true defaultName: type: string readOnly: true video: allOf: - $ref: '#/components/schemas/ScheduleitemVideo' nullable: true poster: description: "Set for a member's text poster (only with include_fillers): playout airs it with the graphics template." allOf: - $ref: '#/components/schemas/ScheduleitemPoster' nullable: true graphic: description: "Set for a staff graphic (only with include_fillers): playout airs its page for the row's duration." allOf: - $ref: '#/components/schemas/ScheduleitemGraphic' nullable: true schedulereason: nullable: true oneOf: - $ref: '#/components/schemas/SchedulereasonEnum' - $ref: '#/components/schemas/NullEnum' readOnly: true starttime: type: string format: date-time endtime: type: string format: date-time readOnly: true duration: type: string readOnly: true grant: type: integer nullable: true readOnly: true isLive: description: Whether this item goes out live rather than from a file. type: boolean readOnly: true title: Live broadcast liveSource: description: "Set when this airing goes out live: the video's live source." allOf: - $ref: '#/components/schemas/ScheduleitemLiveSource' nullable: true readOnly: true required: - defaultName - duration - endtime - grant - id - isLive - liveSource - schedulereason - starttime - video ScheduleitemVideo: type: object properties: id: type: integer readOnly: true name: type: string maxLength: 255 description: type: string 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' starttime: '#/components/schemas/ScheduleitemsCreateStarttimeErrorComponent' duration: '#/components/schemas/ScheduleitemsCreateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ScheduleitemsCreateVideoErrorComponent' - $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 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' starttime: '#/components/schemas/ScheduleitemsPartialUpdateStarttimeErrorComponent' duration: '#/components/schemas/ScheduleitemsPartialUpdateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ScheduleitemsPartialUpdateVideoErrorComponent' - $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 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' starttime: '#/components/schemas/ScheduleitemsUpdateStarttimeErrorComponent' duration: '#/components/schemas/ScheduleitemsUpdateDurationErrorComponent' oneOf: - $ref: '#/components/schemas/ScheduleitemsUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/ScheduleitemsUpdateVideoErrorComponent' - $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 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 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 Signal: description: The signal arriving on a source, as the encoder sends it. type: object properties: available: description: False where the receiver cannot be asked; nothing else is known then. type: boolean receiving: type: boolean since: type: string format: date-time nullable: true protocol: description: '`SRT`, `RTMP`, `RTSP` or `WebRTC`; empty for a pulled source.' type: string video: allOf: - $ref: '#/components/schemas/SignalVideo' nullable: true audio: allOf: - $ref: '#/components/schemas/SignalAudio' nullable: true bytesReceived: description: Since the signal came in. The difference between two reads gives the bitrate. type: integer framesInError: type: integer srt: allOf: - $ref: '#/components/schemas/SignalSrt' nullable: true measuredAt: type: string format: date-time required: - available - measuredAt - receiving SignalAudio: type: object properties: codec: description: As MediaMTX names it, e.g. `MPEG-4 Audio`. type: string sampleRate: type: integer nullable: true channelCount: type: integer nullable: true required: - channelCount - codec - sampleRate SignalHistory: description: How a source's signal has held up, from before the page was opened. type: object properties: available: description: False where there is no record to ask; `samples` is empty then. type: boolean stepSeconds: type: integer samples: description: Oldest first, from the first step with a signal in. type: array items: $ref: '#/components/schemas/SignalSample' required: - available - samples - stepSeconds SignalSample: type: object properties: at: description: The end of the step this sample covers. type: string format: date-time receiving: type: boolean bitrate: description: Bits per second. type: integer nullable: true lost: description: SRT packets lost on the way and asked for again. type: integer dropped: description: SRT packets that never arrived in time. type: integer reconnected: description: The encoder had connected anew since the step before. type: boolean required: - at - bitrate - dropped - lost - receiving - reconnected SignalSrt: description: Counters since the SRT connection opened. type: object properties: packetsReceived: type: integer packetsLost: description: Lost on the way; SRT asks for these again. type: integer packetsRetransmitted: type: integer packetsDropped: description: 'Never recovered in time: these are what a viewer sees as glitches.' type: integer roundTripMs: type: number format: double nullable: true required: - packetsDropped - packetsLost - packetsReceived - packetsRetransmitted - roundTripMs SignalVideo: type: object properties: codec: description: As MediaMTX names it, e.g. `H264`. type: string width: type: integer nullable: true height: type: integer nullable: true profile: type: string required: - codec - height - profile - width 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 TemplateEnum: description: |- * `standard` - Vanlig * `notice` - Viktig melding type: string enum: - standard - notice 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' TwoFactorSetup: type: object properties: secret: description: Base32, for typing into the app type: string readOnly: true otpauthUrl: type: string readOnly: true qrCode: description: The otpauth URL as an SVG data URI type: string readOnly: true required: - otpauthUrl - qrCode - secret TwoFactorStatus: type: object properties: enabled: type: boolean readOnly: true recoveryCodesLeft: type: integer readOnly: true verified: description: This session has passed the second step, so it may change the methods. type: boolean readOnly: true methods: type: array items: $ref: '#/components/schemas/Method' readOnly: true passkeys: description: Passkeys and security keys can be added here. type: boolean readOnly: true required: - enabled - methods - passkeys - recoveryCodesLeft - verified UpcomingTransmission: type: object properties: id: type: integer readOnly: true name: type: string readOnly: true starttime: type: string format: date-time endtime: type: string format: date-time readOnly: true required: - endtime - id - name - starttime 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: Set automatically when the signed affidavit of an organization this user edits is received (the organization is made a member). Tick by hand only for someone who is not an editor. 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 User2faMethodsDestroyErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' User2faMethodsPartialUpdateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/User2faMethodsPartialUpdateNonFieldErrorsErrorComponent' name: '#/components/schemas/User2faMethodsPartialUpdateNameErrorComponent' oneOf: - $ref: '#/components/schemas/User2faMethodsPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/User2faMethodsPartialUpdateNameErrorComponent' User2faMethodsPartialUpdateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/User2faMethodsPartialUpdateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/User2faMethodsPartialUpdateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' User2faMethodsPartialUpdateNameErrorComponent: 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 User2faMethodsPartialUpdateNonFieldErrorsErrorComponent: 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 User2faMethodsPartialUpdateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/User2faMethodsPartialUpdateError' required: - errors - type User2faRecoveryCodesCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' User2faRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' User2faTotpConfirmCreateCodeErrorComponent: type: object properties: attr: description: '* `code` - code' type: string enum: - code 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 User2faTotpConfirmCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/User2faTotpConfirmCreateNonFieldErrorsErrorComponent' code: '#/components/schemas/User2faTotpConfirmCreateCodeErrorComponent' oneOf: - $ref: '#/components/schemas/User2faTotpConfirmCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/User2faTotpConfirmCreateCodeErrorComponent' User2faTotpConfirmCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/User2faTotpConfirmCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/User2faTotpConfirmCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' User2faTotpConfirmCreateNonFieldErrorsErrorComponent: 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 User2faTotpConfirmCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/User2faTotpConfirmCreateError' required: - errors - type User2faTotpSetupCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/User2faTotpSetupCreateNonFieldErrorsErrorComponent' name: '#/components/schemas/User2faTotpSetupCreateNameErrorComponent' oneOf: - $ref: '#/components/schemas/User2faTotpSetupCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/User2faTotpSetupCreateNameErrorComponent' User2faTotpSetupCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/User2faTotpSetupCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/User2faTotpSetupCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' User2faTotpSetupCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - 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 User2faTotpSetupCreateNonFieldErrorsErrorComponent: 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 User2faTotpSetupCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/User2faTotpSetupCreateError' required: - errors - type User2faVerifyCreateCodeErrorComponent: type: object properties: attr: description: '* `code` - code' type: string enum: - code 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 User2faVerifyCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/User2faVerifyCreateNonFieldErrorsErrorComponent' code: '#/components/schemas/User2faVerifyCreateCodeErrorComponent' oneOf: - $ref: '#/components/schemas/User2faVerifyCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/User2faVerifyCreateCodeErrorComponent' User2faVerifyCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/User2faVerifyCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/User2faVerifyCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' User2faVerifyCreateNonFieldErrorsErrorComponent: 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 User2faVerifyCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/User2faVerifyCreateError' required: - errors - type User2faWebauthnBeginCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' User2faWebauthnCompleteCreateCredentialErrorComponent: type: object properties: attr: description: '* `credential` - credential' type: string enum: - credential code: description: |- * `invalid` - invalid * `null` - null * `required` - required type: string enum: - invalid - 'null' - required detail: type: string required: - attr - code - detail User2faWebauthnCompleteCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/User2faWebauthnCompleteCreateNonFieldErrorsErrorComponent' credential: '#/components/schemas/User2faWebauthnCompleteCreateCredentialErrorComponent' oneOf: - $ref: '#/components/schemas/User2faWebauthnCompleteCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/User2faWebauthnCompleteCreateCredentialErrorComponent' User2faWebauthnCompleteCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/User2faWebauthnCompleteCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/User2faWebauthnCompleteCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' User2faWebauthnCompleteCreateNonFieldErrorsErrorComponent: 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 User2faWebauthnCompleteCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/User2faWebauthnCompleteCreateError' required: - errors - type User2faWebauthnRegisterBeginCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' User2faWebauthnRegisterCompleteCreateCredentialErrorComponent: type: object properties: attr: description: '* `credential` - credential' type: string enum: - credential code: description: |- * `invalid` - invalid * `null` - null * `required` - required type: string enum: - invalid - 'null' - required detail: type: string required: - attr - code - detail User2faWebauthnRegisterCompleteCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/User2faWebauthnRegisterCompleteCreateNonFieldErrorsErrorComponent' credential: '#/components/schemas/User2faWebauthnRegisterCompleteCreateCredentialErrorComponent' name: '#/components/schemas/User2faWebauthnRegisterCompleteCreateNameErrorComponent' oneOf: - $ref: '#/components/schemas/User2faWebauthnRegisterCompleteCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/User2faWebauthnRegisterCompleteCreateCredentialErrorComponent' - $ref: '#/components/schemas/User2faWebauthnRegisterCompleteCreateNameErrorComponent' User2faWebauthnRegisterCompleteCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/User2faWebauthnRegisterCompleteCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/User2faWebauthnRegisterCompleteCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' User2faWebauthnRegisterCompleteCreateNameErrorComponent: type: object properties: attr: description: '* `name` - name' type: string enum: - 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 User2faWebauthnRegisterCompleteCreateNonFieldErrorsErrorComponent: 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 User2faWebauthnRegisterCompleteCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/User2faWebauthnRegisterCompleteCreateError' required: - errors - type 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' otp: '#/components/schemas/UserLoginCreateOtpErrorComponent' oneOf: - $ref: '#/components/schemas/UserLoginCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserLoginCreateEmailErrorComponent' - $ref: '#/components/schemas/UserLoginCreatePasswordErrorComponent' - $ref: '#/components/schemas/UserLoginCreateOtpErrorComponent' 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 UserLoginCreateOtpErrorComponent: type: object properties: attr: description: '* `otp` - otp' type: string enum: - otp code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed 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 UserLoginPasskeyBeginCreateErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' UserLoginPasskeyCompleteCreateCredentialErrorComponent: type: object properties: attr: description: '* `credential` - credential' type: string enum: - credential code: description: |- * `invalid` - invalid * `null` - null * `required` - required type: string enum: - invalid - 'null' - required detail: type: string required: - attr - code - detail UserLoginPasskeyCompleteCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserLoginPasskeyCompleteCreateNonFieldErrorsErrorComponent' credential: '#/components/schemas/UserLoginPasskeyCompleteCreateCredentialErrorComponent' oneOf: - $ref: '#/components/schemas/UserLoginPasskeyCompleteCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserLoginPasskeyCompleteCreateCredentialErrorComponent' UserLoginPasskeyCompleteCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserLoginPasskeyCompleteCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserLoginPasskeyCompleteCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserLoginPasskeyCompleteCreateNonFieldErrorsErrorComponent: 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 UserLoginPasskeyCompleteCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserLoginPasskeyCompleteCreateError' required: - errors - type UserLoginPasskeyRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' 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' oneOf: - $ref: '#/components/schemas/UserPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserPartialUpdateFirstNameErrorComponent' - $ref: '#/components/schemas/UserPartialUpdateLastNameErrorComponent' - $ref: '#/components/schemas/UserPartialUpdateDateOfBirthErrorComponent' - $ref: '#/components/schemas/UserPartialUpdatePhoneNumberErrorComponent' 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 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 UserPasswordCreateCurrentPasswordErrorComponent: type: object properties: attr: description: '* `current_password` - current_password' type: string enum: - current_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 UserPasswordCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserPasswordCreateNonFieldErrorsErrorComponent' current_password: '#/components/schemas/UserPasswordCreateCurrentPasswordErrorComponent' new_password: '#/components/schemas/UserPasswordCreateNewPasswordErrorComponent' oneOf: - $ref: '#/components/schemas/UserPasswordCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserPasswordCreateCurrentPasswordErrorComponent' - $ref: '#/components/schemas/UserPasswordCreateNewPasswordErrorComponent' UserPasswordCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserPasswordCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserPasswordCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserPasswordCreateNewPasswordErrorComponent: type: object properties: attr: description: '* `new_password` - new_password' type: string enum: - new_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 UserPasswordCreateNonFieldErrorsErrorComponent: 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 UserPasswordCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserPasswordCreateError' required: - errors - type UserPasswordResetConfirmCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserPasswordResetConfirmCreateNonFieldErrorsErrorComponent' uid: '#/components/schemas/UserPasswordResetConfirmCreateUidErrorComponent' token: '#/components/schemas/UserPasswordResetConfirmCreateTokenErrorComponent' new_password: '#/components/schemas/UserPasswordResetConfirmCreateNewPasswordErrorComponent' otp: '#/components/schemas/UserPasswordResetConfirmCreateOtpErrorComponent' oneOf: - $ref: '#/components/schemas/UserPasswordResetConfirmCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserPasswordResetConfirmCreateUidErrorComponent' - $ref: '#/components/schemas/UserPasswordResetConfirmCreateTokenErrorComponent' - $ref: '#/components/schemas/UserPasswordResetConfirmCreateNewPasswordErrorComponent' - $ref: '#/components/schemas/UserPasswordResetConfirmCreateOtpErrorComponent' UserPasswordResetConfirmCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserPasswordResetConfirmCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserPasswordResetConfirmCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserPasswordResetConfirmCreateNewPasswordErrorComponent: type: object properties: attr: description: '* `new_password` - new_password' type: string enum: - new_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 UserPasswordResetConfirmCreateNonFieldErrorsErrorComponent: 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 UserPasswordResetConfirmCreateOtpErrorComponent: type: object properties: attr: description: '* `otp` - otp' type: string enum: - otp code: description: |- * `invalid` - invalid * `null` - null * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 'null' - null_characters_not_allowed - surrogate_characters_not_allowed detail: type: string required: - attr - code - detail UserPasswordResetConfirmCreateTokenErrorComponent: type: object properties: attr: description: '* `token` - token' type: string enum: - token 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 UserPasswordResetConfirmCreateUidErrorComponent: type: object properties: attr: description: '* `uid` - uid' type: string enum: - uid 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 UserPasswordResetConfirmCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserPasswordResetConfirmCreateError' required: - errors - type UserPasswordResetCreateEmailErrorComponent: 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 UserPasswordResetCreateError: discriminator: propertyName: attr mapping: non_field_errors: '#/components/schemas/UserPasswordResetCreateNonFieldErrorsErrorComponent' email: '#/components/schemas/UserPasswordResetCreateEmailErrorComponent' oneOf: - $ref: '#/components/schemas/UserPasswordResetCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserPasswordResetCreateEmailErrorComponent' UserPasswordResetCreateErrorResponse400: discriminator: propertyName: type mapping: validation_error: '#/components/schemas/UserPasswordResetCreateValidationError' client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/UserPasswordResetCreateValidationError' - $ref: '#/components/schemas/ParseErrorResponse' UserPasswordResetCreateNonFieldErrorsErrorComponent: 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 UserPasswordResetCreateValidationError: type: object properties: type: $ref: '#/components/schemas/ValidationErrorEnum' errors: type: array items: $ref: '#/components/schemas/UserPasswordResetCreateError' 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 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' oneOf: - $ref: '#/components/schemas/UserUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/UserUpdateFirstNameErrorComponent' - $ref: '#/components/schemas/UserUpdateLastNameErrorComponent' - $ref: '#/components/schemas/UserUpdateDateOfBirthErrorComponent' - $ref: '#/components/schemas/UserUpdatePhoneNumberErrorComponent' 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 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 description: type: string 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 isBanned: description: 'Removed pending review: hidden from the website, listings and the schedule, and not aired. The video page only says it has been removed, with no reason.' type: boolean readOnly: true title: Administratively removed 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' liveSource: description: "Makes the video a live programme: it airs from this live source, one of the organization's own, until it has a file. Null for none." type: integer nullable: true liveAirings: description: 'The live airings of a live programme that have not ended yet, soonest first: when it goes out, and whether it is on air now. Empty for a video without a live source, and once it has a file.' type: array items: $ref: '#/components/schemas/LiveAiring' readOnly: true 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 required: - createdTime - creator - durationSec - files - id - isBanned - liveAirings - name - 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 description: type: string 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 isBanned: description: 'Removed pending review: hidden from the website, listings and the schedule, and not aired. The video page only says it has been removed, with no reason.' type: boolean readOnly: true title: Administratively removed 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' liveSource: description: "Makes the video a live programme: it airs from this live source, one of the organization's own, until it has a file. Null for none." type: integer nullable: true liveAirings: description: 'The live airings of a live programme that have not ended yet, soonest first: when it goes out, and whether it is on air now. Empty for a video without a live source, and once it has a file.' type: array items: $ref: '#/components/schemas/LiveAiring' readOnly: true 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 required: - createdTime - creator - durationSec - files - id - isBanned - liveAirings - name - 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 description: type: string 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' liveSource: description: "Makes the video a live programme: it airs from this live source, one of the organization's own, until it has a file. Null for none." type: integer nullable: true uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true required: - 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 * `hls` - HLS playlists over the DASH media type: string enum: - large_thumb - broadcast - vc1 - med_thumb - small_thumb - original - theora - srt - cloudflare_id - dash - dash_preview - webm_med - hls 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' hls: $ref: '#/components/schemas/VideoFileLink' VideoRequest: description: 'The read serializer: the organization arrives whole.' type: object properties: name: type: string maxLength: 255 minLength: 1 description: type: string 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' liveSource: description: "Makes the video a live programme: it airs from this live source, one of the organization's own, until it has a file. Null for none." type: integer nullable: true uploadedTime: description: Time the original video for the program was uploaded type: string format: date-time nullable: true required: - name VideoUpload: type: object properties: uploadUrl: type: string default: http://localhost:1080/files/ readOnly: true required: - uploadUrl 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 type: string enum: - does_not_exist - invalid - not_a_list - 'null' detail: type: string required: - attr - code - detail VideosCreateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 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' 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' live_source: '#/components/schemas/VideosCreateLiveSourceErrorComponent' uploaded_time: '#/components/schemas/VideosCreateUploadedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosCreateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosCreateNameErrorComponent' - $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/VideosCreateLiveSourceErrorComponent' - $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 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 VideosCreateLiveSourceErrorComponent: type: object properties: attr: description: '* `live_source` - live_source' type: string enum: - live_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 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 type: string enum: - does_not_exist - invalid - not_a_list - 'null' detail: type: string required: - attr - code - detail VideosPartialUpdateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 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' 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' live_source: '#/components/schemas/VideosPartialUpdateLiveSourceErrorComponent' uploaded_time: '#/components/schemas/VideosPartialUpdateUploadedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosPartialUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosPartialUpdateNameErrorComponent' - $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/VideosPartialUpdateLiveSourceErrorComponent' - $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 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 VideosPartialUpdateLiveSourceErrorComponent: type: object properties: attr: description: '* `live_source` - live_source' type: string enum: - live_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 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 type: string enum: - does_not_exist - invalid - not_a_list - 'null' detail: type: string required: - attr - code - detail VideosUpdateDescriptionErrorComponent: type: object properties: attr: description: '* `description` - description' type: string enum: - description code: description: |- * `invalid` - invalid * `null_characters_not_allowed` - null_characters_not_allowed * `surrogate_characters_not_allowed` - surrogate_characters_not_allowed type: string enum: - invalid - 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' 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' live_source: '#/components/schemas/VideosUpdateLiveSourceErrorComponent' uploaded_time: '#/components/schemas/VideosUpdateUploadedTimeErrorComponent' oneOf: - $ref: '#/components/schemas/VideosUpdateNonFieldErrorsErrorComponent' - $ref: '#/components/schemas/VideosUpdateNameErrorComponent' - $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/VideosUpdateLiveSourceErrorComponent' - $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 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 VideosUpdateLiveSourceErrorComponent: type: object properties: attr: description: '* `live_source` - live_source' type: string enum: - live_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 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 VideosUploadRetrieveErrorResponse400: discriminator: propertyName: type mapping: client_error: '#/components/schemas/ParseErrorResponse' oneOf: - $ref: '#/components/schemas/ParseErrorResponse' 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 securitySchemes: cookieAuth: type: apiKey in: cookie name: sessionid tokenAuth: type: apiKey in: header name: Authorization description: Token-based authentication with required prefix "Token"