{"components":{"responses":{"emptyResponse":{"description":"Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201."},"errorContainer":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorContainer"}}},"description":"User-facing error response"},"identityList":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Identity"},"type":"array"}}},"description":"A list of identities."},"identityResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Identity"}}},"description":"A single identity."}},"schemas":{"AuthenticateOKBody":{"description":"AuthenticateOKBody authenticate o k body","properties":{"IdentityToken":{"description":"An opaque token used to authenticate a user after a successful login","type":"string"},"Status":{"description":"The status of the authentication","type":"string"}},"required":["IdentityToken","Status"],"type":"object"},"ContainerChangeResponseItem":{"description":"ContainerChangeResponseItem change item in response to ContainerChanges operation","properties":{"Kind":{"description":"Kind of change","format":"uint8","type":"integer"},"Path":{"description":"Path to file that has changed","type":"string"}},"required":["Kind","Path"],"type":"object"},"ContainerCreateCreatedBody":{"description":"ContainerCreateCreatedBody OK response to ContainerCreate operation","properties":{"Id":{"description":"The ID of the created container","type":"string"},"Warnings":{"description":"Warnings encountered when creating the container","items":{"type":"string"},"type":"array"}},"required":["Id","Warnings"],"type":"object"},"ContainerTopOKBody":{"description":"ContainerTopOKBody OK response to ContainerTop operation","properties":{"Processes":{"description":"Each process running in the container, where each is process is an array of values corresponding to the titles","items":{"items":{"type":"string"},"type":"array"},"type":"array"},"Titles":{"description":"The ps column titles","items":{"type":"string"},"type":"array"}},"required":["Processes","Titles"],"type":"object"},"ContainerUpdateOKBody":{"description":"ContainerUpdateOKBody OK response to ContainerUpdate operation","properties":{"Warnings":{"description":"warnings","items":{"type":"string"},"type":"array"}},"required":["Warnings"],"type":"object"},"ContainerWaitOKBody":{"description":"ContainerWaitOKBody OK response to ContainerWait operation","properties":{"Error":{"$ref":"#/components/schemas/ContainerWaitOKBodyError"},"StatusCode":{"description":"Exit code of the container","format":"int64","type":"integer"}},"required":["Error","StatusCode"],"type":"object"},"ContainerWaitOKBodyError":{"description":"ContainerWaitOKBodyError container waiting error, if any","properties":{"Message":{"description":"Details of an error","type":"string"}},"type":"object"},"CreateIdentity":{"properties":{"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`.","type":"object"}},"required":["schema_id","traits"],"type":"object"},"CreateRecoveryLink":{"properties":{"expires_in":{"description":"Link Expires In\n\nThe recovery link will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"identity_id":{"$ref":"#/components/schemas/UUID"}},"required":["identity_id"],"type":"object"},"CredentialsType":{"description":"and so on.","title":"CredentialsType represents several different credential types, like password credentials, passwordless credentials,","type":"string"},"ErrorResponse":{"properties":{"message":{"description":"The error message.","type":"string"}},"required":["message"],"title":"ErrorResponse Represents an error.","type":"object"},"GraphDriverData":{"properties":{"Data":{"additionalProperties":{"type":"string"},"description":"data","type":"object"},"Name":{"description":"name","type":"string"}},"required":["Data","Name"],"title":"GraphDriverData Information about a container's graph driver.","type":"object"},"ID":{"format":"int64","type":"integer"},"IdResponse":{"description":"IDResponse Response to an API call that returns just an Id","properties":{"Id":{"description":"The id of the newly created object.","type":"string"}},"required":["Id"],"type":"object"},"Identity":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"recovery_addresses":{"description":"RecoveryAddresses contains all the addresses that can be used to recover an identity.","items":{"$ref":"#/components/schemas/RecoveryAddress"},"type":"array","x-omitempty":true},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"schema_url":{"description":"SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.\n\nformat: url","type":"string"},"traits":{"$ref":"#/components/schemas/Traits"},"verifiable_addresses":{"description":"VerifiableAddresses contains all the addresses that can be verified by the user.","items":{"$ref":"#/components/schemas/VerifiableAddress"},"type":"array","x-omitempty":true}},"required":["id","schema_id","schema_url","traits"],"type":"object"},"ImageDeleteResponseItem":{"description":"ImageDeleteResponseItem image delete response item","properties":{"Deleted":{"description":"The image ID of an image that was deleted","type":"string"},"Untagged":{"description":"The image ID of an image that was untagged","type":"string"}},"type":"object"},"ImageSummary":{"description":"ImageSummary image summary","properties":{"Containers":{"description":"containers","format":"int64","type":"integer"},"Created":{"description":"created","format":"int64","type":"integer"},"Id":{"description":"Id","type":"string"},"Labels":{"additionalProperties":{"type":"string"},"description":"labels","type":"object"},"ParentId":{"description":"parent Id","type":"string"},"RepoDigests":{"description":"repo digests","items":{"type":"string"},"type":"array"},"RepoTags":{"description":"repo tags","items":{"type":"string"},"type":"array"},"SharedSize":{"description":"shared size","format":"int64","type":"integer"},"Size":{"description":"size","format":"int64","type":"integer"},"VirtualSize":{"description":"virtual size","format":"int64","type":"integer"}},"required":["Containers","Created","Id","Labels","ParentId","RepoDigests","RepoTags","SharedSize","Size","VirtualSize"],"type":"object"},"JSONRawMessage":{"title":"JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.","type":"object"},"Meta":{"description":"This might include a label and other information that can optionally\nbe used to render UIs.","properties":{"label":{"$ref":"#/components/schemas/uiText"}},"title":"A Node's Meta Information","type":"object"},"NullTime":{"format":"date-time","title":"NullTime implements sql.NullTime functionality.","type":"string"},"Plugin":{"description":"Plugin A plugin for the Engine API","properties":{"Config":{"$ref":"#/components/schemas/PluginConfig"},"Enabled":{"description":"True if the plugin is running. False if the plugin is not running, only installed.","type":"boolean"},"Id":{"description":"Id","type":"string"},"Name":{"description":"name","type":"string"},"PluginReference":{"description":"plugin remote reference used to push/pull the plugin","type":"string"},"Settings":{"$ref":"#/components/schemas/PluginSettings"}},"required":["Config","Enabled","Name","Settings"],"type":"object"},"PluginConfig":{"properties":{"Args":{"$ref":"#/components/schemas/PluginConfigArgs"},"Description":{"description":"description","type":"string"},"DockerVersion":{"description":"Docker Version used to create the plugin","type":"string"},"Documentation":{"description":"documentation","type":"string"},"Entrypoint":{"description":"entrypoint","items":{"type":"string"},"type":"array"},"Env":{"description":"env","items":{"$ref":"#/components/schemas/PluginEnv"},"type":"array"},"Interface":{"$ref":"#/components/schemas/PluginConfigInterface"},"IpcHost":{"description":"ipc host","type":"boolean"},"Linux":{"$ref":"#/components/schemas/PluginConfigLinux"},"Mounts":{"description":"mounts","items":{"$ref":"#/components/schemas/PluginMount"},"type":"array"},"Network":{"$ref":"#/components/schemas/PluginConfigNetwork"},"PidHost":{"description":"pid host","type":"boolean"},"PropagatedMount":{"description":"propagated mount","type":"string"},"User":{"$ref":"#/components/schemas/PluginConfigUser"},"WorkDir":{"description":"work dir","type":"string"},"rootfs":{"$ref":"#/components/schemas/PluginConfigRootfs"}},"required":["Args","Description","Documentation","Entrypoint","Env","Interface","IpcHost","Linux","Mounts","Network","PidHost","PropagatedMount","WorkDir"],"title":"PluginConfig The config of a plugin.","type":"object"},"PluginConfigArgs":{"description":"PluginConfigArgs plugin config args","properties":{"Description":{"description":"description","type":"string"},"Name":{"description":"name","type":"string"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"},"Value":{"description":"value","items":{"type":"string"},"type":"array"}},"required":["Description","Name","Settable","Value"],"type":"object"},"PluginConfigInterface":{"description":"PluginConfigInterface The interface between Docker and the plugin","properties":{"Socket":{"description":"socket","type":"string"},"Types":{"description":"types","items":{"$ref":"#/components/schemas/PluginInterfaceType"},"type":"array"}},"required":["Socket","Types"],"type":"object"},"PluginConfigLinux":{"description":"PluginConfigLinux plugin config linux","properties":{"AllowAllDevices":{"description":"allow all devices","type":"boolean"},"Capabilities":{"description":"capabilities","items":{"type":"string"},"type":"array"},"Devices":{"description":"devices","items":{"$ref":"#/components/schemas/PluginDevice"},"type":"array"}},"required":["AllowAllDevices","Capabilities","Devices"],"type":"object"},"PluginConfigNetwork":{"description":"PluginConfigNetwork plugin config network","properties":{"Type":{"description":"type","type":"string"}},"required":["Type"],"type":"object"},"PluginConfigRootfs":{"description":"PluginConfigRootfs plugin config rootfs","properties":{"diff_ids":{"description":"diff ids","items":{"type":"string"},"type":"array"},"type":{"description":"type","type":"string"}},"type":"object"},"PluginConfigUser":{"description":"PluginConfigUser plugin config user","properties":{"GID":{"description":"g ID","format":"uint32","type":"integer"},"UID":{"description":"UID","format":"uint32","type":"integer"}},"type":"object"},"PluginDevice":{"description":"PluginDevice plugin device","properties":{"Description":{"description":"description","type":"string"},"Name":{"description":"name","type":"string"},"Path":{"description":"path","type":"string"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"}},"required":["Description","Name","Path","Settable"],"type":"object"},"PluginEnv":{"description":"PluginEnv plugin env","properties":{"Description":{"description":"description","type":"string"},"Name":{"description":"name","type":"string"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"},"Value":{"description":"value","type":"string"}},"required":["Description","Name","Settable","Value"],"type":"object"},"PluginInterfaceType":{"description":"PluginInterfaceType plugin interface type","properties":{"Capability":{"description":"capability","type":"string"},"Prefix":{"description":"prefix","type":"string"},"Version":{"description":"version","type":"string"}},"required":["Capability","Prefix","Version"],"type":"object"},"PluginMount":{"description":"PluginMount plugin mount","properties":{"Description":{"description":"description","type":"string"},"Destination":{"description":"destination","type":"string"},"Name":{"description":"name","type":"string"},"Options":{"description":"options","items":{"type":"string"},"type":"array"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"},"Source":{"description":"source","type":"string"},"Type":{"description":"type","type":"string"}},"required":["Description","Destination","Name","Options","Settable","Source","Type"],"type":"object"},"PluginSettings":{"properties":{"Args":{"description":"args","items":{"type":"string"},"type":"array"},"Devices":{"description":"devices","items":{"$ref":"#/components/schemas/PluginDevice"},"type":"array"},"Env":{"description":"env","items":{"type":"string"},"type":"array"},"Mounts":{"description":"mounts","items":{"$ref":"#/components/schemas/PluginMount"},"type":"array"}},"required":["Args","Devices","Env","Mounts"],"title":"PluginSettings Settings that can be modified by users.","type":"object"},"Port":{"description":"Port An open port on a container","properties":{"IP":{"description":"IP","type":"string"},"PrivatePort":{"description":"Port on the container","format":"uint16","type":"integer"},"PublicPort":{"description":"Port exposed on the host","format":"uint16","type":"integer"},"Type":{"description":"type","type":"string"}},"required":["PrivatePort","Type"],"type":"object"},"RecoveryAddress":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"value":{"type":"string"},"via":{"$ref":"#/components/schemas/RecoveryAddressType"}},"required":["id","value","via"],"type":"object"},"RecoveryAddressType":{"type":"string"},"ServiceUpdateResponse":{"description":"ServiceUpdateResponse service update response","properties":{"Warnings":{"description":"Optional warning messages","items":{"type":"string"},"type":"array"}},"type":"object"},"State":{"type":"string"},"Traits":{"type":"object"},"Type":{"description":"The flow type can either be `api` or `browser`.","title":"Type is the flow type.","type":"string"},"UUID":{"format":"uuid4","type":"string"},"UpdateIdentity":{"properties":{"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set\nwill update the Identity's SchemaID.","type":"string"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_id`.","type":"object"}},"required":["traits"],"type":"object"},"VerifiableAddress":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"status":{"$ref":"#/components/schemas/VerifiableAddressStatus"},"value":{"type":"string"},"verified":{"type":"boolean"},"verified_at":{"$ref":"#/components/schemas/NullTime"},"via":{"$ref":"#/components/schemas/VerifiableAddressType"}},"required":["id","value","verified","via","status"],"type":"object"},"VerifiableAddressStatus":{"type":"string"},"VerifiableAddressType":{"type":"string"},"Volume":{"description":"Volume volume","properties":{"CreatedAt":{"description":"Date/Time the volume was created.","type":"string"},"Driver":{"description":"Name of the volume driver used by the volume.","type":"string"},"Labels":{"additionalProperties":{"type":"string"},"description":"User-defined key/value metadata.","type":"object"},"Mountpoint":{"description":"Mount path of the volume on the host.","type":"string"},"Name":{"description":"Name of the volume.","type":"string"},"Options":{"additionalProperties":{"type":"string"},"description":"The driver specific options used when creating the volume.","type":"object"},"Scope":{"description":"The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level.","type":"string"},"Status":{"additionalProperties":true,"description":"Low-level details about the volume, provided by the volume driver.\nDetails are returned as a map with key/value pairs:\n`{\"key\":\"value\",\"key2\":\"value2\"}`.\n\nThe `Status` field is optional, and is omitted if the volume driver\ndoes not support this feature.","type":"object"},"UsageData":{"$ref":"#/components/schemas/VolumeUsageData"}},"required":["Driver","Labels","Mountpoint","Name","Options","Scope"],"type":"object"},"VolumeUsageData":{"description":"VolumeUsageData Usage details about the volume. This information is used by the\n`GET /system/df` endpoint, and omitted in other endpoints.","properties":{"RefCount":{"description":"The number of containers referencing this volume. This field\nis set to `-1` if the reference-count is not available.","format":"int64","type":"integer"},"Size":{"description":"Amount of disk space used by the volume (in bytes). This information\nis only available for volumes created with the `\"local\"` volume\ndriver. For volumes created with other volume drivers, this field\nis set to `-1` (\"not available\")","format":"int64","type":"integer"}},"required":["RefCount","Size"],"type":"object"},"errorContainer":{"properties":{"errors":{"description":"Errors in the container","items":{"type":"object"},"type":"array"},"id":{"$ref":"#/components/schemas/UUID"}},"required":["id","errors"],"type":"object"},"genericError":{"description":"Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.","properties":{"error":{"$ref":"#/components/schemas/genericErrorPayload"}},"title":"Error response","type":"object"},"genericErrorPayload":{"properties":{"code":{"description":"Code represents the error status code (404, 403, 401, ...).","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug contains debug information. This is usually not available and has to be enabled.","example":"The database adapter was unable to find the element","type":"string"},"details":{"additionalProperties":true,"type":"object"},"message":{"type":"string"},"reason":{"type":"string"},"request":{"type":"string"},"status":{"type":"string"}},"type":"object"},"healthNotReadyStatus":{"properties":{"errors":{"additionalProperties":{"type":"string"},"description":"Errors contains a list of errors that caused the not ready status.","type":"object"}},"type":"object"},"healthStatus":{"properties":{"status":{"description":"Status always contains \"ok\".","type":"string"}},"type":"object"},"identityCredentials":{"description":"Credentials represents a specific credential type","properties":{"config":{"$ref":"#/components/schemas/JSONRawMessage"},"identifiers":{"description":"Identifiers represents a list of unique identifiers this credential type matches.","items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/CredentialsType"}},"type":"object"},"jsonSchema":{"description":"Raw JSON Schema","type":"object"},"loginFlow":{"description":"This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\"\nendpoint by a client.\n\nOnce a login flow is completed successfully, a session cookie or session token will be issued.","properties":{"active":{"$ref":"#/components/schemas/CredentialsType"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"forced":{"description":"Forced stores whether this login flow should enforce re-authentication.","type":"boolean"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow started.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"type":{"$ref":"#/components/schemas/Type"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui"],"title":"Login Flow","type":"object"},"loginViaApiResponse":{"description":"The Response for Login Flows via API","properties":{"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["session_token","session"],"type":"object"},"recoveryFlow":{"description":"This request is used when an identity wants to recover their account.\n\nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"state":{"$ref":"#/components/schemas/State"},"type":{"$ref":"#/components/schemas/Type"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","expires_at","issued_at","request_url","ui","state"],"title":"A Recovery Flow","type":"object"},"recoveryLink":{"properties":{"expires_at":{"description":"Recovery Link Expires At\n\nThe timestamp when the recovery link expires.","format":"date-time","type":"string"},"recovery_link":{"description":"Recovery Link\n\nThis link can be used to recover the account.","type":"string"}},"required":["recovery_link"],"type":"object"},"registrationFlow":{"properties":{"active":{"$ref":"#/components/schemas/CredentialsType"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"type":{"$ref":"#/components/schemas/Type"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","expires_at","issued_at","request_url","ui"],"type":"object"},"registrationViaApiResponse":{"description":"The Response for Registration Flows via API","properties":{"identity":{"$ref":"#/components/schemas/Identity"},"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nThis field is only set when the session hook is configured as a post-registration hook.\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["session_token","identity"],"type":"object"},"revokeSession":{"properties":{"session_token":{"description":"The Session Token\n\nInvalidate this session token.","type":"string"}},"required":["session_token"],"type":"object"},"session":{"properties":{"active":{"type":"boolean"},"authenticated_at":{"format":"date-time","type":"string"},"expires_at":{"format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity":{"$ref":"#/components/schemas/Identity"},"issued_at":{"format":"date-time","type":"string"}},"required":["id","expires_at","authenticated_at","issued_at","identity"],"type":"object"},"settingsFlow":{"description":"This flow is used when an identity wants to update settings\n(e.g. profile data, passwords, ...) in a selfservice manner.\n\nWe recommend reading the [User Settings Documentation](../self-service/flows/user-settings)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity":{"$ref":"#/components/schemas/Identity"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"state":{"$ref":"#/components/schemas/State"},"type":{"$ref":"#/components/schemas/Type"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","expires_at","issued_at","request_url","ui","identity","state"],"title":"Flow represents a Settings Flow","type":"object"},"settingsProfileFormConfig":{"properties":{"action":{"description":"Action should be used as the form action URL `