diff --git a/authentik/api/pagination.py b/authentik/api/pagination.py index a49a6811b0..4acd857ab6 100644 --- a/authentik/api/pagination.py +++ b/authentik/api/pagination.py @@ -1,44 +1,10 @@ """Pagination which includes total pages and current page""" +from drf_spectacular.plumbing import build_object_type from rest_framework import pagination from rest_framework.response import Response -PAGINATION_COMPONENT_NAME = "Pagination" -PAGINATION_SCHEMA = { - "type": "object", - "properties": { - "next": { - "type": "number", - }, - "previous": { - "type": "number", - }, - "count": { - "type": "number", - }, - "current": { - "type": "number", - }, - "total_pages": { - "type": "number", - }, - "start_index": { - "type": "number", - }, - "end_index": { - "type": "number", - }, - }, - "required": [ - "next", - "previous", - "count", - "current", - "total_pages", - "start_index", - "end_index", - ], -} +from authentik.api.v3.schema.response import PAGINATION class Pagination(pagination.PageNumberPagination): @@ -70,14 +36,13 @@ class Pagination(pagination.PageNumberPagination): ) def get_paginated_response_schema(self, schema): - return { - "type": "object", - "properties": { - "pagination": {"$ref": f"#/components/schemas/{PAGINATION_COMPONENT_NAME}"}, + return build_object_type( + properties={ + "pagination": PAGINATION.ref, "results": schema, }, - "required": ["pagination", "results"], - } + required=["pagination", "results"], + ) class SmallerPagination(Pagination): diff --git a/authentik/api/schema.py b/authentik/api/schema.py index fb5dbd7ba7..d3522d6f24 100644 --- a/authentik/api/schema.py +++ b/authentik/api/schema.py @@ -3,53 +3,23 @@ from collections.abc import Callable from typing import Any -from django.utils.translation import gettext_lazy as _ from drf_spectacular.generators import SchemaGenerator -from drf_spectacular.plumbing import ( - ResolvedComponent, - build_array_type, - build_basic_type, - build_object_type, -) +from drf_spectacular.plumbing import ResolvedComponent from drf_spectacular.renderers import OpenApiJsonRenderer from drf_spectacular.settings import spectacular_settings -from drf_spectacular.types import OpenApiTypes -from rest_framework.settings import api_settings +from structlog.stdlib import get_logger from authentik.api.apps import AuthentikAPIConfig -from authentik.api.pagination import PAGINATION_COMPONENT_NAME, PAGINATION_SCHEMA - -GENERIC_ERROR = build_object_type( - description=_("Generic API Error"), - properties={ - "detail": build_basic_type(OpenApiTypes.STR), - "code": build_basic_type(OpenApiTypes.STR), - }, - required=["detail"], -) -VALIDATION_ERROR = build_object_type( - description=_("Validation Error"), - properties={ - api_settings.NON_FIELD_ERRORS_KEY: build_array_type(build_basic_type(OpenApiTypes.STR)), - "code": build_basic_type(OpenApiTypes.STR), - }, - required=[], - additionalProperties={}, +from authentik.api.v3.schema.query import QUERY_PARAMS +from authentik.api.v3.schema.response import ( + GENERIC_ERROR, + GENERIC_ERROR_RESPONSE, + PAGINATION, + VALIDATION_ERROR, + VALIDATION_ERROR_RESPONSE, ) - -def create_component( - generator: SchemaGenerator, name: str, schema: Any, type_=ResolvedComponent.SCHEMA -) -> ResolvedComponent: - """Register a component and return a reference to it.""" - component = ResolvedComponent( - name=name, - type=type_, - schema=schema, - object=name, - ) - generator.registry.register_on_missing(component) - return component +LOGGER = get_logger() def preprocess_schema_exclude_non_api(endpoints: list[tuple[str, Any, Any, Callable]], **kwargs): @@ -61,45 +31,30 @@ def preprocess_schema_exclude_non_api(endpoints: list[tuple[str, Any, Any, Calla ] +def postprocess_schema_register( + result: dict[str, Any], generator: SchemaGenerator, **kwargs +) -> dict[str, Any]: + """Register custom schema components""" + LOGGER.debug("Registering custom schemas") + generator.registry.register_on_missing(PAGINATION) + generator.registry.register_on_missing(GENERIC_ERROR) + generator.registry.register_on_missing(GENERIC_ERROR_RESPONSE) + generator.registry.register_on_missing(VALIDATION_ERROR) + generator.registry.register_on_missing(VALIDATION_ERROR_RESPONSE) + for query in QUERY_PARAMS.values(): + generator.registry.register_on_missing(query) + return result + + def postprocess_schema_responses( result: dict[str, Any], generator: SchemaGenerator, **kwargs ) -> dict[str, Any]: - """Workaround to set a default response for endpoints. - Workaround suggested at - - for the missing drf-spectacular feature discussed in - . - """ - - create_component(generator, PAGINATION_COMPONENT_NAME, PAGINATION_SCHEMA) - - generic_error = create_component(generator, "GenericError", GENERIC_ERROR) - validation_error = create_component(generator, "ValidationError", VALIDATION_ERROR) - + """Default error responses""" + LOGGER.debug("Adding default error responses") for path in result["paths"].values(): for method in path.values(): - method["responses"].setdefault( - "400", - { - "content": { - "application/json": { - "schema": validation_error.ref, - } - }, - "description": "", - }, - ) - method["responses"].setdefault( - "403", - { - "content": { - "application/json": { - "schema": generic_error.ref, - } - }, - "description": "", - }, - ) + method["responses"].setdefault("400", VALIDATION_ERROR_RESPONSE.ref) + method["responses"].setdefault("403", GENERIC_ERROR_RESPONSE.ref) result["components"] = generator.registry.build(spectacular_settings.APPEND_COMPONENTS) @@ -113,67 +68,18 @@ def postprocess_schema_responses( return result -def postprocess_schema_pagination( +def postprocess_schema_query_params( result: dict[str, Any], generator: SchemaGenerator, **kwargs ) -> dict[str, Any]: """Optimise pagination parameters, instead of redeclaring parameters for each endpoint declare them globally and refer to them""" - to_replace = { - "ordering": create_component( - generator, - "QueryPaginationOrdering", - { - "name": "ordering", - "required": False, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": {"type": "string"}, - }, - ResolvedComponent.PARAMETER, - ), - "page": create_component( - generator, - "QueryPaginationPage", - { - "name": "page", - "required": False, - "in": "query", - "description": "A page number within the paginated result set.", - "schema": {"type": "integer"}, - }, - ResolvedComponent.PARAMETER, - ), - "page_size": create_component( - generator, - "QueryPaginationPageSize", - { - "name": "page_size", - "required": False, - "in": "query", - "description": "Number of results to return per page.", - "schema": {"type": "integer"}, - }, - ResolvedComponent.PARAMETER, - ), - "search": create_component( - generator, - "QuerySearch", - { - "name": "search", - "required": False, - "in": "query", - "description": "A search term.", - "schema": {"type": "string"}, - }, - ResolvedComponent.PARAMETER, - ), - } + LOGGER.debug("Deduplicating query parameters") for path in result["paths"].values(): for method in path.values(): for idx, param in enumerate(method.get("parameters", [])): - for replace_name, replace_ref in to_replace.items(): - if param["name"] == replace_name: - method["parameters"][idx] = replace_ref.ref + if param["name"] not in QUERY_PARAMS: + continue + method["parameters"][idx] = QUERY_PARAMS[param["name"]].ref return result @@ -185,9 +91,13 @@ def postprocess_schema_remove_unused( # less efficient than walking through the tree but a lot simpler and no # possibility that we miss something raw = OpenApiJsonRenderer().render(result, renderer_context={}).decode() + count = 0 for key in result["components"][ResolvedComponent.SCHEMA].keys(): - if raw.count(key) > 1: + schema_usages = raw.count(f"#/components/{ResolvedComponent.SCHEMA}/{key}") + if schema_usages >= 1: continue - del generator.registry._components[(key, ResolvedComponent.SCHEMA)] + del generator.registry[(key, ResolvedComponent.SCHEMA)] + count += 1 + LOGGER.debug("Removing unused components", count=count) result["components"] = generator.registry.build(spectacular_settings.APPEND_COMPONENTS) return result diff --git a/authentik/api/v3/schema/__init__.py b/authentik/api/v3/schema/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/authentik/api/v3/schema/query.py b/authentik/api/v3/schema/query.py new file mode 100644 index 0000000000..c7150218bb --- /dev/null +++ b/authentik/api/v3/schema/query.py @@ -0,0 +1,65 @@ +from django.utils.translation import gettext_lazy as _ +from drf_spectacular.plumbing import ( + ResolvedComponent, + build_basic_type, + build_parameter_type, +) +from drf_spectacular.types import OpenApiTypes + +QUERY_PARAMS = { + "ordering": ResolvedComponent( + name="QueryPaginationOrdering", + type=ResolvedComponent.PARAMETER, + object="QueryPaginationOrdering", + schema=build_parameter_type( + name="ordering", + schema=build_basic_type(OpenApiTypes.STR), + location="query", + description=_("Which field to use when ordering the results."), + ), + ), + "page": ResolvedComponent( + name="QueryPaginationPage", + type=ResolvedComponent.PARAMETER, + object="QueryPaginationPage", + schema=build_parameter_type( + name="page", + schema=build_basic_type(OpenApiTypes.INT), + location="query", + description=_("A page number within the paginated result set."), + ), + ), + "page_size": ResolvedComponent( + name="QueryPaginationPageSize", + type=ResolvedComponent.PARAMETER, + object="QueryPaginationPageSize", + schema=build_parameter_type( + name="page_size", + schema=build_basic_type(OpenApiTypes.INT), + location="query", + description=_("Number of results to return per page."), + ), + ), + "search": ResolvedComponent( + name="QuerySearch", + type=ResolvedComponent.PARAMETER, + object="QuerySearch", + schema=build_parameter_type( + name="search", + schema=build_basic_type(OpenApiTypes.STR), + location="query", + description=_("A search term."), + ), + ), + # Not related to pagination but a very common query param + "name": ResolvedComponent( + name="QueryName", + type=ResolvedComponent.PARAMETER, + object="QueryName", + schema=build_parameter_type( + name="name", + schema=build_basic_type(OpenApiTypes.STR), + location="query", + ), + ), +} diff --git a/authentik/api/v3/schema/response.py b/authentik/api/v3/schema/response.py new file mode 100644 index 0000000000..ee7e0e3fe2 --- /dev/null +++ b/authentik/api/v3/schema/response.py @@ -0,0 +1,84 @@ +from django.utils.translation import gettext_lazy as _ +from drf_spectacular.plumbing import ( + ResolvedComponent, + build_array_type, + build_basic_type, + build_object_type, +) +from drf_spectacular.types import OpenApiTypes +from rest_framework.settings import api_settings + +GENERIC_ERROR = ResolvedComponent( + name="GenericError", + type=ResolvedComponent.SCHEMA, + object="GenericError", + schema=build_object_type( + description=_("Generic API Error"), + properties={ + "detail": build_basic_type(OpenApiTypes.STR), + "code": build_basic_type(OpenApiTypes.STR), + }, + required=["detail"], + ), +) +GENERIC_ERROR_RESPONSE = ResolvedComponent( + name="GenericErrorResponse", + type=ResolvedComponent.RESPONSE, + object="GenericErrorResponse", + schema={ + "content": {"application/json": {"schema": GENERIC_ERROR.ref}}, + "description": "", + }, +) +VALIDATION_ERROR = ResolvedComponent( + "ValidationError", + object="ValidationError", + type=ResolvedComponent.SCHEMA, + schema=build_object_type( + description=_("Validation Error"), + properties={ + api_settings.NON_FIELD_ERRORS_KEY: build_array_type(build_basic_type(OpenApiTypes.STR)), + "code": build_basic_type(OpenApiTypes.STR), + }, + required=[], + additionalProperties={}, + ), +) +VALIDATION_ERROR_RESPONSE = ResolvedComponent( + name="ValidationErrorResponse", + type=ResolvedComponent.RESPONSE, + object="ValidationErrorResponse", + schema={ + "content": { + "application/json": { + "schema": VALIDATION_ERROR.ref, + } + }, + "description": "", + }, +) +PAGINATION = ResolvedComponent( + name="Pagination", + type=ResolvedComponent.SCHEMA, + object="Pagination", + schema=build_object_type( + properties={ + "next": build_basic_type(OpenApiTypes.NUMBER), + "previous": build_basic_type(OpenApiTypes.NUMBER), + "count": build_basic_type(OpenApiTypes.NUMBER), + "current": build_basic_type(OpenApiTypes.NUMBER), + "total_pages": build_basic_type(OpenApiTypes.NUMBER), + "start_index": build_basic_type(OpenApiTypes.NUMBER), + "end_index": build_basic_type(OpenApiTypes.NUMBER), + }, + required=[ + "next", + "previous", + "count", + "current", + "total_pages", + "start_index", + "end_index", + ], + ), +) diff --git a/authentik/enterprise/search/pagination.py b/authentik/enterprise/search/pagination.py index c1c82437ae..ab5015b550 100644 --- a/authentik/enterprise/search/pagination.py +++ b/authentik/enterprise/search/pagination.py @@ -1,7 +1,7 @@ from rest_framework.response import Response from authentik.api.pagination import Pagination -from authentik.enterprise.search.ql import AUTOCOMPLETE_COMPONENT_NAME, QLSearch +from authentik.enterprise.search.ql import AUTOCOMPLETE_SCHEMA, QLSearch class AutocompletePagination(Pagination): @@ -46,8 +46,6 @@ class AutocompletePagination(Pagination): def get_paginated_response_schema(self, schema): final_schema = super().get_paginated_response_schema(schema) - final_schema["properties"]["autocomplete"] = { - "$ref": f"#/components/schemas/{AUTOCOMPLETE_COMPONENT_NAME}" - } + final_schema["properties"]["autocomplete"] = AUTOCOMPLETE_SCHEMA.ref final_schema["required"].append("autocomplete") return final_schema diff --git a/authentik/enterprise/search/ql.py b/authentik/enterprise/search/ql.py index 5b841d5f3e..8d9d0fe50a 100644 --- a/authentik/enterprise/search/ql.py +++ b/authentik/enterprise/search/ql.py @@ -6,6 +6,7 @@ from djangoql.ast import Name from djangoql.exceptions import DjangoQLError from djangoql.queryset import apply_search from djangoql.schema import DjangoQLSchema +from drf_spectacular.plumbing import ResolvedComponent, build_object_type from rest_framework.filters import SearchFilter from rest_framework.request import Request from structlog.stdlib import get_logger @@ -13,11 +14,12 @@ from structlog.stdlib import get_logger from authentik.enterprise.search.fields import JSONSearchField LOGGER = get_logger() -AUTOCOMPLETE_COMPONENT_NAME = "Autocomplete" -AUTOCOMPLETE_SCHEMA = { - "type": "object", - "additionalProperties": {}, -} +AUTOCOMPLETE_SCHEMA = ResolvedComponent( + name="Autocomplete", + object="Autocomplete", + type=ResolvedComponent.SCHEMA, + schema=build_object_type(additionalProperties={}), +) class BaseSchema(DjangoQLSchema): diff --git a/authentik/enterprise/search/schema.py b/authentik/enterprise/search/schema.py index f20eabe573..9559f19ddd 100644 --- a/authentik/enterprise/search/schema.py +++ b/authentik/enterprise/search/schema.py @@ -1,9 +1,8 @@ from djangoql.serializers import DjangoQLSchemaSerializer from drf_spectacular.generators import SchemaGenerator -from authentik.api.schema import create_component from authentik.enterprise.search.fields import JSONSearchField -from authentik.enterprise.search.ql import AUTOCOMPLETE_COMPONENT_NAME, AUTOCOMPLETE_SCHEMA +from authentik.enterprise.search.ql import AUTOCOMPLETE_SCHEMA class AKQLSchemaSerializer(DjangoQLSchemaSerializer): @@ -24,6 +23,6 @@ class AKQLSchemaSerializer(DjangoQLSchemaSerializer): def postprocess_schema_search_autocomplete(result, generator: SchemaGenerator, **kwargs): - create_component(generator, AUTOCOMPLETE_COMPONENT_NAME, AUTOCOMPLETE_SCHEMA) + generator.registry.register_on_missing(AUTOCOMPLETE_SCHEMA) return result diff --git a/authentik/enterprise/search/settings.py b/authentik/enterprise/search/settings.py index 78e591835f..5fc821ca2c 100644 --- a/authentik/enterprise/search/settings.py +++ b/authentik/enterprise/search/settings.py @@ -1,7 +1,8 @@ SPECTACULAR_SETTINGS = { "POSTPROCESSING_HOOKS": [ + "authentik.api.schema.postprocess_schema_register", "authentik.api.schema.postprocess_schema_responses", - "authentik.api.schema.postprocess_schema_pagination", + "authentik.api.schema.postprocess_schema_query_params", "authentik.api.schema.postprocess_schema_remove_unused", "authentik.enterprise.search.schema.postprocess_schema_search_autocomplete", "drf_spectacular.hooks.postprocess_schema_enums", diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 88df6a1463..3192dddca5 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -187,8 +187,9 @@ SPECTACULAR_SETTINGS = { "authentik.api.schema.preprocess_schema_exclude_non_api", ], "POSTPROCESSING_HOOKS": [ + "authentik.api.schema.postprocess_schema_register", "authentik.api.schema.postprocess_schema_responses", - "authentik.api.schema.postprocess_schema_pagination", + "authentik.api.schema.postprocess_schema_query_params", "authentik.api.schema.postprocess_schema_remove_unused", "drf_spectacular.hooks.postprocess_schema_enums", ], diff --git a/authentik/stages/prompt/api.py b/authentik/stages/prompt/api.py index f4f87c2551..248606c66c 100644 --- a/authentik/stages/prompt/api.py +++ b/authentik/stages/prompt/api.py @@ -47,7 +47,9 @@ class PromptStageViewSet(UsedByMixin, ModelViewSet): class PromptSerializer(ModelSerializer): """Prompt Serializer""" - promptstage_set = StageSerializer(many=True, required=False) + prompt_stages_obj = PromptStageSerializer( + source="promptstage_set", many=True, required=False, read_only=True + ) class Meta: model = Prompt @@ -61,7 +63,7 @@ class PromptSerializer(ModelSerializer): "placeholder", "initial_value", "order", - "promptstage_set", + "prompt_stages_obj", "sub_text", "placeholder_expression", "initial_value_expression", diff --git a/blueprints/schema.json b/blueprints/schema.json index ac8a27960c..f42461a618 100644 --- a/blueprints/schema.json +++ b/blueprints/schema.json @@ -15259,105 +15259,6 @@ "maximum": 2147483647, "title": "Order" }, - "promptstage_set": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "title": "Name" - }, - "flow_set": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "title": "Name" - }, - "slug": { - "type": "string", - "maxLength": 50, - "minLength": 1, - "pattern": "^[-a-zA-Z0-9_]+$", - "title": "Slug", - "description": "Visible in the URL." - }, - "title": { - "type": "string", - "minLength": 1, - "title": "Title", - "description": "Shown as the Title in Flow pages." - }, - "designation": { - "type": "string", - "enum": [ - "authentication", - "authorization", - "invalidation", - "enrollment", - "unenrollment", - "recovery", - "stage_configuration" - ], - "title": "Designation", - "description": "Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik." - }, - "policy_engine_mode": { - "type": "string", - "enum": [ - "all", - "any" - ], - "title": "Policy engine mode" - }, - "compatibility_mode": { - "type": "boolean", - "title": "Compatibility mode", - "description": "Enable compatibility mode, increases compatibility with password managers on mobile devices." - }, - "layout": { - "type": "string", - "enum": [ - "stacked", - "content_left", - "content_right", - "sidebar_left", - "sidebar_right" - ], - "title": "Layout" - }, - "denied_action": { - "type": "string", - "enum": [ - "message_continue", - "message", - "continue" - ], - "title": "Denied action", - "description": "Configure what should happen when a flow denies access to a user." - } - }, - "required": [ - "name", - "slug", - "title", - "designation" - ] - }, - "title": "Flow set" - } - }, - "required": [ - "name" - ] - }, - "title": "Promptstage set" - }, "sub_text": { "type": "string", "title": "Sub text" diff --git a/schema.yml b/schema.yml index d0f8703e04..a491c76c66 100644 --- a/schema.yml +++ b/schema.yml @@ -27,17 +27,9 @@ paths: $ref: '#/components/schemas/App' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /admin/models/: get: operationId: admin_models_list @@ -56,17 +48,9 @@ paths: $ref: '#/components/schemas/App' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /admin/settings/: get: operationId: admin_settings_retrieve @@ -83,17 +67,9 @@ paths: $ref: '#/components/schemas/Settings' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: admin_settings_update description: Settings view @@ -115,17 +91,9 @@ paths: $ref: '#/components/schemas/Settings' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: admin_settings_partial_update description: Settings view @@ -146,17 +114,9 @@ paths: $ref: '#/components/schemas/Settings' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /admin/system/: get: operationId: admin_system_retrieve @@ -173,17 +133,9 @@ paths: $ref: '#/components/schemas/SystemInfo' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: admin_system_create description: Get system information. @@ -199,17 +151,9 @@ paths: $ref: '#/components/schemas/SystemInfo' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /admin/version/: get: operationId: admin_version_retrieve @@ -226,17 +170,9 @@ paths: $ref: '#/components/schemas/Version' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /admin/version/history/: get: operationId: admin_version_history_list @@ -266,17 +202,9 @@ paths: $ref: '#/components/schemas/VersionHistory' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /admin/version/history/{id}/: get: operationId: admin_version_history_retrieve @@ -300,17 +228,9 @@ paths: $ref: '#/components/schemas/VersionHistory' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/all/: get: operationId: authenticators_admin_all_list @@ -334,26 +254,15 @@ paths: $ref: '#/components/schemas/Device' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/duo/: get: operationId: authenticators_admin_duo_list description: Viewset for Duo authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -370,17 +279,9 @@ paths: $ref: '#/components/schemas/PaginatedDuoDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_duo_create description: Viewset for Duo authenticator devices (for admins) @@ -402,17 +303,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/duo/{id}/: get: operationId: authenticators_admin_duo_retrieve @@ -436,17 +329,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_duo_update description: Viewset for Duo authenticator devices (for admins) @@ -475,17 +360,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_duo_partial_update description: Viewset for Duo authenticator devices (for admins) @@ -513,17 +390,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_duo_destroy description: Viewset for Duo authenticator devices (for admins) @@ -542,26 +411,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/email/: get: operationId: authenticators_admin_email_list description: Viewset for email authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -578,17 +436,9 @@ paths: $ref: '#/components/schemas/PaginatedEmailDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_email_create description: Viewset for email authenticator devices (for admins) @@ -610,17 +460,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/email/{id}/: get: operationId: authenticators_admin_email_retrieve @@ -644,17 +486,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_email_update description: Viewset for email authenticator devices (for admins) @@ -683,17 +517,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_email_partial_update description: Viewset for email authenticator devices (for admins) @@ -721,17 +547,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_email_destroy description: Viewset for email authenticator devices (for admins) @@ -750,26 +568,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/endpoint/: get: operationId: authenticators_admin_endpoint_list description: Viewset for Endpoint authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -786,17 +593,9 @@ paths: $ref: '#/components/schemas/PaginatedEndpointDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_endpoint_create description: Viewset for Endpoint authenticator devices (for admins) @@ -818,17 +617,9 @@ paths: $ref: '#/components/schemas/EndpointDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/endpoint/{uuid}/: get: operationId: authenticators_admin_endpoint_retrieve @@ -853,17 +644,9 @@ paths: $ref: '#/components/schemas/EndpointDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_endpoint_update description: Viewset for Endpoint authenticator devices (for admins) @@ -893,17 +676,9 @@ paths: $ref: '#/components/schemas/EndpointDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_endpoint_partial_update description: Viewset for Endpoint authenticator devices (for admins) @@ -932,17 +707,9 @@ paths: $ref: '#/components/schemas/EndpointDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_endpoint_destroy description: Viewset for Endpoint authenticator devices (for admins) @@ -962,26 +729,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/sms/: get: operationId: authenticators_admin_sms_list description: Viewset for sms authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -998,17 +754,9 @@ paths: $ref: '#/components/schemas/PaginatedSMSDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_sms_create description: Viewset for sms authenticator devices (for admins) @@ -1030,17 +778,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/sms/{id}/: get: operationId: authenticators_admin_sms_retrieve @@ -1064,17 +804,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_sms_update description: Viewset for sms authenticator devices (for admins) @@ -1103,17 +835,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_sms_partial_update description: Viewset for sms authenticator devices (for admins) @@ -1141,17 +865,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_sms_destroy description: Viewset for sms authenticator devices (for admins) @@ -1170,26 +886,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/static/: get: operationId: authenticators_admin_static_list description: Viewset for static authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -1206,17 +911,9 @@ paths: $ref: '#/components/schemas/PaginatedStaticDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_static_create description: Viewset for static authenticator devices (for admins) @@ -1238,17 +935,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/static/{id}/: get: operationId: authenticators_admin_static_retrieve @@ -1272,17 +961,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_static_update description: Viewset for static authenticator devices (for admins) @@ -1311,17 +992,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_static_partial_update description: Viewset for static authenticator devices (for admins) @@ -1349,17 +1022,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_static_destroy description: Viewset for static authenticator devices (for admins) @@ -1378,26 +1043,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/totp/: get: operationId: authenticators_admin_totp_list description: Viewset for totp authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -1414,17 +1068,9 @@ paths: $ref: '#/components/schemas/PaginatedTOTPDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_totp_create description: Viewset for totp authenticator devices (for admins) @@ -1446,17 +1092,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/totp/{id}/: get: operationId: authenticators_admin_totp_retrieve @@ -1480,17 +1118,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_totp_update description: Viewset for totp authenticator devices (for admins) @@ -1519,17 +1149,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_totp_partial_update description: Viewset for totp authenticator devices (for admins) @@ -1557,17 +1179,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_totp_destroy description: Viewset for totp authenticator devices (for admins) @@ -1586,26 +1200,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/webauthn/: get: operationId: authenticators_admin_webauthn_list description: Viewset for WebAuthn authenticator devices (for admins) parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -1622,17 +1225,9 @@ paths: $ref: '#/components/schemas/PaginatedWebAuthnDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: authenticators_admin_webauthn_create description: Viewset for WebAuthn authenticator devices (for admins) @@ -1654,17 +1249,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/admin/webauthn/{id}/: get: operationId: authenticators_admin_webauthn_retrieve @@ -1688,17 +1275,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_admin_webauthn_update description: Viewset for WebAuthn authenticator devices (for admins) @@ -1727,17 +1306,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_admin_webauthn_partial_update description: Viewset for WebAuthn authenticator devices (for admins) @@ -1765,17 +1336,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_admin_webauthn_destroy description: Viewset for WebAuthn authenticator devices (for admins) @@ -1794,17 +1357,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/all/: get: operationId: authenticators_all_list @@ -1823,26 +1378,15 @@ paths: $ref: '#/components/schemas/Device' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/duo/: get: operationId: authenticators_duo_list description: Viewset for Duo authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -1859,17 +1403,9 @@ paths: $ref: '#/components/schemas/PaginatedDuoDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/duo/{id}/: get: operationId: authenticators_duo_retrieve @@ -1893,17 +1429,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_duo_update description: Viewset for Duo authenticator devices @@ -1932,17 +1460,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_duo_partial_update description: Viewset for Duo authenticator devices @@ -1970,17 +1490,9 @@ paths: $ref: '#/components/schemas/DuoDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_duo_destroy description: Viewset for Duo authenticator devices @@ -1999,17 +1511,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/duo/{id}/used_by/: get: operationId: authenticators_duo_used_by_list @@ -2035,26 +1539,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/email/: get: operationId: authenticators_email_list description: Viewset for email authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -2071,17 +1564,9 @@ paths: $ref: '#/components/schemas/PaginatedEmailDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/email/{id}/: get: operationId: authenticators_email_retrieve @@ -2105,17 +1590,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_email_update description: Viewset for email authenticator devices @@ -2144,17 +1621,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_email_partial_update description: Viewset for email authenticator devices @@ -2182,17 +1651,9 @@ paths: $ref: '#/components/schemas/EmailDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_email_destroy description: Viewset for email authenticator devices @@ -2211,17 +1672,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/email/{id}/used_by/: get: operationId: authenticators_email_used_by_list @@ -2247,26 +1700,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/endpoint/: get: operationId: authenticators_endpoint_list description: Viewset for Endpoint authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -2283,17 +1725,9 @@ paths: $ref: '#/components/schemas/PaginatedEndpointDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/endpoint/{uuid}/: get: operationId: authenticators_endpoint_retrieve @@ -2318,17 +1752,9 @@ paths: $ref: '#/components/schemas/EndpointDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/endpoint/{uuid}/used_by/: get: operationId: authenticators_endpoint_used_by_list @@ -2355,26 +1781,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/sms/: get: operationId: authenticators_sms_list description: Viewset for sms authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -2391,17 +1806,9 @@ paths: $ref: '#/components/schemas/PaginatedSMSDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/sms/{id}/: get: operationId: authenticators_sms_retrieve @@ -2425,17 +1832,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_sms_update description: Viewset for sms authenticator devices @@ -2464,17 +1863,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_sms_partial_update description: Viewset for sms authenticator devices @@ -2502,17 +1893,9 @@ paths: $ref: '#/components/schemas/SMSDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_sms_destroy description: Viewset for sms authenticator devices @@ -2531,17 +1914,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/sms/{id}/used_by/: get: operationId: authenticators_sms_used_by_list @@ -2567,26 +1942,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/static/: get: operationId: authenticators_static_list description: Viewset for static authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -2603,17 +1967,9 @@ paths: $ref: '#/components/schemas/PaginatedStaticDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/static/{id}/: get: operationId: authenticators_static_retrieve @@ -2637,17 +1993,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_static_update description: Viewset for static authenticator devices @@ -2676,17 +2024,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_static_partial_update description: Viewset for static authenticator devices @@ -2714,17 +2054,9 @@ paths: $ref: '#/components/schemas/StaticDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_static_destroy description: Viewset for static authenticator devices @@ -2743,17 +2075,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/static/{id}/used_by/: get: operationId: authenticators_static_used_by_list @@ -2779,26 +2103,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/totp/: get: operationId: authenticators_totp_list description: Viewset for totp authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -2815,17 +2128,9 @@ paths: $ref: '#/components/schemas/PaginatedTOTPDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/totp/{id}/: get: operationId: authenticators_totp_retrieve @@ -2849,17 +2154,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_totp_update description: Viewset for totp authenticator devices @@ -2888,17 +2185,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_totp_partial_update description: Viewset for totp authenticator devices @@ -2926,17 +2215,9 @@ paths: $ref: '#/components/schemas/TOTPDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_totp_destroy description: Viewset for totp authenticator devices @@ -2955,17 +2236,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/totp/{id}/used_by/: get: operationId: authenticators_totp_used_by_list @@ -2991,26 +2264,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/webauthn/: get: operationId: authenticators_webauthn_list description: Viewset for WebAuthn authenticator devices parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -3027,17 +2289,9 @@ paths: $ref: '#/components/schemas/PaginatedWebAuthnDeviceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/webauthn/{id}/: get: operationId: authenticators_webauthn_retrieve @@ -3061,17 +2315,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: authenticators_webauthn_update description: Viewset for WebAuthn authenticator devices @@ -3100,17 +2346,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: authenticators_webauthn_partial_update description: Viewset for WebAuthn authenticator devices @@ -3138,17 +2376,9 @@ paths: $ref: '#/components/schemas/WebAuthnDevice' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: authenticators_webauthn_destroy description: Viewset for WebAuthn authenticator devices @@ -3167,17 +2397,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /authenticators/webauthn/{id}/used_by/: get: operationId: authenticators_webauthn_used_by_list @@ -3203,17 +2425,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/application_entitlements/: get: operationId: core_application_entitlements_list @@ -3224,10 +2438,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -3249,17 +2460,9 @@ paths: $ref: '#/components/schemas/PaginatedApplicationEntitlementList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: core_application_entitlements_create description: ApplicationEntitlement Viewset @@ -3281,17 +2484,9 @@ paths: $ref: '#/components/schemas/ApplicationEntitlement' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/application_entitlements/{pbm_uuid}/: get: operationId: core_application_entitlements_retrieve @@ -3316,17 +2511,9 @@ paths: $ref: '#/components/schemas/ApplicationEntitlement' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: core_application_entitlements_update description: ApplicationEntitlement Viewset @@ -3356,17 +2543,9 @@ paths: $ref: '#/components/schemas/ApplicationEntitlement' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: core_application_entitlements_partial_update description: ApplicationEntitlement Viewset @@ -3395,17 +2574,9 @@ paths: $ref: '#/components/schemas/ApplicationEntitlement' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_application_entitlements_destroy description: ApplicationEntitlement Viewset @@ -3425,17 +2596,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/application_entitlements/{pbm_uuid}/used_by/: get: operationId: core_application_entitlements_used_by_list @@ -3462,17 +2625,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/applications/: get: operationId: core_applications_list @@ -3498,10 +2653,7 @@ paths: name: meta_publisher schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: only_with_launch_url schema: @@ -3530,17 +2682,9 @@ paths: $ref: '#/components/schemas/PaginatedApplicationList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: core_applications_create description: Application Viewset @@ -3562,17 +2706,9 @@ paths: $ref: '#/components/schemas/Application' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/applications/{slug}/: get: operationId: core_applications_retrieve @@ -3596,17 +2732,9 @@ paths: $ref: '#/components/schemas/Application' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: core_applications_update description: Application Viewset @@ -3635,17 +2763,9 @@ paths: $ref: '#/components/schemas/Application' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: core_applications_partial_update description: Application Viewset @@ -3673,17 +2793,9 @@ paths: $ref: '#/components/schemas/Application' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_applications_destroy description: Application Viewset @@ -3702,17 +2814,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/applications/{slug}/check_access/: get: operationId: core_applications_check_access_retrieve @@ -3740,17 +2844,9 @@ paths: $ref: '#/components/schemas/PolicyTestResult' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/applications/{slug}/set_icon/: post: operationId: core_applications_set_icon_create @@ -3777,11 +2873,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/applications/{slug}/set_icon_url/: post: operationId: core_applications_set_icon_url_create @@ -3809,11 +2901,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/applications/{slug}/used_by/: get: operationId: core_applications_used_by_list @@ -3839,17 +2927,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/authenticated_sessions/: get: operationId: core_authenticated_sessions_list @@ -3883,17 +2963,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatedSessionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/authenticated_sessions/{uuid}/: get: operationId: core_authenticated_sessions_retrieve @@ -3917,17 +2989,9 @@ paths: $ref: '#/components/schemas/AuthenticatedSession' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_authenticated_sessions_destroy description: AuthenticatedSession Viewset @@ -3946,17 +3010,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/authenticated_sessions/{uuid}/used_by/: get: operationId: core_authenticated_sessions_used_by_list @@ -3982,17 +3038,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/brands/: get: operationId: core_brands_list @@ -4087,17 +3135,9 @@ paths: $ref: '#/components/schemas/PaginatedBrandList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: core_brands_create description: Brand Viewset @@ -4119,17 +3159,9 @@ paths: $ref: '#/components/schemas/Brand' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/brands/{brand_uuid}/: get: operationId: core_brands_retrieve @@ -4154,17 +3186,9 @@ paths: $ref: '#/components/schemas/Brand' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: core_brands_update description: Brand Viewset @@ -4194,17 +3218,9 @@ paths: $ref: '#/components/schemas/Brand' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: core_brands_partial_update description: Brand Viewset @@ -4233,17 +3249,9 @@ paths: $ref: '#/components/schemas/Brand' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_brands_destroy description: Brand Viewset @@ -4263,17 +3271,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/brands/{brand_uuid}/used_by/: get: operationId: core_brands_used_by_list @@ -4300,17 +3300,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/brands/current/: get: operationId: core_brands_current_retrieve @@ -4328,17 +3320,9 @@ paths: $ref: '#/components/schemas/CurrentBrand' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/groups/: get: operationId: core_groups_list @@ -4381,10 +3365,7 @@ paths: only. explode: true style: form - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -4401,17 +3382,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: core_groups_create description: Group Viewset @@ -4433,17 +3406,9 @@ paths: $ref: '#/components/schemas/Group' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/groups/{group_uuid}/: get: operationId: core_groups_retrieve @@ -4478,17 +3443,9 @@ paths: $ref: '#/components/schemas/Group' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: core_groups_update description: Group Viewset @@ -4518,17 +3475,9 @@ paths: $ref: '#/components/schemas/Group' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: core_groups_partial_update description: Group Viewset @@ -4557,17 +3506,9 @@ paths: $ref: '#/components/schemas/Group' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_groups_destroy description: Group Viewset @@ -4587,17 +3528,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/groups/{group_uuid}/add_user/: post: operationId: core_groups_add_user_create @@ -4626,17 +3559,9 @@ paths: '404': description: User not found '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/groups/{group_uuid}/remove_user/: post: operationId: core_groups_remove_user_create @@ -4665,17 +3590,9 @@ paths: '404': description: User not found '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/groups/{group_uuid}/used_by/: get: operationId: core_groups_used_by_list @@ -4702,17 +3619,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/tokens/: get: operationId: core_tokens_list @@ -4768,17 +3677,9 @@ paths: $ref: '#/components/schemas/PaginatedTokenList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: core_tokens_create description: Token Viewset @@ -4800,17 +3701,9 @@ paths: $ref: '#/components/schemas/Token' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/tokens/{identifier}/: get: operationId: core_tokens_retrieve @@ -4833,17 +3726,9 @@ paths: $ref: '#/components/schemas/Token' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: core_tokens_update description: Token Viewset @@ -4871,17 +3756,9 @@ paths: $ref: '#/components/schemas/Token' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: core_tokens_partial_update description: Token Viewset @@ -4908,17 +3785,9 @@ paths: $ref: '#/components/schemas/Token' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_tokens_destroy description: Token Viewset @@ -4936,17 +3805,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/tokens/{identifier}/set_key/: post: operationId: core_tokens_set_key_create @@ -4977,11 +3838,7 @@ paths: '404': description: Token not found or expired '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/tokens/{identifier}/used_by/: get: operationId: core_tokens_used_by_list @@ -5006,17 +3863,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/tokens/{identifier}/view_key/: get: operationId: core_tokens_view_key_retrieve @@ -5041,17 +3890,9 @@ paths: '404': description: Token not found or expired '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/transactional/applications/: put: operationId: core_transactional_applications_update @@ -5074,17 +3915,9 @@ paths: $ref: '#/components/schemas/TransactionApplicationResponse' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/user_consent/: get: operationId: core_user_consent_list @@ -5115,17 +3948,9 @@ paths: $ref: '#/components/schemas/PaginatedUserConsentList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/user_consent/{id}/: get: operationId: core_user_consent_retrieve @@ -5149,17 +3974,9 @@ paths: $ref: '#/components/schemas/UserConsent' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_user_consent_destroy description: UserConsent Viewset @@ -5178,17 +3995,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/user_consent/{id}/used_by/: get: operationId: core_user_consent_used_by_list @@ -5214,17 +4023,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/: get: operationId: core_users_list @@ -5299,10 +4100,7 @@ paths: schema: type: string format: date-time - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -5349,17 +4147,9 @@ paths: $ref: '#/components/schemas/PaginatedUserList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: core_users_create description: User Viewset @@ -5381,17 +4171,9 @@ paths: $ref: '#/components/schemas/User' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/{id}/: get: operationId: core_users_retrieve @@ -5415,17 +4197,9 @@ paths: $ref: '#/components/schemas/User' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: core_users_update description: User Viewset @@ -5454,17 +4228,9 @@ paths: $ref: '#/components/schemas/User' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: core_users_partial_update description: User Viewset @@ -5492,17 +4258,9 @@ paths: $ref: '#/components/schemas/User' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: core_users_destroy description: User Viewset @@ -5521,17 +4279,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/{id}/impersonate/: post: operationId: core_users_impersonate_create @@ -5557,17 +4307,9 @@ paths: '204': description: Successfully started impersonation '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/{id}/recovery/: post: operationId: core_users_recovery_create @@ -5591,17 +4333,9 @@ paths: $ref: '#/components/schemas/Link' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/{id}/recovery_email/: post: operationId: core_users_recovery_email_create @@ -5627,17 +4361,9 @@ paths: '204': description: Successfully sent recover email '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/{id}/set_password/: post: operationId: core_users_set_password_create @@ -5665,11 +4391,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/{id}/used_by/: get: operationId: core_users_used_by_list @@ -5695,17 +4417,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/impersonate_end/: get: operationId: core_users_impersonate_end_retrieve @@ -5718,17 +4432,9 @@ paths: '204': description: Successfully ended impersonation '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/me/: get: operationId: core_users_me_retrieve @@ -5745,17 +4451,9 @@ paths: $ref: '#/components/schemas/SessionUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/paths/: get: operationId: core_users_paths_retrieve @@ -5774,17 +4472,9 @@ paths: $ref: '#/components/schemas/UserPath' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /core/users/service_account/: post: operationId: core_users_service_account_create @@ -5807,17 +4497,9 @@ paths: $ref: '#/components/schemas/UserServiceAccountResponse' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /crypto/certificatekeypairs/: get: operationId: crypto_certificatekeypairs_list @@ -5837,10 +4519,7 @@ paths: name: managed schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -5857,17 +4536,9 @@ paths: $ref: '#/components/schemas/PaginatedCertificateKeyPairList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: crypto_certificatekeypairs_create description: CertificateKeyPair Viewset @@ -5889,17 +4560,9 @@ paths: $ref: '#/components/schemas/CertificateKeyPair' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /crypto/certificatekeypairs/{kp_uuid}/: get: operationId: crypto_certificatekeypairs_retrieve @@ -5924,17 +4587,9 @@ paths: $ref: '#/components/schemas/CertificateKeyPair' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: crypto_certificatekeypairs_update description: CertificateKeyPair Viewset @@ -5964,17 +4619,9 @@ paths: $ref: '#/components/schemas/CertificateKeyPair' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: crypto_certificatekeypairs_partial_update description: CertificateKeyPair Viewset @@ -6003,17 +4650,9 @@ paths: $ref: '#/components/schemas/CertificateKeyPair' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: crypto_certificatekeypairs_destroy description: CertificateKeyPair Viewset @@ -6033,17 +4672,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /crypto/certificatekeypairs/{kp_uuid}/used_by/: get: operationId: crypto_certificatekeypairs_used_by_list @@ -6070,17 +4701,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /crypto/certificatekeypairs/{kp_uuid}/view_certificate/: get: operationId: crypto_certificatekeypairs_view_certificate_retrieve @@ -6109,17 +4732,9 @@ paths: $ref: '#/components/schemas/CertificateData' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /crypto/certificatekeypairs/{kp_uuid}/view_private_key/: get: operationId: crypto_certificatekeypairs_view_private_key_retrieve @@ -6148,17 +4763,9 @@ paths: $ref: '#/components/schemas/CertificateData' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /crypto/certificatekeypairs/generate/: post: operationId: crypto_certificatekeypairs_generate_create @@ -6183,20 +4790,13 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /enterprise/license/: get: operationId: enterprise_license_list description: License Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -6213,17 +4813,9 @@ paths: $ref: '#/components/schemas/PaginatedLicenseList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: enterprise_license_create description: License Viewset @@ -6245,17 +4837,9 @@ paths: $ref: '#/components/schemas/License' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /enterprise/license/{license_uuid}/: get: operationId: enterprise_license_retrieve @@ -6280,17 +4864,9 @@ paths: $ref: '#/components/schemas/License' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: enterprise_license_update description: License Viewset @@ -6320,17 +4896,9 @@ paths: $ref: '#/components/schemas/License' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: enterprise_license_partial_update description: License Viewset @@ -6359,17 +4927,9 @@ paths: $ref: '#/components/schemas/License' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: enterprise_license_destroy description: License Viewset @@ -6389,17 +4949,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /enterprise/license/{license_uuid}/used_by/: get: operationId: enterprise_license_used_by_list @@ -6426,17 +4978,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /enterprise/license/forecast/: get: operationId: enterprise_license_forecast_retrieve @@ -6453,17 +4997,9 @@ paths: $ref: '#/components/schemas/LicenseForecast' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /enterprise/license/install_id/: get: operationId: enterprise_license_install_id_retrieve @@ -6480,17 +5016,9 @@ paths: $ref: '#/components/schemas/InstallID' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /enterprise/license/summary/: get: operationId: enterprise_license_summary_retrieve @@ -6513,17 +5041,9 @@ paths: $ref: '#/components/schemas/LicenseSummary' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/events/: get: operationId: events_events_list @@ -6619,17 +5139,9 @@ paths: $ref: '#/components/schemas/PaginatedEventList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: events_events_create description: Event Read-Only Viewset @@ -6651,17 +5163,9 @@ paths: $ref: '#/components/schemas/Event' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/events/{event_uuid}/: get: operationId: events_events_retrieve @@ -6686,17 +5190,9 @@ paths: $ref: '#/components/schemas/Event' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: events_events_update description: Event Read-Only Viewset @@ -6726,17 +5222,9 @@ paths: $ref: '#/components/schemas/Event' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: events_events_partial_update description: Event Read-Only Viewset @@ -6765,17 +5253,9 @@ paths: $ref: '#/components/schemas/Event' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: events_events_destroy description: Event Read-Only Viewset @@ -6795,17 +5275,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/events/actions/: get: operationId: events_events_actions_list @@ -6824,17 +5296,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/events/top_per_user/: get: operationId: events_events_top_per_user_list @@ -6862,17 +5326,9 @@ paths: $ref: '#/components/schemas/EventTopPerUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/events/volume/: get: operationId: events_events_volume_list @@ -6973,17 +5429,9 @@ paths: $ref: '#/components/schemas/EventVolume' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/notifications/: get: operationId: events_notifications_list @@ -7035,17 +5483,9 @@ paths: $ref: '#/components/schemas/PaginatedNotificationList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/notifications/{uuid}/: get: operationId: events_notifications_retrieve @@ -7070,17 +5510,9 @@ paths: $ref: '#/components/schemas/Notification' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: events_notifications_update description: Notification Viewset @@ -7109,17 +5541,9 @@ paths: $ref: '#/components/schemas/Notification' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: events_notifications_partial_update description: Notification Viewset @@ -7148,17 +5572,9 @@ paths: $ref: '#/components/schemas/Notification' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: events_notifications_destroy description: Notification Viewset @@ -7178,17 +5594,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/notifications/{uuid}/used_by/: get: operationId: events_notifications_used_by_list @@ -7215,17 +5623,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/notifications/mark_all_seen/: post: operationId: events_notifications_mark_all_seen_create @@ -7238,17 +5638,9 @@ paths: '204': description: Marked tasks as read successfully. '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/rules/: get: operationId: events_rules_list @@ -7258,10 +5650,7 @@ paths: name: destination_group__name schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -7289,17 +5678,9 @@ paths: $ref: '#/components/schemas/PaginatedNotificationRuleList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: events_rules_create description: NotificationRule Viewset @@ -7321,17 +5702,9 @@ paths: $ref: '#/components/schemas/NotificationRule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/rules/{pbm_uuid}/: get: operationId: events_rules_retrieve @@ -7356,17 +5729,9 @@ paths: $ref: '#/components/schemas/NotificationRule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: events_rules_update description: NotificationRule Viewset @@ -7396,17 +5761,9 @@ paths: $ref: '#/components/schemas/NotificationRule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: events_rules_partial_update description: NotificationRule Viewset @@ -7435,17 +5792,9 @@ paths: $ref: '#/components/schemas/NotificationRule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: events_rules_destroy description: NotificationRule Viewset @@ -7465,17 +5814,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/rules/{pbm_uuid}/used_by/: get: operationId: events_rules_used_by_list @@ -7502,17 +5843,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/transports/: get: operationId: events_transports_list @@ -7527,10 +5860,7 @@ paths: - local - webhook - webhook_slack - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -7555,17 +5885,9 @@ paths: $ref: '#/components/schemas/PaginatedNotificationTransportList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: events_transports_create description: NotificationTransport Viewset @@ -7587,17 +5909,9 @@ paths: $ref: '#/components/schemas/NotificationTransport' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/transports/{uuid}/: get: operationId: events_transports_retrieve @@ -7622,17 +5936,9 @@ paths: $ref: '#/components/schemas/NotificationTransport' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: events_transports_update description: NotificationTransport Viewset @@ -7662,17 +5968,9 @@ paths: $ref: '#/components/schemas/NotificationTransport' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: events_transports_partial_update description: NotificationTransport Viewset @@ -7701,17 +5999,9 @@ paths: $ref: '#/components/schemas/NotificationTransport' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: events_transports_destroy description: NotificationTransport Viewset @@ -7731,17 +6021,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/transports/{uuid}/test/: post: operationId: events_transports_test_create @@ -7770,17 +6052,9 @@ paths: '500': description: Failed to test transport '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /events/transports/{uuid}/used_by/: get: operationId: events_transports_used_by_list @@ -7807,17 +6081,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/bindings/: get: operationId: flows_bindings_list @@ -7898,17 +6164,9 @@ paths: $ref: '#/components/schemas/PaginatedFlowStageBindingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: flows_bindings_create description: FlowStageBinding Viewset @@ -7930,17 +6188,9 @@ paths: $ref: '#/components/schemas/FlowStageBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/bindings/{fsb_uuid}/: get: operationId: flows_bindings_retrieve @@ -7965,17 +6215,9 @@ paths: $ref: '#/components/schemas/FlowStageBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: flows_bindings_update description: FlowStageBinding Viewset @@ -8005,17 +6247,9 @@ paths: $ref: '#/components/schemas/FlowStageBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: flows_bindings_partial_update description: FlowStageBinding Viewset @@ -8044,17 +6278,9 @@ paths: $ref: '#/components/schemas/FlowStageBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: flows_bindings_destroy description: FlowStageBinding Viewset @@ -8074,17 +6300,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/bindings/{fsb_uuid}/used_by/: get: operationId: flows_bindings_used_by_list @@ -8111,17 +6329,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/executor/{flow_slug}/: get: operationId: flows_executor_get @@ -8151,17 +6361,9 @@ paths: $ref: '#/components/schemas/ChallengeTypes' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: flows_executor_solve description: Solve the previously retrieved challenge and advanced to the next @@ -8196,17 +6398,9 @@ paths: $ref: '#/components/schemas/ChallengeTypes' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/inspector/{flow_slug}/: get: operationId: flows_inspector_get @@ -8231,11 +6425,7 @@ paths: '400': description: No flow plan in session. '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/: get: operationId: flows_instances_list @@ -8272,10 +6462,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -8296,17 +6483,9 @@ paths: $ref: '#/components/schemas/PaginatedFlowList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: flows_instances_create description: Flow Viewset @@ -8328,17 +6507,9 @@ paths: $ref: '#/components/schemas/Flow' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/: get: operationId: flows_instances_retrieve @@ -8362,17 +6533,9 @@ paths: $ref: '#/components/schemas/Flow' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: flows_instances_update description: Flow Viewset @@ -8401,17 +6564,9 @@ paths: $ref: '#/components/schemas/Flow' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: flows_instances_partial_update description: Flow Viewset @@ -8439,17 +6594,9 @@ paths: $ref: '#/components/schemas/Flow' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: flows_instances_destroy description: Flow Viewset @@ -8468,17 +6615,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/diagram/: get: operationId: flows_instances_diagram_retrieve @@ -8503,17 +6642,9 @@ paths: $ref: '#/components/schemas/FlowDiagram' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/execute/: get: operationId: flows_instances_execute_retrieve @@ -8539,11 +6670,7 @@ paths: '400': description: Flow not applicable '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/export/: get: operationId: flows_instances_export_retrieve @@ -8568,17 +6695,9 @@ paths: format: binary description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/set_background/: post: operationId: flows_instances_set_background_create @@ -8605,11 +6724,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/set_background_url/: post: operationId: flows_instances_set_background_url_create @@ -8637,11 +6752,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/{slug}/used_by/: get: operationId: flows_instances_used_by_list @@ -8667,17 +6778,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/cache_clear/: post: operationId: flows_instances_cache_clear_create @@ -8692,11 +6795,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/cache_info/: get: operationId: flows_instances_cache_info_retrieve @@ -8713,17 +6812,9 @@ paths: $ref: '#/components/schemas/Cache' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /flows/instances/import/: post: operationId: flows_instances_import_create @@ -8751,20 +6842,13 @@ paths: $ref: '#/components/schemas/FlowImportResult' description: '' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /managed/blueprints/: get: operationId: managed_blueprints_list description: Blueprint instances parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -8785,17 +6869,9 @@ paths: $ref: '#/components/schemas/PaginatedBlueprintInstanceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: managed_blueprints_create description: Blueprint instances @@ -8817,17 +6893,9 @@ paths: $ref: '#/components/schemas/BlueprintInstance' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /managed/blueprints/{instance_uuid}/: get: operationId: managed_blueprints_retrieve @@ -8852,17 +6920,9 @@ paths: $ref: '#/components/schemas/BlueprintInstance' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: managed_blueprints_update description: Blueprint instances @@ -8892,17 +6952,9 @@ paths: $ref: '#/components/schemas/BlueprintInstance' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: managed_blueprints_partial_update description: Blueprint instances @@ -8931,17 +6983,9 @@ paths: $ref: '#/components/schemas/BlueprintInstance' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: managed_blueprints_destroy description: Blueprint instances @@ -8961,17 +7005,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /managed/blueprints/{instance_uuid}/apply/: post: operationId: managed_blueprints_apply_create @@ -8996,17 +7032,9 @@ paths: $ref: '#/components/schemas/BlueprintInstance' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /managed/blueprints/{instance_uuid}/used_by/: get: operationId: managed_blueprints_used_by_list @@ -9033,17 +7061,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /managed/blueprints/available/: get: operationId: managed_blueprints_available_list @@ -9062,17 +7082,9 @@ paths: $ref: '#/components/schemas/BlueprintFile' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/access_tokens/: get: operationId: oauth2_access_tokens_list @@ -9102,17 +7114,9 @@ paths: $ref: '#/components/schemas/PaginatedTokenModelList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/access_tokens/{id}/: get: operationId: oauth2_access_tokens_retrieve @@ -9136,17 +7140,9 @@ paths: $ref: '#/components/schemas/TokenModel' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: oauth2_access_tokens_destroy description: AccessToken Viewset @@ -9165,17 +7161,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/access_tokens/{id}/used_by/: get: operationId: oauth2_access_tokens_used_by_list @@ -9201,17 +7189,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/authorization_codes/: get: operationId: oauth2_authorization_codes_list @@ -9241,17 +7221,9 @@ paths: $ref: '#/components/schemas/PaginatedExpiringBaseGrantModelList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/authorization_codes/{id}/: get: operationId: oauth2_authorization_codes_retrieve @@ -9275,17 +7247,9 @@ paths: $ref: '#/components/schemas/ExpiringBaseGrantModel' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: oauth2_authorization_codes_destroy description: AuthorizationCode Viewset @@ -9304,17 +7268,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/authorization_codes/{id}/used_by/: get: operationId: oauth2_authorization_codes_used_by_list @@ -9340,17 +7296,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/refresh_tokens/: get: operationId: oauth2_refresh_tokens_list @@ -9380,17 +7328,9 @@ paths: $ref: '#/components/schemas/PaginatedTokenModelList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/refresh_tokens/{id}/: get: operationId: oauth2_refresh_tokens_retrieve @@ -9414,17 +7354,9 @@ paths: $ref: '#/components/schemas/TokenModel' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: oauth2_refresh_tokens_destroy description: RefreshToken Viewset @@ -9443,17 +7375,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /oauth2/refresh_tokens/{id}/used_by/: get: operationId: oauth2_refresh_tokens_used_by_list @@ -9479,17 +7403,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/instances/: get: operationId: outposts_instances_list @@ -9547,17 +7463,9 @@ paths: $ref: '#/components/schemas/PaginatedOutpostList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: outposts_instances_create description: Outpost Viewset @@ -9579,17 +7487,9 @@ paths: $ref: '#/components/schemas/Outpost' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/instances/{uuid}/: get: operationId: outposts_instances_retrieve @@ -9614,17 +7514,9 @@ paths: $ref: '#/components/schemas/Outpost' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: outposts_instances_update description: Outpost Viewset @@ -9654,17 +7546,9 @@ paths: $ref: '#/components/schemas/Outpost' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: outposts_instances_partial_update description: Outpost Viewset @@ -9693,17 +7577,9 @@ paths: $ref: '#/components/schemas/Outpost' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: outposts_instances_destroy description: Outpost Viewset @@ -9723,17 +7599,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/instances/{uuid}/health/: get: operationId: outposts_instances_health_list @@ -9798,17 +7666,9 @@ paths: $ref: '#/components/schemas/OutpostHealth' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/instances/{uuid}/used_by/: get: operationId: outposts_instances_used_by_list @@ -9835,17 +7695,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/instances/default_settings/: get: operationId: outposts_instances_default_settings_retrieve @@ -9862,26 +7714,15 @@ paths: $ref: '#/components/schemas/OutpostDefaultConfig' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/ldap/: get: operationId: outposts_ldap_list description: LDAPProvider Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -9898,17 +7739,9 @@ paths: $ref: '#/components/schemas/PaginatedLDAPOutpostConfigList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/ldap/{id}/check_access/: get: operationId: outposts_ldap_access_check @@ -9936,26 +7769,15 @@ paths: $ref: '#/components/schemas/LDAPCheckAccess' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/proxy/: get: operationId: outposts_proxy_list description: ProxyProvider Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -9972,26 +7794,15 @@ paths: $ref: '#/components/schemas/PaginatedProxyOutpostConfigList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/radius/: get: operationId: outposts_radius_list description: RadiusProvider Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -10008,17 +7819,9 @@ paths: $ref: '#/components/schemas/PaginatedRadiusOutpostConfigList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/radius/{id}/check_access/: get: operationId: outposts_radius_access_check @@ -10046,26 +7849,15 @@ paths: $ref: '#/components/schemas/RadiusCheckAccess' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/all/: get: operationId: outposts_service_connections_all_list description: ServiceConnection Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -10082,17 +7874,9 @@ paths: $ref: '#/components/schemas/PaginatedServiceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/all/{uuid}/: get: operationId: outposts_service_connections_all_retrieve @@ -10117,17 +7901,9 @@ paths: $ref: '#/components/schemas/ServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: outposts_service_connections_all_destroy description: ServiceConnection Viewset @@ -10147,17 +7923,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/all/{uuid}/state/: get: operationId: outposts_service_connections_all_state_retrieve @@ -10182,17 +7950,9 @@ paths: $ref: '#/components/schemas/ServiceConnectionState' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/all/{uuid}/used_by/: get: operationId: outposts_service_connections_all_used_by_list @@ -10219,17 +7979,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/all/types/: get: operationId: outposts_service_connections_all_types_list @@ -10248,17 +8000,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/docker/: get: operationId: outposts_service_connections_docker_list @@ -10268,10 +8012,7 @@ paths: name: local schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -10302,17 +8043,9 @@ paths: $ref: '#/components/schemas/PaginatedDockerServiceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: outposts_service_connections_docker_create description: DockerServiceConnection Viewset @@ -10334,17 +8067,9 @@ paths: $ref: '#/components/schemas/DockerServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/docker/{uuid}/: get: operationId: outposts_service_connections_docker_retrieve @@ -10369,17 +8094,9 @@ paths: $ref: '#/components/schemas/DockerServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: outposts_service_connections_docker_update description: DockerServiceConnection Viewset @@ -10409,17 +8126,9 @@ paths: $ref: '#/components/schemas/DockerServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: outposts_service_connections_docker_partial_update description: DockerServiceConnection Viewset @@ -10448,17 +8157,9 @@ paths: $ref: '#/components/schemas/DockerServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: outposts_service_connections_docker_destroy description: DockerServiceConnection Viewset @@ -10478,17 +8179,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/docker/{uuid}/used_by/: get: operationId: outposts_service_connections_docker_used_by_list @@ -10515,17 +8208,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/kubernetes/: get: operationId: outposts_service_connections_kubernetes_list @@ -10535,10 +8220,7 @@ paths: name: local schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -10555,17 +8237,9 @@ paths: $ref: '#/components/schemas/PaginatedKubernetesServiceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: outposts_service_connections_kubernetes_create description: KubernetesServiceConnection Viewset @@ -10587,17 +8261,9 @@ paths: $ref: '#/components/schemas/KubernetesServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/kubernetes/{uuid}/: get: operationId: outposts_service_connections_kubernetes_retrieve @@ -10622,17 +8288,9 @@ paths: $ref: '#/components/schemas/KubernetesServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: outposts_service_connections_kubernetes_update description: KubernetesServiceConnection Viewset @@ -10662,17 +8320,9 @@ paths: $ref: '#/components/schemas/KubernetesServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: outposts_service_connections_kubernetes_partial_update description: KubernetesServiceConnection Viewset @@ -10701,17 +8351,9 @@ paths: $ref: '#/components/schemas/KubernetesServiceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: outposts_service_connections_kubernetes_destroy description: KubernetesServiceConnection Viewset @@ -10731,17 +8373,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /outposts/service_connections/kubernetes/{uuid}/used_by/: get: operationId: outposts_service_connections_kubernetes_used_by_list @@ -10768,17 +8402,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/: get: operationId: policies_all_list @@ -10808,17 +8434,9 @@ paths: $ref: '#/components/schemas/PaginatedPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/{policy_uuid}/: get: operationId: policies_all_retrieve @@ -10843,17 +8461,9 @@ paths: $ref: '#/components/schemas/Policy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_all_destroy description: Policy Viewset @@ -10873,17 +8483,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/{policy_uuid}/test/: post: operationId: policies_all_test_create @@ -10916,11 +8518,7 @@ paths: '400': description: Invalid parameters '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/{policy_uuid}/used_by/: get: operationId: policies_all_used_by_list @@ -10947,17 +8545,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/cache_clear/: post: operationId: policies_all_cache_clear_create @@ -10972,11 +8562,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/cache_info/: get: operationId: policies_all_cache_info_retrieve @@ -10993,17 +8579,9 @@ paths: $ref: '#/components/schemas/Cache' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/all/types/: get: operationId: policies_all_types_list @@ -11022,17 +8600,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/bindings/: get: operationId: policies_bindings_list @@ -11089,17 +8659,9 @@ paths: $ref: '#/components/schemas/PaginatedPolicyBindingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_bindings_create description: PolicyBinding Viewset @@ -11121,17 +8683,9 @@ paths: $ref: '#/components/schemas/PolicyBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/bindings/{policy_binding_uuid}/: get: operationId: policies_bindings_retrieve @@ -11156,17 +8710,9 @@ paths: $ref: '#/components/schemas/PolicyBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_bindings_update description: PolicyBinding Viewset @@ -11196,17 +8742,9 @@ paths: $ref: '#/components/schemas/PolicyBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_bindings_partial_update description: PolicyBinding Viewset @@ -11235,17 +8773,9 @@ paths: $ref: '#/components/schemas/PolicyBinding' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_bindings_destroy description: PolicyBinding Viewset @@ -11265,17 +8795,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/bindings/{policy_binding_uuid}/used_by/: get: operationId: policies_bindings_used_by_list @@ -11302,17 +8824,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/dummy/: get: operationId: policies_dummy_list @@ -11332,10 +8846,7 @@ paths: schema: type: string format: date-time - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -11369,17 +8880,9 @@ paths: $ref: '#/components/schemas/PaginatedDummyPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_dummy_create description: Dummy Viewset @@ -11401,17 +8904,9 @@ paths: $ref: '#/components/schemas/DummyPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/dummy/{policy_uuid}/: get: operationId: policies_dummy_retrieve @@ -11436,17 +8931,9 @@ paths: $ref: '#/components/schemas/DummyPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_dummy_update description: Dummy Viewset @@ -11476,17 +8963,9 @@ paths: $ref: '#/components/schemas/DummyPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_dummy_partial_update description: Dummy Viewset @@ -11515,17 +8994,9 @@ paths: $ref: '#/components/schemas/DummyPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_dummy_destroy description: Dummy Viewset @@ -11545,17 +9016,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/dummy/{policy_uuid}/used_by/: get: operationId: policies_dummy_used_by_list @@ -11582,17 +9045,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/event_matcher/: get: operationId: policies_event_matcher_list @@ -11660,10 +9115,7 @@ paths: name: model schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -11685,17 +9137,9 @@ paths: $ref: '#/components/schemas/PaginatedEventMatcherPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_event_matcher_create description: Event Matcher Policy Viewset @@ -11717,17 +9161,9 @@ paths: $ref: '#/components/schemas/EventMatcherPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/event_matcher/{policy_uuid}/: get: operationId: policies_event_matcher_retrieve @@ -11752,17 +9188,9 @@ paths: $ref: '#/components/schemas/EventMatcherPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_event_matcher_update description: Event Matcher Policy Viewset @@ -11792,17 +9220,9 @@ paths: $ref: '#/components/schemas/EventMatcherPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_event_matcher_partial_update description: Event Matcher Policy Viewset @@ -11831,17 +9251,9 @@ paths: $ref: '#/components/schemas/EventMatcherPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_event_matcher_destroy description: Event Matcher Policy Viewset @@ -11861,17 +9273,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/event_matcher/{policy_uuid}/used_by/: get: operationId: policies_event_matcher_used_by_list @@ -11898,17 +9302,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/expression/: get: operationId: policies_expression_list @@ -11932,10 +9328,7 @@ paths: schema: type: string format: date-time - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -11957,17 +9350,9 @@ paths: $ref: '#/components/schemas/PaginatedExpressionPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_expression_create description: Source Viewset @@ -11989,17 +9374,9 @@ paths: $ref: '#/components/schemas/ExpressionPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/expression/{policy_uuid}/: get: operationId: policies_expression_retrieve @@ -12024,17 +9401,9 @@ paths: $ref: '#/components/schemas/ExpressionPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_expression_update description: Source Viewset @@ -12064,17 +9433,9 @@ paths: $ref: '#/components/schemas/ExpressionPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_expression_partial_update description: Source Viewset @@ -12103,17 +9464,9 @@ paths: $ref: '#/components/schemas/ExpressionPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_expression_destroy description: Source Viewset @@ -12133,17 +9486,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/expression/{policy_uuid}/used_by/: get: operationId: policies_expression_used_by_list @@ -12170,26 +9515,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/geoip/: get: operationId: policies_geoip_list description: GeoIP Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -12206,17 +9540,9 @@ paths: $ref: '#/components/schemas/PaginatedGeoIPPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_geoip_create description: GeoIP Viewset @@ -12238,17 +9564,9 @@ paths: $ref: '#/components/schemas/GeoIPPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/geoip/{policy_uuid}/: get: operationId: policies_geoip_retrieve @@ -12273,17 +9591,9 @@ paths: $ref: '#/components/schemas/GeoIPPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_geoip_update description: GeoIP Viewset @@ -12313,17 +9623,9 @@ paths: $ref: '#/components/schemas/GeoIPPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_geoip_partial_update description: GeoIP Viewset @@ -12352,17 +9654,9 @@ paths: $ref: '#/components/schemas/GeoIPPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_geoip_destroy description: GeoIP Viewset @@ -12382,17 +9676,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/geoip/{policy_uuid}/used_by/: get: operationId: policies_geoip_used_by_list @@ -12419,17 +9705,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/geoip_iso3166/: get: operationId: policies_geoip_iso3166_list @@ -12449,17 +9727,9 @@ paths: $ref: '#/components/schemas/DetailedCountry' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/password/: get: operationId: policies_password_list @@ -12519,10 +9789,7 @@ paths: name: length_min schema: type: integer - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -12556,17 +9823,9 @@ paths: $ref: '#/components/schemas/PaginatedPasswordPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_password_create description: Password Policy Viewset @@ -12588,17 +9847,9 @@ paths: $ref: '#/components/schemas/PasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/password/{policy_uuid}/: get: operationId: policies_password_retrieve @@ -12623,17 +9874,9 @@ paths: $ref: '#/components/schemas/PasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_password_update description: Password Policy Viewset @@ -12663,17 +9906,9 @@ paths: $ref: '#/components/schemas/PasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_password_partial_update description: Password Policy Viewset @@ -12702,17 +9937,9 @@ paths: $ref: '#/components/schemas/PasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_password_destroy description: Password Policy Viewset @@ -12732,17 +9959,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/password/{policy_uuid}/used_by/: get: operationId: policies_password_used_by_list @@ -12769,17 +9988,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/password_expiry/: get: operationId: policies_password_expiry_list @@ -12807,10 +10018,7 @@ paths: schema: type: string format: date-time - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -12832,17 +10040,9 @@ paths: $ref: '#/components/schemas/PaginatedPasswordExpiryPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_password_expiry_create description: Password Expiry Viewset @@ -12864,17 +10064,9 @@ paths: $ref: '#/components/schemas/PasswordExpiryPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/password_expiry/{policy_uuid}/: get: operationId: policies_password_expiry_retrieve @@ -12899,17 +10091,9 @@ paths: $ref: '#/components/schemas/PasswordExpiryPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_password_expiry_update description: Password Expiry Viewset @@ -12939,17 +10123,9 @@ paths: $ref: '#/components/schemas/PasswordExpiryPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_password_expiry_partial_update description: Password Expiry Viewset @@ -12978,17 +10154,9 @@ paths: $ref: '#/components/schemas/PasswordExpiryPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_password_expiry_destroy description: Password Expiry Viewset @@ -13008,17 +10176,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/password_expiry/{policy_uuid}/used_by/: get: operationId: policies_password_expiry_used_by_list @@ -13045,17 +10205,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/reputation/: get: operationId: policies_reputation_list @@ -13083,10 +10235,7 @@ paths: schema: type: string format: date-time - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -13112,17 +10261,9 @@ paths: $ref: '#/components/schemas/PaginatedReputationPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_reputation_create description: Reputation Policy Viewset @@ -13144,17 +10285,9 @@ paths: $ref: '#/components/schemas/ReputationPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/reputation/{policy_uuid}/: get: operationId: policies_reputation_retrieve @@ -13179,17 +10312,9 @@ paths: $ref: '#/components/schemas/ReputationPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_reputation_update description: Reputation Policy Viewset @@ -13219,17 +10344,9 @@ paths: $ref: '#/components/schemas/ReputationPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_reputation_partial_update description: Reputation Policy Viewset @@ -13258,17 +10375,9 @@ paths: $ref: '#/components/schemas/ReputationPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_reputation_destroy description: Reputation Policy Viewset @@ -13288,17 +10397,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/reputation/{policy_uuid}/used_by/: get: operationId: policies_reputation_used_by_list @@ -13325,17 +10426,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/reputation/scores/: get: operationId: policies_reputation_scores_list @@ -13378,17 +10471,9 @@ paths: $ref: '#/components/schemas/PaginatedReputationList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/reputation/scores/{reputation_uuid}/: get: operationId: policies_reputation_scores_retrieve @@ -13413,17 +10498,9 @@ paths: $ref: '#/components/schemas/Reputation' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_reputation_scores_destroy description: Reputation Viewset @@ -13443,17 +10520,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/reputation/scores/{reputation_uuid}/used_by/: get: operationId: policies_reputation_scores_used_by_list @@ -13480,17 +10549,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/unique_password/: get: operationId: policies_unique_password_list @@ -13510,10 +10571,7 @@ paths: schema: type: string format: date-time - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: num_historical_passwords schema: @@ -13543,17 +10601,9 @@ paths: $ref: '#/components/schemas/PaginatedUniquePasswordPolicyList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: policies_unique_password_create description: Password Uniqueness Policy Viewset @@ -13575,17 +10625,9 @@ paths: $ref: '#/components/schemas/UniquePasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/unique_password/{policy_uuid}/: get: operationId: policies_unique_password_retrieve @@ -13610,17 +10652,9 @@ paths: $ref: '#/components/schemas/UniquePasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: policies_unique_password_update description: Password Uniqueness Policy Viewset @@ -13650,17 +10684,9 @@ paths: $ref: '#/components/schemas/UniquePasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: policies_unique_password_partial_update description: Password Uniqueness Policy Viewset @@ -13689,17 +10715,9 @@ paths: $ref: '#/components/schemas/UniquePasswordPolicy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: policies_unique_password_destroy description: Password Uniqueness Policy Viewset @@ -13719,17 +10737,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /policies/unique_password/{policy_uuid}/used_by/: get: operationId: policies_unique_password_used_by_list @@ -13756,17 +10766,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/all/: get: operationId: propertymappings_all_list @@ -13784,10 +10786,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -13804,17 +10803,9 @@ paths: $ref: '#/components/schemas/PaginatedPropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/all/{pm_uuid}/: get: operationId: propertymappings_all_retrieve @@ -13839,17 +10830,9 @@ paths: $ref: '#/components/schemas/PropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_all_destroy description: PropertyMapping Viewset @@ -13869,17 +10852,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/all/{pm_uuid}/test/: post: operationId: propertymappings_all_test_create @@ -13915,11 +10890,7 @@ paths: '400': description: Invalid parameters '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/all/{pm_uuid}/used_by/: get: operationId: propertymappings_all_used_by_list @@ -13946,17 +10917,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/all/types/: get: operationId: propertymappings_all_types_list @@ -13975,26 +10938,15 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/notification/: get: operationId: propertymappings_notification_list description: NotificationWebhookMapping Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -14011,17 +10963,9 @@ paths: $ref: '#/components/schemas/PaginatedNotificationWebhookMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_notification_create description: NotificationWebhookMapping Viewset @@ -14043,17 +10987,9 @@ paths: $ref: '#/components/schemas/NotificationWebhookMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/notification/{pm_uuid}/: get: operationId: propertymappings_notification_retrieve @@ -14078,17 +11014,9 @@ paths: $ref: '#/components/schemas/NotificationWebhookMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_notification_update description: NotificationWebhookMapping Viewset @@ -14118,17 +11046,9 @@ paths: $ref: '#/components/schemas/NotificationWebhookMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_notification_partial_update description: NotificationWebhookMapping Viewset @@ -14157,17 +11077,9 @@ paths: $ref: '#/components/schemas/NotificationWebhookMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_notification_destroy description: NotificationWebhookMapping Viewset @@ -14187,17 +11099,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/notification/{pm_uuid}/used_by/: get: operationId: propertymappings_notification_used_by_list @@ -14224,17 +11128,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/google_workspace/: get: operationId: propertymappings_provider_google_workspace_list @@ -14252,10 +11148,7 @@ paths: type: string explode: true style: form - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -14277,17 +11170,9 @@ paths: $ref: '#/components/schemas/PaginatedGoogleWorkspaceProviderMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_google_workspace_create description: GoogleWorkspaceProviderMapping Viewset @@ -14309,17 +11194,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/google_workspace/{pm_uuid}/: get: operationId: propertymappings_provider_google_workspace_retrieve @@ -14344,17 +11221,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_google_workspace_update description: GoogleWorkspaceProviderMapping Viewset @@ -14384,17 +11253,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_google_workspace_partial_update description: GoogleWorkspaceProviderMapping Viewset @@ -14423,17 +11284,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_google_workspace_destroy description: GoogleWorkspaceProviderMapping Viewset @@ -14453,17 +11306,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/google_workspace/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_google_workspace_used_by_list @@ -14490,17 +11335,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/microsoft_entra/: get: operationId: propertymappings_provider_microsoft_entra_list @@ -14518,10 +11355,7 @@ paths: type: string explode: true style: form - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -14543,17 +11377,9 @@ paths: $ref: '#/components/schemas/PaginatedMicrosoftEntraProviderMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_microsoft_entra_create description: MicrosoftEntraProviderMapping Viewset @@ -14575,17 +11401,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/microsoft_entra/{pm_uuid}/: get: operationId: propertymappings_provider_microsoft_entra_retrieve @@ -14610,17 +11428,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_microsoft_entra_update description: MicrosoftEntraProviderMapping Viewset @@ -14650,17 +11460,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_microsoft_entra_partial_update description: MicrosoftEntraProviderMapping Viewset @@ -14689,17 +11491,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_microsoft_entra_destroy description: MicrosoftEntraProviderMapping Viewset @@ -14719,17 +11513,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/microsoft_entra/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_microsoft_entra_used_by_list @@ -14756,17 +11542,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/rac/: get: operationId: propertymappings_provider_rac_list @@ -14780,10 +11558,7 @@ paths: type: string explode: true style: form - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -14800,17 +11575,9 @@ paths: $ref: '#/components/schemas/PaginatedRACPropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_rac_create description: RACPropertyMapping Viewset @@ -14832,17 +11599,9 @@ paths: $ref: '#/components/schemas/RACPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/rac/{pm_uuid}/: get: operationId: propertymappings_provider_rac_retrieve @@ -14867,17 +11626,9 @@ paths: $ref: '#/components/schemas/RACPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_rac_update description: RACPropertyMapping Viewset @@ -14907,17 +11658,9 @@ paths: $ref: '#/components/schemas/RACPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_rac_partial_update description: RACPropertyMapping Viewset @@ -14946,17 +11689,9 @@ paths: $ref: '#/components/schemas/RACPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_rac_destroy description: RACPropertyMapping Viewset @@ -14976,17 +11711,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/rac/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_rac_used_by_list @@ -15013,17 +11740,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/radius/: get: operationId: propertymappings_provider_radius_list @@ -15041,10 +11760,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -15061,17 +11777,9 @@ paths: $ref: '#/components/schemas/PaginatedRadiusProviderPropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_radius_create description: RadiusProviderPropertyMapping Viewset @@ -15093,17 +11801,9 @@ paths: $ref: '#/components/schemas/RadiusProviderPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/radius/{pm_uuid}/: get: operationId: propertymappings_provider_radius_retrieve @@ -15128,17 +11828,9 @@ paths: $ref: '#/components/schemas/RadiusProviderPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_radius_update description: RadiusProviderPropertyMapping Viewset @@ -15168,17 +11860,9 @@ paths: $ref: '#/components/schemas/RadiusProviderPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_radius_partial_update description: RadiusProviderPropertyMapping Viewset @@ -15207,17 +11891,9 @@ paths: $ref: '#/components/schemas/RadiusProviderPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_radius_destroy description: RadiusProviderPropertyMapping Viewset @@ -15237,17 +11913,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/radius/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_radius_used_by_list @@ -15274,17 +11942,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/saml/: get: operationId: propertymappings_provider_saml_list @@ -15306,10 +11966,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -15330,17 +11987,9 @@ paths: $ref: '#/components/schemas/PaginatedSAMLPropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_saml_create description: SAMLPropertyMapping Viewset @@ -15362,17 +12011,9 @@ paths: $ref: '#/components/schemas/SAMLPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/saml/{pm_uuid}/: get: operationId: propertymappings_provider_saml_retrieve @@ -15397,17 +12038,9 @@ paths: $ref: '#/components/schemas/SAMLPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_saml_update description: SAMLPropertyMapping Viewset @@ -15437,17 +12070,9 @@ paths: $ref: '#/components/schemas/SAMLPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_saml_partial_update description: SAMLPropertyMapping Viewset @@ -15476,17 +12101,9 @@ paths: $ref: '#/components/schemas/SAMLPropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_saml_destroy description: SAMLPropertyMapping Viewset @@ -15506,17 +12123,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/saml/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_saml_used_by_list @@ -15543,17 +12152,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/scim/: get: operationId: propertymappings_provider_scim_list @@ -15571,10 +12172,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -15591,17 +12189,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_scim_create description: SCIMMapping Viewset @@ -15623,17 +12213,9 @@ paths: $ref: '#/components/schemas/SCIMMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/scim/{pm_uuid}/: get: operationId: propertymappings_provider_scim_retrieve @@ -15658,17 +12240,9 @@ paths: $ref: '#/components/schemas/SCIMMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_scim_update description: SCIMMapping Viewset @@ -15698,17 +12272,9 @@ paths: $ref: '#/components/schemas/SCIMMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_scim_partial_update description: SCIMMapping Viewset @@ -15737,17 +12303,9 @@ paths: $ref: '#/components/schemas/SCIMMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_scim_destroy description: SCIMMapping Viewset @@ -15767,17 +12325,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/scim/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_scim_used_by_list @@ -15804,17 +12354,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/scope/: get: operationId: propertymappings_provider_scope_list @@ -15832,10 +12374,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -15856,17 +12395,9 @@ paths: $ref: '#/components/schemas/PaginatedScopeMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_provider_scope_create description: ScopeMapping Viewset @@ -15888,17 +12419,9 @@ paths: $ref: '#/components/schemas/ScopeMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/scope/{pm_uuid}/: get: operationId: propertymappings_provider_scope_retrieve @@ -15923,17 +12446,9 @@ paths: $ref: '#/components/schemas/ScopeMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_provider_scope_update description: ScopeMapping Viewset @@ -15963,17 +12478,9 @@ paths: $ref: '#/components/schemas/ScopeMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_provider_scope_partial_update description: ScopeMapping Viewset @@ -16002,17 +12509,9 @@ paths: $ref: '#/components/schemas/ScopeMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_provider_scope_destroy description: ScopeMapping Viewset @@ -16032,17 +12531,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/provider/scope/{pm_uuid}/used_by/: get: operationId: propertymappings_provider_scope_used_by_list @@ -16069,17 +12560,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/kerberos/: get: operationId: propertymappings_source_kerberos_list @@ -16097,10 +12580,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -16117,17 +12597,9 @@ paths: $ref: '#/components/schemas/PaginatedKerberosSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_kerberos_create description: KerberosSource PropertyMapping Viewset @@ -16149,17 +12621,9 @@ paths: $ref: '#/components/schemas/KerberosSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/kerberos/{pm_uuid}/: get: operationId: propertymappings_source_kerberos_retrieve @@ -16184,17 +12648,9 @@ paths: $ref: '#/components/schemas/KerberosSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_kerberos_update description: KerberosSource PropertyMapping Viewset @@ -16224,17 +12680,9 @@ paths: $ref: '#/components/schemas/KerberosSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_kerberos_partial_update description: KerberosSource PropertyMapping Viewset @@ -16263,17 +12711,9 @@ paths: $ref: '#/components/schemas/KerberosSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_kerberos_destroy description: KerberosSource PropertyMapping Viewset @@ -16293,17 +12733,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/kerberos/{pm_uuid}/used_by/: get: operationId: propertymappings_source_kerberos_used_by_list @@ -16330,17 +12762,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/ldap/: get: operationId: propertymappings_source_ldap_list @@ -16358,10 +12782,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -16378,17 +12799,9 @@ paths: $ref: '#/components/schemas/PaginatedLDAPSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_ldap_create description: LDAP PropertyMapping Viewset @@ -16410,17 +12823,9 @@ paths: $ref: '#/components/schemas/LDAPSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/ldap/{pm_uuid}/: get: operationId: propertymappings_source_ldap_retrieve @@ -16445,17 +12850,9 @@ paths: $ref: '#/components/schemas/LDAPSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_ldap_update description: LDAP PropertyMapping Viewset @@ -16485,17 +12882,9 @@ paths: $ref: '#/components/schemas/LDAPSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_ldap_partial_update description: LDAP PropertyMapping Viewset @@ -16524,17 +12913,9 @@ paths: $ref: '#/components/schemas/LDAPSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_ldap_destroy description: LDAP PropertyMapping Viewset @@ -16554,17 +12935,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/ldap/{pm_uuid}/used_by/: get: operationId: propertymappings_source_ldap_used_by_list @@ -16591,17 +12964,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/oauth/: get: operationId: propertymappings_source_oauth_list @@ -16619,10 +12984,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -16639,17 +13001,9 @@ paths: $ref: '#/components/schemas/PaginatedOAuthSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_oauth_create description: OAuthSourcePropertyMapping Viewset @@ -16671,17 +13025,9 @@ paths: $ref: '#/components/schemas/OAuthSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/oauth/{pm_uuid}/: get: operationId: propertymappings_source_oauth_retrieve @@ -16706,17 +13052,9 @@ paths: $ref: '#/components/schemas/OAuthSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_oauth_update description: OAuthSourcePropertyMapping Viewset @@ -16746,17 +13084,9 @@ paths: $ref: '#/components/schemas/OAuthSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_oauth_partial_update description: OAuthSourcePropertyMapping Viewset @@ -16785,17 +13115,9 @@ paths: $ref: '#/components/schemas/OAuthSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_oauth_destroy description: OAuthSourcePropertyMapping Viewset @@ -16815,17 +13137,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/oauth/{pm_uuid}/used_by/: get: operationId: propertymappings_source_oauth_used_by_list @@ -16852,17 +13166,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/plex/: get: operationId: propertymappings_source_plex_list @@ -16880,10 +13186,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -16900,17 +13203,9 @@ paths: $ref: '#/components/schemas/PaginatedPlexSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_plex_create description: PlexSourcePropertyMapping Viewset @@ -16932,17 +13227,9 @@ paths: $ref: '#/components/schemas/PlexSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/plex/{pm_uuid}/: get: operationId: propertymappings_source_plex_retrieve @@ -16967,17 +13254,9 @@ paths: $ref: '#/components/schemas/PlexSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_plex_update description: PlexSourcePropertyMapping Viewset @@ -17007,17 +13286,9 @@ paths: $ref: '#/components/schemas/PlexSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_plex_partial_update description: PlexSourcePropertyMapping Viewset @@ -17046,17 +13317,9 @@ paths: $ref: '#/components/schemas/PlexSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_plex_destroy description: PlexSourcePropertyMapping Viewset @@ -17076,17 +13339,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/plex/{pm_uuid}/used_by/: get: operationId: propertymappings_source_plex_used_by_list @@ -17113,17 +13368,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/saml/: get: operationId: propertymappings_source_saml_list @@ -17141,10 +13388,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -17161,17 +13405,9 @@ paths: $ref: '#/components/schemas/PaginatedSAMLSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_saml_create description: SAMLSourcePropertyMapping Viewset @@ -17193,17 +13429,9 @@ paths: $ref: '#/components/schemas/SAMLSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/saml/{pm_uuid}/: get: operationId: propertymappings_source_saml_retrieve @@ -17228,17 +13456,9 @@ paths: $ref: '#/components/schemas/SAMLSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_saml_update description: SAMLSourcePropertyMapping Viewset @@ -17268,17 +13488,9 @@ paths: $ref: '#/components/schemas/SAMLSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_saml_partial_update description: SAMLSourcePropertyMapping Viewset @@ -17307,17 +13519,9 @@ paths: $ref: '#/components/schemas/SAMLSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_saml_destroy description: SAMLSourcePropertyMapping Viewset @@ -17337,17 +13541,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/saml/{pm_uuid}/used_by/: get: operationId: propertymappings_source_saml_used_by_list @@ -17374,17 +13570,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/scim/: get: operationId: propertymappings_source_scim_list @@ -17402,10 +13590,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -17422,17 +13607,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_scim_create description: SCIMSourcePropertyMapping Viewset @@ -17454,17 +13631,9 @@ paths: $ref: '#/components/schemas/SCIMSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/scim/{pm_uuid}/: get: operationId: propertymappings_source_scim_retrieve @@ -17489,17 +13658,9 @@ paths: $ref: '#/components/schemas/SCIMSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_scim_update description: SCIMSourcePropertyMapping Viewset @@ -17529,17 +13690,9 @@ paths: $ref: '#/components/schemas/SCIMSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_scim_partial_update description: SCIMSourcePropertyMapping Viewset @@ -17568,17 +13721,9 @@ paths: $ref: '#/components/schemas/SCIMSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_scim_destroy description: SCIMSourcePropertyMapping Viewset @@ -17598,17 +13743,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/scim/{pm_uuid}/used_by/: get: operationId: propertymappings_source_scim_used_by_list @@ -17635,17 +13772,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/telegram/: get: operationId: propertymappings_source_telegram_list @@ -17663,10 +13792,7 @@ paths: name: managed__isnull schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -17683,17 +13809,9 @@ paths: $ref: '#/components/schemas/PaginatedTelegramSourcePropertyMappingList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: propertymappings_source_telegram_create description: TelegramSourcePropertyMapping Viewset @@ -17715,17 +13833,9 @@ paths: $ref: '#/components/schemas/TelegramSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/telegram/{pm_uuid}/: get: operationId: propertymappings_source_telegram_retrieve @@ -17750,17 +13860,9 @@ paths: $ref: '#/components/schemas/TelegramSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: propertymappings_source_telegram_update description: TelegramSourcePropertyMapping Viewset @@ -17790,17 +13892,9 @@ paths: $ref: '#/components/schemas/TelegramSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: propertymappings_source_telegram_partial_update description: TelegramSourcePropertyMapping Viewset @@ -17829,17 +13923,9 @@ paths: $ref: '#/components/schemas/TelegramSourcePropertyMapping' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: propertymappings_source_telegram_destroy description: TelegramSourcePropertyMapping Viewset @@ -17859,17 +13945,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /propertymappings/source/telegram/{pm_uuid}/used_by/: get: operationId: propertymappings_source_telegram_used_by_list @@ -17896,17 +13974,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/all/: get: operationId: providers_all_list @@ -17939,17 +14009,9 @@ paths: $ref: '#/components/schemas/PaginatedProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/all/{id}/: get: operationId: providers_all_retrieve @@ -17973,17 +14035,9 @@ paths: $ref: '#/components/schemas/Provider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_all_destroy description: Provider Viewset @@ -18002,17 +14056,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/all/{id}/used_by/: get: operationId: providers_all_used_by_list @@ -18038,17 +14084,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/all/types/: get: operationId: providers_all_types_list @@ -18067,17 +14105,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace/: get: operationId: providers_google_workspace_list @@ -18096,10 +14126,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -18116,17 +14143,9 @@ paths: $ref: '#/components/schemas/PaginatedGoogleWorkspaceProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_google_workspace_create description: GoogleWorkspaceProvider Viewset @@ -18148,17 +14167,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace/{id}/: get: operationId: providers_google_workspace_retrieve @@ -18182,17 +14193,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_google_workspace_update description: GoogleWorkspaceProvider Viewset @@ -18221,17 +14224,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_google_workspace_partial_update description: GoogleWorkspaceProvider Viewset @@ -18259,17 +14254,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_google_workspace_destroy description: GoogleWorkspaceProvider Viewset @@ -18288,17 +14275,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace/{id}/sync/object/: post: operationId: providers_google_workspace_sync_object_create @@ -18328,17 +14307,9 @@ paths: $ref: '#/components/schemas/SyncObjectResult' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace/{id}/sync/status/: get: operationId: providers_google_workspace_sync_status_retrieve @@ -18362,17 +14333,9 @@ paths: $ref: '#/components/schemas/SyncStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace/{id}/used_by/: get: operationId: providers_google_workspace_used_by_list @@ -18398,17 +14361,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace_groups/: get: operationId: providers_google_workspace_groups_list @@ -18443,17 +14398,9 @@ paths: $ref: '#/components/schemas/PaginatedGoogleWorkspaceProviderGroupList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_google_workspace_groups_create description: GoogleWorkspaceProviderGroup Viewset @@ -18475,17 +14422,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace_groups/{id}/: get: operationId: providers_google_workspace_groups_retrieve @@ -18510,17 +14449,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_google_workspace_groups_destroy description: GoogleWorkspaceProviderGroup Viewset @@ -18540,17 +14471,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace_groups/{id}/used_by/: get: operationId: providers_google_workspace_groups_used_by_list @@ -18577,17 +14500,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace_users/: get: operationId: providers_google_workspace_users_list @@ -18621,17 +14536,9 @@ paths: $ref: '#/components/schemas/PaginatedGoogleWorkspaceProviderUserList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_google_workspace_users_create description: GoogleWorkspaceProviderUser Viewset @@ -18653,17 +14560,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace_users/{id}/: get: operationId: providers_google_workspace_users_retrieve @@ -18688,17 +14587,9 @@ paths: $ref: '#/components/schemas/GoogleWorkspaceProviderUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_google_workspace_users_destroy description: GoogleWorkspaceProviderUser Viewset @@ -18718,17 +14609,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/google_workspace_users/{id}/used_by/: get: operationId: providers_google_workspace_users_used_by_list @@ -18755,17 +14638,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/ldap/: get: operationId: providers_ldap_list @@ -18824,17 +14699,9 @@ paths: $ref: '#/components/schemas/PaginatedLDAPProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_ldap_create description: LDAPProvider Viewset @@ -18856,17 +14723,9 @@ paths: $ref: '#/components/schemas/LDAPProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/ldap/{id}/: get: operationId: providers_ldap_retrieve @@ -18890,17 +14749,9 @@ paths: $ref: '#/components/schemas/LDAPProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_ldap_update description: LDAPProvider Viewset @@ -18929,17 +14780,9 @@ paths: $ref: '#/components/schemas/LDAPProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_ldap_partial_update description: LDAPProvider Viewset @@ -18967,17 +14810,9 @@ paths: $ref: '#/components/schemas/LDAPProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_ldap_destroy description: LDAPProvider Viewset @@ -18996,17 +14831,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/ldap/{id}/used_by/: get: operationId: providers_ldap_used_by_list @@ -19032,17 +14859,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra/: get: operationId: providers_microsoft_entra_list @@ -19057,10 +14876,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -19077,17 +14893,9 @@ paths: $ref: '#/components/schemas/PaginatedMicrosoftEntraProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_microsoft_entra_create description: MicrosoftEntraProvider Viewset @@ -19109,17 +14917,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra/{id}/: get: operationId: providers_microsoft_entra_retrieve @@ -19143,17 +14943,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_microsoft_entra_update description: MicrosoftEntraProvider Viewset @@ -19182,17 +14974,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_microsoft_entra_partial_update description: MicrosoftEntraProvider Viewset @@ -19220,17 +15004,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_microsoft_entra_destroy description: MicrosoftEntraProvider Viewset @@ -19249,17 +15025,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra/{id}/sync/object/: post: operationId: providers_microsoft_entra_sync_object_create @@ -19289,17 +15057,9 @@ paths: $ref: '#/components/schemas/SyncObjectResult' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra/{id}/sync/status/: get: operationId: providers_microsoft_entra_sync_status_retrieve @@ -19323,17 +15083,9 @@ paths: $ref: '#/components/schemas/SyncStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra/{id}/used_by/: get: operationId: providers_microsoft_entra_used_by_list @@ -19359,17 +15111,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra_groups/: get: operationId: providers_microsoft_entra_groups_list @@ -19404,17 +15148,9 @@ paths: $ref: '#/components/schemas/PaginatedMicrosoftEntraProviderGroupList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_microsoft_entra_groups_create description: MicrosoftEntraProviderGroup Viewset @@ -19436,17 +15172,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra_groups/{id}/: get: operationId: providers_microsoft_entra_groups_retrieve @@ -19471,17 +15199,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_microsoft_entra_groups_destroy description: MicrosoftEntraProviderGroup Viewset @@ -19501,17 +15221,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra_groups/{id}/used_by/: get: operationId: providers_microsoft_entra_groups_used_by_list @@ -19538,17 +15250,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra_users/: get: operationId: providers_microsoft_entra_users_list @@ -19582,17 +15286,9 @@ paths: $ref: '#/components/schemas/PaginatedMicrosoftEntraProviderUserList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_microsoft_entra_users_create description: MicrosoftEntraProviderUser Viewset @@ -19614,17 +15310,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra_users/{id}/: get: operationId: providers_microsoft_entra_users_retrieve @@ -19649,17 +15337,9 @@ paths: $ref: '#/components/schemas/MicrosoftEntraProviderUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_microsoft_entra_users_destroy description: MicrosoftEntraProviderUser Viewset @@ -19679,17 +15359,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/microsoft_entra_users/{id}/used_by/: get: operationId: providers_microsoft_entra_users_used_by_list @@ -19716,17 +15388,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/oauth2/: get: operationId: providers_oauth2_list @@ -19778,10 +15442,7 @@ paths: description: |+ Configure how the issuer field of the ID Token should be filled. - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -19830,17 +15491,9 @@ paths: $ref: '#/components/schemas/PaginatedOAuth2ProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_oauth2_create description: OAuth2Provider Viewset @@ -19862,17 +15515,9 @@ paths: $ref: '#/components/schemas/OAuth2Provider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/oauth2/{id}/: get: operationId: providers_oauth2_retrieve @@ -19896,17 +15541,9 @@ paths: $ref: '#/components/schemas/OAuth2Provider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_oauth2_update description: OAuth2Provider Viewset @@ -19935,17 +15572,9 @@ paths: $ref: '#/components/schemas/OAuth2Provider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_oauth2_partial_update description: OAuth2Provider Viewset @@ -19973,17 +15602,9 @@ paths: $ref: '#/components/schemas/OAuth2Provider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_oauth2_destroy description: OAuth2Provider Viewset @@ -20002,17 +15623,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/oauth2/{id}/preview_user/: get: operationId: providers_oauth2_preview_user_retrieve @@ -20042,11 +15655,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/oauth2/{id}/setup_urls/: get: operationId: providers_oauth2_setup_urls_retrieve @@ -20072,17 +15681,9 @@ paths: '404': description: Provider has no application assigned '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/oauth2/{id}/used_by/: get: operationId: providers_oauth2_used_by_list @@ -20108,17 +15709,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/proxy/: get: operationId: providers_proxy_list @@ -20206,17 +15799,9 @@ paths: $ref: '#/components/schemas/PaginatedProxyProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_proxy_create description: ProxyProvider Viewset @@ -20238,17 +15823,9 @@ paths: $ref: '#/components/schemas/ProxyProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/proxy/{id}/: get: operationId: providers_proxy_retrieve @@ -20272,17 +15849,9 @@ paths: $ref: '#/components/schemas/ProxyProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_proxy_update description: ProxyProvider Viewset @@ -20311,17 +15880,9 @@ paths: $ref: '#/components/schemas/ProxyProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_proxy_partial_update description: ProxyProvider Viewset @@ -20349,17 +15910,9 @@ paths: $ref: '#/components/schemas/ProxyProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_proxy_destroy description: ProxyProvider Viewset @@ -20378,17 +15931,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/proxy/{id}/used_by/: get: operationId: providers_proxy_used_by_list @@ -20414,17 +15959,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/rac/: get: operationId: providers_rac_list @@ -20454,17 +15991,9 @@ paths: $ref: '#/components/schemas/PaginatedRACProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_rac_create description: RACProvider Viewset @@ -20486,17 +16015,9 @@ paths: $ref: '#/components/schemas/RACProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/rac/{id}/: get: operationId: providers_rac_retrieve @@ -20520,17 +16041,9 @@ paths: $ref: '#/components/schemas/RACProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_rac_update description: RACProvider Viewset @@ -20559,17 +16072,9 @@ paths: $ref: '#/components/schemas/RACProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_rac_partial_update description: RACProvider Viewset @@ -20597,17 +16102,9 @@ paths: $ref: '#/components/schemas/RACProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_rac_destroy description: RACProvider Viewset @@ -20626,17 +16123,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/rac/{id}/used_by/: get: operationId: providers_rac_used_by_list @@ -20662,17 +16151,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/radius/: get: operationId: providers_radius_list @@ -20710,17 +16191,9 @@ paths: $ref: '#/components/schemas/PaginatedRadiusProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_radius_create description: RadiusProvider Viewset @@ -20742,17 +16215,9 @@ paths: $ref: '#/components/schemas/RadiusProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/radius/{id}/: get: operationId: providers_radius_retrieve @@ -20776,17 +16241,9 @@ paths: $ref: '#/components/schemas/RadiusProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_radius_update description: RadiusProvider Viewset @@ -20815,17 +16272,9 @@ paths: $ref: '#/components/schemas/RadiusProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_radius_partial_update description: RadiusProvider Viewset @@ -20853,17 +16302,9 @@ paths: $ref: '#/components/schemas/RadiusProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_radius_destroy description: RadiusProvider Viewset @@ -20882,17 +16323,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/radius/{id}/used_by/: get: operationId: providers_radius_used_by_list @@ -20918,17 +16351,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/saml/: get: operationId: providers_saml_list @@ -21012,10 +16437,7 @@ paths: name: issuer schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: name_id_mapping schema: @@ -21093,17 +16515,9 @@ paths: $ref: '#/components/schemas/PaginatedSAMLProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_saml_create description: SAMLProvider Viewset @@ -21125,17 +16539,9 @@ paths: $ref: '#/components/schemas/SAMLProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/saml/{id}/: get: operationId: providers_saml_retrieve @@ -21159,17 +16565,9 @@ paths: $ref: '#/components/schemas/SAMLProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_saml_update description: SAMLProvider Viewset @@ -21198,17 +16596,9 @@ paths: $ref: '#/components/schemas/SAMLProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_saml_partial_update description: SAMLProvider Viewset @@ -21236,17 +16626,9 @@ paths: $ref: '#/components/schemas/SAMLProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_saml_destroy description: SAMLProvider Viewset @@ -21265,17 +16647,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/saml/{id}/metadata/: get: operationId: providers_saml_metadata_retrieve @@ -21317,17 +16691,9 @@ paths: '404': description: Provider has no application assigned '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/saml/{id}/preview_user/: get: operationId: providers_saml_preview_user_retrieve @@ -21357,11 +16723,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/saml/{id}/used_by/: get: operationId: providers_saml_used_by_list @@ -21387,17 +16749,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/saml/import_metadata/: post: operationId: providers_saml_import_metadata_create @@ -21418,11 +16772,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim/: get: operationId: providers_scim_list @@ -21437,10 +16787,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -21461,17 +16808,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_scim_create description: SCIMProvider Viewset @@ -21493,17 +16832,9 @@ paths: $ref: '#/components/schemas/SCIMProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim/{id}/: get: operationId: providers_scim_retrieve @@ -21527,17 +16858,9 @@ paths: $ref: '#/components/schemas/SCIMProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_scim_update description: SCIMProvider Viewset @@ -21566,17 +16889,9 @@ paths: $ref: '#/components/schemas/SCIMProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_scim_partial_update description: SCIMProvider Viewset @@ -21604,17 +16919,9 @@ paths: $ref: '#/components/schemas/SCIMProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_scim_destroy description: SCIMProvider Viewset @@ -21633,17 +16940,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim/{id}/sync/object/: post: operationId: providers_scim_sync_object_create @@ -21673,17 +16972,9 @@ paths: $ref: '#/components/schemas/SyncObjectResult' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim/{id}/sync/status/: get: operationId: providers_scim_sync_status_retrieve @@ -21707,17 +16998,9 @@ paths: $ref: '#/components/schemas/SyncStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim/{id}/used_by/: get: operationId: providers_scim_used_by_list @@ -21743,17 +17026,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim_groups/: get: operationId: providers_scim_groups_list @@ -21788,17 +17063,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMProviderGroupList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_scim_groups_create description: SCIMProviderGroup Viewset @@ -21820,17 +17087,9 @@ paths: $ref: '#/components/schemas/SCIMProviderGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim_groups/{id}/: get: operationId: providers_scim_groups_retrieve @@ -21855,17 +17114,9 @@ paths: $ref: '#/components/schemas/SCIMProviderGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_scim_groups_destroy description: SCIMProviderGroup Viewset @@ -21885,17 +17136,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim_groups/{id}/used_by/: get: operationId: providers_scim_groups_used_by_list @@ -21922,17 +17165,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim_users/: get: operationId: providers_scim_users_list @@ -21966,17 +17201,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMProviderUserList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_scim_users_create description: SCIMProviderUser Viewset @@ -21998,17 +17225,9 @@ paths: $ref: '#/components/schemas/SCIMProviderUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim_users/{id}/: get: operationId: providers_scim_users_retrieve @@ -22033,17 +17252,9 @@ paths: $ref: '#/components/schemas/SCIMProviderUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_scim_users_destroy description: SCIMProviderUser Viewset @@ -22063,17 +17274,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/scim_users/{id}/used_by/: get: operationId: providers_scim_users_used_by_list @@ -22100,17 +17303,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/ssf/: get: operationId: providers_ssf_list @@ -22140,17 +17335,9 @@ paths: $ref: '#/components/schemas/PaginatedSSFProviderList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: providers_ssf_create description: SSFProvider Viewset @@ -22172,17 +17359,9 @@ paths: $ref: '#/components/schemas/SSFProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/ssf/{id}/: get: operationId: providers_ssf_retrieve @@ -22207,17 +17386,9 @@ paths: $ref: '#/components/schemas/SSFProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: providers_ssf_update description: SSFProvider Viewset @@ -22247,17 +17418,9 @@ paths: $ref: '#/components/schemas/SSFProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: providers_ssf_partial_update description: SSFProvider Viewset @@ -22286,17 +17449,9 @@ paths: $ref: '#/components/schemas/SSFProvider' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: providers_ssf_destroy description: SSFProvider Viewset @@ -22316,17 +17471,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /providers/ssf/{id}/used_by/: get: operationId: providers_ssf_used_by_list @@ -22353,17 +17500,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rac/connection_tokens/: get: operationId: rac_connection_tokens_list @@ -22398,17 +17537,9 @@ paths: $ref: '#/components/schemas/PaginatedConnectionTokenList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rac/connection_tokens/{connection_token_uuid}/: get: operationId: rac_connection_tokens_retrieve @@ -22433,17 +17564,9 @@ paths: $ref: '#/components/schemas/ConnectionToken' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: rac_connection_tokens_update description: ConnectionToken Viewset @@ -22473,17 +17596,9 @@ paths: $ref: '#/components/schemas/ConnectionToken' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: rac_connection_tokens_partial_update description: ConnectionToken Viewset @@ -22512,17 +17627,9 @@ paths: $ref: '#/components/schemas/ConnectionToken' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: rac_connection_tokens_destroy description: ConnectionToken Viewset @@ -22542,17 +17649,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rac/connection_tokens/{connection_token_uuid}/used_by/: get: operationId: rac_connection_tokens_used_by_list @@ -22579,26 +17678,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rac/endpoints/: get: operationId: rac_endpoints_list description: List accessible endpoints parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -22625,11 +17713,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: rac_endpoints_create description: Endpoint Viewset @@ -22651,17 +17735,9 @@ paths: $ref: '#/components/schemas/Endpoint' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rac/endpoints/{pbm_uuid}/: get: operationId: rac_endpoints_retrieve @@ -22686,17 +17762,9 @@ paths: $ref: '#/components/schemas/Endpoint' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: rac_endpoints_update description: Endpoint Viewset @@ -22726,17 +17794,9 @@ paths: $ref: '#/components/schemas/Endpoint' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: rac_endpoints_partial_update description: Endpoint Viewset @@ -22765,17 +17825,9 @@ paths: $ref: '#/components/schemas/Endpoint' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: rac_endpoints_destroy description: Endpoint Viewset @@ -22795,17 +17847,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rac/endpoints/{pbm_uuid}/used_by/: get: operationId: rac_endpoints_used_by_list @@ -22832,26 +17876,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/initial_permissions/: get: operationId: rbac_initial_permissions_list description: InitialPermissions viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -22868,17 +17901,9 @@ paths: $ref: '#/components/schemas/PaginatedInitialPermissionsList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: rbac_initial_permissions_create description: InitialPermissions viewset @@ -22900,17 +17925,9 @@ paths: $ref: '#/components/schemas/InitialPermissions' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/initial_permissions/{id}/: get: operationId: rbac_initial_permissions_retrieve @@ -22934,17 +17951,9 @@ paths: $ref: '#/components/schemas/InitialPermissions' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: rbac_initial_permissions_update description: InitialPermissions viewset @@ -22973,17 +17982,9 @@ paths: $ref: '#/components/schemas/InitialPermissions' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: rbac_initial_permissions_partial_update description: InitialPermissions viewset @@ -23011,17 +18012,9 @@ paths: $ref: '#/components/schemas/InitialPermissions' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: rbac_initial_permissions_destroy description: InitialPermissions viewset @@ -23040,17 +18033,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/initial_permissions/{id}/used_by/: get: operationId: rbac_initial_permissions_used_by_list @@ -23076,17 +18061,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/: get: operationId: rbac_permissions_list @@ -23128,17 +18105,9 @@ paths: $ref: '#/components/schemas/PaginatedPermissionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/{id}/: get: operationId: rbac_permissions_retrieve @@ -23162,17 +18131,9 @@ paths: $ref: '#/components/schemas/Permission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/assigned_by_roles/: get: operationId: rbac_permissions_assigned_by_roles_list @@ -23312,17 +18273,9 @@ paths: $ref: '#/components/schemas/PaginatedRoleAssignedObjectPermissionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/assigned_by_roles/{uuid}/assign/: post: operationId: rbac_permissions_assigned_by_roles_assign @@ -23357,17 +18310,9 @@ paths: $ref: '#/components/schemas/PermissionAssignResult' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/assigned_by_roles/{uuid}/unassign/: patch: operationId: rbac_permissions_assigned_by_roles_unassign_partial_update @@ -23395,17 +18340,9 @@ paths: '204': description: Successfully unassigned '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/assigned_by_users/: get: operationId: rbac_permissions_assigned_by_users_list @@ -23545,17 +18482,9 @@ paths: $ref: '#/components/schemas/PaginatedUserAssignedObjectPermissionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/assigned_by_users/{id}/assign/: post: operationId: rbac_permissions_assigned_by_users_assign @@ -23587,17 +18516,9 @@ paths: $ref: '#/components/schemas/PermissionAssignResult' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/assigned_by_users/{id}/unassign/: patch: operationId: rbac_permissions_assigned_by_users_unassign_partial_update @@ -23624,17 +18545,9 @@ paths: '204': description: Successfully unassigned '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/roles/: get: operationId: rbac_permissions_roles_list @@ -23661,17 +18574,9 @@ paths: $ref: '#/components/schemas/PaginatedExtraRoleObjectPermissionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/roles/{id}/: get: operationId: rbac_permissions_roles_retrieve @@ -23695,17 +18600,9 @@ paths: $ref: '#/components/schemas/ExtraRoleObjectPermission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: rbac_permissions_roles_update description: Get a role's assigned object permissions @@ -23734,17 +18631,9 @@ paths: $ref: '#/components/schemas/ExtraRoleObjectPermission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: rbac_permissions_roles_partial_update description: Get a role's assigned object permissions @@ -23772,17 +18661,9 @@ paths: $ref: '#/components/schemas/ExtraRoleObjectPermission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: rbac_permissions_roles_destroy description: Get a role's assigned object permissions @@ -23801,17 +18682,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/users/: get: operationId: rbac_permissions_users_list @@ -23837,17 +18710,9 @@ paths: $ref: '#/components/schemas/PaginatedExtraUserObjectPermissionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/permissions/users/{id}/: get: operationId: rbac_permissions_users_retrieve @@ -23871,17 +18736,9 @@ paths: $ref: '#/components/schemas/ExtraUserObjectPermission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: rbac_permissions_users_update description: Get a users's assigned object permissions @@ -23910,17 +18767,9 @@ paths: $ref: '#/components/schemas/ExtraUserObjectPermission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: rbac_permissions_users_partial_update description: Get a users's assigned object permissions @@ -23948,17 +18797,9 @@ paths: $ref: '#/components/schemas/ExtraUserObjectPermission' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: rbac_permissions_users_destroy description: Get a users's assigned object permissions @@ -23977,26 +18818,15 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/roles/: get: operationId: rbac_roles_list description: Role viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -24013,17 +18843,9 @@ paths: $ref: '#/components/schemas/PaginatedRoleList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: rbac_roles_create description: Role viewset @@ -24045,17 +18867,9 @@ paths: $ref: '#/components/schemas/Role' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/roles/{uuid}/: get: operationId: rbac_roles_retrieve @@ -24080,17 +18894,9 @@ paths: $ref: '#/components/schemas/Role' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: rbac_roles_update description: Role viewset @@ -24120,17 +18926,9 @@ paths: $ref: '#/components/schemas/Role' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: rbac_roles_partial_update description: Role viewset @@ -24159,17 +18957,9 @@ paths: $ref: '#/components/schemas/Role' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: rbac_roles_destroy description: Role viewset @@ -24189,17 +18979,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /rbac/roles/{uuid}/used_by/: get: operationId: rbac_roles_used_by_list @@ -24226,17 +19008,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /root/config/: get: operationId: root_config_retrieve @@ -24254,17 +19028,9 @@ paths: $ref: '#/components/schemas/Config' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /schema/: get: operationId: schema_retrieve @@ -24411,17 +19177,9 @@ paths: additionalProperties: {} description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/: get: operationId: sources_all_list @@ -24431,10 +19189,7 @@ paths: name: managed schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -24460,17 +19215,9 @@ paths: $ref: '#/components/schemas/PaginatedSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/{slug}/: get: operationId: sources_all_retrieve @@ -24494,17 +19241,9 @@ paths: $ref: '#/components/schemas/Source' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_all_destroy description: Prevent deletion of built-in sources @@ -24523,17 +19262,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/{slug}/set_icon/: post: operationId: sources_all_set_icon_create @@ -24560,11 +19291,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/{slug}/set_icon_url/: post: operationId: sources_all_set_icon_url_create @@ -24592,11 +19319,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/{slug}/used_by/: get: operationId: sources_all_used_by_list @@ -24622,17 +19345,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/types/: get: operationId: sources_all_types_list @@ -24651,17 +19366,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/all/user_settings/: get: operationId: sources_all_user_settings_list @@ -24680,17 +19387,9 @@ paths: $ref: '#/components/schemas/UserSetting' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/all/: get: operationId: sources_group_connections_all_list @@ -24721,17 +19420,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/all/{id}/: get: operationId: sources_group_connections_all_retrieve @@ -24755,17 +19446,9 @@ paths: $ref: '#/components/schemas/GroupSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_all_update description: Group-source connection Viewset @@ -24794,17 +19477,9 @@ paths: $ref: '#/components/schemas/GroupSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_all_partial_update description: Group-source connection Viewset @@ -24832,17 +19507,9 @@ paths: $ref: '#/components/schemas/GroupSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_all_destroy description: Group-source connection Viewset @@ -24861,17 +19528,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/all/{id}/used_by/: get: operationId: sources_group_connections_all_used_by_list @@ -24897,17 +19556,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/kerberos/: get: operationId: sources_group_connections_kerberos_list @@ -24938,17 +19589,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupKerberosSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_group_connections_kerberos_create description: Group-source connection Viewset @@ -24970,17 +19613,9 @@ paths: $ref: '#/components/schemas/GroupKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/kerberos/{id}/: get: operationId: sources_group_connections_kerberos_retrieve @@ -25005,17 +19640,9 @@ paths: $ref: '#/components/schemas/GroupKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_kerberos_update description: Group-source connection Viewset @@ -25045,17 +19672,9 @@ paths: $ref: '#/components/schemas/GroupKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_kerberos_partial_update description: Group-source connection Viewset @@ -25084,17 +19703,9 @@ paths: $ref: '#/components/schemas/GroupKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_kerberos_destroy description: Group-source connection Viewset @@ -25114,17 +19725,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/kerberos/{id}/used_by/: get: operationId: sources_group_connections_kerberos_used_by_list @@ -25151,17 +19754,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/ldap/: get: operationId: sources_group_connections_ldap_list @@ -25192,17 +19787,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupLDAPSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_group_connections_ldap_create description: Group-source connection Viewset @@ -25224,17 +19811,9 @@ paths: $ref: '#/components/schemas/GroupLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/ldap/{id}/: get: operationId: sources_group_connections_ldap_retrieve @@ -25258,17 +19837,9 @@ paths: $ref: '#/components/schemas/GroupLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_ldap_update description: Group-source connection Viewset @@ -25297,17 +19868,9 @@ paths: $ref: '#/components/schemas/GroupLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_ldap_partial_update description: Group-source connection Viewset @@ -25335,17 +19898,9 @@ paths: $ref: '#/components/schemas/GroupLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_ldap_destroy description: Group-source connection Viewset @@ -25364,17 +19919,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/ldap/{id}/used_by/: get: operationId: sources_group_connections_ldap_used_by_list @@ -25400,17 +19947,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/oauth/: get: operationId: sources_group_connections_oauth_list @@ -25441,17 +19980,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupOAuthSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_group_connections_oauth_create description: Group-source connection Viewset @@ -25473,17 +20004,9 @@ paths: $ref: '#/components/schemas/GroupOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/oauth/{id}/: get: operationId: sources_group_connections_oauth_retrieve @@ -25507,17 +20030,9 @@ paths: $ref: '#/components/schemas/GroupOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_oauth_update description: Group-source connection Viewset @@ -25546,17 +20061,9 @@ paths: $ref: '#/components/schemas/GroupOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_oauth_partial_update description: Group-source connection Viewset @@ -25584,17 +20091,9 @@ paths: $ref: '#/components/schemas/GroupOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_oauth_destroy description: Group-source connection Viewset @@ -25613,17 +20112,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/oauth/{id}/used_by/: get: operationId: sources_group_connections_oauth_used_by_list @@ -25649,17 +20140,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/plex/: get: operationId: sources_group_connections_plex_list @@ -25690,17 +20173,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupPlexSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_group_connections_plex_create description: Group-source connection Viewset @@ -25722,17 +20197,9 @@ paths: $ref: '#/components/schemas/GroupPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/plex/{id}/: get: operationId: sources_group_connections_plex_retrieve @@ -25756,17 +20223,9 @@ paths: $ref: '#/components/schemas/GroupPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_plex_update description: Group-source connection Viewset @@ -25795,17 +20254,9 @@ paths: $ref: '#/components/schemas/GroupPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_plex_partial_update description: Group-source connection Viewset @@ -25833,17 +20284,9 @@ paths: $ref: '#/components/schemas/GroupPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_plex_destroy description: Group-source connection Viewset @@ -25862,17 +20305,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/plex/{id}/used_by/: get: operationId: sources_group_connections_plex_used_by_list @@ -25898,17 +20333,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/saml/: get: operationId: sources_group_connections_saml_list @@ -25939,17 +20366,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupSAMLSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_group_connections_saml_create description: Group-source connection Viewset @@ -25971,17 +20390,9 @@ paths: $ref: '#/components/schemas/GroupSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/saml/{id}/: get: operationId: sources_group_connections_saml_retrieve @@ -26005,17 +20416,9 @@ paths: $ref: '#/components/schemas/GroupSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_saml_update description: Group-source connection Viewset @@ -26044,17 +20447,9 @@ paths: $ref: '#/components/schemas/GroupSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_saml_partial_update description: Group-source connection Viewset @@ -26082,17 +20477,9 @@ paths: $ref: '#/components/schemas/GroupSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_saml_destroy description: Group-source connection Viewset @@ -26111,17 +20498,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/saml/{id}/used_by/: get: operationId: sources_group_connections_saml_used_by_list @@ -26147,17 +20526,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/telegram/: get: operationId: sources_group_connections_telegram_list @@ -26188,17 +20559,9 @@ paths: $ref: '#/components/schemas/PaginatedGroupTelegramSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_group_connections_telegram_create description: Group-source connection Viewset @@ -26220,17 +20583,9 @@ paths: $ref: '#/components/schemas/GroupTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/telegram/{id}/: get: operationId: sources_group_connections_telegram_retrieve @@ -26255,17 +20610,9 @@ paths: $ref: '#/components/schemas/GroupTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_group_connections_telegram_update description: Group-source connection Viewset @@ -26295,17 +20642,9 @@ paths: $ref: '#/components/schemas/GroupTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_group_connections_telegram_partial_update description: Group-source connection Viewset @@ -26334,17 +20673,9 @@ paths: $ref: '#/components/schemas/GroupTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_group_connections_telegram_destroy description: Group-source connection Viewset @@ -26364,17 +20695,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/group_connections/telegram/{id}/used_by/: get: operationId: sources_group_connections_telegram_used_by_list @@ -26401,17 +20724,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/kerberos/: get: operationId: sources_kerberos_list @@ -26432,10 +20747,7 @@ paths: description: |+ KAdmin server type - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -26485,17 +20797,9 @@ paths: $ref: '#/components/schemas/PaginatedKerberosSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_kerberos_create description: Kerberos Source Viewset @@ -26517,17 +20821,9 @@ paths: $ref: '#/components/schemas/KerberosSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/kerberos/{slug}/: get: operationId: sources_kerberos_retrieve @@ -26551,17 +20847,9 @@ paths: $ref: '#/components/schemas/KerberosSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_kerberos_update description: Kerberos Source Viewset @@ -26590,17 +20878,9 @@ paths: $ref: '#/components/schemas/KerberosSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_kerberos_partial_update description: Kerberos Source Viewset @@ -26628,17 +20908,9 @@ paths: $ref: '#/components/schemas/KerberosSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_kerberos_destroy description: Kerberos Source Viewset @@ -26657,17 +20929,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/kerberos/{slug}/sync/status/: get: operationId: sources_kerberos_sync_status_retrieve @@ -26691,17 +20955,9 @@ paths: $ref: '#/components/schemas/SyncStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/kerberos/{slug}/used_by/: get: operationId: sources_kerberos_used_by_list @@ -26727,17 +20983,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/ldap/: get: operationId: sources_ldap_list @@ -26793,10 +21041,7 @@ paths: name: lookup_groups_from_user schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: object_uniqueness_field schema: @@ -26881,17 +21126,9 @@ paths: $ref: '#/components/schemas/PaginatedLDAPSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_ldap_create description: LDAP Source Viewset @@ -26913,17 +21150,9 @@ paths: $ref: '#/components/schemas/LDAPSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/ldap/{slug}/: get: operationId: sources_ldap_retrieve @@ -26947,17 +21176,9 @@ paths: $ref: '#/components/schemas/LDAPSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_ldap_update description: LDAP Source Viewset @@ -26986,17 +21207,9 @@ paths: $ref: '#/components/schemas/LDAPSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_ldap_partial_update description: LDAP Source Viewset @@ -27024,17 +21237,9 @@ paths: $ref: '#/components/schemas/LDAPSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_ldap_destroy description: LDAP Source Viewset @@ -27053,17 +21258,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/ldap/{slug}/debug/: get: operationId: sources_ldap_debug_retrieve @@ -27087,17 +21284,9 @@ paths: $ref: '#/components/schemas/LDAPDebug' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/ldap/{slug}/sync/status/: get: operationId: sources_ldap_sync_status_retrieve @@ -27121,17 +21310,9 @@ paths: $ref: '#/components/schemas/SyncStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/ldap/{slug}/used_by/: get: operationId: sources_ldap_used_by_list @@ -27157,17 +21338,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/oauth/: get: operationId: sources_oauth_list @@ -27219,10 +21392,7 @@ paths: schema: type: boolean description: Only return sources with JWKS data - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -27280,17 +21450,9 @@ paths: $ref: '#/components/schemas/PaginatedOAuthSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_oauth_create description: Source Viewset @@ -27312,17 +21474,9 @@ paths: $ref: '#/components/schemas/OAuthSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/oauth/{slug}/: get: operationId: sources_oauth_retrieve @@ -27346,17 +21500,9 @@ paths: $ref: '#/components/schemas/OAuthSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_oauth_update description: Source Viewset @@ -27385,17 +21531,9 @@ paths: $ref: '#/components/schemas/OAuthSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_oauth_partial_update description: Source Viewset @@ -27423,17 +21561,9 @@ paths: $ref: '#/components/schemas/OAuthSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_oauth_destroy description: Source Viewset @@ -27452,17 +21582,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/oauth/{slug}/used_by/: get: operationId: sources_oauth_used_by_list @@ -27488,17 +21610,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/oauth/source_types/: get: operationId: sources_oauth_source_types_list @@ -27506,10 +21620,7 @@ paths: Get all creatable source types. If ?name is set, only returns the type for . If isn't found, returns the default type. parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' tags: - sources security: @@ -27524,17 +21635,9 @@ paths: $ref: '#/components/schemas/SourceType' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/plex/: get: operationId: sources_plex_list @@ -27573,10 +21676,7 @@ paths: description: |+ How the source determines if an existing group should be used or a new group created. - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -27622,17 +21722,9 @@ paths: $ref: '#/components/schemas/PaginatedPlexSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_plex_create description: Plex source Viewset @@ -27654,17 +21746,9 @@ paths: $ref: '#/components/schemas/PlexSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/plex/{slug}/: get: operationId: sources_plex_retrieve @@ -27688,17 +21772,9 @@ paths: $ref: '#/components/schemas/PlexSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_plex_update description: Plex source Viewset @@ -27727,17 +21803,9 @@ paths: $ref: '#/components/schemas/PlexSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_plex_partial_update description: Plex source Viewset @@ -27765,17 +21833,9 @@ paths: $ref: '#/components/schemas/PlexSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_plex_destroy description: Plex source Viewset @@ -27794,17 +21854,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/plex/{slug}/used_by/: get: operationId: sources_plex_used_by_list @@ -27830,17 +21882,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/plex/redeem_token/: post: operationId: sources_plex_redeem_token_create @@ -27948,10 +21992,7 @@ paths: name: managed schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: name_id_policy schema: @@ -28060,17 +22101,9 @@ paths: $ref: '#/components/schemas/PaginatedSAMLSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_saml_create description: SAMLSource Viewset @@ -28092,17 +22125,9 @@ paths: $ref: '#/components/schemas/SAMLSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/saml/{slug}/: get: operationId: sources_saml_retrieve @@ -28126,17 +22151,9 @@ paths: $ref: '#/components/schemas/SAMLSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_saml_update description: SAMLSource Viewset @@ -28165,17 +22182,9 @@ paths: $ref: '#/components/schemas/SAMLSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_saml_partial_update description: SAMLSource Viewset @@ -28203,17 +22212,9 @@ paths: $ref: '#/components/schemas/SAMLSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_saml_destroy description: SAMLSource Viewset @@ -28232,17 +22233,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/saml/{slug}/metadata/: get: operationId: sources_saml_metadata_retrieve @@ -28266,17 +22259,9 @@ paths: $ref: '#/components/schemas/SAMLMetadata' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/saml/{slug}/used_by/: get: operationId: sources_saml_used_by_list @@ -28302,26 +22287,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim/: get: operationId: sources_scim_list description: SCIMSource Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -28347,17 +22321,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_scim_create description: SCIMSource Viewset @@ -28379,17 +22345,9 @@ paths: $ref: '#/components/schemas/SCIMSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim/{slug}/: get: operationId: sources_scim_retrieve @@ -28413,17 +22371,9 @@ paths: $ref: '#/components/schemas/SCIMSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_scim_update description: SCIMSource Viewset @@ -28452,17 +22402,9 @@ paths: $ref: '#/components/schemas/SCIMSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_scim_partial_update description: SCIMSource Viewset @@ -28490,17 +22432,9 @@ paths: $ref: '#/components/schemas/SCIMSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_scim_destroy description: SCIMSource Viewset @@ -28519,17 +22453,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim/{slug}/used_by/: get: operationId: sources_scim_used_by_list @@ -28555,17 +22481,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim_groups/: get: operationId: sources_scim_groups_list @@ -28600,17 +22518,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMSourceGroupList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_scim_groups_create description: SCIMSourceGroup Viewset @@ -28632,17 +22542,9 @@ paths: $ref: '#/components/schemas/SCIMSourceGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim_groups/{id}/: get: operationId: sources_scim_groups_retrieve @@ -28666,17 +22568,9 @@ paths: $ref: '#/components/schemas/SCIMSourceGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_scim_groups_update description: SCIMSourceGroup Viewset @@ -28705,17 +22599,9 @@ paths: $ref: '#/components/schemas/SCIMSourceGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_scim_groups_partial_update description: SCIMSourceGroup Viewset @@ -28743,17 +22629,9 @@ paths: $ref: '#/components/schemas/SCIMSourceGroup' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_scim_groups_destroy description: SCIMSourceGroup Viewset @@ -28772,17 +22650,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim_groups/{id}/used_by/: get: operationId: sources_scim_groups_used_by_list @@ -28808,17 +22678,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim_users/: get: operationId: sources_scim_users_list @@ -28852,17 +22714,9 @@ paths: $ref: '#/components/schemas/PaginatedSCIMSourceUserList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_scim_users_create description: SCIMSourceUser Viewset @@ -28884,17 +22738,9 @@ paths: $ref: '#/components/schemas/SCIMSourceUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim_users/{id}/: get: operationId: sources_scim_users_retrieve @@ -28918,17 +22764,9 @@ paths: $ref: '#/components/schemas/SCIMSourceUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_scim_users_update description: SCIMSourceUser Viewset @@ -28957,17 +22795,9 @@ paths: $ref: '#/components/schemas/SCIMSourceUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_scim_users_partial_update description: SCIMSourceUser Viewset @@ -28995,17 +22825,9 @@ paths: $ref: '#/components/schemas/SCIMSourceUser' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_scim_users_destroy description: SCIMSourceUser Viewset @@ -29024,17 +22846,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/scim_users/{id}/used_by/: get: operationId: sources_scim_users_used_by_list @@ -29060,17 +22874,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/telegram/: get: operationId: sources_telegram_list @@ -29106,10 +22912,7 @@ paths: description: |+ How the source determines if an existing group should be used or a new group created. - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -29159,17 +22962,9 @@ paths: $ref: '#/components/schemas/PaginatedTelegramSourceList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_telegram_create description: Mixin to add a used_by endpoint to return a list of all objects @@ -29192,17 +22987,9 @@ paths: $ref: '#/components/schemas/TelegramSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/telegram/{slug}/: get: operationId: sources_telegram_retrieve @@ -29227,17 +23014,9 @@ paths: $ref: '#/components/schemas/TelegramSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_telegram_update description: Mixin to add a used_by endpoint to return a list of all objects @@ -29267,17 +23046,9 @@ paths: $ref: '#/components/schemas/TelegramSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_telegram_partial_update description: Mixin to add a used_by endpoint to return a list of all objects @@ -29306,17 +23077,9 @@ paths: $ref: '#/components/schemas/TelegramSource' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_telegram_destroy description: Mixin to add a used_by endpoint to return a list of all objects @@ -29336,17 +23099,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/telegram/{slug}/used_by/: get: operationId: sources_telegram_used_by_list @@ -29372,17 +23127,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/all/: get: operationId: sources_user_connections_all_list @@ -29412,17 +23159,9 @@ paths: $ref: '#/components/schemas/PaginatedUserSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/all/{id}/: get: operationId: sources_user_connections_all_retrieve @@ -29446,17 +23185,9 @@ paths: $ref: '#/components/schemas/UserSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_all_update description: User-source connection Viewset @@ -29485,17 +23216,9 @@ paths: $ref: '#/components/schemas/UserSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_all_partial_update description: User-source connection Viewset @@ -29523,17 +23246,9 @@ paths: $ref: '#/components/schemas/UserSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_all_destroy description: User-source connection Viewset @@ -29552,17 +23267,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/all/{id}/used_by/: get: operationId: sources_user_connections_all_used_by_list @@ -29588,17 +23295,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/kerberos/: get: operationId: sources_user_connections_kerberos_list @@ -29628,17 +23327,9 @@ paths: $ref: '#/components/schemas/PaginatedUserKerberosSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_user_connections_kerberos_create description: User-source connection Viewset @@ -29660,17 +23351,9 @@ paths: $ref: '#/components/schemas/UserKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/kerberos/{id}/: get: operationId: sources_user_connections_kerberos_retrieve @@ -29695,17 +23378,9 @@ paths: $ref: '#/components/schemas/UserKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_kerberos_update description: User-source connection Viewset @@ -29735,17 +23410,9 @@ paths: $ref: '#/components/schemas/UserKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_kerberos_partial_update description: User-source connection Viewset @@ -29774,17 +23441,9 @@ paths: $ref: '#/components/schemas/UserKerberosSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_kerberos_destroy description: User-source connection Viewset @@ -29804,17 +23463,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/kerberos/{id}/used_by/: get: operationId: sources_user_connections_kerberos_used_by_list @@ -29841,17 +23492,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/ldap/: get: operationId: sources_user_connections_ldap_list @@ -29881,17 +23524,9 @@ paths: $ref: '#/components/schemas/PaginatedUserLDAPSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_user_connections_ldap_create description: User-source connection Viewset @@ -29913,17 +23548,9 @@ paths: $ref: '#/components/schemas/UserLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/ldap/{id}/: get: operationId: sources_user_connections_ldap_retrieve @@ -29947,17 +23574,9 @@ paths: $ref: '#/components/schemas/UserLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_ldap_update description: User-source connection Viewset @@ -29986,17 +23605,9 @@ paths: $ref: '#/components/schemas/UserLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_ldap_partial_update description: User-source connection Viewset @@ -30024,17 +23635,9 @@ paths: $ref: '#/components/schemas/UserLDAPSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_ldap_destroy description: User-source connection Viewset @@ -30053,17 +23656,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/ldap/{id}/used_by/: get: operationId: sources_user_connections_ldap_used_by_list @@ -30089,17 +23684,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/oauth/: get: operationId: sources_user_connections_oauth_list @@ -30129,17 +23716,9 @@ paths: $ref: '#/components/schemas/PaginatedUserOAuthSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_user_connections_oauth_create description: User-source connection Viewset @@ -30161,17 +23740,9 @@ paths: $ref: '#/components/schemas/UserOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/oauth/{id}/: get: operationId: sources_user_connections_oauth_retrieve @@ -30195,17 +23766,9 @@ paths: $ref: '#/components/schemas/UserOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_oauth_update description: User-source connection Viewset @@ -30234,17 +23797,9 @@ paths: $ref: '#/components/schemas/UserOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_oauth_partial_update description: User-source connection Viewset @@ -30272,17 +23827,9 @@ paths: $ref: '#/components/schemas/UserOAuthSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_oauth_destroy description: User-source connection Viewset @@ -30301,17 +23848,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/oauth/{id}/used_by/: get: operationId: sources_user_connections_oauth_used_by_list @@ -30337,17 +23876,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/plex/: get: operationId: sources_user_connections_plex_list @@ -30377,17 +23908,9 @@ paths: $ref: '#/components/schemas/PaginatedUserPlexSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_user_connections_plex_create description: User-source connection Viewset @@ -30409,17 +23932,9 @@ paths: $ref: '#/components/schemas/UserPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/plex/{id}/: get: operationId: sources_user_connections_plex_retrieve @@ -30443,17 +23958,9 @@ paths: $ref: '#/components/schemas/UserPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_plex_update description: User-source connection Viewset @@ -30482,17 +23989,9 @@ paths: $ref: '#/components/schemas/UserPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_plex_partial_update description: User-source connection Viewset @@ -30520,17 +24019,9 @@ paths: $ref: '#/components/schemas/UserPlexSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_plex_destroy description: User-source connection Viewset @@ -30549,17 +24040,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/plex/{id}/used_by/: get: operationId: sources_user_connections_plex_used_by_list @@ -30585,17 +24068,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/saml/: get: operationId: sources_user_connections_saml_list @@ -30625,17 +24100,9 @@ paths: $ref: '#/components/schemas/PaginatedUserSAMLSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_user_connections_saml_create description: User-source connection Viewset @@ -30657,17 +24124,9 @@ paths: $ref: '#/components/schemas/UserSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/saml/{id}/: get: operationId: sources_user_connections_saml_retrieve @@ -30691,17 +24150,9 @@ paths: $ref: '#/components/schemas/UserSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_saml_update description: User-source connection Viewset @@ -30730,17 +24181,9 @@ paths: $ref: '#/components/schemas/UserSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_saml_partial_update description: User-source connection Viewset @@ -30768,17 +24211,9 @@ paths: $ref: '#/components/schemas/UserSAMLSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_saml_destroy description: User-source connection Viewset @@ -30797,17 +24232,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/saml/{id}/used_by/: get: operationId: sources_user_connections_saml_used_by_list @@ -30833,17 +24260,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/telegram/: get: operationId: sources_user_connections_telegram_list @@ -30873,17 +24292,9 @@ paths: $ref: '#/components/schemas/PaginatedUserTelegramSourceConnectionList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: sources_user_connections_telegram_create description: User-source connection Viewset @@ -30905,17 +24316,9 @@ paths: $ref: '#/components/schemas/UserTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/telegram/{id}/: get: operationId: sources_user_connections_telegram_retrieve @@ -30940,17 +24343,9 @@ paths: $ref: '#/components/schemas/UserTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: sources_user_connections_telegram_update description: User-source connection Viewset @@ -30980,17 +24375,9 @@ paths: $ref: '#/components/schemas/UserTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: sources_user_connections_telegram_partial_update description: User-source connection Viewset @@ -31019,17 +24406,9 @@ paths: $ref: '#/components/schemas/UserTelegramSourceConnection' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: sources_user_connections_telegram_destroy description: User-source connection Viewset @@ -31049,17 +24428,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /sources/user_connections/telegram/{id}/used_by/: get: operationId: sources_user_connections_telegram_used_by_list @@ -31086,17 +24457,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /ssf/streams/: get: operationId: ssf_streams_list @@ -31133,17 +24496,9 @@ paths: $ref: '#/components/schemas/PaginatedSSFStreamList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /ssf/streams/{uuid}/: get: operationId: ssf_streams_retrieve @@ -31168,26 +24523,15 @@ paths: $ref: '#/components/schemas/SSFStream' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/all/: get: operationId: stages_all_list description: Stage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -31204,17 +24548,9 @@ paths: $ref: '#/components/schemas/PaginatedStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/all/{stage_uuid}/: get: operationId: stages_all_retrieve @@ -31239,17 +24575,9 @@ paths: $ref: '#/components/schemas/Stage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_all_destroy description: Stage Viewset @@ -31269,17 +24597,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/all/{stage_uuid}/used_by/: get: operationId: stages_all_used_by_list @@ -31306,17 +24626,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/all/types/: get: operationId: stages_all_types_list @@ -31335,17 +24647,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/all/user_settings/: get: operationId: stages_all_user_settings_list @@ -31364,17 +24668,9 @@ paths: $ref: '#/components/schemas/UserSetting' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/duo/: get: operationId: stages_authenticator_duo_list @@ -31393,10 +24689,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -31413,17 +24706,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorDuoStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_duo_create description: AuthenticatorDuoStage Viewset @@ -31445,17 +24730,9 @@ paths: $ref: '#/components/schemas/AuthenticatorDuoStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/duo/{stage_uuid}/: get: operationId: stages_authenticator_duo_retrieve @@ -31480,17 +24757,9 @@ paths: $ref: '#/components/schemas/AuthenticatorDuoStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_duo_update description: AuthenticatorDuoStage Viewset @@ -31520,17 +24789,9 @@ paths: $ref: '#/components/schemas/AuthenticatorDuoStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_duo_partial_update description: AuthenticatorDuoStage Viewset @@ -31559,17 +24820,9 @@ paths: $ref: '#/components/schemas/AuthenticatorDuoStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_duo_destroy description: AuthenticatorDuoStage Viewset @@ -31589,17 +24842,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/duo/{stage_uuid}/enrollment_status/: post: operationId: stages_authenticator_duo_enrollment_status_create @@ -31624,17 +24869,9 @@ paths: $ref: '#/components/schemas/DuoDeviceEnrollmentStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/duo/{stage_uuid}/import_device_manual/: post: operationId: stages_authenticator_duo_import_device_manual_create @@ -31663,11 +24900,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/duo/{stage_uuid}/import_devices_automatic/: post: operationId: stages_authenticator_duo_import_devices_automatic_create @@ -31694,11 +24927,7 @@ paths: '400': description: Bad request '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/duo/{stage_uuid}/used_by/: get: operationId: stages_authenticator_duo_used_by_list @@ -31725,17 +24954,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/email/: get: operationId: stages_authenticator_email_list @@ -31758,10 +24979,7 @@ paths: name: host schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -31823,17 +25041,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorEmailStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_email_create description: AuthenticatorEmailStage Viewset @@ -31855,17 +25065,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/email/{stage_uuid}/: get: operationId: stages_authenticator_email_retrieve @@ -31890,17 +25092,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_email_update description: AuthenticatorEmailStage Viewset @@ -31930,17 +25124,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_email_partial_update description: AuthenticatorEmailStage Viewset @@ -31969,17 +25155,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_email_destroy description: AuthenticatorEmailStage Viewset @@ -31999,17 +25177,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/email/{stage_uuid}/used_by/: get: operationId: stages_authenticator_email_used_by_list @@ -32036,17 +25206,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/endpoint_gdtc/: get: operationId: stages_authenticator_endpoint_gdtc_list @@ -32057,10 +25219,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -32077,17 +25236,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorEndpointGDTCStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_endpoint_gdtc_create description: AuthenticatorEndpointGDTCStage Viewset @@ -32109,17 +25260,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEndpointGDTCStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/endpoint_gdtc/{stage_uuid}/: get: operationId: stages_authenticator_endpoint_gdtc_retrieve @@ -32145,17 +25288,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEndpointGDTCStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_endpoint_gdtc_update description: AuthenticatorEndpointGDTCStage Viewset @@ -32186,17 +25321,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEndpointGDTCStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_endpoint_gdtc_partial_update description: AuthenticatorEndpointGDTCStage Viewset @@ -32226,17 +25353,9 @@ paths: $ref: '#/components/schemas/AuthenticatorEndpointGDTCStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_endpoint_gdtc_destroy description: AuthenticatorEndpointGDTCStage Viewset @@ -32257,17 +25376,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/endpoint_gdtc/{stage_uuid}/used_by/: get: operationId: stages_authenticator_endpoint_gdtc_used_by_list @@ -32295,17 +25406,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/sms/: get: operationId: stages_authenticator_sms_list @@ -32348,10 +25451,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -32384,17 +25484,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorSMSStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_sms_create description: AuthenticatorSMSStage Viewset @@ -32416,17 +25508,9 @@ paths: $ref: '#/components/schemas/AuthenticatorSMSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/sms/{stage_uuid}/: get: operationId: stages_authenticator_sms_retrieve @@ -32451,17 +25535,9 @@ paths: $ref: '#/components/schemas/AuthenticatorSMSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_sms_update description: AuthenticatorSMSStage Viewset @@ -32491,17 +25567,9 @@ paths: $ref: '#/components/schemas/AuthenticatorSMSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_sms_partial_update description: AuthenticatorSMSStage Viewset @@ -32530,17 +25598,9 @@ paths: $ref: '#/components/schemas/AuthenticatorSMSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_sms_destroy description: AuthenticatorSMSStage Viewset @@ -32560,17 +25620,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/sms/{stage_uuid}/used_by/: get: operationId: stages_authenticator_sms_used_by_list @@ -32597,17 +25649,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/static/: get: operationId: stages_authenticator_static_list @@ -32622,10 +25666,7 @@ paths: name: friendly_name schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -32655,17 +25696,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorStaticStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_static_create description: AuthenticatorStaticStage Viewset @@ -32687,17 +25720,9 @@ paths: $ref: '#/components/schemas/AuthenticatorStaticStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/static/{stage_uuid}/: get: operationId: stages_authenticator_static_retrieve @@ -32722,17 +25747,9 @@ paths: $ref: '#/components/schemas/AuthenticatorStaticStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_static_update description: AuthenticatorStaticStage Viewset @@ -32762,17 +25779,9 @@ paths: $ref: '#/components/schemas/AuthenticatorStaticStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_static_partial_update description: AuthenticatorStaticStage Viewset @@ -32801,17 +25810,9 @@ paths: $ref: '#/components/schemas/AuthenticatorStaticStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_static_destroy description: AuthenticatorStaticStage Viewset @@ -32831,17 +25832,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/static/{stage_uuid}/used_by/: get: operationId: stages_authenticator_static_used_by_list @@ -32868,17 +25861,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/totp/: get: operationId: stages_authenticator_totp_list @@ -32900,10 +25885,7 @@ paths: name: friendly_name schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -32925,17 +25907,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorTOTPStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_totp_create description: AuthenticatorTOTPStage Viewset @@ -32957,17 +25931,9 @@ paths: $ref: '#/components/schemas/AuthenticatorTOTPStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/totp/{stage_uuid}/: get: operationId: stages_authenticator_totp_retrieve @@ -32992,17 +25958,9 @@ paths: $ref: '#/components/schemas/AuthenticatorTOTPStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_totp_update description: AuthenticatorTOTPStage Viewset @@ -33032,17 +25990,9 @@ paths: $ref: '#/components/schemas/AuthenticatorTOTPStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_totp_partial_update description: AuthenticatorTOTPStage Viewset @@ -33071,17 +26021,9 @@ paths: $ref: '#/components/schemas/AuthenticatorTOTPStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_totp_destroy description: AuthenticatorTOTPStage Viewset @@ -33101,17 +26043,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/totp/{stage_uuid}/used_by/: get: operationId: stages_authenticator_totp_used_by_list @@ -33138,17 +26072,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/validate/: get: operationId: stages_authenticator_validate_list @@ -33163,10 +26089,7 @@ paths: format: uuid explode: true style: form - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: not_configured_action schema: @@ -33191,17 +26114,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorValidateStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_validate_create description: AuthenticatorValidateStage Viewset @@ -33223,17 +26138,9 @@ paths: $ref: '#/components/schemas/AuthenticatorValidateStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/validate/{stage_uuid}/: get: operationId: stages_authenticator_validate_retrieve @@ -33258,17 +26165,9 @@ paths: $ref: '#/components/schemas/AuthenticatorValidateStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_validate_update description: AuthenticatorValidateStage Viewset @@ -33298,17 +26197,9 @@ paths: $ref: '#/components/schemas/AuthenticatorValidateStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_validate_partial_update description: AuthenticatorValidateStage Viewset @@ -33337,17 +26228,9 @@ paths: $ref: '#/components/schemas/AuthenticatorValidateStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_validate_destroy description: AuthenticatorValidateStage Viewset @@ -33367,17 +26250,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/validate/{stage_uuid}/used_by/: get: operationId: stages_authenticator_validate_used_by_list @@ -33404,17 +26279,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/webauthn/: get: operationId: stages_authenticator_webauthn_list @@ -33450,10 +26317,7 @@ paths: name: max_attempts schema: type: integer - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -33491,17 +26355,9 @@ paths: $ref: '#/components/schemas/PaginatedAuthenticatorWebAuthnStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_authenticator_webauthn_create description: AuthenticatorWebAuthnStage Viewset @@ -33523,17 +26379,9 @@ paths: $ref: '#/components/schemas/AuthenticatorWebAuthnStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/webauthn/{stage_uuid}/: get: operationId: stages_authenticator_webauthn_retrieve @@ -33558,17 +26406,9 @@ paths: $ref: '#/components/schemas/AuthenticatorWebAuthnStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_authenticator_webauthn_update description: AuthenticatorWebAuthnStage Viewset @@ -33598,17 +26438,9 @@ paths: $ref: '#/components/schemas/AuthenticatorWebAuthnStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_authenticator_webauthn_partial_update description: AuthenticatorWebAuthnStage Viewset @@ -33637,17 +26469,9 @@ paths: $ref: '#/components/schemas/AuthenticatorWebAuthnStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_authenticator_webauthn_destroy description: AuthenticatorWebAuthnStage Viewset @@ -33667,17 +26491,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/webauthn/{stage_uuid}/used_by/: get: operationId: stages_authenticator_webauthn_used_by_list @@ -33704,17 +26520,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/webauthn_device_types/: get: operationId: stages_authenticator_webauthn_device_types_list @@ -33749,17 +26557,9 @@ paths: $ref: '#/components/schemas/PaginatedWebAuthnDeviceTypeList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/authenticator/webauthn_device_types/{aaguid}/: get: operationId: stages_authenticator_webauthn_device_types_retrieve @@ -33784,26 +26584,15 @@ paths: $ref: '#/components/schemas/WebAuthnDeviceType' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/captcha/: get: operationId: stages_captcha_list description: CaptchaStage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -33824,17 +26613,9 @@ paths: $ref: '#/components/schemas/PaginatedCaptchaStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_captcha_create description: CaptchaStage Viewset @@ -33856,17 +26637,9 @@ paths: $ref: '#/components/schemas/CaptchaStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/captcha/{stage_uuid}/: get: operationId: stages_captcha_retrieve @@ -33891,17 +26664,9 @@ paths: $ref: '#/components/schemas/CaptchaStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_captcha_update description: CaptchaStage Viewset @@ -33931,17 +26696,9 @@ paths: $ref: '#/components/schemas/CaptchaStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_captcha_partial_update description: CaptchaStage Viewset @@ -33970,17 +26727,9 @@ paths: $ref: '#/components/schemas/CaptchaStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_captcha_destroy description: CaptchaStage Viewset @@ -34000,17 +26749,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/captcha/{stage_uuid}/used_by/: get: operationId: stages_captcha_used_by_list @@ -34037,17 +26778,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/consent/: get: operationId: stages_consent_list @@ -34065,10 +26798,7 @@ paths: - always_require - expiring - permanent - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -34090,17 +26820,9 @@ paths: $ref: '#/components/schemas/PaginatedConsentStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_consent_create description: ConsentStage Viewset @@ -34122,17 +26844,9 @@ paths: $ref: '#/components/schemas/ConsentStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/consent/{stage_uuid}/: get: operationId: stages_consent_retrieve @@ -34157,17 +26871,9 @@ paths: $ref: '#/components/schemas/ConsentStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_consent_update description: ConsentStage Viewset @@ -34197,17 +26903,9 @@ paths: $ref: '#/components/schemas/ConsentStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_consent_partial_update description: ConsentStage Viewset @@ -34236,17 +26934,9 @@ paths: $ref: '#/components/schemas/ConsentStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_consent_destroy description: ConsentStage Viewset @@ -34266,17 +26956,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/consent/{stage_uuid}/used_by/: get: operationId: stages_consent_used_by_list @@ -34303,17 +26985,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/deny/: get: operationId: stages_deny_list @@ -34323,10 +26997,7 @@ paths: name: deny_message schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -34348,17 +27019,9 @@ paths: $ref: '#/components/schemas/PaginatedDenyStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_deny_create description: DenyStage Viewset @@ -34380,17 +27043,9 @@ paths: $ref: '#/components/schemas/DenyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/deny/{stage_uuid}/: get: operationId: stages_deny_retrieve @@ -34415,17 +27070,9 @@ paths: $ref: '#/components/schemas/DenyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_deny_update description: DenyStage Viewset @@ -34455,17 +27102,9 @@ paths: $ref: '#/components/schemas/DenyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_deny_partial_update description: DenyStage Viewset @@ -34494,17 +27133,9 @@ paths: $ref: '#/components/schemas/DenyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_deny_destroy description: DenyStage Viewset @@ -34524,17 +27155,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/deny/{stage_uuid}/used_by/: get: operationId: stages_deny_used_by_list @@ -34561,26 +27184,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/dummy/: get: operationId: stages_dummy_list description: DummyStage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -34606,17 +27218,9 @@ paths: $ref: '#/components/schemas/PaginatedDummyStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_dummy_create description: DummyStage Viewset @@ -34638,17 +27242,9 @@ paths: $ref: '#/components/schemas/DummyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/dummy/{stage_uuid}/: get: operationId: stages_dummy_retrieve @@ -34673,17 +27269,9 @@ paths: $ref: '#/components/schemas/DummyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_dummy_update description: DummyStage Viewset @@ -34713,17 +27301,9 @@ paths: $ref: '#/components/schemas/DummyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_dummy_partial_update description: DummyStage Viewset @@ -34752,17 +27332,9 @@ paths: $ref: '#/components/schemas/DummyStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_dummy_destroy description: DummyStage Viewset @@ -34782,17 +27354,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/dummy/{stage_uuid}/used_by/: get: operationId: stages_dummy_used_by_list @@ -34819,17 +27383,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/email/: get: operationId: stages_email_list @@ -34847,10 +27403,7 @@ paths: name: host schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -34903,17 +27456,9 @@ paths: $ref: '#/components/schemas/PaginatedEmailStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_email_create description: EmailStage Viewset @@ -34935,17 +27480,9 @@ paths: $ref: '#/components/schemas/EmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/email/{stage_uuid}/: get: operationId: stages_email_retrieve @@ -34970,17 +27507,9 @@ paths: $ref: '#/components/schemas/EmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_email_update description: EmailStage Viewset @@ -35010,17 +27539,9 @@ paths: $ref: '#/components/schemas/EmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_email_partial_update description: EmailStage Viewset @@ -35049,17 +27570,9 @@ paths: $ref: '#/components/schemas/EmailStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_email_destroy description: EmailStage Viewset @@ -35079,17 +27592,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/email/{stage_uuid}/used_by/: get: operationId: stages_email_used_by_list @@ -35116,17 +27621,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/email/templates/: get: operationId: stages_email_templates_list @@ -35145,17 +27642,9 @@ paths: $ref: '#/components/schemas/TypeCreate' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/identification/: get: operationId: stages_identification_list @@ -35175,10 +27664,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -35218,17 +27704,9 @@ paths: $ref: '#/components/schemas/PaginatedIdentificationStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_identification_create description: IdentificationStage Viewset @@ -35250,17 +27728,9 @@ paths: $ref: '#/components/schemas/IdentificationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/identification/{stage_uuid}/: get: operationId: stages_identification_retrieve @@ -35285,17 +27755,9 @@ paths: $ref: '#/components/schemas/IdentificationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_identification_update description: IdentificationStage Viewset @@ -35325,17 +27787,9 @@ paths: $ref: '#/components/schemas/IdentificationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_identification_partial_update description: IdentificationStage Viewset @@ -35364,17 +27818,9 @@ paths: $ref: '#/components/schemas/IdentificationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_identification_destroy description: IdentificationStage Viewset @@ -35394,17 +27840,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/identification/{stage_uuid}/used_by/: get: operationId: stages_identification_used_by_list @@ -35431,17 +27869,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/invitation/invitations/: get: operationId: stages_invitation_invitations_list @@ -35460,10 +27890,7 @@ paths: name: flow__slug schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -35480,17 +27907,9 @@ paths: $ref: '#/components/schemas/PaginatedInvitationList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_invitation_invitations_create description: Invitation Viewset @@ -35512,17 +27931,9 @@ paths: $ref: '#/components/schemas/Invitation' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/invitation/invitations/{invite_uuid}/: get: operationId: stages_invitation_invitations_retrieve @@ -35547,17 +27958,9 @@ paths: $ref: '#/components/schemas/Invitation' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_invitation_invitations_update description: Invitation Viewset @@ -35587,17 +27990,9 @@ paths: $ref: '#/components/schemas/Invitation' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_invitation_invitations_partial_update description: Invitation Viewset @@ -35626,17 +28021,9 @@ paths: $ref: '#/components/schemas/Invitation' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_invitation_invitations_destroy description: Invitation Viewset @@ -35656,17 +28043,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/invitation/invitations/{invite_uuid}/used_by/: get: operationId: stages_invitation_invitations_used_by_list @@ -35693,17 +28072,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/invitation/stages/: get: operationId: stages_invitation_stages_list @@ -35713,10 +28084,7 @@ paths: name: continue_flow_without_invitation schema: type: boolean - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: no_flows schema: @@ -35742,17 +28110,9 @@ paths: $ref: '#/components/schemas/PaginatedInvitationStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_invitation_stages_create description: InvitationStage Viewset @@ -35774,17 +28134,9 @@ paths: $ref: '#/components/schemas/InvitationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/invitation/stages/{stage_uuid}/: get: operationId: stages_invitation_stages_retrieve @@ -35809,17 +28161,9 @@ paths: $ref: '#/components/schemas/InvitationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_invitation_stages_update description: InvitationStage Viewset @@ -35849,17 +28193,9 @@ paths: $ref: '#/components/schemas/InvitationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_invitation_stages_partial_update description: InvitationStage Viewset @@ -35888,17 +28224,9 @@ paths: $ref: '#/components/schemas/InvitationStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_invitation_stages_destroy description: InvitationStage Viewset @@ -35918,17 +28246,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/invitation/stages/{stage_uuid}/used_by/: get: operationId: stages_invitation_stages_used_by_list @@ -35955,17 +28275,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/mtls/: get: operationId: stages_mtls_list @@ -35995,10 +28307,7 @@ paths: enum: - optional - required - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -36027,17 +28336,9 @@ paths: $ref: '#/components/schemas/PaginatedMutualTLSStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_mtls_create description: MutualTLSStage Viewset @@ -36059,17 +28360,9 @@ paths: $ref: '#/components/schemas/MutualTLSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/mtls/{stage_uuid}/: get: operationId: stages_mtls_retrieve @@ -36094,17 +28387,9 @@ paths: $ref: '#/components/schemas/MutualTLSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_mtls_update description: MutualTLSStage Viewset @@ -36134,17 +28419,9 @@ paths: $ref: '#/components/schemas/MutualTLSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_mtls_partial_update description: MutualTLSStage Viewset @@ -36173,17 +28450,9 @@ paths: $ref: '#/components/schemas/MutualTLSStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_mtls_destroy description: MutualTLSStage Viewset @@ -36203,17 +28472,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/mtls/{stage_uuid}/used_by/: get: operationId: stages_mtls_used_by_list @@ -36240,17 +28501,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/password/: get: operationId: stages_password_list @@ -36269,10 +28522,7 @@ paths: name: failed_attempts_before_cancel schema: type: integer - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -36289,17 +28539,9 @@ paths: $ref: '#/components/schemas/PaginatedPasswordStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_password_create description: PasswordStage Viewset @@ -36321,17 +28563,9 @@ paths: $ref: '#/components/schemas/PasswordStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/password/{stage_uuid}/: get: operationId: stages_password_retrieve @@ -36356,17 +28590,9 @@ paths: $ref: '#/components/schemas/PasswordStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_password_update description: PasswordStage Viewset @@ -36396,17 +28622,9 @@ paths: $ref: '#/components/schemas/PasswordStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_password_partial_update description: PasswordStage Viewset @@ -36435,17 +28653,9 @@ paths: $ref: '#/components/schemas/PasswordStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_password_destroy description: PasswordStage Viewset @@ -36465,17 +28675,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/password/{stage_uuid}/used_by/: get: operationId: stages_password_used_by_list @@ -36502,17 +28704,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/prompts/: get: operationId: stages_prompt_prompts_list @@ -36526,10 +28720,7 @@ paths: name: label schema: type: string - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -36573,17 +28764,9 @@ paths: $ref: '#/components/schemas/PaginatedPromptList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_prompt_prompts_create description: Prompt Viewset @@ -36605,17 +28788,9 @@ paths: $ref: '#/components/schemas/Prompt' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/prompts/{prompt_uuid}/: get: operationId: stages_prompt_prompts_retrieve @@ -36640,17 +28815,9 @@ paths: $ref: '#/components/schemas/Prompt' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_prompt_prompts_update description: Prompt Viewset @@ -36680,17 +28847,9 @@ paths: $ref: '#/components/schemas/Prompt' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_prompt_prompts_partial_update description: Prompt Viewset @@ -36719,17 +28878,9 @@ paths: $ref: '#/components/schemas/Prompt' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_prompt_prompts_destroy description: Prompt Viewset @@ -36749,17 +28900,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/prompts/{prompt_uuid}/used_by/: get: operationId: stages_prompt_prompts_used_by_list @@ -36786,17 +28929,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/prompts/preview/: post: operationId: stages_prompt_prompts_preview_create @@ -36819,17 +28954,9 @@ paths: $ref: '#/components/schemas/PromptChallenge' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/stages/: get: operationId: stages_prompt_stages_list @@ -36844,10 +28971,7 @@ paths: format: uuid explode: true style: form - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -36878,17 +29002,9 @@ paths: $ref: '#/components/schemas/PaginatedPromptStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_prompt_stages_create description: PromptStage Viewset @@ -36910,17 +29026,9 @@ paths: $ref: '#/components/schemas/PromptStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/stages/{stage_uuid}/: get: operationId: stages_prompt_stages_retrieve @@ -36945,17 +29053,9 @@ paths: $ref: '#/components/schemas/PromptStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_prompt_stages_update description: PromptStage Viewset @@ -36985,17 +29085,9 @@ paths: $ref: '#/components/schemas/PromptStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_prompt_stages_partial_update description: PromptStage Viewset @@ -37024,17 +29116,9 @@ paths: $ref: '#/components/schemas/PromptStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_prompt_stages_destroy description: PromptStage Viewset @@ -37054,17 +29138,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/prompt/stages/{stage_uuid}/used_by/: get: operationId: stages_prompt_stages_used_by_list @@ -37091,26 +29167,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/redirect/: get: operationId: stages_redirect_list description: RedirectStage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -37127,17 +29192,9 @@ paths: $ref: '#/components/schemas/PaginatedRedirectStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_redirect_create description: RedirectStage Viewset @@ -37159,17 +29216,9 @@ paths: $ref: '#/components/schemas/RedirectStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/redirect/{stage_uuid}/: get: operationId: stages_redirect_retrieve @@ -37194,17 +29243,9 @@ paths: $ref: '#/components/schemas/RedirectStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_redirect_update description: RedirectStage Viewset @@ -37234,17 +29275,9 @@ paths: $ref: '#/components/schemas/RedirectStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_redirect_partial_update description: RedirectStage Viewset @@ -37273,17 +29306,9 @@ paths: $ref: '#/components/schemas/RedirectStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_redirect_destroy description: RedirectStage Viewset @@ -37303,17 +29328,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/redirect/{stage_uuid}/used_by/: get: operationId: stages_redirect_used_by_list @@ -37340,26 +29357,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/source/: get: operationId: stages_source_list description: SourceStage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -37390,17 +29396,9 @@ paths: $ref: '#/components/schemas/PaginatedSourceStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_source_create description: SourceStage Viewset @@ -37422,17 +29420,9 @@ paths: $ref: '#/components/schemas/SourceStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/source/{stage_uuid}/: get: operationId: stages_source_retrieve @@ -37457,17 +29447,9 @@ paths: $ref: '#/components/schemas/SourceStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_source_update description: SourceStage Viewset @@ -37497,17 +29479,9 @@ paths: $ref: '#/components/schemas/SourceStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_source_partial_update description: SourceStage Viewset @@ -37536,17 +29510,9 @@ paths: $ref: '#/components/schemas/SourceStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_source_destroy description: SourceStage Viewset @@ -37566,17 +29532,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/source/{stage_uuid}/used_by/: get: operationId: stages_source_used_by_list @@ -37603,26 +29561,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_delete/: get: operationId: stages_user_delete_list description: UserDeleteStage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -37644,17 +29591,9 @@ paths: $ref: '#/components/schemas/PaginatedUserDeleteStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_user_delete_create description: UserDeleteStage Viewset @@ -37676,17 +29615,9 @@ paths: $ref: '#/components/schemas/UserDeleteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_delete/{stage_uuid}/: get: operationId: stages_user_delete_retrieve @@ -37711,17 +29642,9 @@ paths: $ref: '#/components/schemas/UserDeleteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_user_delete_update description: UserDeleteStage Viewset @@ -37751,17 +29674,9 @@ paths: $ref: '#/components/schemas/UserDeleteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_user_delete_partial_update description: UserDeleteStage Viewset @@ -37790,17 +29705,9 @@ paths: $ref: '#/components/schemas/UserDeleteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_user_delete_destroy description: UserDeleteStage Viewset @@ -37820,17 +29727,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_delete/{stage_uuid}/used_by/: get: operationId: stages_user_delete_used_by_list @@ -37857,17 +29756,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_login/: get: operationId: stages_user_login_list @@ -37885,10 +29776,7 @@ paths: description: |+ Bind sessions created by this stage to the configured GeoIP location - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - in: query name: network_binding schema: @@ -37938,17 +29826,9 @@ paths: $ref: '#/components/schemas/PaginatedUserLoginStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_user_login_create description: UserLoginStage Viewset @@ -37970,17 +29850,9 @@ paths: $ref: '#/components/schemas/UserLoginStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_login/{stage_uuid}/: get: operationId: stages_user_login_retrieve @@ -38005,17 +29877,9 @@ paths: $ref: '#/components/schemas/UserLoginStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_user_login_update description: UserLoginStage Viewset @@ -38045,17 +29909,9 @@ paths: $ref: '#/components/schemas/UserLoginStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_user_login_partial_update description: UserLoginStage Viewset @@ -38084,17 +29940,9 @@ paths: $ref: '#/components/schemas/UserLoginStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_user_login_destroy description: UserLoginStage Viewset @@ -38114,17 +29962,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_login/{stage_uuid}/used_by/: get: operationId: stages_user_login_used_by_list @@ -38151,26 +29991,15 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_logout/: get: operationId: stages_user_logout_list description: UserLogoutStage Viewset parameters: - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -38192,17 +30021,9 @@ paths: $ref: '#/components/schemas/PaginatedUserLogoutStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_user_logout_create description: UserLogoutStage Viewset @@ -38224,17 +30045,9 @@ paths: $ref: '#/components/schemas/UserLogoutStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_logout/{stage_uuid}/: get: operationId: stages_user_logout_retrieve @@ -38259,17 +30072,9 @@ paths: $ref: '#/components/schemas/UserLogoutStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_user_logout_update description: UserLogoutStage Viewset @@ -38299,17 +30104,9 @@ paths: $ref: '#/components/schemas/UserLogoutStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_user_logout_partial_update description: UserLogoutStage Viewset @@ -38338,17 +30135,9 @@ paths: $ref: '#/components/schemas/UserLogoutStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_user_logout_destroy description: UserLogoutStage Viewset @@ -38368,17 +30157,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_logout/{stage_uuid}/used_by/: get: operationId: stages_user_logout_used_by_list @@ -38405,17 +30186,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_write/: get: operationId: stages_user_write_list @@ -38430,10 +30203,7 @@ paths: schema: type: string format: uuid - - in: query - name: name - schema: - type: string + - $ref: '#/components/parameters/QueryName' - $ref: '#/components/parameters/QueryPaginationOrdering' - $ref: '#/components/parameters/QueryPaginationPage' - $ref: '#/components/parameters/QueryPaginationPageSize' @@ -38476,17 +30246,9 @@ paths: $ref: '#/components/schemas/PaginatedUserWriteStageList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: stages_user_write_create description: UserWriteStage Viewset @@ -38508,17 +30270,9 @@ paths: $ref: '#/components/schemas/UserWriteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_write/{stage_uuid}/: get: operationId: stages_user_write_retrieve @@ -38543,17 +30297,9 @@ paths: $ref: '#/components/schemas/UserWriteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: stages_user_write_update description: UserWriteStage Viewset @@ -38583,17 +30329,9 @@ paths: $ref: '#/components/schemas/UserWriteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: stages_user_write_partial_update description: UserWriteStage Viewset @@ -38622,17 +30360,9 @@ paths: $ref: '#/components/schemas/UserWriteStage' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: stages_user_write_destroy description: UserWriteStage Viewset @@ -38652,17 +30382,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /stages/user_write/{stage_uuid}/used_by/: get: operationId: stages_user_write_used_by_list @@ -38689,17 +30411,9 @@ paths: $ref: '#/components/schemas/UsedBy' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/schedules/: get: operationId: tasks_schedules_list @@ -38744,17 +30458,9 @@ paths: $ref: '#/components/schemas/PaginatedScheduleList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/schedules/{id}/: get: operationId: tasks_schedules_retrieve @@ -38778,17 +30484,9 @@ paths: $ref: '#/components/schemas/Schedule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: tasks_schedules_update parameters: @@ -38817,17 +30515,9 @@ paths: $ref: '#/components/schemas/Schedule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: tasks_schedules_partial_update parameters: @@ -38855,17 +30545,9 @@ paths: $ref: '#/components/schemas/Schedule' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/schedules/{id}/send/: post: operationId: tasks_schedules_send_create @@ -38890,17 +30572,9 @@ paths: '500': description: Failed to send schedule '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/tasks/: get: operationId: tasks_tasks_list @@ -38979,17 +30653,9 @@ paths: $ref: '#/components/schemas/PaginatedTaskList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/tasks/{message_id}/: get: operationId: tasks_tasks_retrieve @@ -39013,17 +30679,9 @@ paths: $ref: '#/components/schemas/Task' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/tasks/{message_id}/retry/: post: operationId: tasks_tasks_retry_create @@ -39048,11 +30706,7 @@ paths: '404': description: Task not found '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/tasks/status/: get: operationId: tasks_tasks_status_retrieve @@ -39069,17 +30723,9 @@ paths: $ref: '#/components/schemas/GlobalTaskStatus' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tasks/workers: get: operationId: tasks_workers_list @@ -39098,17 +30744,9 @@ paths: $ref: '#/components/schemas/Worker' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tenants/domains/: get: operationId: tenants_domains_list @@ -39128,17 +30766,9 @@ paths: $ref: '#/components/schemas/PaginatedDomainList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: tenants_domains_create description: Domain ViewSet @@ -39158,17 +30788,9 @@ paths: $ref: '#/components/schemas/Domain' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tenants/domains/{id}/: get: operationId: tenants_domains_retrieve @@ -39190,17 +30812,9 @@ paths: $ref: '#/components/schemas/Domain' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: tenants_domains_update description: Domain ViewSet @@ -39227,17 +30841,9 @@ paths: $ref: '#/components/schemas/Domain' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: tenants_domains_partial_update description: Domain ViewSet @@ -39263,17 +30869,9 @@ paths: $ref: '#/components/schemas/Domain' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: tenants_domains_destroy description: Domain ViewSet @@ -39290,17 +30888,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tenants/tenants/: get: operationId: tenants_tenants_list @@ -39320,17 +30910,9 @@ paths: $ref: '#/components/schemas/PaginatedTenantList' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' post: operationId: tenants_tenants_create description: Tenant Viewset @@ -39350,17 +30932,9 @@ paths: $ref: '#/components/schemas/Tenant' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tenants/tenants/{tenant_uuid}/: get: operationId: tenants_tenants_retrieve @@ -39383,17 +30957,9 @@ paths: $ref: '#/components/schemas/Tenant' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' put: operationId: tenants_tenants_update description: Tenant Viewset @@ -39421,17 +30987,9 @@ paths: $ref: '#/components/schemas/Tenant' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' patch: operationId: tenants_tenants_partial_update description: Tenant Viewset @@ -39458,17 +31016,9 @@ paths: $ref: '#/components/schemas/Tenant' description: '' '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' delete: operationId: tenants_tenants_destroy description: Tenant Viewset @@ -39486,17 +31036,9 @@ paths: '204': description: No response body '400': - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationError' - description: '' + $ref: '#/components/responses/ValidationErrorResponse' '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tenants/tenants/{tenant_uuid}/create_admin_group/: post: operationId: tenants_tenants_create_admin_group_create @@ -39525,11 +31067,7 @@ paths: '404': description: User not found '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' /tenants/tenants/{tenant_uuid}/create_recovery_key/: post: operationId: tenants_tenants_create_recovery_key_create @@ -39562,41 +31100,51 @@ paths: '404': description: User not found '403': - content: - application/json: - schema: - $ref: '#/components/schemas/GenericError' - description: '' + $ref: '#/components/responses/GenericErrorResponse' components: parameters: + QueryName: + in: query + name: name + schema: + type: string QueryPaginationOrdering: + in: query name: ordering - required: false - in: query + schema: + type: string description: Which field to use when ordering the results. - schema: - type: string QueryPaginationPage: + in: query name: page - required: false - in: query + schema: + type: integer description: A page number within the paginated result set. - schema: - type: integer QueryPaginationPageSize: - name: page_size - required: false in: query - description: Number of results to return per page. + name: page_size schema: type: integer + description: Number of results to return per page. QuerySearch: - name: search - required: false in: query - description: A search term. + name: search schema: type: string + description: A search term. + responses: + GenericErrorResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/GenericError' + description: '' + ValidationErrorResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/ValidationError' + description: '' schemas: AccessDeniedChallenge: type: object @@ -50660,13 +42208,13 @@ components: end_index: type: number required: - - next - - previous - count - current - - total_pages - - start_index - end_index + - next + - previous + - start_index + - total_pages PartialGroup: type: object description: Partial Group Serializer, does not include child relations. @@ -53372,10 +44920,6 @@ components: type: integer maximum: 2147483647 minimum: -2147483648 - promptstage_set: - type: array - items: - $ref: '#/components/schemas/StageRequest' sub_text: type: string placeholder_expression: @@ -54687,21 +46231,6 @@ components: type: string required: - id - PermissionRequest: - type: object - description: Global permission - properties: - name: - type: string - minLength: 1 - maxLength: 255 - codename: - type: string - minLength: 1 - maxLength: 100 - required: - - codename - - name PlexAuthenticationChallenge: type: object description: Challenge shown to the user in identification stage @@ -55133,19 +46662,6 @@ components: - all - any type: string - PolicyRequest: - type: object - description: Policy Serializer - properties: - name: - type: string - minLength: 1 - execution_logging: - type: boolean - description: When this option is enabled, all executions of this policy - will be logged. By default, only execution errors are logged. - required: - - name PolicyTestRequest: type: object description: Test policy execution for a user with context @@ -55211,10 +46727,11 @@ components: type: integer maximum: 2147483647 minimum: -2147483648 - promptstage_set: + prompt_stages_obj: type: array items: - $ref: '#/components/schemas/Stage' + $ref: '#/components/schemas/PromptStage' + readOnly: true sub_text: type: string placeholder_expression: @@ -55226,6 +46743,7 @@ components: - label - name - pk + - prompt_stages_obj - type PromptChallenge: type: object @@ -55291,10 +46809,6 @@ components: type: integer maximum: 2147483647 minimum: -2147483648 - promptstage_set: - type: array - items: - $ref: '#/components/schemas/StageRequest' sub_text: type: string placeholder_expression: @@ -55581,36 +47095,6 @@ components: - authentik_providers_scim.scimprovider - authentik_providers_ssf.ssfprovider type: string - ProviderRequest: - type: object - description: Provider Serializer - properties: - name: - type: string - minLength: 1 - authentication_flow: - type: string - format: uuid - nullable: true - description: Flow used for authentication when the associated application - is accessed by an un-authenticated user. - authorization_flow: - type: string - format: uuid - description: Flow used when authorizing this provider. - invalidation_flow: - type: string - format: uuid - description: Flow used ending the session from a provider. - property_mappings: - type: array - items: - type: string - format: uuid - required: - - authorization_flow - - invalidation_flow - - name ProviderTypeEnum: enum: - apple @@ -58459,19 +49943,6 @@ components: - pk - verbose_name - verbose_name_plural - ServiceConnectionRequest: - type: object - description: ServiceConnection Serializer - properties: - name: - type: string - minLength: 1 - local: - type: boolean - description: If enabled, use the local connection. Required Docker socket/Kubernetes - Integration - required: - - name ServiceConnectionState: type: object description: Serializer for Service connection state @@ -58776,55 +50247,6 @@ components: - slug - verbose_name - verbose_name_plural - SourceRequest: - type: object - description: Source Serializer - properties: - name: - type: string - minLength: 1 - description: Source's display Name. - slug: - type: string - minLength: 1 - description: Internal source name, used in URLs. - maxLength: 50 - pattern: ^[-a-zA-Z0-9_]+$ - enabled: - type: boolean - authentication_flow: - type: string - format: uuid - nullable: true - description: Flow to use when authenticating existing users. - enrollment_flow: - type: string - format: uuid - nullable: true - description: Flow to use when enrolling new users. - user_property_mappings: - type: array - items: - type: string - format: uuid - group_property_mappings: - type: array - items: - type: string - format: uuid - policy_engine_mode: - $ref: '#/components/schemas/PolicyEngineMode' - user_matching_mode: - allOf: - - $ref: '#/components/schemas/UserMatchingModeEnum' - description: How the source determines if an existing user should be authenticated - or a new user enrolled. - user_path_template: - type: string - minLength: 1 - required: - - name - - slug SourceStage: type: object description: SourceStage Serializer @@ -59015,19 +50437,6 @@ components: - required - sub_text - type - StageRequest: - type: object - description: Stage Serializer - properties: - name: - type: string - minLength: 1 - flow_set: - type: array - items: - $ref: '#/components/schemas/FlowSetRequest' - required: - - name StateEnum: enum: - queued diff --git a/web/src/admin/stages/prompt/PromptListPage.ts b/web/src/admin/stages/prompt/PromptListPage.ts index 43e0bab299..76fe85dc38 100644 --- a/web/src/admin/stages/prompt/PromptListPage.ts +++ b/web/src/admin/stages/prompt/PromptListPage.ts @@ -75,7 +75,7 @@ export class PromptListPage extends TablePage { html`${item.fieldKey}`, html`${item.type}`, html`${item.order}`, - html`${item.promptstageSet?.map((stage) => { + html`${item.promptStagesObj.map((stage) => { return html`
  • ${stage.name}
  • `; })}`, html`