diff --git a/authentik/api/schema.py b/authentik/api/schema.py new file mode 100644 index 000000000..56eb17c42 --- /dev/null +++ b/authentik/api/schema.py @@ -0,0 +1,107 @@ +"""Error Response schema, from https://github.com/axnsan12/drf-yasg/issues/224""" +from drf_yasg2 import openapi +from drf_yasg2.inspectors.view import SwaggerAutoSchema +from drf_yasg2.utils import force_real_str, is_list_view +from rest_framework import exceptions, status +from rest_framework.settings import api_settings + + +class ErrorResponseAutoSchema(SwaggerAutoSchema): + """Inspector which includes an error schema""" + + def get_generic_error_schema(self): + """Get a generic error schema""" + return openapi.Schema( + "Generic API Error", + type=openapi.TYPE_OBJECT, + properties={ + "errors": openapi.Schema( + type=openapi.TYPE_OBJECT, + properties={ + "detail": openapi.Schema( + type=openapi.TYPE_STRING, description="Error details" + ), + "code": openapi.Schema( + type=openapi.TYPE_STRING, description="Error code" + ), + }, + ) + }, + required=["detail"], + ) + + def get_validation_error_schema(self): + """Get a generic validation error schema""" + return openapi.Schema( + "Validation Error", + type=openapi.TYPE_OBJECT, + properties={ + api_settings.NON_FIELD_ERRORS_KEY: openapi.Schema( + description="List of validation errors not related to any field", + type=openapi.TYPE_ARRAY, + items=openapi.Schema(type=openapi.TYPE_STRING), + ), + }, + additional_properties=openapi.Schema( + description=( + "A list of error messages for each " + "field that triggered a validation error" + ), + type=openapi.TYPE_ARRAY, + items=openapi.Schema(type=openapi.TYPE_STRING), + ), + ) + + def get_response_serializers(self): + responses = super().get_response_serializers() + definitions = self.components.with_scope( + openapi.SCHEMA_DEFINITIONS + ) # type: openapi.ReferenceResolver + + definitions.setdefault("GenericError", self.get_generic_error_schema) + definitions.setdefault("ValidationError", self.get_validation_error_schema) + definitions.setdefault("APIException", self.get_generic_error_schema) + + if self.get_request_serializer() or self.get_query_serializer(): + responses.setdefault( + exceptions.ValidationError.status_code, + openapi.Response( + description=force_real_str( + exceptions.ValidationError.default_detail + ), + schema=openapi.SchemaRef(definitions, "ValidationError"), + ), + ) + + security = self.get_security() + if security is None or len(security) > 0: + # Note: 401 error codes are coerced into 403 see + # rest_framework/views.py:433:handle_exception + # This is b/c the API uses token auth which doesn't have WWW-Authenticate header + responses.setdefault( + status.HTTP_403_FORBIDDEN, + openapi.Response( + description="Authentication credentials were invalid, absent or insufficient.", + schema=openapi.SchemaRef(definitions, "GenericError"), + ), + ) + if not is_list_view(self.path, self.method, self.view): + responses.setdefault( + exceptions.PermissionDenied.status_code, + openapi.Response( + description="Permission denied.", + schema=openapi.SchemaRef(definitions, "APIException"), + ), + ) + responses.setdefault( + exceptions.NotFound.status_code, + openapi.Response( + description=( + "Object does not exist or caller " + "has insufficient permissions to access it." + ), + schema=openapi.SchemaRef(definitions, "APIException"), + ), + ) + + return responses diff --git a/authentik/api/v2/urls.py b/authentik/api/v2/urls.py index 4c45e5697..573e615e1 100644 --- a/authentik/api/v2/urls.py +++ b/authentik/api/v2/urls.py @@ -189,7 +189,7 @@ router.register("policies/dummy", DummyPolicyViewSet) info = openapi.Info( title="authentik API", - default_version="v2", + default_version="v2beta", contact=openapi.Contact(email="hello@beryju.org"), license=openapi.License( name="GNU GPLv3", url="https://github.com/BeryJu/authentik/blob/master/LICENSE" diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 945b89abc..e2d2e8755 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -137,6 +137,7 @@ INSTALLED_APPS = [ GUARDIAN_MONKEY_PATCH = False SWAGGER_SETTINGS = { + "DEFAULT_AUTO_SCHEMA_CLASS": "authentik.api.schema.ErrorResponseAutoSchema", "DEFAULT_INFO": "authentik.api.v2.urls.info", "DEFAULT_PAGINATOR_INSPECTORS": [ "authentik.api.pagination_schema.PaginationInspector", diff --git a/swagger.yaml b/swagger.yaml index 63b99ce7e..19efba957 100755 --- a/swagger.yaml +++ b/swagger.yaml @@ -6,7 +6,7 @@ info: license: name: GNU GPLv3 url: https://github.com/BeryJu/authentik/blob/master/LICENSE - version: v2 + version: v2beta basePath: /api/v2beta consumes: - application/json @@ -30,6 +30,10 @@ paths: description: Login Metrics per 1h schema: $ref: '#/definitions/LoginMetrics' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - admin parameters: [] @@ -46,6 +50,10 @@ paths: type: array items: $ref: '#/definitions/Task' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - admin parameters: [] @@ -57,6 +65,15 @@ paths: responses: '201': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - admin parameters: @@ -94,6 +111,10 @@ paths: description: Get running and latest version. schema: $ref: '#/definitions/Version' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - admin parameters: [] @@ -162,6 +183,10 @@ paths: description: '' type: object properties: {} + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - admin parameters: [] @@ -233,6 +258,10 @@ paths: type: array items: $ref: '#/definitions/StaticDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators parameters: [] @@ -246,6 +275,15 @@ paths: description: '' schema: $ref: '#/definitions/StaticDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators parameters: @@ -322,6 +360,10 @@ paths: type: array items: $ref: '#/definitions/TOTPDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators parameters: [] @@ -335,6 +377,15 @@ paths: description: '' schema: $ref: '#/definitions/TOTPDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators parameters: @@ -411,6 +462,10 @@ paths: type: array items: $ref: '#/definitions/WebAuthnDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators parameters: [] @@ -424,6 +479,15 @@ paths: description: '' schema: $ref: '#/definitions/WebAuthnDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators parameters: @@ -500,6 +564,10 @@ paths: type: array items: $ref: '#/definitions/StaticDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators post: @@ -516,6 +584,14 @@ paths: description: '' schema: $ref: '#/definitions/StaticDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators parameters: [] @@ -529,6 +605,15 @@ paths: description: '' schema: $ref: '#/definitions/StaticDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators put: @@ -545,6 +630,19 @@ paths: description: '' schema: $ref: '#/definitions/StaticDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators patch: @@ -561,6 +659,19 @@ paths: description: '' schema: $ref: '#/definitions/StaticDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators delete: @@ -570,6 +681,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators parameters: @@ -646,6 +766,10 @@ paths: type: array items: $ref: '#/definitions/TOTPDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators post: @@ -662,6 +786,14 @@ paths: description: '' schema: $ref: '#/definitions/TOTPDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators parameters: [] @@ -675,6 +807,15 @@ paths: description: '' schema: $ref: '#/definitions/TOTPDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators put: @@ -691,6 +832,19 @@ paths: description: '' schema: $ref: '#/definitions/TOTPDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators patch: @@ -707,6 +861,19 @@ paths: description: '' schema: $ref: '#/definitions/TOTPDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators delete: @@ -716,6 +883,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators parameters: @@ -792,6 +968,10 @@ paths: type: array items: $ref: '#/definitions/WebAuthnDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators post: @@ -808,6 +988,14 @@ paths: description: '' schema: $ref: '#/definitions/WebAuthnDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - authenticators parameters: [] @@ -821,6 +1009,15 @@ paths: description: '' schema: $ref: '#/definitions/WebAuthnDevice' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators put: @@ -837,6 +1034,19 @@ paths: description: '' schema: $ref: '#/definitions/WebAuthnDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators patch: @@ -853,6 +1063,19 @@ paths: description: '' schema: $ref: '#/definitions/WebAuthnDevice' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators delete: @@ -862,6 +1085,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - authenticators parameters: @@ -933,6 +1165,10 @@ paths: type: array items: $ref: '#/definitions/Application' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core post: @@ -949,6 +1185,14 @@ paths: description: '' schema: $ref: '#/definitions/Application' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -962,6 +1206,15 @@ paths: description: '' schema: $ref: '#/definitions/Application' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core put: @@ -978,6 +1231,19 @@ paths: description: '' schema: $ref: '#/definitions/Application' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core patch: @@ -994,6 +1260,19 @@ paths: description: '' schema: $ref: '#/definitions/Application' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core delete: @@ -1003,6 +1282,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1026,6 +1314,15 @@ paths: type: array items: $ref: '#/definitions/Coordinate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1109,6 +1406,10 @@ paths: type: array items: $ref: '#/definitions/Group' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core post: @@ -1125,6 +1426,14 @@ paths: description: '' schema: $ref: '#/definitions/Group' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -1138,6 +1447,15 @@ paths: description: '' schema: $ref: '#/definitions/Group' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core put: @@ -1154,6 +1472,19 @@ paths: description: '' schema: $ref: '#/definitions/Group' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core patch: @@ -1170,6 +1501,19 @@ paths: description: '' schema: $ref: '#/definitions/Group' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core delete: @@ -1179,6 +1523,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1271,6 +1624,10 @@ paths: type: array items: $ref: '#/definitions/Token' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core post: @@ -1287,6 +1644,14 @@ paths: description: '' schema: $ref: '#/definitions/Token' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -1300,6 +1665,15 @@ paths: description: '' schema: $ref: '#/definitions/Token' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core put: @@ -1316,6 +1690,19 @@ paths: description: '' schema: $ref: '#/definitions/Token' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core patch: @@ -1332,6 +1719,19 @@ paths: description: '' schema: $ref: '#/definitions/Token' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core delete: @@ -1341,6 +1741,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1360,6 +1769,15 @@ paths: description: Show token's current key schema: $ref: '#/definitions/TokenView' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1442,6 +1860,10 @@ paths: type: array items: $ref: '#/definitions/UserConsent' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -1455,6 +1877,15 @@ paths: description: '' schema: $ref: '#/definitions/UserConsent' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core delete: @@ -1464,6 +1895,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1550,6 +1990,10 @@ paths: type: array items: $ref: '#/definitions/User' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core post: @@ -1566,6 +2010,14 @@ paths: description: '' schema: $ref: '#/definitions/User' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -1616,6 +2068,10 @@ paths: original user in the `original` property. schema: $ref: '#/definitions/SessionUser' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -1664,6 +2120,10 @@ paths: description: User Metrics schema: $ref: '#/definitions/UserMetrics' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - core parameters: [] @@ -1677,6 +2137,15 @@ paths: description: '' schema: $ref: '#/definitions/User' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core put: @@ -1693,6 +2162,19 @@ paths: description: '' schema: $ref: '#/definitions/User' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core patch: @@ -1709,6 +2191,19 @@ paths: description: '' schema: $ref: '#/definitions/User' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core delete: @@ -1718,6 +2213,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1736,6 +2240,15 @@ paths: description: Recovery link for a user to reset their password schema: $ref: '#/definitions/UserRecovery' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - core parameters: @@ -1807,6 +2320,10 @@ paths: type: array items: $ref: '#/definitions/CertificateKeyPair' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - crypto post: @@ -1823,6 +2340,14 @@ paths: description: '' schema: $ref: '#/definitions/CertificateKeyPair' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - crypto parameters: [] @@ -1841,6 +2366,14 @@ paths: description: CertificateKeyPair Serializer schema: $ref: '#/definitions/CertificateKeyPair' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - crypto parameters: [] @@ -1854,6 +2387,15 @@ paths: description: '' schema: $ref: '#/definitions/CertificateKeyPair' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - crypto put: @@ -1870,6 +2412,19 @@ paths: description: '' schema: $ref: '#/definitions/CertificateKeyPair' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - crypto patch: @@ -1886,6 +2441,19 @@ paths: description: '' schema: $ref: '#/definitions/CertificateKeyPair' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - crypto delete: @@ -1895,6 +2463,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - crypto parameters: @@ -1914,6 +2491,15 @@ paths: description: Get CertificateKeyPair's data schema: $ref: '#/definitions/CertificateData' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - crypto parameters: @@ -1933,6 +2519,15 @@ paths: description: Get CertificateKeyPair's data schema: $ref: '#/definitions/CertificateData' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - crypto parameters: @@ -2040,6 +2635,10 @@ paths: type: array items: $ref: '#/definitions/Event' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events parameters: [] @@ -2116,6 +2715,14 @@ paths: type: array items: $ref: '#/definitions/EventTopPerUser' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events parameters: [] @@ -2129,6 +2736,15 @@ paths: description: '' schema: $ref: '#/definitions/Event' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events parameters: @@ -2226,6 +2842,10 @@ paths: type: array items: $ref: '#/definitions/Notification' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events parameters: [] @@ -2239,6 +2859,15 @@ paths: description: '' schema: $ref: '#/definitions/Notification' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events put: @@ -2255,6 +2884,19 @@ paths: description: '' schema: $ref: '#/definitions/Notification' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events patch: @@ -2271,6 +2913,19 @@ paths: description: '' schema: $ref: '#/definitions/Notification' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events delete: @@ -2280,6 +2935,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events parameters: @@ -2352,6 +3016,10 @@ paths: type: array items: $ref: '#/definitions/NotificationRule' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events post: @@ -2368,6 +3036,14 @@ paths: description: '' schema: $ref: '#/definitions/NotificationRule' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events parameters: [] @@ -2381,6 +3057,15 @@ paths: description: '' schema: $ref: '#/definitions/NotificationRule' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events put: @@ -2397,6 +3082,19 @@ paths: description: '' schema: $ref: '#/definitions/NotificationRule' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events patch: @@ -2413,6 +3111,19 @@ paths: description: '' schema: $ref: '#/definitions/NotificationRule' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events delete: @@ -2422,6 +3133,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events parameters: @@ -2494,6 +3214,10 @@ paths: type: array items: $ref: '#/definitions/NotificationTransport' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events post: @@ -2510,6 +3234,14 @@ paths: description: '' schema: $ref: '#/definitions/NotificationTransport' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - events parameters: [] @@ -2523,6 +3255,15 @@ paths: description: '' schema: $ref: '#/definitions/NotificationTransport' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events put: @@ -2539,6 +3280,19 @@ paths: description: '' schema: $ref: '#/definitions/NotificationTransport' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events patch: @@ -2555,6 +3309,19 @@ paths: description: '' schema: $ref: '#/definitions/NotificationTransport' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events delete: @@ -2564,6 +3331,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events parameters: @@ -2585,6 +3361,15 @@ paths: description: Notification test serializer schema: $ref: '#/definitions/NotificationTransportTest' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - events parameters: @@ -2697,6 +3482,10 @@ paths: type: array items: $ref: '#/definitions/FlowStageBinding' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - flows post: @@ -2713,6 +3502,14 @@ paths: description: '' schema: $ref: '#/definitions/FlowStageBinding' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - flows parameters: [] @@ -2726,6 +3523,15 @@ paths: description: '' schema: $ref: '#/definitions/FlowStageBinding' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows put: @@ -2742,6 +3548,19 @@ paths: description: '' schema: $ref: '#/definitions/FlowStageBinding' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows patch: @@ -2758,6 +3577,19 @@ paths: description: '' schema: $ref: '#/definitions/FlowStageBinding' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows delete: @@ -2767,6 +3599,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows parameters: @@ -2792,6 +3633,15 @@ paths: is currently active schema: $ref: '#/definitions/Challenge' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows post: @@ -2815,6 +3665,19 @@ paths: is currently active schema: $ref: '#/definitions/Challenge' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows parameters: @@ -2905,6 +3768,10 @@ paths: type: array items: $ref: '#/definitions/Flow' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - flows post: @@ -2921,6 +3788,14 @@ paths: description: '' schema: $ref: '#/definitions/Flow' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - flows parameters: [] @@ -2934,6 +3809,10 @@ paths: description: Successfully cleared cache '400': description: Bad request + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - flows parameters: [] @@ -2987,6 +3866,10 @@ paths: description: Generic cache stats for an object schema: $ref: '#/definitions/Cache' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - flows parameters: [] @@ -3000,6 +3883,15 @@ paths: description: '' schema: $ref: '#/definitions/Flow' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows put: @@ -3016,6 +3908,19 @@ paths: description: '' schema: $ref: '#/definitions/Flow' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows patch: @@ -3032,6 +3937,19 @@ paths: description: '' schema: $ref: '#/definitions/Flow' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows delete: @@ -3041,6 +3959,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows parameters: @@ -3062,6 +3989,15 @@ paths: description: response of the flow's /diagram/ action schema: $ref: '#/definitions/FlowDiagram' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows parameters: @@ -3082,6 +4018,15 @@ paths: description: File Attachment schema: type: file + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - flows parameters: @@ -3165,6 +4110,10 @@ paths: type: array items: $ref: '#/definitions/ExpiringBaseGrantModel' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - oauth2 parameters: [] @@ -3178,6 +4127,15 @@ paths: description: '' schema: $ref: '#/definitions/ExpiringBaseGrantModel' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - oauth2 delete: @@ -3187,6 +4145,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - oauth2 parameters: @@ -3268,6 +4235,10 @@ paths: type: array items: $ref: '#/definitions/ExpiringBaseGrantModel' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - oauth2 parameters: [] @@ -3281,6 +4252,15 @@ paths: description: '' schema: $ref: '#/definitions/ExpiringBaseGrantModel' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - oauth2 delete: @@ -3290,6 +4270,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - oauth2 parameters: @@ -3366,6 +4355,10 @@ paths: type: array items: $ref: '#/definitions/Outpost' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts post: @@ -3382,6 +4375,14 @@ paths: description: '' schema: $ref: '#/definitions/Outpost' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts parameters: [] @@ -3395,6 +4396,15 @@ paths: description: '' schema: $ref: '#/definitions/Outpost' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts put: @@ -3411,6 +4421,19 @@ paths: description: '' schema: $ref: '#/definitions/Outpost' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts patch: @@ -3427,6 +4450,19 @@ paths: description: '' schema: $ref: '#/definitions/Outpost' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts delete: @@ -3436,6 +4472,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -3458,6 +4503,15 @@ paths: type: array items: $ref: '#/definitions/OutpostHealth' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -3530,6 +4584,10 @@ paths: type: array items: $ref: '#/definitions/ProxyOutpostConfig' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts post: @@ -3546,6 +4604,14 @@ paths: description: '' schema: $ref: '#/definitions/ProxyOutpostConfig' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts parameters: [] @@ -3559,6 +4625,15 @@ paths: description: '' schema: $ref: '#/definitions/ProxyOutpostConfig' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts put: @@ -3575,6 +4650,19 @@ paths: description: '' schema: $ref: '#/definitions/ProxyOutpostConfig' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts patch: @@ -3591,6 +4679,19 @@ paths: description: '' schema: $ref: '#/definitions/ProxyOutpostConfig' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts delete: @@ -3600,6 +4701,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -3676,6 +4786,10 @@ paths: type: array items: $ref: '#/definitions/ServiceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts post: @@ -3692,6 +4806,14 @@ paths: description: '' schema: $ref: '#/definitions/ServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts parameters: [] @@ -3733,6 +4855,10 @@ paths: type: array items: $ref: '#/definitions/TypeCreate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts parameters: [] @@ -3746,6 +4872,15 @@ paths: description: '' schema: $ref: '#/definitions/ServiceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts put: @@ -3762,6 +4897,19 @@ paths: description: '' schema: $ref: '#/definitions/ServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts patch: @@ -3778,6 +4926,19 @@ paths: description: '' schema: $ref: '#/definitions/ServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts delete: @@ -3787,6 +4948,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -3806,6 +4976,15 @@ paths: description: Serializer for Service connection state schema: $ref: '#/definitions/ServiceConnectionState' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -3878,6 +5057,10 @@ paths: type: array items: $ref: '#/definitions/DockerServiceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts post: @@ -3894,6 +5077,14 @@ paths: description: '' schema: $ref: '#/definitions/DockerServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts parameters: [] @@ -3907,6 +5098,15 @@ paths: description: '' schema: $ref: '#/definitions/DockerServiceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts put: @@ -3923,6 +5123,19 @@ paths: description: '' schema: $ref: '#/definitions/DockerServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts patch: @@ -3939,6 +5152,19 @@ paths: description: '' schema: $ref: '#/definitions/DockerServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts delete: @@ -3948,6 +5174,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -4020,6 +5255,10 @@ paths: type: array items: $ref: '#/definitions/KubernetesServiceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts post: @@ -4036,6 +5275,14 @@ paths: description: '' schema: $ref: '#/definitions/KubernetesServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - outposts parameters: [] @@ -4049,6 +5296,15 @@ paths: description: '' schema: $ref: '#/definitions/KubernetesServiceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts put: @@ -4065,6 +5321,19 @@ paths: description: '' schema: $ref: '#/definitions/KubernetesServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts patch: @@ -4081,6 +5350,19 @@ paths: description: '' schema: $ref: '#/definitions/KubernetesServiceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts delete: @@ -4090,6 +5372,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - outposts parameters: @@ -4172,6 +5463,10 @@ paths: type: array items: $ref: '#/definitions/Policy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4185,6 +5480,10 @@ paths: description: Successfully cleared cache '400': description: Bad request + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4228,6 +5527,10 @@ paths: description: Generic cache stats for an object schema: $ref: '#/definitions/Cache' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4274,6 +5577,10 @@ paths: type: array items: $ref: '#/definitions/TypeCreate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4287,6 +5594,15 @@ paths: description: '' schema: $ref: '#/definitions/Policy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -4296,6 +5612,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -4393,6 +5718,10 @@ paths: type: array items: $ref: '#/definitions/PolicyBinding' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -4409,6 +5738,14 @@ paths: description: '' schema: $ref: '#/definitions/PolicyBinding' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4422,6 +5759,15 @@ paths: description: '' schema: $ref: '#/definitions/PolicyBinding' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -4438,6 +5784,19 @@ paths: description: '' schema: $ref: '#/definitions/PolicyBinding' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -4454,6 +5813,19 @@ paths: description: '' schema: $ref: '#/definitions/PolicyBinding' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -4463,6 +5835,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -4535,6 +5916,10 @@ paths: type: array items: $ref: '#/definitions/DummyPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -4551,6 +5936,14 @@ paths: description: '' schema: $ref: '#/definitions/DummyPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4564,6 +5957,15 @@ paths: description: '' schema: $ref: '#/definitions/DummyPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -4580,6 +5982,19 @@ paths: description: '' schema: $ref: '#/definitions/DummyPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -4596,6 +6011,19 @@ paths: description: '' schema: $ref: '#/definitions/DummyPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -4605,6 +6033,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -4677,6 +6114,10 @@ paths: type: array items: $ref: '#/definitions/EventMatcherPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -4693,6 +6134,14 @@ paths: description: '' schema: $ref: '#/definitions/EventMatcherPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4706,6 +6155,15 @@ paths: description: '' schema: $ref: '#/definitions/EventMatcherPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -4722,6 +6180,19 @@ paths: description: '' schema: $ref: '#/definitions/EventMatcherPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -4738,6 +6209,19 @@ paths: description: '' schema: $ref: '#/definitions/EventMatcherPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -4747,6 +6231,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -4819,6 +6312,10 @@ paths: type: array items: $ref: '#/definitions/ExpressionPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -4835,6 +6332,14 @@ paths: description: '' schema: $ref: '#/definitions/ExpressionPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4848,6 +6353,15 @@ paths: description: '' schema: $ref: '#/definitions/ExpressionPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -4864,6 +6378,19 @@ paths: description: '' schema: $ref: '#/definitions/ExpressionPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -4880,6 +6407,19 @@ paths: description: '' schema: $ref: '#/definitions/ExpressionPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -4889,6 +6429,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -4961,6 +6510,10 @@ paths: type: array items: $ref: '#/definitions/HaveIBeenPwendPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -4977,6 +6530,14 @@ paths: description: '' schema: $ref: '#/definitions/HaveIBeenPwendPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -4990,6 +6551,15 @@ paths: description: '' schema: $ref: '#/definitions/HaveIBeenPwendPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -5006,6 +6576,19 @@ paths: description: '' schema: $ref: '#/definitions/HaveIBeenPwendPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -5022,6 +6605,19 @@ paths: description: '' schema: $ref: '#/definitions/HaveIBeenPwendPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -5031,6 +6627,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -5103,6 +6708,10 @@ paths: type: array items: $ref: '#/definitions/PasswordPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -5119,6 +6728,14 @@ paths: description: '' schema: $ref: '#/definitions/PasswordPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -5132,6 +6749,15 @@ paths: description: '' schema: $ref: '#/definitions/PasswordPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -5148,6 +6774,19 @@ paths: description: '' schema: $ref: '#/definitions/PasswordPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -5164,6 +6803,19 @@ paths: description: '' schema: $ref: '#/definitions/PasswordPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -5173,6 +6825,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -5245,6 +6906,10 @@ paths: type: array items: $ref: '#/definitions/PasswordExpiryPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -5261,6 +6926,14 @@ paths: description: '' schema: $ref: '#/definitions/PasswordExpiryPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -5274,6 +6947,15 @@ paths: description: '' schema: $ref: '#/definitions/PasswordExpiryPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -5290,6 +6972,19 @@ paths: description: '' schema: $ref: '#/definitions/PasswordExpiryPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -5306,6 +7001,19 @@ paths: description: '' schema: $ref: '#/definitions/PasswordExpiryPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -5315,6 +7023,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -5387,6 +7104,10 @@ paths: type: array items: $ref: '#/definitions/ReputationPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -5403,6 +7124,14 @@ paths: description: '' schema: $ref: '#/definitions/ReputationPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -5469,6 +7198,10 @@ paths: type: array items: $ref: '#/definitions/IPReputation' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -5485,6 +7218,14 @@ paths: description: '' schema: $ref: '#/definitions/IPReputation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -5498,6 +7239,15 @@ paths: description: '' schema: $ref: '#/definitions/IPReputation' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -5514,6 +7264,19 @@ paths: description: '' schema: $ref: '#/definitions/IPReputation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -5530,6 +7293,19 @@ paths: description: '' schema: $ref: '#/definitions/IPReputation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -5539,6 +7315,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -5610,6 +7395,10 @@ paths: type: array items: $ref: '#/definitions/UserReputation' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies post: @@ -5626,6 +7415,14 @@ paths: description: '' schema: $ref: '#/definitions/UserReputation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - policies parameters: [] @@ -5639,6 +7436,15 @@ paths: description: '' schema: $ref: '#/definitions/UserReputation' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -5655,6 +7461,19 @@ paths: description: '' schema: $ref: '#/definitions/UserReputation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -5671,6 +7490,19 @@ paths: description: '' schema: $ref: '#/definitions/UserReputation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -5680,6 +7512,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -5698,6 +7539,15 @@ paths: description: '' schema: $ref: '#/definitions/ReputationPolicy' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies put: @@ -5714,6 +7564,19 @@ paths: description: '' schema: $ref: '#/definitions/ReputationPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies patch: @@ -5730,6 +7593,19 @@ paths: description: '' schema: $ref: '#/definitions/ReputationPolicy' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies delete: @@ -5739,6 +7615,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - policies parameters: @@ -5816,6 +7701,10 @@ paths: type: array items: $ref: '#/definitions/PropertyMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings parameters: [] @@ -5857,6 +7746,10 @@ paths: type: array items: $ref: '#/definitions/TypeCreate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings parameters: [] @@ -5870,6 +7763,15 @@ paths: description: '' schema: $ref: '#/definitions/PropertyMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings delete: @@ -5879,6 +7781,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings parameters: @@ -5951,6 +7862,10 @@ paths: type: array items: $ref: '#/definitions/LDAPPropertyMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings post: @@ -5967,6 +7882,14 @@ paths: description: '' schema: $ref: '#/definitions/LDAPPropertyMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings parameters: [] @@ -5980,6 +7903,15 @@ paths: description: '' schema: $ref: '#/definitions/LDAPPropertyMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings put: @@ -5996,6 +7928,19 @@ paths: description: '' schema: $ref: '#/definitions/LDAPPropertyMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings patch: @@ -6012,6 +7957,19 @@ paths: description: '' schema: $ref: '#/definitions/LDAPPropertyMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings delete: @@ -6021,6 +7979,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings parameters: @@ -6093,6 +8060,10 @@ paths: type: array items: $ref: '#/definitions/SAMLPropertyMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings post: @@ -6109,6 +8080,14 @@ paths: description: '' schema: $ref: '#/definitions/SAMLPropertyMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings parameters: [] @@ -6122,6 +8101,15 @@ paths: description: '' schema: $ref: '#/definitions/SAMLPropertyMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings put: @@ -6138,6 +8126,19 @@ paths: description: '' schema: $ref: '#/definitions/SAMLPropertyMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings patch: @@ -6154,6 +8155,19 @@ paths: description: '' schema: $ref: '#/definitions/SAMLPropertyMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings delete: @@ -6163,6 +8177,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings parameters: @@ -6235,6 +8258,10 @@ paths: type: array items: $ref: '#/definitions/ScopeMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings post: @@ -6251,6 +8278,14 @@ paths: description: '' schema: $ref: '#/definitions/ScopeMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - propertymappings parameters: [] @@ -6264,6 +8299,15 @@ paths: description: '' schema: $ref: '#/definitions/ScopeMapping' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings put: @@ -6280,6 +8324,19 @@ paths: description: '' schema: $ref: '#/definitions/ScopeMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings patch: @@ -6296,6 +8353,19 @@ paths: description: '' schema: $ref: '#/definitions/ScopeMapping' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings delete: @@ -6305,6 +8375,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - propertymappings parameters: @@ -6382,6 +8461,10 @@ paths: type: array items: $ref: '#/definitions/Provider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers post: @@ -6398,6 +8481,14 @@ paths: description: '' schema: $ref: '#/definitions/Provider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers parameters: [] @@ -6439,6 +8530,10 @@ paths: type: array items: $ref: '#/definitions/TypeCreate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers parameters: [] @@ -6452,6 +8547,15 @@ paths: description: '' schema: $ref: '#/definitions/Provider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers put: @@ -6468,6 +8572,19 @@ paths: description: '' schema: $ref: '#/definitions/Provider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers patch: @@ -6484,6 +8601,19 @@ paths: description: '' schema: $ref: '#/definitions/Provider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers delete: @@ -6493,6 +8623,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers parameters: @@ -6564,6 +8703,10 @@ paths: type: array items: $ref: '#/definitions/OAuth2Provider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers post: @@ -6580,6 +8723,14 @@ paths: description: '' schema: $ref: '#/definitions/OAuth2Provider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers parameters: [] @@ -6593,6 +8744,15 @@ paths: description: '' schema: $ref: '#/definitions/OAuth2Provider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers put: @@ -6609,6 +8769,19 @@ paths: description: '' schema: $ref: '#/definitions/OAuth2Provider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers patch: @@ -6625,6 +8798,19 @@ paths: description: '' schema: $ref: '#/definitions/OAuth2Provider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers delete: @@ -6634,6 +8820,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers parameters: @@ -6652,6 +8847,15 @@ paths: description: OAuth2 Provider Metadata serializer schema: $ref: '#/definitions/OAuth2ProviderSetupURLs' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers parameters: @@ -6723,6 +8927,10 @@ paths: type: array items: $ref: '#/definitions/ProxyProvider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers post: @@ -6739,6 +8947,14 @@ paths: description: '' schema: $ref: '#/definitions/ProxyProvider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers parameters: [] @@ -6752,6 +8968,15 @@ paths: description: '' schema: $ref: '#/definitions/ProxyProvider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers put: @@ -6768,6 +8993,19 @@ paths: description: '' schema: $ref: '#/definitions/ProxyProvider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers patch: @@ -6784,6 +9022,19 @@ paths: description: '' schema: $ref: '#/definitions/ProxyProvider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers delete: @@ -6793,6 +9044,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers parameters: @@ -6864,6 +9124,10 @@ paths: type: array items: $ref: '#/definitions/SAMLProvider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers post: @@ -6880,6 +9144,14 @@ paths: description: '' schema: $ref: '#/definitions/SAMLProvider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - providers parameters: [] @@ -6893,6 +9165,15 @@ paths: description: '' schema: $ref: '#/definitions/SAMLProvider' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers put: @@ -6909,6 +9190,19 @@ paths: description: '' schema: $ref: '#/definitions/SAMLProvider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers patch: @@ -6925,6 +9219,19 @@ paths: description: '' schema: $ref: '#/definitions/SAMLProvider' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers delete: @@ -6934,6 +9241,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers parameters: @@ -6952,6 +9268,15 @@ paths: description: SAML Provider Metadata serializer schema: $ref: '#/definitions/SAMLMetadata' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - providers parameters: @@ -6970,6 +9295,10 @@ paths: description: Serialize authentik Config into DRF Object schema: $ref: '#/definitions/Config' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - root parameters: [] @@ -7036,6 +9365,10 @@ paths: type: array items: $ref: '#/definitions/Source' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7072,6 +9405,10 @@ paths: type: array items: $ref: '#/definitions/TypeCreate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7108,6 +9445,10 @@ paths: type: array items: $ref: '#/definitions/UserSetting' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7121,6 +9462,15 @@ paths: description: '' schema: $ref: '#/definitions/Source' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources delete: @@ -7130,6 +9480,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7203,6 +9562,10 @@ paths: type: array items: $ref: '#/definitions/LDAPSource' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources post: @@ -7219,6 +9582,14 @@ paths: description: '' schema: $ref: '#/definitions/LDAPSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7232,6 +9603,15 @@ paths: description: '' schema: $ref: '#/definitions/LDAPSource' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources put: @@ -7248,6 +9628,19 @@ paths: description: '' schema: $ref: '#/definitions/LDAPSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources patch: @@ -7264,6 +9657,19 @@ paths: description: '' schema: $ref: '#/definitions/LDAPSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources delete: @@ -7273,6 +9679,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7293,6 +9708,15 @@ paths: description: LDAP Sync status schema: $ref: '#/definitions/LDAPSourceSyncStatus' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7366,6 +9790,10 @@ paths: type: array items: $ref: '#/definitions/OAuthSource' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources post: @@ -7382,6 +9810,14 @@ paths: description: '' schema: $ref: '#/definitions/OAuthSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7395,6 +9831,15 @@ paths: description: '' schema: $ref: '#/definitions/OAuthSource' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources put: @@ -7411,6 +9856,19 @@ paths: description: '' schema: $ref: '#/definitions/OAuthSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources patch: @@ -7427,6 +9885,19 @@ paths: description: '' schema: $ref: '#/definitions/OAuthSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources delete: @@ -7436,6 +9907,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7514,6 +9994,10 @@ paths: type: array items: $ref: '#/definitions/UserOAuthSourceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources post: @@ -7530,6 +10014,14 @@ paths: description: '' schema: $ref: '#/definitions/UserOAuthSourceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7543,6 +10035,15 @@ paths: description: '' schema: $ref: '#/definitions/UserOAuthSourceConnection' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources put: @@ -7559,6 +10060,19 @@ paths: description: '' schema: $ref: '#/definitions/UserOAuthSourceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources patch: @@ -7575,6 +10089,19 @@ paths: description: '' schema: $ref: '#/definitions/UserOAuthSourceConnection' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources delete: @@ -7584,6 +10111,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7655,6 +10191,10 @@ paths: type: array items: $ref: '#/definitions/SAMLSource' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources post: @@ -7671,6 +10211,14 @@ paths: description: '' schema: $ref: '#/definitions/SAMLSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - sources parameters: [] @@ -7684,6 +10232,15 @@ paths: description: '' schema: $ref: '#/definitions/SAMLSource' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources put: @@ -7700,6 +10257,19 @@ paths: description: '' schema: $ref: '#/definitions/SAMLSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources patch: @@ -7716,6 +10286,19 @@ paths: description: '' schema: $ref: '#/definitions/SAMLSource' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources delete: @@ -7725,6 +10308,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7745,6 +10337,15 @@ paths: description: SAML Provider Metadata serializer schema: $ref: '#/definitions/SAMLMetadata' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - sources parameters: @@ -7823,6 +10424,10 @@ paths: type: array items: $ref: '#/definitions/Stage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -7864,6 +10469,10 @@ paths: type: array items: $ref: '#/definitions/TypeCreate' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -7905,6 +10514,10 @@ paths: type: array items: $ref: '#/definitions/UserSetting' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -7918,6 +10531,15 @@ paths: description: '' schema: $ref: '#/definitions/Stage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -7927,6 +10549,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -7999,6 +10630,10 @@ paths: type: array items: $ref: '#/definitions/AuthenticatorStaticStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8015,6 +10650,14 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorStaticStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8028,6 +10671,15 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorStaticStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8044,6 +10696,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorStaticStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8060,6 +10725,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorStaticStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8069,6 +10747,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8141,6 +10828,10 @@ paths: type: array items: $ref: '#/definitions/AuthenticatorTOTPStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8157,6 +10848,14 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorTOTPStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8170,6 +10869,15 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorTOTPStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8186,6 +10894,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorTOTPStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8202,6 +10923,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorTOTPStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8211,6 +10945,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8283,6 +11026,10 @@ paths: type: array items: $ref: '#/definitions/AuthenticatorValidateStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8299,6 +11046,14 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorValidateStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8312,6 +11067,15 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorValidateStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8328,6 +11092,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorValidateStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8344,6 +11121,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticatorValidateStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8353,6 +11143,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8425,6 +11224,10 @@ paths: type: array items: $ref: '#/definitions/AuthenticateWebAuthnStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8441,6 +11244,14 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticateWebAuthnStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8454,6 +11265,15 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticateWebAuthnStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8470,6 +11290,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticateWebAuthnStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8486,6 +11319,19 @@ paths: description: '' schema: $ref: '#/definitions/AuthenticateWebAuthnStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8495,6 +11341,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8567,6 +11422,10 @@ paths: type: array items: $ref: '#/definitions/CaptchaStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8583,6 +11442,14 @@ paths: description: '' schema: $ref: '#/definitions/CaptchaStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8596,6 +11463,15 @@ paths: description: '' schema: $ref: '#/definitions/CaptchaStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8612,6 +11488,19 @@ paths: description: '' schema: $ref: '#/definitions/CaptchaStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8628,6 +11517,19 @@ paths: description: '' schema: $ref: '#/definitions/CaptchaStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8637,6 +11539,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8709,6 +11620,10 @@ paths: type: array items: $ref: '#/definitions/ConsentStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8725,6 +11640,14 @@ paths: description: '' schema: $ref: '#/definitions/ConsentStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8738,6 +11661,15 @@ paths: description: '' schema: $ref: '#/definitions/ConsentStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8754,6 +11686,19 @@ paths: description: '' schema: $ref: '#/definitions/ConsentStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8770,6 +11715,19 @@ paths: description: '' schema: $ref: '#/definitions/ConsentStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8779,6 +11737,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8851,6 +11818,10 @@ paths: type: array items: $ref: '#/definitions/DenyStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -8867,6 +11838,14 @@ paths: description: '' schema: $ref: '#/definitions/DenyStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -8880,6 +11859,15 @@ paths: description: '' schema: $ref: '#/definitions/DenyStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -8896,6 +11884,19 @@ paths: description: '' schema: $ref: '#/definitions/DenyStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -8912,6 +11913,19 @@ paths: description: '' schema: $ref: '#/definitions/DenyStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -8921,6 +11935,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -8993,6 +12016,10 @@ paths: type: array items: $ref: '#/definitions/DummyStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9009,6 +12036,14 @@ paths: description: '' schema: $ref: '#/definitions/DummyStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9022,6 +12057,15 @@ paths: description: '' schema: $ref: '#/definitions/DummyStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9038,6 +12082,19 @@ paths: description: '' schema: $ref: '#/definitions/DummyStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9054,6 +12111,19 @@ paths: description: '' schema: $ref: '#/definitions/DummyStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9063,6 +12133,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -9135,6 +12214,10 @@ paths: type: array items: $ref: '#/definitions/EmailStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9151,6 +12234,14 @@ paths: description: '' schema: $ref: '#/definitions/EmailStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9164,6 +12255,15 @@ paths: description: '' schema: $ref: '#/definitions/EmailStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9180,6 +12280,19 @@ paths: description: '' schema: $ref: '#/definitions/EmailStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9196,6 +12309,19 @@ paths: description: '' schema: $ref: '#/definitions/EmailStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9205,6 +12331,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -9277,6 +12412,10 @@ paths: type: array items: $ref: '#/definitions/IdentificationStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9293,6 +12432,14 @@ paths: description: '' schema: $ref: '#/definitions/IdentificationStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9306,6 +12453,15 @@ paths: description: '' schema: $ref: '#/definitions/IdentificationStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9322,6 +12478,19 @@ paths: description: '' schema: $ref: '#/definitions/IdentificationStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9338,6 +12507,19 @@ paths: description: '' schema: $ref: '#/definitions/IdentificationStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9347,6 +12529,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -9429,6 +12620,10 @@ paths: type: array items: $ref: '#/definitions/Invitation' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9445,6 +12640,14 @@ paths: description: '' schema: $ref: '#/definitions/Invitation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9458,6 +12661,15 @@ paths: description: '' schema: $ref: '#/definitions/Invitation' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9474,6 +12686,19 @@ paths: description: '' schema: $ref: '#/definitions/Invitation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9490,6 +12715,19 @@ paths: description: '' schema: $ref: '#/definitions/Invitation' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9499,6 +12737,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -9571,6 +12818,10 @@ paths: type: array items: $ref: '#/definitions/InvitationStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9587,6 +12838,14 @@ paths: description: '' schema: $ref: '#/definitions/InvitationStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9600,6 +12859,15 @@ paths: description: '' schema: $ref: '#/definitions/InvitationStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9616,6 +12884,19 @@ paths: description: '' schema: $ref: '#/definitions/InvitationStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9632,6 +12913,19 @@ paths: description: '' schema: $ref: '#/definitions/InvitationStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9641,6 +12935,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -9713,6 +13016,10 @@ paths: type: array items: $ref: '#/definitions/PasswordStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9729,6 +13036,14 @@ paths: description: '' schema: $ref: '#/definitions/PasswordStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9742,6 +13057,15 @@ paths: description: '' schema: $ref: '#/definitions/PasswordStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9758,6 +13082,19 @@ paths: description: '' schema: $ref: '#/definitions/PasswordStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9774,6 +13111,19 @@ paths: description: '' schema: $ref: '#/definitions/PasswordStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9783,6 +13133,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -9875,6 +13234,10 @@ paths: type: array items: $ref: '#/definitions/Prompt' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -9891,6 +13254,14 @@ paths: description: '' schema: $ref: '#/definitions/Prompt' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -9904,6 +13275,15 @@ paths: description: '' schema: $ref: '#/definitions/Prompt' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -9920,6 +13300,19 @@ paths: description: '' schema: $ref: '#/definitions/Prompt' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -9936,6 +13329,19 @@ paths: description: '' schema: $ref: '#/definitions/Prompt' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -9945,6 +13351,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -10017,6 +13432,10 @@ paths: type: array items: $ref: '#/definitions/PromptStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -10033,6 +13452,14 @@ paths: description: '' schema: $ref: '#/definitions/PromptStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -10046,6 +13473,15 @@ paths: description: '' schema: $ref: '#/definitions/PromptStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -10062,6 +13498,19 @@ paths: description: '' schema: $ref: '#/definitions/PromptStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -10078,6 +13527,19 @@ paths: description: '' schema: $ref: '#/definitions/PromptStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -10087,6 +13549,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -10159,6 +13630,10 @@ paths: type: array items: $ref: '#/definitions/UserDeleteStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -10175,6 +13650,14 @@ paths: description: '' schema: $ref: '#/definitions/UserDeleteStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -10188,6 +13671,15 @@ paths: description: '' schema: $ref: '#/definitions/UserDeleteStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -10204,6 +13696,19 @@ paths: description: '' schema: $ref: '#/definitions/UserDeleteStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -10220,6 +13725,19 @@ paths: description: '' schema: $ref: '#/definitions/UserDeleteStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -10229,6 +13747,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -10301,6 +13828,10 @@ paths: type: array items: $ref: '#/definitions/UserLoginStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -10317,6 +13848,14 @@ paths: description: '' schema: $ref: '#/definitions/UserLoginStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -10330,6 +13869,15 @@ paths: description: '' schema: $ref: '#/definitions/UserLoginStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -10346,6 +13894,19 @@ paths: description: '' schema: $ref: '#/definitions/UserLoginStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -10362,6 +13923,19 @@ paths: description: '' schema: $ref: '#/definitions/UserLoginStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -10371,6 +13945,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -10443,6 +14026,10 @@ paths: type: array items: $ref: '#/definitions/UserLogoutStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -10459,6 +14046,14 @@ paths: description: '' schema: $ref: '#/definitions/UserLogoutStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -10472,6 +14067,15 @@ paths: description: '' schema: $ref: '#/definitions/UserLogoutStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -10488,6 +14092,19 @@ paths: description: '' schema: $ref: '#/definitions/UserLogoutStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -10504,6 +14121,19 @@ paths: description: '' schema: $ref: '#/definitions/UserLogoutStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -10513,6 +14143,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -10585,6 +14224,10 @@ paths: type: array items: $ref: '#/definitions/UserWriteStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages post: @@ -10601,6 +14244,14 @@ paths: description: '' schema: $ref: '#/definitions/UserWriteStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' tags: - stages parameters: [] @@ -10614,6 +14265,15 @@ paths: description: '' schema: $ref: '#/definitions/UserWriteStage' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages put: @@ -10630,6 +14290,19 @@ paths: description: '' schema: $ref: '#/definitions/UserWriteStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages patch: @@ -10646,6 +14319,19 @@ paths: description: '' schema: $ref: '#/definitions/UserWriteStage' + '400': + description: Invalid input. + schema: + $ref: '#/definitions/ValidationError' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages delete: @@ -10655,6 +14341,15 @@ paths: responses: '204': description: '' + '403': + description: Authentication credentials were invalid, absent or insufficient. + schema: + $ref: '#/definitions/GenericError' + '404': + description: Object does not exist or caller has insufficient permissions + to access it. + schema: + $ref: '#/definitions/APIException' tags: - stages parameters: @@ -10665,6 +14360,51 @@ paths: type: string format: uuid definitions: + GenericError: + title: Generic API Error + required: + - detail + type: object + properties: + errors: + type: object + properties: + detail: + description: Error details + type: string + code: + description: Error code + type: string + ValidationError: + title: Validation Error + type: object + properties: + non_field_errors: + description: List of validation errors not related to any field + type: array + items: + type: string + additionalProperties: + description: A list of error messages for each field that triggered a validation + error + type: array + items: + type: string + APIException: + title: Generic API Error + required: + - detail + type: object + properties: + errors: + type: object + properties: + detail: + description: Error details + type: string + code: + description: Error code + type: string Coordinate: description: Coordinates for diagrams type: object