{"openapi":"3.0.0","info":{"title":"Mittwald API","description":"## Introduction\n\nThis OpenAPI spec documents the mittwald API. It follows the\n[OpenAPI 3.0.0 specification](https://spec.openapis.org/oas/v3.0.0.html).\n\n## Authentication\n\nYou will need an API token to access the API. You can obtain one by logging into the\n[mStudio](https://studio.mittwald.de) and navigating to the\n[\"API Tokens\" section in the user menu](https://studio.mittwald.de/app/profile/api-tokens).\n\nWhen making requests to the API, you can authenticate by passing your API token in the `X-Access-Token` header or as a\nbearer token.\n\n## Rate Limiting\n\nPlease note that usage of the API is rate-limited to prevent abuse. You can inspect the rate limiting for your current\nuser by observing the `X-Ratelimit-*` headers included in each response.\n\n## mStudio\n\nA main consumer of the mittwald API is the management interface for our customers, the\n[mStudio](https://studio.mittwald.de).\n\n## Contact and support\n\nFor support, please use the [mStudio support area](https://studio.mittwald.de/app/support/conversations) or drop us an\nemail at [support@mittwald.de](mailto:support@mittwald.de).\n\nFor security issues, please report to [security@mittwald.de](mailto:security@mittwald.de).\n","contact":{"name":"Mittwald CM Service GmbH & Co. KG"},"version":"2.0"},"tags":[{"name":"Project","description":"The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects."},{"name":"Backup","description":"The backup API allows you to manage your project backups."},{"name":"SSH/SFTP User","description":"The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project."},{"name":"Cronjob","description":"The cronjob API allows you to manage cronjobs within a project."},{"name":"App","description":"The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies."},{"name":"Project File System","description":"The filesystem API allows you to directly access the filesystem of your project."},{"name":"Contract","description":"The contract API allows you to manage your contracts and orders"},{"name":"Database","description":"The database API allows you to manage your databases, like MySQL and Redis databases."},{"name":"Domain","description":"The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources."},{"name":"Conversation","description":"The conversation API allows you to manage your support conversations."},{"name":"Customer","description":"The customer API allows you to manage your own organizations and users."},{"name":"User","description":"The user API allows you to manage your own user and access information of other users that might be visible to you."},{"name":"Notification","description":"The notification API allows you to manage your notifications."},{"name":"File","description":"The file API allows you to manage your files, for example for conversations attachments and avatar uploads."},{"name":"Mail","description":"The mail API allows you to manage your mail accounts."},{"name":"Article","description":"The article API allows you to read article information."},{"name":"Container","description":"The container API allows you to manage your stacks, containers, volumes and registries."},{"name":"Page Insights","description":"The page insights API allows you to get page insights information."},{"name":"Relocation","description":"The relocation API allows you to manage your relocations."},{"name":"Marketplace","description":"The marketplace API allows you to manage extensions and more information regaring the marketplace."},{"name":"Misc","description":"API endpoints that are not related to any specific API domain"},{"name":"AI hosting","description":"The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany."},{"name":"AIssistant","description":"The AIssistant API lets you chat with the mStudio assistant about mittwald products and manage your saved chats."},{"name":"License","description":"The license API allows you to manage your paid licenses."},{"name":"Hibp","description":"Look up compromised password hashes by SHA-1 prefix using k-anonymity ranges and manage mittwald's own list of compromised hashes."}],"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{},"requestBodies":{},"responses":{"de.mittwald.v1.app.GenericResponse":{"content":{"application/json":{"schema":{"type":"object"}}},"description":""},"de.mittwald.v1.customer.GenericResponse":{"content":{"application/json":{"schema":{"type":"object"}}},"description":""},"de.mittwald.v1.customer.FailedPreconditionError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"Failed Precondition"},"de.mittwald.v1.dns.GenericResponse":{"content":{"application/json":{"schema":{"type":"object"}}},"description":""},"de.mittwald.v1.domain.SuccessResponse":{"content":{"application/json":{"schema":{"properties":{"isAsync":{"type":"boolean"},"transactionId":{"type":"string"}},"type":"object"}}},"description":"OK"},"de.mittwald.v1.domain.TransferabilityResponse":{"content":{"application/json":{"schema":{"properties":{"reasons":{"properties":{"domainAgeTooSmall":{"type":"boolean"},"domainDoesNotExist":{"type":"boolean"},"enabledIngressInOtherProject":{"description":"An enabled ingress for this domain already exists in a project other than the given projectId. Delete that ingress or transfer the domain into that project.","type":"boolean"},"inRedemptionPeriod":{"type":"boolean"},"premiumDomain":{"description":"The registry charges a premium price for transferring this domain. Premium domains are not supported.","type":"boolean"},"transferLock":{"type":"boolean"},"wrongAuthCode":{"type":"boolean"}},"required":["domainDoesNotExist","wrongAuthCode","transferLock","domainAgeTooSmall","inRedemptionPeriod","enabledIngressInOtherProject","premiumDomain"],"type":"object"},"transferable":{"type":"boolean"}},"required":["transferable","reasons"],"type":"object"}}},"description":"OK"},"de.mittwald.v1.invoice.EmptyResponse":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty response"},"de.mittwald.v1.mail.EmptyResponse":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Empty response"},"de.mittwald.v1.order.GenericResponse":{"content":{"application/json":{"schema":{"type":"object"}}},"description":""},"de.mittwald.v1.order.NotFoundError":{"content":{"application/json":{"schema":{"type":"object"}}},"description":""},"de.mittwald.v1.ssl.ValidationError":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateError"}}},"description":"An unexpected Error that occurred while handling the request"},"de.mittwald.v1.signup.InternalServerError":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.signup.DomainError"},{"properties":{"name":{"enum":["InternalServerError"],"type":"string"}},"type":"object"}]}}},"description":"Something in our infrastructure went wrong\n"},"de.mittwald.v1.signup.NoValidAccessTokenError":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.signup.DomainError"},{"properties":{"name":{"enum":["NoAccessTokenProvided"],"type":"string"}},"type":"object"}]}}},"description":"No valid access token was provided"},"de.mittwald.v1.signup.SecondFactorRequiredError":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.signup.DomainError"},{"properties":{"name":{"enum":["SecondFactorRequired"],"type":"string"}},"required":["name"],"type":"object"}]}}},"description":"An additional second factor code is necessary to process the request."},"de.mittwald.v1.commons.DefaultError":{"description":"An unexpected Error that occurred while handling the request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}}},"de.mittwald.v1.commons.NotFoundError":{"description":"The requested resource was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}}},"de.mittwald.v1.commons.RateLimitError":{"description":"Your request ran into a rate limit. You have to wait until rate limit expires\n","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"too many requests"},"type":{"type":"string","example":"RateLimitError"}}}}}},"de.mittwald.v1.commons.ValidationError":{"description":"Validation Error caused by invalid input data in the request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}}}},"schemas":{"de.mittwald.v1.aihosting.ContainerMeta":{"properties":{"containerId":{"type":"string"},"errorMessage":{"type":"string"},"ingressId":{"type":"string"},"stackId":{"type":"string"},"status":{"enum":["created","requested","failed"],"type":"string"}},"required":["status"],"type":"object"},"de.mittwald.v1.aihosting.CustomerDetailedModel":{"properties":{"activeAt":{"format":"date-time","type":"string"},"displayName":{"type":"string"},"docLink":{"type":"string"},"label":{"enum":["lts","stable","experimental","legacy stable","preview"],"type":"string"},"name":{"type":"string"},"removalAt":{"format":"date-time","type":"string"},"replacedBy":{"description":"This model was replaced by this value.","type":"string"},"replacesModelName":{"deprecated":true,"description":"This Field is deprecated. You can use replacesModelNames.","type":"string"},"replacesModelNames":{"description":"List of models which were replaced by this model.","items":{"type":"string"},"type":"array"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.DetailedModelStatus"},"termsOfServiceLink":{"type":"string"},"tokenFactor":{"format":"float","type":"number"}},"required":["name","displayName","docLink","termsOfServiceLink","replacesModelNames","activeAt","status","tokenFactor"],"type":"object"},"de.mittwald.v1.aihosting.CustomerPlanOptions":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerPlan"},"de.mittwald.v1.aihosting.CustomerPlan":{"properties":{"customerId":{"type":"string"},"deletedAt":{"format":"date-time","type":"string"},"description":{"type":"string"},"keys":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanUsage"},"modelTermsApprovalRequired":{"default":false,"type":"boolean"},"nextTokenReset":{"format":"date-time","type":"string"},"planId":{"type":"string"},"rateLimit":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.RateLimit"},"suspended":{"default":false,"type":"boolean"},"tokens":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanUsageBig"},"topUsages":{"items":{"properties":{"keyId":{"type":"string"},"name":{"type":"string"},"projectId":{"type":"string"},"tokenUsed":{"format":"int64","type":"integer"}},"required":["name","tokenUsed"],"type":"object"},"type":"array"}},"required":["customerId","planId","description","keys","tokens","rateLimit","nextTokenReset","modelTermsApprovalRequired"],"type":"object"},"de.mittwald.v1.aihosting.CustomerPlans":{"properties":{"modelTermsApprovalRequired":{"default":false,"type":"boolean"},"plans":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerPlan"},"type":"array"}},"required":["plans","modelTermsApprovalRequired"],"type":"object"},"de.mittwald.v1.aihosting.DetailedModelStatus":{"enum":["active","needApproval","deprecated"],"type":"string"},"de.mittwald.v1.aihosting.Key":{"properties":{"containerMeta":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ContainerMeta"},"customerId":{"deprecated":true,"description":"This Field is deprecated. Use the profileId field instead.","type":"string"},"isBlocked":{"default":false,"description":"Indicates whether the key is blocked.","type":"boolean"},"key":{"deprecated":true,"description":"The secret API key. For security reasons we no longer want to keep exposing this value on every response — this field is deprecated and will stop returning the real key in a future change. It still returns the real value for now.","type":"string"},"keyId":{"description":"Auto generated uuid to identify keys in requests.","type":"string"},"models":{"deprecated":true,"description":"This Field is deprecated. You can find the allowed models in the /ai-hosting route.","items":{"type":"string"},"type":"array"},"name":{"type":"string"},"planId":{"type":"string"},"profileId":{"type":"string"},"projectId":{"type":"string"},"rateLimit":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.RateLimit"},"tokenUsage":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.TokenUsage"}},"required":["keyId","profileId","planId","key","models","name","isBlocked","tokenUsage","rateLimit"],"type":"object"},"de.mittwald.v1.aihosting.Model":{"properties":{"activeAt":{"format":"date-time","type":"string"},"displayName":{"type":"string"},"docLink":{"type":"string"},"label":{"enum":["lts","stable","experimental","legacy stable","preview"],"type":"string"},"name":{"type":"string"},"removalAt":{"description":"The model is switched off at this date.","format":"date-time","type":"string"},"replacedBy":{"description":"This model was replaced by this value.","type":"string"},"replacesModelNames":{"description":"List of models which were replaced by this model.","items":{"type":"string"},"type":"array"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ModelStatus"},"termsOfServiceLink":{"type":"string"},"tokenFactor":{"format":"float","type":"number"}},"required":["name","displayName","docLink","termsOfServiceLink","tokenFactor","status","activeAt","replacesModelNames"],"type":"object"},"de.mittwald.v1.aihosting.ModelStatus":{"description":"Lifecycle of a model: deprecated models carry a removalAt date.","enum":["active","deprecated"],"type":"string"},"de.mittwald.v1.aihosting.PlanBillingPeriods":{"properties":{"customerId":{"format":"uuid","type":"string"},"nextTokenReset":{"description":"End of the current period, i.e. when the token counter next resets.","format":"date-time","type":"string"},"periods":{"description":"Every contract month of the plan from its start up to the current one, anchored on the plan start date rather than the calendar.","items":{"properties":{"end":{"format":"date-time","type":"string"},"isCurrent":{"type":"boolean"},"shortenedByUpgrade":{"description":"True when an upgrade cut this period short: the token counter is reset immediately on an upgrade, so the period ends there instead of on the regular grid. A downgrade does not do this - it takes effect at the next regular boundary.","type":"boolean"},"start":{"format":"date-time","type":"string"},"tokenLimit":{"description":"The limit that applied during this period, which after a tariff change differs from the plan's current limit.","format":"int64","minimum":0,"type":"integer"}},"required":["start","end","tokenLimit","isCurrent","shortenedByUpgrade"],"type":"object"},"type":"array"},"planId":{"format":"uuid","type":"string"}},"required":["customerId","planId","periods"],"type":"object"},"de.mittwald.v1.aihosting.PlanOptions":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerPlan"},"de.mittwald.v1.aihosting.PlanUsageBig":{"properties":{"available":{"format":"int64","minimum":-1,"type":"integer"},"planLimit":{"format":"int64","minimum":-1,"type":"integer"},"used":{"format":"int64","minimum":0,"type":"integer"}},"required":["used","available","planLimit"],"type":"object"},"de.mittwald.v1.aihosting.PlanUsage":{"properties":{"available":{"minimum":-1,"type":"integer"},"planLimit":{"minimum":-1,"type":"integer"},"used":{"minimum":0,"type":"integer"}},"required":["used","available","planLimit"],"type":"object"},"de.mittwald.v1.aihosting.PlanUsageStats":{"properties":{"customerId":{"type":"string"},"daily":{"items":{"properties":{"byKey":{"additionalProperties":{"format":"int64","minimum":0,"type":"integer"},"type":"object"},"date":{"format":"date","type":"string"},"totalTokens":{"format":"int64","minimum":0,"type":"integer"}},"required":["date","totalTokens","byKey"],"type":"object"},"type":"array"},"keys":{"description":"Every licence of the plan, most used in the timeframe first. Includes licences deleted inside the timeframe, which still carry usage but are no longer returned by the keys endpoint. Ordered, so callers can key chart colours off the position.","items":{"properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"}},"required":["id","name"],"type":"object"},"type":"array"},"modelShare":{"items":{"properties":{"model":{"type":"string"},"tokens":{"format":"int64","minimum":0,"type":"integer"}},"required":["model","tokens"],"type":"object"},"type":"array"},"planId":{"format":"uuid","type":"string"},"timeframe":{"properties":{"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"}},"required":["start","end"],"type":"object"},"totalTokens":{"format":"int64","minimum":0,"type":"integer"}},"required":["customerId","planId","timeframe","totalTokens","daily","modelShare","keys"],"type":"object"},"de.mittwald.v1.aihosting.Profile":{"properties":{"planIds":{"items":{"type":"string"},"type":"array"}},"required":["planIds"],"type":"object"},"de.mittwald.v1.aihosting.ProjectDetailedModel":{"properties":{"activeAt":{"format":"date-time","type":"string"},"displayName":{"type":"string"},"docLink":{"type":"string"},"label":{"enum":["lts","stable","experimental","legacy stable","preview"],"type":"string"},"name":{"type":"string"},"removalAt":{"format":"date-time","type":"string"},"replacedBy":{"description":"This model was replaced by this value.","type":"string"},"replacesModelName":{"deprecated":true,"description":"This Field is deprecated. You can use replacesModelNames.","type":"string"},"replacesModelNames":{"description":"List of models which were replaced by this model.","items":{"type":"string"},"type":"array"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.DetailedModelStatus"},"termsOfServiceLink":{"type":"string"},"tokenFactor":{"format":"float","type":"number"}},"required":["name","displayName","docLink","termsOfServiceLink","replacesModelNames","activeAt","status","tokenFactor"],"type":"object"},"de.mittwald.v1.aihosting.ProjectPlanOptions":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ProjectPlans"},"de.mittwald.v1.aihosting.ProjectPlan":{"properties":{"description":{"type":"string"},"keys":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanUsage"},"modelTermsApprovalRequired":{"type":"boolean"},"nextTokenReset":{"format":"date-time","type":"string"},"planId":{"type":"string"},"projectId":{"type":"string"},"suspended":{"default":false,"type":"boolean"}},"required":["keys","projectId","planId","modelTermsApprovalRequired"],"type":"object"},"de.mittwald.v1.aihosting.ProjectPlans":{"properties":{"modelTermsApprovalRequired":{"default":false,"type":"boolean"},"plans":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ProjectPlan"},"type":"array"}},"required":["plans","modelTermsApprovalRequired"],"type":"object"},"de.mittwald.v1.aihosting.RateLimit":{"description":"The number of allowed requests per unit. Limits are shared across all keys within the same project.","properties":{"allowedRequestsPerUnit":{"type":"integer"},"unit":{"enum":["minute"],"type":"string"}},"required":["allowedRequestsPerUnit","unit"],"type":"object"},"de.mittwald.v1.aihosting.TokenUsage":{"properties":{"keyAvailable":{"description":"What is left of the key's own limit. Only present together with keyLimit.","format":"int64","minimum":0,"type":"integer"},"keyLimit":{"description":"The key's own token limit for the billing period. Absent when the key has no limit of its own and is bounded only by the plan's limit.","format":"int64","minimum":1,"type":"integer"},"planLimit":{"format":"int64","minimum":-1,"type":"integer"},"used":{"format":"int64","minimum":0,"type":"integer"}},"required":["used","planLimit"],"type":"object"},"de.mittwald.v1.aihosting.UserKey":{"description":"One AI hosting key the authenticated user can reach, with the organization,\nproject and plan names denormalized so the list needs no second call.\n","properties":{"containerMeta":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ContainerMeta"},"createdAt":{"format":"date-time","type":"string"},"customerId":{"type":"string"},"customerName":{"type":"string"},"isBlocked":{"default":false,"description":"Indicates whether the key is blocked.","type":"boolean"},"key":{"deprecated":true,"description":"The secret API key. For security reasons we no longer want to keep exposing this value on every response — this field is deprecated and will stop returning the real key in a future change. It still returns the real value for now.","type":"string"},"keyId":{"description":"Auto generated uuid to identify keys in requests.","type":"string"},"models":{"deprecated":true,"description":"This Field is deprecated. You can find the allowed models in the /ai-hosting route.","items":{"type":"string"},"type":"array"},"name":{"type":"string"},"planDescription":{"type":"string"},"planId":{"type":"string"},"projectId":{"type":"string"},"projectName":{"description":"Empty when the key is not assigned to a project.","type":"string"},"rateLimit":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.RateLimit"},"tokenUsage":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.TokenUsage"}},"required":["keyId","customerId","customerName","planId","planDescription","key","models","name","isBlocked","tokenUsage","rateLimit","createdAt"],"type":"object"},"de.mittwald.v1.aihosting.UserPlan":{"description":"One AI hosting plan the authenticated user can reach through one of its\norganizations. A membership in one of the plan's projects alone grants no\naccess to it.\n","properties":{"customerId":{"type":"string"},"customerName":{"description":"Denormalized name of the owning organization.","type":"string"},"description":{"type":"string"},"keys":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanUsage"},"maxParallelRequests":{"type":"integer"},"nextTokenReset":{"format":"date-time","type":"string"},"planId":{"type":"string"},"rateLimit":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.RateLimit"},"suspended":{"default":false,"type":"boolean"},"tokens":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanUsageBig"}},"required":["planId","customerId","customerName","description","keys","tokens","rateLimit","nextTokenReset"],"type":"object"},"de.mittwald.v1.aissistant.ChatListItem":{"additionalProperties":false,"example":{"id":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","title":"Set up a domain for my project","updatedAt":"2026-10-29T10:15:00.000Z"},"properties":{"id":{"format":"uuid","type":"string"},"title":{"description":"At most 200 UTF-16 code units on save. Some titles were stored before that limit existed and can be longer; they are still returned.","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","title","updatedAt"],"type":"object"},"de.mittwald.v1.aissistant.ChatList":{"example":[{"id":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","title":"Set up a domain for my project","updatedAt":"2026-10-29T10:15:00.000Z"}],"items":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.ChatListItem"},"maxItems":50,"type":"array"},"de.mittwald.v1.aissistant.ChatMessage":{"additionalProperties":true,"description":"An AG-UI message. The full shape follows the AG-UI message schema; this schema names only the fields every message has. A message may nest at most 64 levels, the message object counting as level 1.","example":{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"},"properties":{"id":{"type":"string"},"role":{"type":"string"}},"required":["id","role"],"type":"object"},"de.mittwald.v1.aissistant.Chat":{"additionalProperties":false,"example":{"id":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","messages":[{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"}],"revision":3,"title":"Set up a domain for my project","turnMarks":{},"updatedAt":"2026-10-29T10:15:00.000Z"},"properties":{"id":{"format":"uuid","type":"string"},"messages":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.ChatMessage"},"type":"array"},"revision":{"minimum":1,"type":"integer"},"title":{"description":"At most 200 UTF-16 code units on save. Some titles were stored before that limit existed and can be longer; they are still returned.","type":"string"},"turnMarks":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.TurnMarks"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","title","revision","updatedAt","messages","turnMarks"],"type":"object"},"de.mittwald.v1.aissistant.RunEvent":{"oneOf":[{"additionalProperties":{},"properties":{"messageId":{"type":"string"},"metadata":{},"name":{"type":"string"},"rawEvent":{},"role":{"enum":["developer","system","assistant","user"],"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["TEXT_MESSAGE_START"],"type":"string"}},"required":["type","messageId"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"type":"string"},"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["TEXT_MESSAGE_CONTENT"],"type":"string"}},"required":["type","messageId","delta"],"type":"object"},{"additionalProperties":{},"properties":{"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["TEXT_MESSAGE_END"],"type":"string"}},"required":["type","messageId"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"type":"string"},"messageId":{"type":"string"},"metadata":{},"name":{"type":"string"},"rawEvent":{},"role":{"enum":["developer","system","assistant","user"],"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["TEXT_MESSAGE_CHUNK"],"type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"parentMessageId":{"type":"string"},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"toolCallId":{"type":"string"},"toolCallName":{"type":"string"},"type":{"enum":["TOOL_CALL_START"],"type":"string"}},"required":["type","toolCallId","toolCallName"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"toolCallId":{"type":"string"},"type":{"enum":["TOOL_CALL_ARGS"],"type":"string"}},"required":["type","toolCallId","delta"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"toolCallId":{"type":"string"},"type":{"enum":["TOOL_CALL_END"],"type":"string"}},"required":["type","toolCallId"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"type":"string"},"metadata":{},"parentMessageId":{"type":"string"},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"toolCallId":{"type":"string"},"toolCallName":{"type":"string"},"type":{"enum":["TOOL_CALL_CHUNK"],"type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"role":{"enum":["tool"],"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"toolCallId":{"type":"string"},"type":{"enum":["TOOL_CALL_RESULT"],"type":"string"}},"required":["type","messageId","toolCallId","content"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"rawEvent":{},"snapshot":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["STATE_SNAPSHOT"],"type":"string"}},"required":["type","snapshot"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"items":{"oneOf":[{"additionalProperties":{},"properties":{"op":{"enum":["add"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"value":{}},"required":["op","path","value"],"type":"object"},{"additionalProperties":{},"properties":{"op":{"enum":["remove"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"}},"required":["op","path"],"type":"object"},{"additionalProperties":{},"properties":{"op":{"enum":["replace"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"value":{}},"required":["op","path","value"],"type":"object"},{"additionalProperties":{},"properties":{"from":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"op":{"enum":["move"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"}},"required":["op","from","path"],"type":"object"},{"additionalProperties":{},"properties":{"from":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"op":{"enum":["copy"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"}},"required":["op","from","path"],"type":"object"},{"additionalProperties":{},"properties":{"op":{"enum":["test"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"value":{}},"required":["op","path","value"],"type":"object"}]},"type":"array"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["STATE_DELTA"],"type":"string"}},"required":["type","delta"],"type":"object"},{"additionalProperties":{},"properties":{"messages":{"items":{"oneOf":[{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["developer"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["system"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["assistant"],"type":"string"},"subagentRunId":{"type":"string"},"toolCalls":{"items":{"additionalProperties":{},"properties":{"encryptedValue":{"type":"string"},"function":{"additionalProperties":{},"properties":{"arguments":{"type":"string"},"name":{"type":"string"}},"required":["name","arguments"],"type":"object"},"id":{"type":"string"},"metadata":{},"type":{"enum":["function"],"type":"string"}},"required":["id","type","function"],"type":"object"},"type":"array"}},"required":["id","role"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["user"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"encryptedValue":{"type":"string"},"error":{"type":"string"},"id":{"type":"string"},"metadata":{},"role":{"enum":["tool"],"type":"string"},"subagentRunId":{"type":"string"},"toolCallId":{"type":"string"}},"required":["id","role","content","toolCallId"],"type":"object"},{"additionalProperties":{},"properties":{"activityType":{"type":"string"},"content":{},"id":{"type":"string"},"metadata":{},"role":{"enum":["activity"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","activityType","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"role":{"enum":["reasoning"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"}]},"type":"array"},"metadata":{},"rawEvent":{},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["MESSAGES_SNAPSHOT"],"type":"string"}},"required":["type","messages"],"type":"object"},{"additionalProperties":{},"properties":{"activityType":{"type":"string"},"content":{},"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"replace":{"type":"boolean"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["ACTIVITY_SNAPSHOT"],"type":"string"}},"required":["type","messageId","activityType","content"],"type":"object"},{"additionalProperties":{},"properties":{"activityType":{"type":"string"},"messageId":{"type":"string"},"metadata":{},"patch":{"items":{"oneOf":[{"additionalProperties":{},"properties":{"op":{"enum":["add"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"value":{}},"required":["op","path","value"],"type":"object"},{"additionalProperties":{},"properties":{"op":{"enum":["remove"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"}},"required":["op","path"],"type":"object"},{"additionalProperties":{},"properties":{"op":{"enum":["replace"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"value":{}},"required":["op","path","value"],"type":"object"},{"additionalProperties":{},"properties":{"from":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"op":{"enum":["move"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"}},"required":["op","from","path"],"type":"object"},{"additionalProperties":{},"properties":{"from":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"op":{"enum":["copy"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"}},"required":["op","from","path"],"type":"object"},{"additionalProperties":{},"properties":{"op":{"enum":["test"],"type":"string"},"path":{"pattern":"^(\\/([^/~]|~[01])*)*$","type":"string"},"value":{}},"required":["op","path","value"],"type":"object"}]},"type":"array"},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["ACTIVITY_DELTA"],"type":"string"}},"required":["type","messageId","activityType","patch"],"type":"object"},{"additionalProperties":{},"properties":{"event":{},"metadata":{},"rawEvent":{},"source":{"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["RAW"],"type":"string"}},"required":["type","event"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"name":{"type":"string"},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["CUSTOM"],"type":"string"},"value":{}},"required":["type","name","value"],"type":"object"},{"additionalProperties":{},"properties":{"input":{"additionalProperties":{},"properties":{"context":{"default":[],"items":{"additionalProperties":{},"properties":{"description":{"type":"string"},"value":{"type":"string"}},"required":["description","value"],"type":"object"},"type":"array"},"forwardedProps":{},"messages":{"items":{"oneOf":[{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["developer"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["system"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["assistant"],"type":"string"},"subagentRunId":{"type":"string"},"toolCalls":{"items":{"additionalProperties":{},"properties":{"encryptedValue":{"type":"string"},"function":{"additionalProperties":{},"properties":{"arguments":{"type":"string"},"name":{"type":"string"}},"required":["name","arguments"],"type":"object"},"id":{"type":"string"},"metadata":{},"type":{"enum":["function"],"type":"string"}},"required":["id","type","function"],"type":"object"},"type":"array"}},"required":["id","role"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["user"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"encryptedValue":{"type":"string"},"error":{"type":"string"},"id":{"type":"string"},"metadata":{},"role":{"enum":["tool"],"type":"string"},"subagentRunId":{"type":"string"},"toolCallId":{"type":"string"}},"required":["id","role","content","toolCallId"],"type":"object"},{"additionalProperties":{},"properties":{"activityType":{"type":"string"},"content":{},"id":{"type":"string"},"metadata":{},"role":{"enum":["activity"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","activityType","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"role":{"enum":["reasoning"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"}]},"type":"array"},"parentRunId":{"type":"string"},"protocolVersion":{"type":"string"},"resume":{"items":{"additionalProperties":{},"properties":{"interruptId":{"type":"string"},"metadata":{},"payload":{},"status":{"enum":["resolved","cancelled"],"type":"string"}},"required":["interruptId","status"],"type":"object"},"type":"array"},"runId":{"type":"string"},"state":{},"threadId":{"type":"string"},"tools":{"default":[],"items":{"additionalProperties":{},"properties":{"description":{"type":"string"},"metadata":{},"name":{"type":"string"},"parameters":{}},"required":["name","description"],"type":"object"},"type":"array"}},"required":["threadId","runId","messages","tools","context"],"type":"object"},"metadata":{},"parentRunId":{"type":"string"},"protocolVersion":{"type":"string"},"rawEvent":{},"runId":{"type":"string"},"threadId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["RUN_STARTED"],"type":"string"}},"required":["type","threadId","runId"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"outcome":{"oneOf":[{"additionalProperties":{},"properties":{"pendingToolCallIds":{"items":{"type":"string"},"type":"array"},"type":{"enum":["success"],"type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":{},"properties":{"interrupts":{"items":{"additionalProperties":{},"properties":{"expiresAt":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"metadata":{},"reason":{"type":"string"},"responseSchema":{},"subagentRunId":{"type":"string"},"toolCallId":{"type":"string"}},"required":["id","reason"],"type":"object"},"minItems":1,"type":"array"},"type":{"enum":["interrupt"],"type":"string"}},"required":["type","interrupts"],"type":"object"},{"additionalProperties":{},"properties":{"type":{"enum":["cancelled"],"type":"string"}},"required":["type"],"type":"object"}]},"rawEvent":{},"result":{},"runId":{"type":"string"},"threadId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["RUN_FINISHED"],"type":"string"},"usage":{"items":{"additionalProperties":{},"properties":{"cacheWriteInputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"cachedInputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"inputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"model":{"type":"string"},"outputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"provider":{"type":"string"},"reasoningTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"totalTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"type":"object"},"type":"array"}},"required":["type","threadId","runId"],"type":"object"},{"additionalProperties":{},"properties":{"code":{"type":"string"},"message":{"type":"string"},"metadata":{},"rawEvent":{},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["RUN_ERROR"],"type":"string"},"usage":{"items":{"additionalProperties":{},"properties":{"cacheWriteInputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"cachedInputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"inputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"model":{"type":"string"},"outputTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"provider":{"type":"string"},"reasoningTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"totalTokens":{"maximum":9007199254740991,"minimum":0,"type":"integer"}},"type":"object"},"type":"array"}},"required":["type","message"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"rawEvent":{},"stepName":{"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["STEP_STARTED"],"type":"string"}},"required":["type","stepName"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"rawEvent":{},"stepName":{"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["STEP_FINISHED"],"type":"string"}},"required":["type","stepName"],"type":"object"},{"additionalProperties":{},"properties":{"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_START"],"type":"string"}},"required":["type","messageId"],"type":"object"},{"additionalProperties":{},"properties":{"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"role":{"enum":["reasoning"],"type":"string"},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_MESSAGE_START"],"type":"string"}},"required":["type","messageId","role"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"type":"string"},"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_MESSAGE_CONTENT"],"type":"string"}},"required":["type","messageId","delta"],"type":"object"},{"additionalProperties":{},"properties":{"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_MESSAGE_END"],"type":"string"}},"required":["type","messageId"],"type":"object"},{"additionalProperties":{},"properties":{"delta":{"type":"string"},"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_MESSAGE_CHUNK"],"type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":{},"properties":{"messageId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_END"],"type":"string"}},"required":["type","messageId"],"type":"object"},{"additionalProperties":{},"properties":{"encryptedValue":{"type":"string"},"entityId":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"subtype":{"enum":["tool-call","message"],"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["REASONING_ENCRYPTED_VALUE"],"type":"string"}},"required":["type","subtype","entityId","encryptedValue"],"type":"object"},{"additionalProperties":{},"properties":{"description":{"type":"string"},"metadata":{},"name":{"type":"string"},"parentMessageId":{"type":"string"},"parentSubagentRunId":{"type":"string"},"parentToolCallId":{"type":"string"},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["SUBAGENT_STARTED"],"type":"string"}},"required":["type","subagentRunId","name"],"type":"object"},{"additionalProperties":{},"properties":{"metadata":{},"outcome":{"oneOf":[{"additionalProperties":{},"properties":{"type":{"enum":["success"],"type":"string"}},"required":["type"],"type":"object"},{"additionalProperties":{},"properties":{"interruptIds":{"items":{"type":"string"},"type":"array"},"type":{"enum":["suspended"],"type":"string"}},"required":["type"],"type":"object"}]},"rawEvent":{},"result":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["SUBAGENT_FINISHED"],"type":"string"}},"required":["type","subagentRunId"],"type":"object"},{"additionalProperties":{},"properties":{"code":{"type":"string"},"message":{"type":"string"},"metadata":{},"rawEvent":{},"subagentRunId":{"type":"string"},"timestamp":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"type":{"enum":["SUBAGENT_ERROR"],"type":"string"}},"required":["type","subagentRunId","message"],"type":"object"}]},"de.mittwald.v1.aissistant.RunInput":{"additionalProperties":false,"properties":{"context":{"default":[],"items":{"additionalProperties":{},"properties":{"description":{"type":"string"},"value":{"type":"string"}},"required":["description","value"],"type":"object"},"type":"array"},"forwardedProps":{"additionalProperties":false,"properties":{"context":{"additionalProperties":false,"properties":{"appInstallationId":{"maxLength":128,"type":"string"},"customerId":{"maxLength":128,"type":"string"},"projectId":{"maxLength":128,"type":"string"},"route":{"maxLength":2048,"type":"string"}},"required":["route"],"type":"object"},"contractVersion":{"enum":[3],"type":"number"},"model":{"enum":["default"],"type":"string"}},"required":["context","model"],"type":"object"},"messages":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.RunMessage"},"type":"array"},"parentRunId":{"type":"string"},"protocolVersion":{"type":"string"},"resume":{"items":{"additionalProperties":{},"properties":{"interruptId":{"type":"string"},"metadata":{},"payload":{},"status":{"enum":["resolved","cancelled"],"type":"string"}},"required":["interruptId","status"],"type":"object"},"type":"array"},"runId":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$","type":"string"},"state":{},"threadId":{"maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9._:-]+$","type":"string"},"tools":{"default":[],"items":{"additionalProperties":{},"properties":{"description":{"type":"string"},"metadata":{},"name":{"type":"string"},"parameters":{}},"required":["name","description"],"type":"object"},"type":"array"}},"required":["threadId","runId","messages","forwardedProps"],"type":"object"},"de.mittwald.v1.aissistant.RunMessage":{"oneOf":[{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["user"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"name":{"type":"string"},"role":{"enum":["assistant"],"type":"string"},"subagentRunId":{"type":"string"},"toolCalls":{"items":{"additionalProperties":{},"properties":{"encryptedValue":{"type":"string"},"function":{"additionalProperties":{},"properties":{"arguments":{"type":"string"},"name":{"type":"string"}},"required":["name","arguments"],"type":"object"},"id":{"type":"string"},"metadata":{},"type":{"enum":["function"],"type":"string"}},"required":["id","type","function"],"type":"object"},"type":"array"}},"required":["id","role"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"items":{"oneOf":[{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"text":{"type":"string"},"type":{"enum":["text"],"type":"string"}},"required":["type","text"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["image"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["audio"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["video"],"type":"string"}},"required":["type","source"],"type":"object"},{"additionalProperties":{},"properties":{"id":{"type":"string"},"metadata":{},"source":{"oneOf":[{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["data"],"type":"string"},"value":{"type":"string"}},"required":["type","value","mimeType"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"type":{"enum":["url"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":{},"properties":{"mimeType":{"type":"string"},"provider":{"type":"string"},"type":{"enum":["file"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"}]},"type":{"enum":["document"],"type":"string"}},"required":["type","source"],"type":"object"}]},"type":"array"}]},"encryptedValue":{"type":"string"},"error":{"type":"string"},"id":{"type":"string"},"metadata":{},"role":{"enum":["tool"],"type":"string"},"subagentRunId":{"type":"string"},"toolCallId":{"type":"string"}},"required":["id","role","content","toolCallId"],"type":"object"},{"additionalProperties":{},"properties":{"content":{"type":"string"},"encryptedValue":{"type":"string"},"id":{"type":"string"},"metadata":{},"role":{"enum":["reasoning"],"type":"string"},"subagentRunId":{"type":"string"}},"required":["id","role","content"],"type":"object"}]},"de.mittwald.v1.aissistant.SaveChatRequest":{"additionalProperties":false,"example":{"messages":[{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"}],"revision":0,"title":"Set up a domain for my project"},"properties":{"messages":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.ChatMessage"},"type":"array"},"revision":{"description":"The revision the chat was loaded with; 0 for a new chat.","maximum":2147483647,"minimum":0,"type":"integer"},"title":{"description":"At most 200 UTF-16 code units, so at most 100 astral characters, and well-formed UTF-16: a lone surrogate is refused. A title that breaks either rule answers 400.","maxLength":200,"pattern":"^(?=[\\s\\S]{0,200}$)(?:[^\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$","type":"string"},"turnMarks":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.TurnMarks"}},"required":["title","revision","messages"],"type":"object"},"de.mittwald.v1.aissistant.SaveChatResponse":{"additionalProperties":false,"example":{"revision":1},"properties":{"revision":{"minimum":1,"type":"integer"}},"required":["revision"],"type":"object"},"de.mittwald.v1.aissistant.TurnMark":{"description":"How a turn ended when it did not finish: `stopped` when the user stopped it, `incomplete` when the run failed or ended without answer text.","enum":["stopped","incomplete"],"example":"stopped","type":"string"},"de.mittwald.v1.aissistant.TurnMarks":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.TurnMark"},"description":"The marks of the turns that did not finish, keyed by the `id` of the message that shows the mark. Every key is the id of a message of the same chat; `{}` when every turn finished.","example":{"msg-assistant-1":"stopped","msg-assistant-2":"incomplete"},"type":"object"},"de.mittwald.v1.app.AppInstallationSortOrder":{"enum":["newestFirst","oldestFirst","sortByPhpVersionAsc","sortByPhpVersionDesc"],"type":"string"},"de.mittwald.v1.app.Action":{"description":"An Action is a string that describes a runtime concerning action which can be executed on an AppInstallation or an  App  can be capable of.","enum":["start","stop","restart"],"type":"string"},"de.mittwald.v1.app.ActionCapabilities":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.Action"},"type":"array"},"de.mittwald.v1.app.AdditionalValidationSchema":{"description":"AdditionalValidationSchema is a stringified custom validation schema, e.g password rules.","properties":{"kind":{"$ref":"#/components/schemas/de.mittwald.v1.app.AdditionalValidationSchemaKind"},"schema":{"type":"string"}},"type":"object"},"de.mittwald.v1.app.AdditionalValidationSchemaKind":{"description":"AdditionalValidationSchemaKind is an enum, describing the possible types of an additional validation schema.","enum":["password-rule"],"type":"string"},"de.mittwald.v1.app.App":{"description":"An App is to be understood as a manifest for AppInstallations. E.g. 'WordPress' only exists inside our ecosystem, because there is an  App -Manifest for it.","properties":{"actionCapabilities":{"$ref":"#/components/schemas/de.mittwald.v1.app.ActionCapabilities"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.app.TranslatedString"},"id":{"type":"string"},"name":{"type":"string"},"stagingAllowed":{"description":"Whether a staging AppInstallation can be created from an AppInstallation of this App.","type":"boolean"},"tags":{"items":{"type":"string"},"type":"array"}},"required":["id","name","tags","stagingAllowed"],"type":"object"},"de.mittwald.v1.app.AppInstallationStatus":{"description":"AppInstallationStatus describes the overall runtime status of an AppInstallation.","properties":{"lastExitCode":{"type":"integer"},"logFileLocation":{"type":"string"},"state":{"enum":["running","stopped","exited"],"type":"string"},"uptimeSeconds":{"format":"double","type":"number"}},"required":["state","logFileLocation"],"type":"object"},"de.mittwald.v1.app.AppJobImage":{"properties":{"imageTemplate":{"type":"string"}},"required":["imageTemplate"],"type":"object"},"de.mittwald.v1.app.AppJobImages":{"properties":{"reconfigureImage":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppJobImage"},"setupImage":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppJobImage"},"uninstallImage":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppJobImage"},"upgradeImage":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppJobImage"}},"required":["setupImage","upgradeImage","uninstallImage","reconfigureImage"],"type":"object"},"de.mittwald.v1.app.LockPurpose":{"description":"LockPurpose describes why a given AppInstallation is locked from deletion.","enum":["unspecified","copy"],"type":"string"},"de.mittwald.v1.app.Phase":{"description":"Phase describes the current phase/state of an AppInstallation in its lifecycle.","enum":["pending","installing","upgrading","ready","disabled","reconfiguring"],"example":"ready","type":"string"},"de.mittwald.v1.app.AppUpdatePolicy":{"deprecated":true,"description":"Deprecated: has no effect. Whether an AppInstallation is updated automatically is controlled by `autoUpdatesActivated`, the range of automatic updates by the `updateConstraint` of its AppVersion.","enum":["none","patchLevel","all"],"type":"string"},"de.mittwald.v1.app.AppInstallation":{"description":"An AppInstallation is a concrete manifestation of an App in a specific AppVersion.","properties":{"appExternalVersion":{"type":"string"},"appId":{"format":"uuid","type":"string"},"appName":{"type":"string"},"appVersion":{"$ref":"#/components/schemas/de.mittwald.v1.app.VersionStatus"},"autoUpdatesActivated":{"description":"Whether automatic updates are activated.","type":"boolean"},"autoUpdatesStoppedAfterFailure":{"description":"Whether automatic updates were deactivated because an automatic update failed. Reset when automatic updates are activated again and not set by a manual deactivation, so it distinguishes a failure-induced stop from a deliberate deactivation.","type":"boolean"},"createdAt":{"example":"2024-09-20T22:57:32.000Z","format":"date-time","type":"string"},"customDocumentRoot":{"description":"Document root of the AppInstallation, relative to its `installationPath` (for example `/public` for `/html/my-app/public`). Unset if the default `docRoot` of the AppVersion is used.","type":"string"},"deletionRequested":{"default":false,"type":"boolean"},"description":{"type":"string"},"disabled":{"default":false,"type":"boolean"},"hostname":{"type":"string"},"id":{"format":"uuid","type":"string"},"installationPath":{"description":"Directory of the AppInstallation, relative to the project's web directory `/html` (for example `/my-app` for `/html/my-app`).","type":"string"},"lastAutoUpdateFailedAt":{"description":"When the last automatic update failed. The value is kept when automatic updates are activated again, so it does not indicate the current state on its own; see `autoUpdatesStoppedAfterFailure` for whether automatic updates are currently stopped because of a failure.","format":"date-time","type":"string"},"lastError":{"description":"The last error that occurred during an update. Resets on success.","type":"string"},"linkedDatabases":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.LinkedDatabase"},"type":"array"},"lockedBy":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.LockPurpose"},"type":"object"},"phase":{"$ref":"#/components/schemas/de.mittwald.v1.app.Phase"},"ports":{"items":{"properties":{"name":{"type":"string"},"port":{"type":"integer"}},"type":"object"},"type":"array"},"projectDescription":{"type":"string"},"projectId":{"format":"uuid","type":"string"},"screenshotId":{"format":"uuid","type":"string"},"screenshotRef":{"type":"string"},"shortId":{"example":"a-XXXXXX","type":"string"},"sourceAppInstallationId":{"description":"The source AppInstallation ID for a staging AppInstallation.","type":"string"},"staging":{"type":"boolean"},"systemSoftware":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.InstalledSystemSoftware"},"type":"array"},"updateAvailable":{"default":false,"type":"boolean"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppUpdatePolicy"},"userInputs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SavedUserInput"},"type":"array"}},"required":["id","appId","shortId","appVersion","description","installationPath","disabled","createdAt","projectId","systemSoftware","userInputs","updatePolicy","linkedDatabases","phase","appName","updateAvailable","appExternalVersion","projectDescription"],"type":"object"},"de.mittwald.v1.app.AppInstallationErrorAnalysis":{"properties":{"recommendation":{"example":"Update the PHP version of the app installation to a version supported by the app and make sure all required extensions are enabled.","type":"string"},"summary":{"example":"The app installation failed because a required PHP extension is not available in the installed PHP version.","type":"string"}},"required":["summary"],"type":"object"},"de.mittwald.v1.app.AppInstallationLifecycle":{"description":"The AppInstallationLifecycle can be used to express a specific point in the AppInstallation Lifecycle, e.g. while installing a new AppInstallation.","enum":["installation","update","reconfigure"],"type":"string"},"de.mittwald.v1.app.AppVersion":{"description":"An AppVersion is an officially supported version of an App, containing the necessary and recommended configuration und dependencies.","properties":{"appId":{"format":"uuid","type":"string"},"backendPathTemplate":{"type":"string"},"breakingNote":{"$ref":"#/components/schemas/de.mittwald.v1.app.BreakingNote"},"databases":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.DatabaseDependency"},"type":"array"},"defaultCronjobs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.DefaultCronjob"},"type":"array"},"docRoot":{"description":"Default document root, relative to the installation path of an AppInstallation.","type":"string"},"docRootUserEditable":{"description":"Whether the document root of an AppInstallation in this version can be changed via `customDocumentRoot`.","type":"boolean"},"externalVersion":{"type":"string"},"id":{"format":"uuid","type":"string"},"internalVersion":{"type":"string"},"recommended":{"type":"boolean"},"requestHandler":{"$ref":"#/components/schemas/de.mittwald.v1.app.RequestHandlerRequirement"},"systemSoftwareDependencies":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareDependency"},"type":"array","uniqueItems":true},"updateConstraint":{"description":"SemVer constraint that newer AppVersions must satisfy to be eligible as automatic update targets for this AppVersion.","type":"string"},"userInputs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.UserInput"},"type":"array","uniqueItems":true}},"required":["id","appId","externalVersion","internalVersion","docRoot","docRootUserEditable"],"type":"object"},"de.mittwald.v1.app.BreakingNote":{"description":"A BreakingNote is a hint that something serious has changed in the AppVersion containing it, so an automatic update is not possible.","properties":{"faqLink":{"format":"uri","type":"string"}},"required":["faqLink"],"type":"object"},"de.mittwald.v1.app.CronjobCommand":{"properties":{"interpreterTemplate":{"example":"bash","type":"string"},"parametersTemplate":{"example":"-c","type":"string"},"pathTemplate":{"example":"/bin/bash","type":"string"}},"required":["interpreterTemplate","pathTemplate"],"type":"object"},"de.mittwald.v1.app.DatabaseDependency":{"description":"A DatabaseDependency is a generic description of need for a database, used by AppVersions.","properties":{"description":{"type":"string"},"kind":{"enum":["mysql"],"type":"string"},"parameters":{"additionalProperties":{"type":"string"},"type":"object"},"version":{"format":"uuid","type":"string"}},"required":["version","description","kind"],"type":"object"},"de.mittwald.v1.app.DefaultCronjob":{"properties":{"active":{"example":true,"type":"boolean"},"command":{"$ref":"#/components/schemas/de.mittwald.v1.app.CronjobCommand"},"description":{"example":"Beschreibung des Cronjobs","type":"string"},"interval":{"example":"0 5 * * *","type":"string"},"timeout":{"example":300,"format":"int32","type":"integer"},"urlTemplate":{"example":"https://example.com/cronjob","type":"string"}},"required":["interval","active","description","timeout"],"type":"object"},"de.mittwald.v1.app.DesiredSystemSoftware":{"description":"DesiredSystemSoftware describes the desired SystemSoftwareVersion and update policy to apply for a SystemSoftware of an AppInstallation.","properties":{"systemSoftwareVersion":{"type":"string"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareUpdatePolicy"}},"type":"object"},"de.mittwald.v1.app.Error":{"properties":{"message":{"type":"string"},"type":{"type":"string"}},"required":["type","message"],"type":"object"},"de.mittwald.v1.app.InstalledSystemSoftware":{"description":"InstalledSystemSoftware describes the currently configured and installed SystemSoftwareVersion of a SystemSoftware besides the desired SystemSoftwareUpdatePolicy inside an AppInstallation.","properties":{"externalVersion":{"type":"string"},"name":{"type":"string"},"systemSoftwareId":{"format":"uuid","type":"string"},"systemSoftwareVersion":{"$ref":"#/components/schemas/de.mittwald.v1.app.VersionStatus"},"updateAvailable":{"default":false,"type":"boolean"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareUpdatePolicy"}},"required":["systemSoftwareId","updatePolicy","systemSoftwareVersion","name","externalVersion","updateAvailable"],"type":"object"},"de.mittwald.v1.app.LinkedDatabase":{"description":"LinkedDatabase is a reference to a concrete Database and DatabaseUsers.","properties":{"databaseId":{"format":"uuid","type":"string"},"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"},"kind":{"enum":["mysql","redis"],"type":"string"},"purpose":{"enum":["primary","cache","custom"],"type":"string"}},"required":["databaseId","purpose","kind"],"type":"object"},"de.mittwald.v1.app.PatchLinkedDatabase":{"description":"Desired change to a database linked to an AppInstallation. If the database given\nas key is not linked yet it will be linked (`purpose` is required in this case).\nFor an already linked database the given `databaseUserIds` are set. If\n`replacesDatabaseId` refers to a linked database, that database is replaced by\nthe database given as key.\n","properties":{"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"},"purpose":{"enum":["primary","cache","custom"],"type":"string"},"replacesDatabaseId":{"format":"uuid","type":"string"}},"type":"object"},"de.mittwald.v1.app.RequestHandlerRequirement":{"description":"RequestHandlerRequirement describes the necessary properties to internally resolve the request handler or process to start.","properties":{"exampleValues":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SavedUserInput"},"type":"array"},"name":{"type":"string"},"namespace":{"type":"string"},"parametersTemplate":{"type":"string"}},"required":["name","namespace","parametersTemplate"],"type":"object"},"de.mittwald.v1.app.SavedUserInput":{"description":"A SavedUserInput is an entered value for a desired UserInput of an AppVersion or SystemSoftwareVersion.","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"type":"object"},"de.mittwald.v1.app.SystemSoftwareDependency":{"description":"A SystemSoftwareDependency is a description of a need for a specific SystemSoftware in a semver versionRange.","properties":{"systemSoftwareId":{"format":"uuid","type":"string"},"versionRange":{"type":"string"}},"required":["systemSoftwareId","versionRange"],"type":"object"},"de.mittwald.v1.app.SystemSoftwareUpdatePolicy":{"deprecated":true,"description":"Deprecated: has no effect, the value is stored but not evaluated. Which SystemSoftware updates are applied automatically does not depend on it.","enum":["none","inheritedFromApp","patchLevel","all"],"type":"string"},"de.mittwald.v1.app.SystemSoftware":{"description":"A SystemSoftware is a software that can be installed for an AppInstallation but mostly is not itself externally reachable and/or deliverable.","properties":{"id":{"type":"string"},"meta":{"additionalProperties":{"type":"string"},"type":"object"},"name":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"required":["id","name","tags"],"type":"object"},"de.mittwald.v1.app.SystemSoftwareVersion":{"description":"A SystemSoftwareVersion is an officially  supported version of a SystemSoftware, containing the necessary and recommended configuration und dependencies.","properties":{"expiryDate":{"format":"date-time","type":"string"},"externalVersion":{"type":"string"},"fee":{"$ref":"#/components/schemas/de.mittwald.v1.fee.FeeStrategy"},"id":{"format":"uuid","type":"string"},"internalVersion":{"type":"string"},"recommended":{"type":"boolean"},"systemSoftwareDependencies":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareDependency"},"type":"array"},"userInputs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.UserInput"},"type":"array"}},"required":["id","internalVersion","externalVersion"],"type":"object"},"de.mittwald.v1.app.TranslatedString":{"description":"A text with a german and an english translation.","properties":{"de":{"type":"string"},"en":{"type":"string"}},"required":["de","en"],"type":"object"},"de.mittwald.v1.app.UserInput":{"description":"A UserInput is a description of an information which cannot be determined or estimated by mittwald, but has to be given by the person who is requesting an AppInstallation or SystemSoftware.","properties":{"additionalValidationSchema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AdditionalValidationSchema"},"dataSource":{"description":"Optional field to tell the frontend, which data to put into the select.","type":"string"},"dataType":{"$ref":"#/components/schemas/de.mittwald.v1.app.UserInputDataType"},"defaultValue":{"type":"string"},"format":{"$ref":"#/components/schemas/de.mittwald.v1.app.UserInputFormat"},"lifecycleConstraint":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallationLifecycle"},"name":{"type":"string"},"positionMeta":{"$ref":"#/components/schemas/de.mittwald.v1.app.UserInputPositionMeta"},"required":{"type":"boolean"},"validationSchema":{"description":"JSON Schema formatted (https://json-schema.org/).","type":"string"}},"required":["name","dataType","validationSchema","lifecycleConstraint","required"],"type":"object"},"de.mittwald.v1.app.UserInputDataType":{"description":"UserInputDataType is an enum, describing the possible data types of a UserInput.","enum":["text","number","boolean","select"],"type":"string"},"de.mittwald.v1.app.UserInputFormat":{"description":"UserInputFormat is an enum, describing the possible data formats of a UserInput, the given values can be validated against.","enum":["email","password","url","uri"],"type":"string"},"de.mittwald.v1.app.UserInputPositionMeta":{"description":"UserInputPositionMeta is a utility information, helping to position the UserInput properly on the frontend.","properties":{"index":{"type":"integer"},"section":{"type":"string"},"step":{"type":"string"}},"type":"object"},"de.mittwald.v1.app.VersionStatus":{"description":"VersionStatus describes the current and desired version of something like the AppVersion of an AppInstallation. If diverging, an internal process is going to assert, the current value will be aligned.","properties":{"current":{"type":"string"},"desired":{"type":"string"},"lastChangeBy":{"type":"string"},"lastChangedAt":{"format":"date-time","type":"string"},"previous":{"type":"string"}},"required":["desired"],"type":"object"},"de.mittwald.v1.backup.BackupSortOrder":{"enum":["oldestFirst","newestFirst"],"type":"string"},"de.mittwald.v1.backup.BackupTemplate":{"properties":{"expirationTime":{"format":"date-time","type":"string"},"ignoredSources":{"$ref":"#/components/schemas/de.mittwald.v1.backup.IgnoredSources"}},"required":["expirationTime"],"type":"object"},"de.mittwald.v1.backup.DatabaseReference":{"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["kind","name"],"type":"object"},"de.mittwald.v1.backup.IgnoredSources":{"properties":{"databases":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.backup.DatabaseReference"},"type":"array"},"files":{"type":"boolean"}},"required":["files"],"type":"object"},"de.mittwald.v1.backup.ProjectBackup":{"properties":{"createdAt":{"format":"date-time","type":"string"},"deletable":{"type":"boolean"},"description":{"example":"I'm a ProjectBackup","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"export":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupExport"},"id":{"format":"uuid","type":"string"},"parentId":{"format":"uuid","type":"string"},"projectId":{"format":"uuid","type":"string"},"requestedAt":{"format":"date-time","type":"string"},"restore":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestore"},"restorePath":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestorePathDeprecated"},"status":{"example":"Completed","type":"string"}},"required":["id","projectId","status","deletable","requestedAt"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupExport":{"properties":{"downloadURL":{"format":"url","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"format":{"example":"tar","type":"string"},"phase":{"enum":["Pending","Exporting","Failed","Completed","Expired"],"example":"Completed","type":"string"},"sha256Checksum":{"type":"string"},"withPassword":{"type":"boolean"}},"required":["format","withPassword"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupPath":{"properties":{"absolutePath":{"type":"string"},"isDirectory":{"type":"boolean"},"isExecutable":{"type":"boolean"},"isFile":{"type":"boolean"},"isSymlink":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupPath"},"type":"array"},"name":{"type":"string"},"size":{"format":"int64","type":"integer"},"target":{"type":"string"}},"required":["absolutePath","name","size"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestoreDatabaseRequest":{"properties":{"databaseBackupDump":{"description":"Database backup dump from the backup to restore from.","example":"dbdump-mysql-123456","type":"string"},"targetDatabaseId":{"description":"ID of the target database to restore to.","format":"uuid","type":"string"}},"required":["databaseBackupDump","targetDatabaseId"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestoreDatabase":{"properties":{"databaseBackupDump":{"type":"string"},"targetDatabaseId":{"format":"uuid","type":"string"}},"required":["databaseBackupDump","targetDatabaseId"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestorePathDeprecated":{"properties":{"clearTargetPath":{"default":false,"type":"boolean"},"determinedTargetPath":{"type":"string"},"phase":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestorePhase"},"sourcePath":{"type":"string"},"targetPath":{"type":"string"}},"required":["phase","sourcePath","determinedTargetPath","clearTargetPath"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestorePathRequestDeprecated":{"properties":{"clearTargetPath":{"default":false,"description":"Whether to clear the target path before restoring. If true, existing files in the target path will be deleted before the restore. If false, existing files will be kept and may be overwritten if they exist in the backup.","type":"boolean"},"sourcePath":{"description":"Absolute path inside the backup that should be restored. If targetPath is not set, the source path is also the target and may have at most 32 path segments.","example":"/html/mainApp/config/","type":"string"},"targetPath":{"description":"Target path where the source path should be restored to. If not set, the target path will be determined to equal the origin source. The target path should always be a folder, no files allowed here. It may have at most 32 path segments.","example":"/html/mainApp","type":"string"}},"required":["sourcePath"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestorePathRequest":{"properties":{"clearTargetPath":{"default":false,"description":"Whether to clear the target path before restoring. If true, existing files in the target path will be deleted before the restore. If false, existing files will be kept and may be overwritten if they exist in the backup.","type":"boolean"},"sourcePaths":{"description":"Absolute paths inside the backup that should be restored. If targetRestorePath is not set, each source path is also the target and may have at most 32 path segments.","example":["/html/mainApp/config/","/html/assets/"],"items":{"type":"string"},"minItems":1,"type":"array"},"targetRestorePath":{"description":"Target path where the source paths should be restored to. If not set, the target path will be determined to equal the origin source. The target path should always be a folder, no files allowed here. It may have at most 32 path segments.","example":"/html/mainApp","type":"string"}},"required":["sourcePaths"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestorePath":{"properties":{"clearTargetPath":{"default":false,"type":"boolean"},"determinedTargetPath":{"type":"string"},"sourcePaths":{"items":{"type":"string"},"type":"array"},"targetRestorePath":{"type":"string"}},"required":["sourcePaths","determinedTargetPath","clearTargetPath"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestorePhase":{"enum":["running","completed"],"type":"string"},"de.mittwald.v1.backup.ProjectBackupRestoreRequest":{"properties":{"databaseRestores":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestoreDatabaseRequest"},"minItems":1,"type":"array"},"pathRestore":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestorePathRequest"}},"type":"object"},"de.mittwald.v1.backup.ProjectBackupRestore":{"properties":{"databaseRestores":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestoreDatabase"},"type":"array"},"pathRestore":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestorePath"},"phase":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestorePhase"}},"required":["phase"],"type":"object"},"de.mittwald.v1.backup.ProjectBackupSchedule":{"properties":{"createdAt":{"format":"date-time","type":"string"},"description":{"description":"Description of this ProjectBackupSchedule.","example":"I'm a ProjectBackupSchedule","type":"string"},"id":{"description":"ID of this ProjectBackupSchedule.","format":"uuid","type":"string"},"isSystemBackup":{"description":"True if this ProjectBackupSchedule was created and is managed by mittwald.","type":"boolean"},"projectId":{"description":"ID of the Project this ProjectBackupSchedule belongs to.","format":"uuid","type":"string"},"schedule":{"description":"Execution schedule in crontab notation.","example":"5 4 * * *","type":"string"},"ttl":{"description":"TTL of the ProjectBackupSchedule as time string.","example":"7d","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","projectId","schedule","isSystemBackup"],"type":"object"},"de.mittwald.v1.extension.ExtensionInstanceContract":{"description":"The Extension Instance Contract.","oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.extension.SubscriptionBasedContract"}]},"de.mittwald.v1.extension.PricePlan":{"description":"PricePlan with Variants.","properties":{"isDowngradeAllowed":{"description":"Indicates whether downgrading between variants is allowed.","type":"boolean"},"isUpgradeAllowed":{"description":"Indicates whether upgrading between variants is allowed.","type":"boolean"},"variants":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.extension.Variant"},"type":"array"}},"required":["variants"],"type":"object"},"de.mittwald.v1.extension.SubscriptionBasedContract":{"description":"A strategy for Contracts that will be paid periodically.","properties":{"contractPeriodEndDate":{"format":"date-time","type":"string"},"currentPrice":{"description":"monthly price in Euro Cent","example":999,"type":"integer"},"interactionDeadline":{"format":"date-time","type":"string"},"interactionRequired":{"type":"boolean"},"pendingVariantChange":{"properties":{"effectiveDate":{"format":"date-time","type":"string"},"targetVariantKey":{"type":"string"}},"required":["targetVariantKey","effectiveDate"],"type":"object"},"status":{"enum":["notStarted","pending","active","terminationPending"],"type":"string"},"terminationTargetDate":{"format":"date-time","type":"string"},"variantDescription":{"type":"string"},"variantKey":{"type":"string"},"variantName":{"type":"string"}},"required":["status","interactionRequired"],"type":"object"},"de.mittwald.v1.extension.Variant":{"properties":{"deletionDeadline":{"description":"deadline for scheduled deletion of extension variant","format":"date-time","type":"string"},"description":{"description":"Description of Variant.","type":"string"},"descriptionChangeType":{"description":"DescriptionChangeType defines how the description change should be handled. Values:\n  - FEATURE_SET_MODIFIED: The users have to confirm to the new contract details equal as price changes.\n  - FEATURE_SET_UNCHANGED: The changes are only wording updates and do not impact the contract details, so no confirm is required.\n","enum":["FEATURE_SET_MODIFIED","FEATURE_SET_UNCHANGED"],"type":"string"},"isBookingStopped":{"description":"stop extension variant from being booked","type":"boolean"},"isDeletionScheduled":{"description":"deletion of extension variant is scheduled","type":"boolean"},"key":{"description":"Key that needs to be unique in Variant.","type":"string"},"name":{"description":"Name of Variant.","type":"string"},"priceInCents":{"description":"Price in cents.","type":"number"}},"required":["key","priceInCents"],"type":"object"},"de.mittwald.v1.census.Customer":{"properties":{"customerId":{"format":"uuid","type":"string"},"customerNumber":{"example":"10001","type":"string"},"name":{"example":"Lovelace Analytical Engines","type":"string"},"projects":{"description":"Projects the project conditions of the filter hit; empty if it has none.","items":{"$ref":"#/components/schemas/de.mittwald.v1.census.MatchedProject"},"type":"array"},"recipients":{"description":"Members with one of the requested roles.","items":{"$ref":"#/components/schemas/de.mittwald.v1.census.Recipient"},"type":"array"}},"required":["customerId","customerNumber","name","recipients","projects"],"type":"object"},"de.mittwald.v1.census.CustomerCondition":{"description":"A condition on an organization. Exactly one of the conditions must be set.","properties":{"agency":{"description":"Not implemented yet.","type":"object"},"aiHosting":{"description":"The organization has an active AI hosting key (not blocked, not deleted).","type":"object"},"contractItem":{"properties":{"articleIds":{"description":"Empty means any article.","items":{"format":"uuid","type":"string"},"type":"array"},"onlyPaid":{"description":"Only items with a price above 0.","type":"boolean"}},"type":"object"},"contributor":{"description":"Not implemented yet.","properties":{"states":{"items":{"enum":["registered","unregistered"],"type":"string"},"type":"array"}},"type":"object"},"customerIds":{"properties":{"customerIds":{"items":{"format":"uuid","type":"string"},"minItems":1,"type":"array"}},"required":["customerIds"],"type":"object"},"extension":{"description":"A marketplace extension, installed in the organization or one of its projects. For a certain project, use the project condition `extension` in `projectWith`.","properties":{"extensionIds":{"description":"Empty means any extension.","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"},"negate":{"description":"Matches organizations for which the condition does not hold.","type":"boolean"},"projectWith":{"$ref":"#/components/schemas/de.mittwald.v1.census.ProjectMatch"}},"type":"object"},"de.mittwald.v1.census.CustomerFilter":{"description":"Groups are combined with OR, the conditions within a group with AND. Empty matches all organizations.","properties":{"anyOf":{"items":{"properties":{"allOf":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.census.CustomerCondition"},"type":"array"}},"type":"object"},"type":"array"}},"type":"object"},"de.mittwald.v1.census.CustomerRoles":{"description":"Same values as `de.mittwald.v1.membership.CustomerRoles`.","enum":["notset","owner","member","accountant"],"type":"string"},"de.mittwald.v1.census.MatchedProject":{"description":"A project the project conditions of the filter hit (projectWith, not negated).","properties":{"name":{"description":"The project's description in mStudio. Empty if it has none.","example":"Shop","type":"string"},"projectId":{"format":"uuid","type":"string"},"shortId":{"example":"p-ab12cd","type":"string"}},"required":["projectId","shortId","name"],"type":"object"},"de.mittwald.v1.census.ProjectCondition":{"description":"A condition on a project. Exactly one of the conditions must be set.","properties":{"app":{"properties":{"appId":{"format":"uuid","type":"string"},"systemSoftware":{"description":"System software of the same installation, all must hold (e.g. WordPress running PHP below 8.1). Empty means any installation of the app.","items":{"properties":{"systemSoftwareId":{"format":"uuid","type":"string"},"versions":{"$ref":"#/components/schemas/de.mittwald.v1.census.VersionRange"}},"required":["systemSoftwareId"],"type":"object"},"type":"array"},"versions":{"$ref":"#/components/schemas/de.mittwald.v1.census.VersionRange"}},"required":["appId"],"type":"object"},"cluster":{"properties":{"clusterIds":{"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["clusterIds"],"type":"object"},"database":{"properties":{"type":{"enum":["mysql","redis"],"type":"string"},"versions":{"$ref":"#/components/schemas/de.mittwald.v1.census.VersionRange"}},"required":["type"],"type":"object"},"domain":{"properties":{"tlds":{"items":{"example":"de","type":"string"},"minItems":1,"type":"array"}},"required":["tlds"],"type":"object"},"extension":{"description":"A marketplace extension installed in this project.","properties":{"extensionIds":{"description":"Empty means any extension.","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"},"mailAddress":{"description":"The project has at least `minCount` mail addresses (archived ones do not count).","properties":{"mailboxesOnly":{"description":"Count only mailboxes, not forwards.","type":"boolean"},"minCount":{"description":"0 counts as 1.","minimum":0,"type":"integer"}},"type":"object"},"negate":{"description":"Matches projects for which the condition does not hold.","type":"boolean"},"projectIds":{"description":"One of these projects, e.g. the projects affected by an incident.","properties":{"projectIds":{"items":{"format":"uuid","type":"string"},"minItems":1,"type":"array"}},"required":["projectIds"],"type":"object"},"projectShortIds":{"description":"One of these projects by short id, case does not matter.","properties":{"projectShortIds":{"items":{"example":"p-XXXXXX","type":"string"},"minItems":1,"type":"array"}},"required":["projectShortIds"],"type":"object"},"server":{"properties":{"serverIds":{"items":{"format":"uuid","type":"string"},"minItems":1,"type":"array"}},"required":["serverIds"],"type":"object"},"systemSoftware":{"properties":{"systemSoftwareId":{"format":"uuid","type":"string"},"versions":{"$ref":"#/components/schemas/de.mittwald.v1.census.VersionRange"}},"required":["systemSoftwareId"],"type":"object"}},"type":"object"},"de.mittwald.v1.census.ProjectMatch":{"description":"All conditions hold for the same project.","properties":{"allOf":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.census.ProjectCondition"},"type":"array"}},"type":"object"},"de.mittwald.v1.census.ProjectRoles":{"description":"Same values as `de.mittwald.v1.membership.ProjectRoles`.","enum":["notset","owner","emailadmin","external"],"type":"string"},"de.mittwald.v1.census.Recipient":{"properties":{"email":{"description":"Primary e-mail address, lower-cased. Empty if the user has none.","example":"ada.lovelace@example.com","type":"string"},"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.census.CustomerRoles"},"userId":{"format":"uuid","type":"string"}},"required":["userId","email","firstName","lastName","role"],"type":"object"},"de.mittwald.v1.census.Selection":{"properties":{"authorId":{"format":"uuid","type":"string"},"automatic":{"description":"Saved on the way, e.g. when a selection is handed over to a mass mailing, not under a chosen name.","type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"deleted":{"description":"Deleted selections are not listed and cannot be resolved, but can still be fetched by id.","type":"boolean"},"description":{"type":"string"},"filter":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.census.CustomerFilter"},{"$ref":"#/components/schemas/de.mittwald.v1.census.UserFilter"}],"description":"`CustomerFilter` for `recipientType: customer`, `UserFilter` for `recipientType: user`."},"name":{"example":"PHP below 8.1","type":"string"},"recipientType":{"enum":["customer","user"],"type":"string"},"selectionId":{"format":"uuid","type":"string"},"updatedAt":{"description":"Last change of name, description, recipient type or filter. Consumers that resolve a selection can store it to see later whether it has changed.","format":"date-time","type":"string"}},"required":["selectionId","name","description","recipientType","filter","automatic","authorId","createdAt","updatedAt","deleted"],"type":"object"},"de.mittwald.v1.census.SelectionInput":{"properties":{"description":{"maxLength":2000,"type":"string"},"filter":{"description":"`CustomerFilter` for `recipientType: customer`, `UserFilter` for `recipientType: user`. Without a filter, all customers or users match.","type":"object"},"name":{"example":"PHP below 8.1","maxLength":255,"minLength":1,"type":"string"},"recipientType":{"description":"Customers get a message through their owner contact. To reach members with certain roles, select users with a `customerWith` condition.","enum":["customer","user"],"type":"string"}},"required":["name","recipientType"],"type":"object"},"de.mittwald.v1.census.User":{"properties":{"email":{"description":"Primary e-mail address, lower-cased. Empty if the user has none.","example":"ada.lovelace@example.com","type":"string"},"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"},"projects":{"description":"Projects the project conditions of the filter hit; empty if it has none.","items":{"$ref":"#/components/schemas/de.mittwald.v1.census.MatchedProject"},"type":"array"},"userId":{"format":"uuid","type":"string"}},"required":["userId","email","firstName","lastName","projects"],"type":"object"},"de.mittwald.v1.census.UserCondition":{"description":"A condition on a user. Exactly one of the conditions must be set.","properties":{"customerWith":{"description":"The user is a member of an organization with one of the roles, for which all conditions hold.","properties":{"allOf":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.census.CustomerCondition"},"type":"array"},"roles":{"description":"Empty means any role.","items":{"$ref":"#/components/schemas/de.mittwald.v1.census.CustomerRoles"},"type":"array"}},"type":"object"},"negate":{"description":"Matches users for which the condition does not hold.","type":"boolean"},"projectWith":{"description":"The user is a member of a project with one of the roles, for which all conditions hold.","properties":{"allOf":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.census.ProjectCondition"},"type":"array"},"roles":{"description":"Empty means any role.","items":{"$ref":"#/components/schemas/de.mittwald.v1.census.ProjectRoles"},"type":"array"}},"type":"object"},"userIds":{"properties":{"userIds":{"items":{"format":"uuid","type":"string"},"minItems":1,"type":"array"}},"required":["userIds"],"type":"object"}},"type":"object"},"de.mittwald.v1.census.UserFilter":{"description":"Groups are combined with OR, the conditions within a group with AND. Empty matches all users.","properties":{"anyOf":{"items":{"properties":{"allOf":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.census.UserCondition"},"type":"array"}},"type":"object"},"type":"array"}},"type":"object"},"de.mittwald.v1.census.VersionRange":{"description":"Versions from `min` (inclusive) to `max` (exclusive). Each bound is optional.","properties":{"max":{"example":"8.2","type":"string"},"min":{"example":"8.0","type":"string"}},"type":"object"},"de.mittwald.v1.container.AddTemplateComponent":{"properties":{"templateConfig":{"description":"The Template's Services and Volumes are added to the Stack and its domains are configured afterwards. A Service whose name already exists in the Stack is added with the suffix `_` and six random characters; the response does not report the new name, but the added Services carry the Template's ID as `templateId`. A Service name that differs from an existing one only in case results in `400`. For Templates with `deliveryBoxes`, the Services are added asynchronously while the Stack's `status` is `templateInstalling`.\n","properties":{"templateId":{"description":"ID of a Container Template (`GET /v2/container-templates`).","example":"postgres","type":"string"},"userInputs":{"description":"Values for the Template's `userInputs`, matched by `name`; values for names the Template does not declare are ignored. Values are strings and must satisfy the input's `validationSchema`. Inputs without a value fall back to their `defaultValue`; a `required` input with neither results in `400`.\n","items":{"properties":{"name":{"example":"HOST","type":"string"},"value":{"example":"postgres.example.org","type":"string"}},"required":["name","value"],"type":"object"},"type":"array"}},"required":["templateId"],"type":"object"}},"required":["templateConfig"],"type":"object"},"de.mittwald.v1.container.CreateRegistry":{"properties":{"credentials":{"$ref":"#/components/schemas/de.mittwald.v1.container.SetRegistryCredentials"},"description":{"example":"DockerHub","type":"string"},"uri":{"description":"Host of the registry, optionally with port (e.g. `index.docker.io`, `ghcr.io` or `registry.example:5000`), without scheme or path. An image uses this Registry's credentials if its registry host, as normalized by Docker, equals this value exactly; images from Docker Hub resolve to `index.docker.io`. Hosts on internal or private networks (and host names resolving to such addresses) are refused.\n","example":"index.docker.io","type":"string"}},"required":["uri","description"],"type":"object"},"de.mittwald.v1.container.CreateStack":{"properties":{"description":{"example":"uptime kuma","type":"string"},"templateConfig":{"description":"Installs a Container Template into the new Stack: its Services and Volumes are created, its domains are configured afterwards, and the Stack receives a random daily image update schedule between 02:00 and 05:59 (Europe/Berlin). Templates of type `standalone` are meant for this; `component` Templates are added to existing Stacks using `POST /v2/stacks/{stackId}/actions/add-template-component`. For Templates with `deliveryBoxes`, the Services are created asynchronously: the Stack's `status` is `templateInstalling` and the Services are missing from the response until the installation is finished.\n","properties":{"templateId":{"description":"ID of a Container Template (`GET /v2/container-templates`).","example":"uptime-kuma","type":"string"},"userInputs":{"description":"Values for the Template's `userInputs`, matched by `name`; values for names the Template does not declare are ignored. Values are strings and must satisfy the input's `validationSchema`. Inputs without a value fall back to their `defaultValue`; a `required` input with neither results in `400`.\n","items":{"properties":{"name":{"example":"HOST","type":"string"},"value":{"example":"kuma.example.org","type":"string"}},"required":["name","value"],"type":"object"},"type":"array"}},"required":["templateId"],"type":"object"}},"required":["description"],"type":"object"},"de.mittwald.v1.container.ContainerImageConfig":{"properties":{"command":{"description":"Command of the container image.","items":{"example":"mysqld","type":"string"},"type":"array"},"digest":{"description":"The image digest.","example":"sha256:216aab5860821ba2eecad636722a6891e40a81791fbb61e2bd49bfc5aeeacdca","type":"string"},"entrypoint":{"description":"Entrypoint of the container image.","items":{"example":"docker-entrypoint.sh","type":"string"},"type":"array"},"env":{"description":"List of environment variables the container image has.","items":{"$ref":"#/components/schemas/de.mittwald.v1.container.ContainerImageConfigEnv"},"type":"array"},"exposedPorts":{"description":"List of exposed ports the container image has.","items":{"$ref":"#/components/schemas/de.mittwald.v1.container.ContainerImageConfigExposedPort"},"type":"array"},"hasAiGeneratedData":{"description":"Whether the image config has ai generated data.","example":true,"type":"boolean"},"isAiAvailable":{"description":"Whether ai generation is available for the image reference.","example":true,"type":"boolean"},"isUserRoot":{"description":"Whether the container user is root.","example":false,"type":"boolean"},"overwritingUser":{"deprecated":true,"description":"Deprecated, user will never be overwritten.","example":1000,"type":"integer"},"user":{"description":"The user the container image is running with.","example":"mysql","type":"string"},"userId":{"description":"The user id the container image is running with.","example":0,"type":"integer"},"volumes":{"description":"List of volumes the container image has.","items":{"$ref":"#/components/schemas/de.mittwald.v1.container.ContainerImageConfigVolume"},"type":"array"}},"required":["user","userId","isUserRoot","hasAiGeneratedData","isAiAvailable","digest"],"type":"object"},"de.mittwald.v1.container.ContainerImageConfigEnv":{"properties":{"description":{"description":"The description of the env key.","example":"The mysql user password.","type":"string"},"isAiGenerated":{"description":"Whether the env has been ai generated.","example":true,"type":"boolean"},"isSensitive":{"description":"Whether the env key is a sensitive field, e.g. password fields.","example":true,"type":"boolean"},"key":{"description":"The env key.","example":"MYSQL_PASSWORD","type":"string"},"value":{"description":"The env default value.","example":"my_password","type":"string"}},"required":["key","isAiGenerated"],"type":"object"},"de.mittwald.v1.container.ContainerImageConfigExposedPort":{"properties":{"description":{"description":"The description of the exposed port.","example":"The mysql connection port.","type":"string"},"isAiGenerated":{"description":"Whether the port has been ai generated.","example":true,"type":"boolean"},"port":{"description":"The exposed port.","example":"3306/tcp","type":"string"}},"required":["port","isAiGenerated"],"type":"object"},"de.mittwald.v1.container.ContainerImageConfigVolume":{"properties":{"description":{"description":"The description of the volume path.","example":"The mysql database files.","type":"string"},"isAiGenerated":{"description":"Whether the volume has been ai generated.","example":true,"type":"boolean"},"volume":{"description":"The volume path.","example":"/var/lib/mysql","type":"string"}},"required":["volume","isAiGenerated"],"type":"object"},"de.mittwald.v1.container.Registry":{"properties":{"credentials":{"$ref":"#/components/schemas/de.mittwald.v1.container.RegistryCredentials"},"description":{"example":"DockerHub","type":"string"},"id":{"format":"uuid","type":"string"},"projectId":{"format":"uuid","type":"string"},"uri":{"description":"Host of the registry, optionally with port (e.g. `index.docker.io`, `ghcr.io` or `registry.example:5000`), without scheme or path. An image uses this Registry's credentials if its registry host, as normalized by Docker, equals this value exactly; images from Docker Hub resolve to `index.docker.io`.\n","example":"index.docker.io","type":"string"}},"required":["id","projectId","uri","description"],"type":"object"},"de.mittwald.v1.container.RegistryCredentials":{"properties":{"username":{"description":"Your registry username.","example":"username","type":"string"},"valid":{"description":"Whether the registry accepted the stored credentials at the last check. Credentials are checked when they are set and re-checked once a day.\n","example":true,"type":"boolean"}},"required":["username","valid"],"type":"object"},"de.mittwald.v1.container.ServiceDeclareRequest":{"properties":{"command":{"description":"The container command (equivalent to the [Docker cmd](https://docs.docker.com/reference/dockerfile/#cmd)). When omitted, this defaults to the command defined in the image.\n","example":["mysqld"],"items":{"type":"string"},"type":"array"},"deploy":{"$ref":"#/components/schemas/de.mittwald.v1.container.Deploy"},"description":{"deprecated":true,"description":"Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.","example":"MySQL DB","type":"string"},"entrypoint":{"description":"The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.\n","example":["docker-entrypoint.sh"],"items":{"type":"string"},"type":"array"},"environment":{"additionalProperties":{"type":"string"},"description":"Key-value map of environment variables that should be passed into the container.\n","example":{"MYSQL_DATABASE":"my_db","MYSQL_PASSWORD":"my_password","MYSQL_ROOT_PASSWORD":"my_root_password","MYSQL_USER":"my_user"},"type":"object"},"envs":{"additionalProperties":{"type":"string"},"deprecated":true,"description":"DEPRECATED: Use 'environment' instead. This field will be removed in a future version.","example":{"MYSQL_DATABASE":"my_db","MYSQL_PASSWORD":"my_password","MYSQL_ROOT_PASSWORD":"my_root_password","MYSQL_USER":"my_user"},"type":"object"},"image":{"description":"The image to run, in the usual format also used by `docker run` and `docker compose`. The image must exist and be accessible when the request is made, because its digest (and, for a new Service, the user it runs as) is resolved at that time; otherwise the request is rejected. Changing the image of an existing Service keeps the user that was resolved when the Service was created. For an image from a private registry, create a Registry with matching credentials first (`POST /v2/projects/{projectId}/registries`); the Registry is matched by the registry host of the image reference.\n","example":"mysql:8.0","type":"string"},"ports":{"description":"Ports exposed by this container. Each item has the format `<port>[/<protocol>]` or `<port>:<port>[/<protocol>]`, where `<port>` is a single port or a range such as `8000-8010`. When both sides are given, they must be identical; mapping a port to a different number is not supported. `<protocol>` is `tcp` (default), `udp` or `sctp`. Exposed ports can be accessed from containers of the same Stack and from managed apps in the same project, but not from containers of other Stacks, and are not publicly reachable; to expose a port publicly, connect it with an ingress resource. A service may expose at most 200 port entries, and a port range may span at most 800 ports.\n","example":["3306/tcp"],"items":{"type":"string"},"maxItems":200,"type":"array"},"restart":{"description":"Restart policy for the container, using the values of the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` or `unless-stopped`. `unless-stopped` currently behaves like `on-failure`, a maximum retry count (`on-failure:<max-retries>`) is accepted but ignored, and unrecognized values are treated as `on-failure`. Defaults to `on-failure`, so omitting it resets the restart policy of an existing service to `on-failure`.\n","example":"always","type":"string"},"restartPolicy":{"deprecated":true,"description":"Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.","example":"always","type":"string"},"volumes":{"description":"Volume mounts for this container. Each item has the format `<source>:<target>`; access-mode suffixes such as `:ro` are not supported. `<target>` is an absolute path inside the container. `<source>` is either the name of a Volume of this Stack (declared in the same request or already existing), or an absolute path in the (always present) project file system, which is shared among containers and managed apps within a project. Mounting the root of the project file system (`/`) is not supported.\n","example":["data:/var/lib/mysql","/home/p-XXXXX/html:/var/www"],"items":{"type":"string"},"type":"array"},"x-description":{"description":"Human-readable description of this container.","example":"MySQL DB","type":"string"}},"required":["image"],"type":"object"},"de.mittwald.v1.container.Deploy":{"properties":{"resources":{"$ref":"#/components/schemas/de.mittwald.v1.container.Resources"}},"type":"object"},"de.mittwald.v1.container.ServiceLogsAnalysis":{"properties":{"recommendation":{"example":"Increase the memory limit of the service or reduce the memory consumption of the application.","type":"string"},"summary":{"example":"The container exited with code 137 because it exceeded its memory limit.","type":"string"}},"required":["summary"],"type":"object"},"de.mittwald.v1.container.ServicePullImageWebhookResponse":{"properties":{"token":{"description":"Webhook token. This value is returned only once.","type":"string"},"webhookUrl":{"description":"Full pull-image webhook URL including the token. This value is returned only once.","format":"uri","type":"string"}},"required":["token","webhookUrl"],"type":"object"},"de.mittwald.v1.container.ServiceRequest":{"properties":{"command":{"description":"The container command (equivalent to the [Docker cmd](https://docs.docker.com/reference/dockerfile/#cmd)). When omitted, this defaults to the command defined in the image.\n","example":["mysqld"],"items":{"type":"string"},"type":"array"},"deploy":{"$ref":"#/components/schemas/de.mittwald.v1.container.Deploy"},"description":{"deprecated":true,"description":"Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.","example":"MySQL DB","type":"string"},"entrypoint":{"description":"The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.\n","example":["docker-entrypoint.sh"],"items":{"type":"string"},"type":"array"},"environment":{"additionalProperties":{"type":"string"},"description":"Key-value map of environment variables that should be passed into the container.\n","example":{"MYSQL_DATABASE":"my_db","MYSQL_PASSWORD":"my_password","MYSQL_ROOT_PASSWORD":"my_root_password","MYSQL_USER":"my_user"},"type":"object"},"envs":{"additionalProperties":{"type":"string"},"deprecated":true,"description":"Deprecated by 'environment'. This field will be removed in a future version.","example":{"MYSQL_DATABASE":"my_db","MYSQL_PASSWORD":"my_password","MYSQL_ROOT_PASSWORD":"my_root_password","MYSQL_USER":"my_user"},"type":"object"},"image":{"description":"The image to run, in the usual format also used by `docker run` and `docker compose`. The image must exist and be accessible when the request is made, because its digest (and, for a new Service, the user it runs as) is resolved at that time; otherwise the request is rejected. Changing the image of an existing Service keeps the user that was resolved when the Service was created. For an image from a private registry, create a Registry with matching credentials first (`POST /v2/projects/{projectId}/registries`); the Registry is matched by the registry host of the image reference.\n","example":"mysql:8.0","type":"string"},"ports":{"description":"Ports exposed by this container. Each item has the format `<port>[/<protocol>]` or `<port>:<port>[/<protocol>]`, where `<port>` is a single port or a range such as `8000-8010`. When both sides are given, they must be identical; mapping a port to a different number is not supported. `<protocol>` is `tcp` (default), `udp` or `sctp`. Exposed ports can be accessed from containers of the same Stack and from managed apps in the same project, but not from containers of other Stacks, and are not publicly reachable; to expose a port publicly, connect it with an ingress resource. A service may expose at most 200 port entries, and a port range may span at most 800 ports.\n","example":["3306/tcp"],"items":{"type":"string"},"maxItems":200,"type":"array"},"restart":{"description":"Restart policy for the container, using the values of the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` or `unless-stopped`. `unless-stopped` currently behaves like `on-failure`, a maximum retry count (`on-failure:<max-retries>`) is accepted but ignored, and unrecognized values are treated as `on-failure`. When creating a new service, it defaults to `on-failure`; when omitted for an existing service, it is left unchanged.\n","example":"always","type":"string"},"restartPolicy":{"deprecated":true,"description":"Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.","example":"always","type":"string"},"volumes":{"description":"Volume mounts for this container. Each item has the format `<source>:<target>`; access-mode suffixes such as `:ro` are not supported. `<target>` is an absolute path inside the container. `<source>` is either the name of a Volume of this Stack (declared in the same request or already existing), or an absolute path in the (always present) project file system, which is shared among containers and managed apps within a project. Mounting the root of the project file system (`/`) is not supported.\n","example":["data:/var/lib/mysql","/home/p-XXXXX/html:/var/www"],"items":{"type":"string"},"type":"array"},"x-description":{"description":"Human-readable description of this container.","example":"MySQL DB","type":"string"}},"type":"object"},"de.mittwald.v1.container.ResourceSpec":{"properties":{"cpus":{"description":"CPU limit for the container. The value can be specified as a decimal number, where `1` corresponds to\none full CPU core. For example, `0.5` means that the container is limited to using half of a CPU core.\n","example":"0.5","type":"string"},"memory":{"description":"Memory limit for the container, as an integer followed by a unit, similar to the [byte values used by Docker Compose](https://docs.docker.com/reference/compose-file/extension/#specifying-byte-values): `b` (bytes), `k` or `kb` (kilobytes), `m` or `mb` (megabytes) and `g` or `gb` (gigabytes). Units must be lowercase and are decimal (`1g` = 1,000,000,000 bytes). A number without a unit is not accepted.\n","example":"1gb","type":"string"}}},"de.mittwald.v1.container.Resources":{"properties":{"limits":{"$ref":"#/components/schemas/de.mittwald.v1.container.ResourceSpec"}},"type":"object"},"de.mittwald.v1.container.ServiceResponse":{"properties":{"deploy":{"$ref":"#/components/schemas/de.mittwald.v1.container.Deploy"},"deployedState":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceState"},"description":{"description":"Human-readable description of the Service (`x-description` in requests); defaults to the service name.\n","example":"MySQL DB","type":"string"},"id":{"format":"uuid","type":"string"},"message":{"description":"Message explaining the current state of the container. This may contain information about the current state of the container, or errors that occurred during deployment.\n","example":"Container ready","type":"string"},"pendingState":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceState"},"projectId":{"format":"uuid","type":"string"},"requiresRecreate":{"description":"Whether `pendingState` differs from `deployedState`. `deployedState` is the configuration of the running container; `pendingState` contains changes (image or image digest, ports, volumes, environment, entrypoint, command) that have been stored but not applied yet. They are applied when the Service is recreated, e.g. by `POST /v2/stacks/{stackId}/services/{serviceId}/actions/recreate`, by `PATCH /v2/stacks/{stackId}?recreate=true`, by a `PUT /v2/stacks/{stackId}` that changes the Service, or by a pull that finds a new image digest.\n","type":"boolean"},"restartPolicy":{"description":"Restart policy of the container (`restart` in requests). `unless-stopped` currently behaves like `on-failure`.\n","enum":["no","always","on-failure","unless-stopped"],"example":"always","type":"string"},"serviceName":{"example":"mysql-db","type":"string"},"shortId":{"description":"A short ID of the container, unique within the project. It can be used for SSH connections. API routes address services by `id`, not by `shortId`.\n","example":"c-XXXXXX","type":"string"},"stackId":{"format":"uuid","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceStatus"},"statusSetAt":{"format":"date-time","type":"string"},"templateId":{"description":"ID of the template used to create this service, if one was used.","type":"string"}},"required":["id","stackId","projectId","description","serviceName","pendingState","deployedState","status","shortId","statusSetAt","requiresRecreate"],"type":"object"},"de.mittwald.v1.container.ServiceState":{"properties":{"command":{"description":"The container command (equivalent to the [Docker cmd](https://docs.docker.com/reference/dockerfile/#cmd)). When omitted, this defaults to the command defined in the image.\n","example":["mysqld"],"items":{"type":"string"},"type":"array"},"entrypoint":{"description":"The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.\n","example":["docker-entrypoint.sh"],"items":{"type":"string"},"type":"array"},"envs":{"additionalProperties":{"type":"string"},"description":"Key-value map of environment variables that are passed into the container (`environment` in requests).\n","example":{"MYSQL_DATABASE":"my_db","MYSQL_PASSWORD":"my_password","MYSQL_ROOT_PASSWORD":"my_root_password","MYSQL_USER":"my_user"},"type":"object"},"image":{"description":"The image, in the usual format also used by `docker run` and `docker compose`.\n","example":"mysql:8.0","type":"string"},"imageDigest":{"description":"The digest of the image that is currently deployed.\n","type":"string"},"ports":{"description":"Ports exposed by this container, in the format `<port>/<protocol>` (`<port>` may be a range such as `8000-8010`). Exposed ports can be accessed from containers of the same Stack and from managed apps in the same project, but not from containers of other Stacks, and are not publicly reachable; to expose a port publicly, connect it with an ingress resource.\n","example":["3306/tcp"],"items":{"type":"string"},"type":"array"},"volumes":{"description":"Volume mounts of this container in the format `<source>:<target>[:ro]`, where `<source>` is either the name of a Volume of this Stack or an absolute path in the project file system, and `<target>` is an absolute path inside the container. Read-only mounts are shown with an `:ro` suffix; requests currently cannot create them, but existing Services may contain them.\n","example":["data:/var/lib/mysql","/home/p-XXXXX/html:/var/www"],"items":{"type":"string"},"type":"array"}},"required":["image"],"type":"object"},"de.mittwald.v1.container.ServiceStatus":{"description":"Status of a Service. `creating`: the Service was declared and has not reported a status yet. `starting`: the container is being started. `running`: the container is ready. `stopping`: the container is being stopped or terminated. `stopped`: the container was stopped or has exited. `error`: the container or its image is in an error state; see the Service's `message` for details. `unspecified`: the cluster currently reports no decisive condition for the container.\n","enum":["running","stopped","error","creating","starting","stopping","unspecified"],"type":"string"},"de.mittwald.v1.container.SetRegistryCredentials":{"properties":{"password":{"description":"Your registry password or access token. It is stored encrypted and never returned.","example":"password","type":"string"},"username":{"description":"Your registry username, use 'oauth2accesstoken' for access token authentication.","example":"username","type":"string"}},"required":["username","password"],"type":"object"},"de.mittwald.v1.container.ServiceSortOrder":{"enum":["descriptionAsc","descriptionDesc"],"type":"string"},"de.mittwald.v1.container.StackResponse":{"properties":{"description":{"type":"string"},"disabled":{"description":"Whether the Stack is disabled or suspended, which happens when its Project is disabled or suspended. While a Stack is disabled, the lifecycle actions of its Services (start, stop, restart, recreate, and pull unless `skipRecreate` is set) return `412`.\n","type":"boolean"},"id":{"format":"uuid","type":"string"},"prefix":{"description":"Generated, immutable identifier of the Stack (e.g. `st-XXXXXX`). Managed apps in the same project can resolve a container of this Stack as `<serviceName>.<prefix>`; containers of the same Stack can use the service name alone, and containers of other Stacks cannot communicate with it. The prefix is also the directory of the Stack's service log files (`/var/log/container/<prefix>/` in the project file system).\n","type":"string"},"projectId":{"format":"uuid","type":"string"},"services":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceResponse"},"type":"array"},"status":{"description":"`templateInstalling` while the Services of a Container Template are still being created in the background (templates with delivery boxes are installed asynchronously after their mailboxes have been created); the Services appear in `services` once the installation is finished. While the status is `templateInstalling`, `PUT`/`PATCH /v2/stacks/{stackId}` and adding template components return `412`. `ready` otherwise.\n","enum":["ready","templateInstalling"],"type":"string"},"templateId":{"description":"Id of the Template used to create this stack, if one was used.","type":"string"},"updateSchedule":{"description":"Schedule for automatic image updates (`x-update-schedule` in `PATCH /v2/stacks/{stackId}`); absent if no schedule is set. A missing `timezone` means UTC.\n","nullable":true,"properties":{"cron":{"type":"string"},"timezone":{"type":"string"}},"required":["cron"],"type":"object"},"volumes":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeResponse"},"type":"array"}},"required":["id","projectId","description","disabled","prefix","status","services","volumes"],"type":"object"},"de.mittwald.v1.container.Template":{"properties":{"categories":{"description":"Free-form category names; the `category` filter of `GET /v2/container-templates` matches them exactly.\n","items":{"type":"string"},"type":"array"},"deliveryBoxes":{"description":"Outbound mailboxes the Template needs. When a Template with delivery boxes is installed, one mailbox per purpose is created first and its credentials are passed to the Services, so the Services are created asynchronously; the Stack's `status` is `templateInstalling` until then.\n","items":{"properties":{"purpose":{"type":"string"}},"required":["purpose"],"type":"object"},"type":"array"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"developer":{"type":"string"},"dockerCompose":{"description":"Docker Compose file of the Template as stored in its repository. Placeholders such as `${HOST}` are replaced with the values of `userInputs` (or of inputs provided by the platform) when the Template is installed. Only returned by `GET /v2/container-templates/{templateId}`.\n","type":"string"},"domains":{"description":"Domains that are configured when the Template is installed.\n","items":{"properties":{"port":{"description":"Container port of that Service the domain is routed to.","type":"string"},"purpose":{"description":"Identifier of the domain within the Template.","type":"string"},"service":{"description":"Name of the Service in `dockerCompose` the domain is routed to.","type":"string"},"userInput":{"description":"Name of the user input (see `userInputs`) whose value is the domain.","type":"string"}},"required":["userInput","service","port"],"type":"object"},"type":"array"},"help":{"properties":{"alerts":{"items":{"properties":{"content":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"heading":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"link":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"linkText":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"status":{"description":"Severity of the alert as defined by the Template (free-form).","type":"string"}},"required":["status","heading","content"],"type":"object"},"type":"array"},"technicalDetails":{"items":{"properties":{"key":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"value":{"type":"string"}},"required":["key","value"],"type":"object"},"type":"array"}},"type":"object"},"iconUrl":{"description":"URL of the Template's icon. Usually a path relative to the API base URL that is served by `GET /v2/container-templates/{templateId}/assets/{assetPath}`; may also be an absolute URL.\n","type":"string"},"id":{"description":"Identifier of the Template, used as `templateConfig.templateId` when installing it.\n","type":"string"},"license":{"properties":{"link":{"type":"string"},"name":{"type":"string"}},"required":["name"],"type":"object"},"manifestVersion":{"description":"Version of the manifest for this template, e.g. '1.0'","type":"string"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"repository":{"type":"string"},"screenshots":{"items":{"properties":{"bg":{"description":"Path of the background image, relative to the API base URL and served by `GET /v2/container-templates/{templateId}/assets/{assetPath}`.\n","type":"string"},"screenshot":{"description":"Path of the screenshot image, relative to the API base URL and served by `GET /v2/container-templates/{templateId}/assets/{assetPath}`.\n","type":"string"},"text":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"}},"required":["bg","screenshot","text"],"type":"object"},"type":"array"},"supportLink":{"type":"string"},"tagline":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"type":{"description":"`standalone` Templates are installed as a new Stack using `POST /v2/projects/{projectId}/stacks` with `templateConfig`. `component` Templates are added to an existing Stack using `POST /v2/stacks/{stackId}/actions/add-template-component`.\n","enum":["component","standalone"],"type":"string"},"userInputs":{"items":{"properties":{"dataSource":{"description":"Hint for clients where to source suggested values from; not evaluated by the API.","type":"string"},"dataType":{"description":"How the installer renders the input. Missing means text.","enum":["text","boolean","consent","select"],"type":"string"},"defaultValue":{"description":"Value that is used when no value is provided for this input.","type":"string"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"errorMessage":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"format":{"description":"Input format of a text input.","enum":["email","password","url","textarea"],"type":"string"},"label":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"name":{"description":"Name of the input, used as `templateConfig.userInputs[].name` when installing the Template and as `${name}` placeholder in `dockerCompose`.\n","type":"string"},"options":{"description":"Options of a select input; their values match the enum of the validation schema.","items":{"properties":{"label":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateTranslatedString"},"value":{"type":"string"}},"required":["value","label"],"type":"object"},"type":"array"},"positionMeta":{"description":"Hints for arranging the input in a multi-step form: `step` and the optional `section` group inputs, `index` orders them.\n","properties":{"index":{"type":"integer"},"section":{"type":"string"},"step":{"type":"string"}},"type":"object"},"required":{"description":"Whether a value must be provided when installing the Template. An input with a `defaultValue` never has to be provided.\n","type":"boolean"},"validationSchema":{"description":"JSON Schema, encoded as a JSON string, that the input's value (always a string) must satisfy when installing the Template.\n","type":"string"}},"required":["name","required"],"type":"object"},"type":"array"},"version":{"description":"Version of the application described by this template, e.g. 'latest'","type":"string"},"website":{"type":"string"}},"required":["id","type","manifestVersion","version","name","categories","tagline","description","developer","iconUrl"],"type":"object"},"de.mittwald.v1.container.TemplateStatsListResponse":{"properties":{"category":{"type":"string"},"templates":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateStatsResponse"},"type":"array"}},"type":"object"},"de.mittwald.v1.container.TemplateStatsResponse":{"properties":{"id":{"type":"string"},"installations":{"format":"int64","type":"integer"},"installations30Days":{"format":"int64","type":"integer"}},"required":["id","installations","installations30Days"],"type":"object"},"de.mittwald.v1.container.TemplateTranslatedString":{"properties":{"de":{"type":"string"},"en":{"type":"string"}},"required":["de","en"],"type":"object"},"de.mittwald.v1.container.UpdateRegistry":{"properties":{"credentials":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.container.SetRegistryCredentials"}],"description":"Set to `null` to remove the credentials; omit it to keep them unchanged.","nullable":true},"description":{"example":"DockerHub","type":"string"},"uri":{"description":"Host of the registry, optionally with port (e.g. `index.docker.io`, `ghcr.io` or `registry.example:5000`), without scheme or path. An image uses this Registry's credentials if its registry host, as normalized by Docker, equals this value exactly; images from Docker Hub resolve to `index.docker.io`. Hosts on internal or private networks (and host names resolving to such addresses) are refused.\n","example":"index.docker.io","type":"string"}},"type":"object"},"de.mittwald.v1.container.VolumeDeclareRequest":{"properties":{"name":{"description":"Ignored; the volume name is the key of the `volumes` map.","example":"mysql-volume","type":"string"}},"required":["name"],"type":"object"},"de.mittwald.v1.container.VolumeRequest":{"properties":{"name":{"description":"Ignored; the volume name is the key of the `volumes` map.","example":"mysql-volume","type":"string"}},"type":"object"},"de.mittwald.v1.container.VolumeResponse":{"properties":{"id":{"format":"uuid","type":"string"},"linkedServices":{"items":{"format":"uuid","type":"string"},"type":"array"},"name":{"type":"string"},"orphaned":{"description":"Whether no service of the Stack mounts this Volume. An orphaned Volume still belongs to its Stack and keeps its data until it is deleted explicitly using `DELETE /v2/stacks/{stackId}/volumes/{volumeId}`.\n","type":"boolean"},"stackId":{"format":"uuid","type":"string"},"storageUsageInBytes":{"format":"int64","type":"integer"},"storageUsageInBytesSetAt":{"description":"Time at which `storageUsageInBytes` was last updated. The usage is only updated when it changed by at least 100 KB, or at least every 12 days; until the first measurement, this is the creation time of the Volume.\n","format":"date-time","type":"string"}},"required":["id","stackId","name","orphaned","storageUsageInBytes","storageUsageInBytesSetAt"],"type":"object"},"de.mittwald.v1.contract.AggregateReference":{"properties":{"aggregate":{"example":"project","type":"string"},"domain":{"example":"project","type":"string"},"id":{"example":"a1b8f0e9-904f-4716-a1c0-81ccf5342a56","type":"string"}},"required":["id","domain","aggregate"],"type":"object"},"de.mittwald.v1.contract.Article":{"properties":{"amount":{"example":1,"minimum":1,"type":"integer"},"articleTemplateId":{"example":"a1b8f0e9-904f-4716-a1c0-81ccf5342a56","type":"string"},"description":{"example":"Musterbeschreibung","type":"string"},"id":{"example":"a1b8f0e9-904f-4716-a1c0-81ccf5342a56","type":"string"},"name":{"example":"Musterartikel","type":"string"},"unitPrice":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Price"}},"required":["id","name","articleTemplateId","amount","unitPrice"],"type":"object"},"de.mittwald.v1.contract.Contact":{"properties":{"address":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Address"},"company":{"example":"Musterfirma","type":"string"},"emailAddress":{"format":"email","type":"string"},"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"},"leitwegId":{"description":"German electronic invoicing routing ID (XRechnung). Only allowed for public authorities and requires a company.","maxLength":46,"type":"string"},"phoneNumbers":{"items":{"example":"+49 123 4567890","type":"string"},"type":"array"},"purchaseOrderReference":{"description":"Purchase order reference the customer wants to see on their invoices.","maxLength":200,"type":"string"},"salutation":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Salutation"},"title":{"example":"Dr.","type":"string"},"useFormalTerm":{"type":"boolean"}},"required":["address","salutation"],"type":"object"},"de.mittwald.v1.contract.ContractItem":{"properties":{"activationDate":{"format":"date-time","type":"string"},"aggregateReference":{"$ref":"#/components/schemas/de.mittwald.v1.contract.AggregateReference"},"articles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Article"},"type":"array"},"contractPeriod":{"example":1,"minimum":0,"type":"number"},"description":{"example":"Space-Server: \"Mein Space-Server\"","type":"string"},"freeTrialDays":{"example":10,"type":"number"},"groupByProjectId":{"format":"uuid","type":"string"},"invoiceStop":{"description":"If this attribute is set, the contract item will currently only be invoiced until this date.","format":"date-time","type":"string"},"invoicingPeriod":{"example":1,"type":"number"},"isActivated":{"type":"boolean"},"isBaseItem":{"type":"boolean"},"isInFreeTrial":{"type":"boolean"},"isInclusive":{"type":"boolean"},"itemId":{"format":"uuid","type":"string"},"nextPossibleDowngradeDate":{"description":"If this attribute is not set, termination is not allowed.","format":"date-time","type":"string"},"nextPossibleTerminationDate":{"description":"If this attribute is not set, a tariff change is not allowed.","format":"date-time","type":"string"},"nextPossibleUpgradeDate":{"description":"If this attribute is not set, a tariff change is not allowed.","format":"date-time","type":"string"},"orderDate":{"format":"date-time","type":"string"},"orderId":{"format":"uuid","type":"string"},"replacedByItem":{"format":"uuid","type":"string"},"tariffChange":{"$ref":"#/components/schemas/de.mittwald.v1.contract.TariffChange"},"termination":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Termination"},"totalPrice":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Price"}},"required":["itemId","isActivated","contractPeriod","articles","totalPrice","description","isBaseItem"],"type":"object"},"de.mittwald.v1.contract.Contract":{"properties":{"additionalItems":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.contract.ContractItem"},"type":"array"},"baseItem":{"$ref":"#/components/schemas/de.mittwald.v1.contract.ContractItem"},"contractId":{"format":"uuid","type":"string"},"contractNumber":{"example":"V1234567","type":"string"},"customerId":{"example":"3a201faa-5160-47e0-a758-325ba794b543","type":"string"},"termination":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Termination"}},"required":["contractId","contractNumber","customerId","baseItem"],"type":"object"},"de.mittwald.v1.contract.Error":{"properties":{"message":{"example":"Something went wrong","type":"string"},"type":{"example":"InternalServerError","type":"string"}},"required":["type","message"],"type":"object"},"de.mittwald.v1.contract.Price":{"properties":{"currency":{"enum":["EUR"],"type":"string"},"value":{"description":"The value of the price in the smallest currency unit (e.g. cents)","example":100,"type":"integer"}},"required":["value","currency"],"type":"object"},"de.mittwald.v1.contract.TariffChange":{"properties":{"isForced":{"type":"boolean"},"newArticles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Article"},"type":"array"},"scheduledAtDate":{"format":"date-time","type":"string"},"scheduledByUserId":{"type":"string"},"targetDate":{"format":"date-time","type":"string"}},"required":["scheduledAtDate","targetDate","newArticles"],"type":"object"},"de.mittwald.v1.contract.Termination":{"properties":{"cancellationForbidden":{"description":"Indicates whether the User is allowed to cancel the Termination.","type":"boolean"},"explanation":{"example":"Not needed anymore","type":"string"},"reason":{"example":"Not needed anymore","type":"string"},"scheduledAtDate":{"format":"date-time","type":"string"},"scheduledByUserId":{"type":"string"},"targetDate":{"format":"date-time","type":"string"}},"required":["scheduledAtDate","targetDate"],"type":"object"},"de.mittwald.v1.conversation.AggregateReference":{"properties":{"aggregate":{"type":"string"},"domain":{"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},"de.mittwald.v1.conversation.BasicConversation":{"properties":{"category":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Category"},"conversationId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"lastMessageAt":{"format":"date-time","type":"string"},"mainUser":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"},"notificationRoles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.NotificationRole"},"type":"array"},"relatedTo":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.RelatedAggregateReference"},"relations":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.AggregateReference"},"type":"array"},"sharedWith":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ShareableAggregateReference"},"shortId":{"type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Status"},"title":{"type":"string"},"visibility":{"enum":["shared","private"],"type":"string"}},"required":["conversationId","shortId","title","createdAt","status","visibility","mainUser"],"type":"object"},"de.mittwald.v1.conversation.CategoryReferenceType":{"items":{"enum":["unspecified","server","project","organisation","extensionInstance"],"type":"string"},"type":"array"},"de.mittwald.v1.conversation.Category":{"properties":{"categoryId":{"format":"uuid","type":"string"},"name":{"type":"string"},"referenceType":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.CategoryReferenceType"}},"required":["categoryId","name","referenceType"],"type":"object"},"de.mittwald.v1.conversation.ConversationMembers":{"items":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"},{"properties":{"active":{"type":"boolean"}},"required":["active"],"type":"object"}]},"type":"array"},"de.mittwald.v1.conversation.ConversationPreferences":{"properties":{"customerId":{"format":"uuid","type":"string"},"preferredUsers":{"properties":{"categoryUserPairs":{"additionalProperties":{"format":"uuid","type":"string"},"type":"object"},"fallback":{"format":"uuid","type":"string"}},"type":"object"}},"required":["customerId","preferredUsers"],"type":"object"},"de.mittwald.v1.conversation.Conversation":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.BasicConversation"},{"properties":{"createdBy":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"},"lastMessage":{"properties":{"createdAt":{"format":"date-time","type":"string"},"createdBy":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"}},"required":["createdAt"],"type":"object"},"lastMessageBy":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"}},"type":"object"}]},"de.mittwald.v1.conversation.GetConversationIdResponse":{"properties":{"conversationId":{"format":"uuid","type":"string"},"shortId":{"type":"string"}},"required":["shortId","conversationId"],"type":"object"},"de.mittwald.v1.conversation.Error":{"properties":{"message":{"type":"string"},"type":{"type":"string"}},"required":["type","message"],"type":"object"},"de.mittwald.v1.conversation.DeletedFile":{"properties":{"deletionDate":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"status":{"enum":["deleted"],"type":"string"},"type":{"type":"string"}},"required":["id","status","name","type","deletionDate"],"type":"object"},"de.mittwald.v1.conversation.RequestedFile":{"properties":{"id":{"format":"uuid","type":"string"},"status":{"enum":["requested"],"type":"string"}},"required":["id","status"],"type":"object"},"de.mittwald.v1.conversation.File":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.RequestedFile"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.UploadedFile"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.DeletedFile"}]},"de.mittwald.v1.conversation.UploadedFile":{"properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"status":{"enum":["uploaded"],"type":"string"},"type":{"type":"string"}},"required":["id","status","name","type"],"type":"object"},"de.mittwald.v1.conversation.GenericStatusUpdate":{"properties":{"conversationId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"internal":{"type":"boolean"},"messageContent":{"not":{"enum":["RESUBMISSION_CREATED","RESUBMISSION_RESUBMIT_AT_CHANGED"]},"type":"string"},"meta":{"properties":{"user":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"}},"type":"object"},"type":{"enum":["STATUS_UPDATE"],"type":"string"}},"required":["conversationId","messageContent","createdAt","type"],"type":"object"},"de.mittwald.v1.conversation.Message":{"properties":{"conversationId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"createdBy":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"},"files":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.File"},"type":"array"},"internal":{"type":"boolean"},"messageContent":{"type":"string"},"messageId":{"format":"uuid","type":"string"},"type":{"enum":["MESSAGE"],"type":"string"}},"required":["messageId","conversationId","createdAt","type"],"type":"object"},"de.mittwald.v1.conversation.NotificationRole":{"enum":["customer_owner","customer_accountant","customer_member","project_owner","project_emailadmin","project_external"],"type":"string"},"de.mittwald.v1.conversation.RelatedAggregateReference":{"oneOf":[{"properties":{"aggregate":{"enum":["user"],"type":"string"},"domain":{"enum":["user"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["customer"],"type":"string"},"domain":{"enum":["customer"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["project"],"type":"string"},"domain":{"enum":["project"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["appinstallation"],"type":"string"},"domain":{"enum":["app"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["placementgroup"],"type":"string"},"domain":{"enum":["project"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["extensionInstance"],"type":"string"},"domain":{"enum":["extension"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["container"],"type":"string"},"domain":{"enum":["container"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"}]},"de.mittwald.v1.conversation.ResubmissionStatusUpdate":{"properties":{"conversationId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"internal":{"type":"boolean"},"messageContent":{"enum":["RESUBMISSION_CREATED","RESUBMISSION_RESUBMIT_AT_CHANGED"],"type":"string"},"meta":{"properties":{"groupAcronym":{"type":"string"},"groupId":{"type":"string"},"groupName":{"type":"string"},"resubmitAt":{"format":"date-time","type":"string"},"user":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.User"}},"required":["resubmitAt","groupId","groupAcronym","groupName"],"type":"object"},"type":{"enum":["STATUS_UPDATE"],"type":"string"}},"required":["conversationId","messageContent","createdAt","type"],"type":"object"},"de.mittwald.v1.conversation.GenericServiceRequest":{"properties":{"conversationId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"files":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.File"},"maxItems":0,"type":"array"},"messageId":{"format":"uuid","type":"string"},"type":{"enum":["SERVICE_REQUEST"],"type":"string"}},"required":["conversationId","messageId","createdAt","type"],"type":"object"},"de.mittwald.v1.conversation.ServiceRequestMailSendLimitIncreasePayload":{"properties":{"mailAddressId":{"format":"uuid","type":"string"},"rateLimitId":{"format":"uuid","type":"string"}},"required":["mailAddressId","rateLimitId"],"type":"object"},"de.mittwald.v1.conversation.ServiceRequestMittwaldMessagePayload":{"description":"A public message written in the name of mittwald. It has no author.","properties":{"content":{"type":"string"}},"required":["content"],"type":"object"},"de.mittwald.v1.conversation.ServiceRequestRelocationPayload":{"properties":{"contact":{"properties":{"email":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"phone":{"type":"string"}},"required":["firstname","lastname","email"],"type":"object"},"domain":{"properties":{"allDomains":{"type":"boolean"},"domains":{"items":{"properties":{"authCode":{"type":"string"},"domainName":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"email":{"properties":{"emailInboxes":{"items":{"properties":{"email":{"type":"string"},"password":{"type":"string"}},"required":["email","password"],"type":"object"},"type":"array"}},"type":"object"},"notes":{"type":"string"},"preferredRelocationDate":{"format":"date-time","type":"string"},"redirectusKey":{"type":"integer"},"source":{"properties":{"providerName":{"type":"string"},"providerPassword":{"type":"string"},"providerUrl":{"type":"string"},"providerUsername":{"type":"string"},"sourceAccount":{"type":"string"}},"required":["sourceAccount","providerName","providerUrl","providerUsername","providerPassword"],"type":"object"},"target":{"properties":{"accountShortId":{"type":"string"},"application":{"type":"string"},"articleType":{"type":"string"},"organisation":{"type":"string"},"prices":{"items":{"properties":{"name":{"type":"string"},"price":{"type":"number"}},"type":"object"},"type":"array"},"product":{"type":"string"},"withDataCompare":{"type":"boolean"}},"required":["organisation","accountShortId","product","articleType"],"type":"object"},"userId":{"format":"uuid","type":"string"}},"required":["redirectusKey","source","target","contact","userId"],"type":"object"},"de.mittwald.v1.conversation.ServiceRequest":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.GenericServiceRequest"},{"properties":{"messageContent":{"enum":["relocation","call","mailSendLimitIncrease","mittwaldMessage"],"type":"string"},"meta":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ServiceRequestRelocationPayload"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ServiceRequestMailSendLimitIncreasePayload"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ServiceRequestMittwaldMessagePayload"}]}},"required":["messageContent","meta"],"type":"object"}]},"de.mittwald.v1.conversation.ShareableAggregateReference":{"oneOf":[{"properties":{"aggregate":{"enum":["user"],"type":"string"},"domain":{"enum":["user"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["customer"],"type":"string"},"domain":{"enum":["customer"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["project"],"type":"string"},"domain":{"enum":["project"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},{"properties":{"aggregate":{"enum":["placementgroup"],"type":"string"},"domain":{"enum":["project"],"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"}]},"de.mittwald.v1.conversation.Status":{"enum":["open","closed","answered","inProgress","waiting"],"type":"string"},"de.mittwald.v1.conversation.StatusUpdate":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ResubmissionStatusUpdate"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.GenericStatusUpdate"}]},"de.mittwald.v1.conversation.User":{"properties":{"active":{"type":"boolean"},"avatarRefId":{"type":"string"},"clearName":{"type":"string"},"isEmployee":{"type":"boolean"},"userId":{"type":"string"}},"required":["userId"],"type":"object"},"de.mittwald.v1.strace.Data":{"properties":{"actualUrl":{"example":"https://www.mittwald.de/~b","type":"string"},"dbQueries":{"items":{"properties":{"query":{"description":"The whole DB query.","example":"SELECT * FROM my_table;","type":"string"},"stats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"warnLevel":{"description":"Alerts when the time, syscall count or occurrence count of this group are abnormal.","enum":["NO","WARN","SEVERE"],"type":"string"}},"required":["query","stats","warnLevel"],"type":"object"},"type":"array"},"dbStats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"fileOps":{"items":{"properties":{"filename":{"example":"my_file.php","type":"string"},"filepath":{"example":"/html/my-project","type":"string"},"stats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"warnLevel":{"description":"Alerts when the time, syscall count or occurrence count of this group are abnormal.","enum":["NO","WARN","SEVERE"],"type":"string"}},"required":["stats","warnLevel"],"type":"object"},"type":"array"},"fileOpsStats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"miscStats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"networkingOps":{"items":{"properties":{"connectionType":{"enum":["UNKNOWN","PRIVATE","EXTERNAL"],"type":"string"},"description":{"description":"A short description of the network connection to provide additional context.","type":"string"},"ip":{"description":"IP address to which a connection was established.","type":"string"},"port":{"description":"Port to which a connection was established.","type":"integer"},"stats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"warnLevel":{"description":"Alerts when the time, syscall count or occurrence count of this group are abnormal.","enum":["NO","WARN","SEVERE"],"type":"string"}},"required":["ip","port","description","connectionType","stats","warnLevel"],"type":"object"},"type":"array"},"networkingStats":{"$ref":"#/components/schemas/de.mittwald.v1.strace.Statistics"},"slowdownFactor":{"description":"Shows how much slower the websites TTFB was when it got traced (1.0 = 100% = same TTFB).","example":1.5,"type":"number"},"ttfbMs":{"description":"Time to first byte in milliseconds while tracing the website.","example":1532,"type":"integer"}},"required":["actualUrl","ttfbMs","slowdownFactor","fileOpsStats","networkingStats","dbStats","miscStats","fileOps","networkingOps","dbQueries"],"type":"object"},"de.mittwald.v1.strace.Error":{"properties":{"errorMessage":{"example":"wrong PHP version","type":"string"}},"required":["errorMessage"],"type":"object"},"de.mittwald.v1.strace.Statistics":{"properties":{"kernelMs":{"description":"Elapsed kernel space time in milliseconds.","example":1.2345,"type":"number"},"occurrences":{"description":"The number of times this group occurred.","example":25,"type":"integer"},"syscallCount":{"description":"Syscall count.","example":4321,"type":"integer"},"userspaceMs":{"description":"Elapsed user space time in milliseconds.","example":1.2345,"type":"number"}},"required":["kernelMs","userspaceMs","syscallCount","occurrences"],"type":"object"},"de.mittwald.v1.cronjob.AppInstallationTarget":{"properties":{"appInstallationId":{"format":"uuid","type":"string"},"destination":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobUrl"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobCommand"}]}},"required":["appInstallationId","destination"],"type":"object"},"de.mittwald.v1.cronjob.CronjobCommand":{"properties":{"interpreter":{"example":"/usr/bin/bash","type":"string"},"parameters":{"example":"--debug","type":"string"},"path":{"example":"/html/my-wordpress/script.sh","type":"string"}},"required":["interpreter","path"],"type":"object"},"de.mittwald.v1.cronjob.ConcurrencyPolicy":{"enum":["allow","forbid","replace"],"type":"string"},"de.mittwald.v1.cronjob.Cronjob":{"properties":{"active":{"type":"boolean"},"appId":{"deprecated":true,"description":"DEPRECATED: Use 'appInstallationId' instead. This field will be removed in a future version.","type":"string"},"appInstallationId":{"description":"DEPRECATED: Use 'target.appCronjob' instead. This field will be removed in a future version.","type":"string"},"concurrencyPolicy":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ConcurrencyPolicy"},"createdAt":{"format":"date-time","type":"string"},"description":{"example":"i am a cronjob","type":"string"},"destination":{"description":"DEPRECATED: Use 'target.' instead. This field will be removed in a future version.","oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobUrl"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobCommand"}]},"email":{"description":"Confirmed address that receives failure notifications.","format":"email","type":"string"},"failedExecutionAlertThreshold":{"minimum":1,"type":"integer"},"id":{"format":"uuid","type":"string"},"interval":{"example":"*/5 * * * *","type":"string"},"latestExecution":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobExecution"},"nextExecutionTime":{"format":"date-time","type":"string"},"notificationEmailVerification":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.NotificationEmailVerification"},"projectId":{"format":"uuid","type":"string"},"shortId":{"example":"cron-bd26li","type":"string"},"target":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.AppInstallationTarget"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ServiceTargetResponse"}]},"timeZone":{"type":"string"},"timeout":{"maximum":86400,"minimum":1,"type":"integer"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","appId","shortId","interval","active","createdAt","updatedAt","description","timeout","failedExecutionAlertThreshold"],"type":"object"},"de.mittwald.v1.cronjob.CronjobExecution":{"properties":{"abortedBy":{"properties":{"id":{"format":"uuid","type":"string"}},"type":"object"},"cronjobId":{"type":"string"},"durationInMilliseconds":{"example":12374,"format":"int64","type":"integer"},"end":{"format":"date-time","type":"string"},"executionEnd":{"deprecated":true,"format":"date-time","type":"string"},"executionStart":{"deprecated":true,"format":"date-time","type":"string"},"exitCode":{"example":0,"format":"int32","type":"integer"},"id":{"example":"cron-bd26li-28027320","type":"string"},"logPath":{"example":"/var/log/cronjobs/cron-bd26li-28027320.log","type":"string"},"start":{"format":"date-time","type":"string"},"status":{"enum":["Complete","Failed","AbortedBySystem","Pending","Running","AbortedByUser","TimedOut"],"type":"string"},"successful":{"type":"boolean"},"triggeredBy":{"properties":{"id":{"format":"uuid","type":"string"}},"type":"object"}},"required":["id","status","successful","cronjobId"],"type":"object"},"de.mittwald.v1.cronjob.CronjobExecutionAnalysis":{"properties":{"message":{"deprecated":true,"description":"Deprecated: contains summary and recommendation combined. Use the separate fields instead.","example":"The cronjob could not reach the configured URL because the domain could not be resolved.\n\nCheck the URL in the cronjob configuration and correct it if necessary.","type":"string"},"recommendation":{"example":"Check the URL in the cronjob configuration and correct it if necessary. Make sure the domain is valid and its DNS records are configured correctly.","type":"string"},"summary":{"example":"The cronjob could not reach the configured URL because the domain could not be resolved.","type":"string"}},"required":["summary","message"],"type":"object"},"de.mittwald.v1.cronjob.CronjobExecutionSortOrder":{"enum":["oldestFirst","newestFirst","slowestFirst","fastestFirst"],"type":"string"},"de.mittwald.v1.cronjob.NotificationEmailVerification":{"description":"A notification email that waits for confirmation by the link in the verification mail. It receives no notifications until it is confirmed.","properties":{"email":{"format":"email","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"status":{"description":"sending: the verification mail is not sent yet; pending: waits for confirmation; expired: the link expired, request a new mail; failed: the verification mail could not be delivered, check the address or request a new mail.","enum":["sending","pending","expired","failed"],"type":"string"}},"required":["email","status"],"type":"object"},"de.mittwald.v1.cronjob.AppInstallationPatchTarget":{"properties":{"appInstallationId":{"format":"uuid","type":"string"},"destination":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobUrl"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobCommand"}]}},"type":"object"},"de.mittwald.v1.cronjob.ServicePatchTarget":{"properties":{"command":{"type":"string"},"serviceIdentifier":{"type":"string"},"stackId":{"format":"uuid","type":"string"}},"type":"object"},"de.mittwald.v1.cronjob.CronjobRequest":{"properties":{"active":{"type":"boolean"},"appId":{"deprecated":true,"description":"DEPRECATED: Use 'target.AppInstallationTarget' instead. This field will be removed in a future version.","format":"uuid","type":"string"},"appInstallationId":{"description":"DEPRECATED: Use 'target.AppInstallationTarget' instead. This field will be removed in a future version.","format":"uuid","type":"string"},"concurrencyPolicy":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ConcurrencyPolicy"},"description":{"example":"i am a cronjob","maxLength":80,"type":"string"},"destination":{"description":"DEPRECATED: Use 'target.AppInstallationTarget' instead. This field will be removed in a future version.","oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobUrl"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobCommand"}]},"email":{"description":"Notification address for failed executions. It only receives notifications after it was confirmed with the link in the verification mail; until then it is returned as `notificationEmailVerification`.","format":"email","type":"string"},"failedExecutionAlertThreshold":{"maximum":80,"minimum":1,"type":"integer"},"interval":{"example":"*/5 * * * *","type":"string"},"target":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.AppInstallationTarget"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ServiceTarget"}]},"timeZone":{"example":"Europe/Berlin","type":"string"},"timeout":{"maximum":86400,"minimum":1,"type":"integer"}},"required":["description","interval","active","timeout"],"type":"object"},"de.mittwald.v1.cronjob.ServiceCronjobRequest":{"properties":{"active":{"type":"boolean"},"concurrencyPolicy":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ConcurrencyPolicy"},"description":{"example":"i am a cronjob","maxLength":80,"type":"string"},"email":{"description":"Notification address for failed executions. It only receives notifications after it was confirmed with the link in the verification mail; until then it is returned as `notificationEmailVerification`.","format":"email","type":"string"},"failedExecutionAlertThreshold":{"minimum":1,"type":"integer"},"interval":{"example":"*/5 * * * *","type":"string"},"target":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ServiceTarget"},"timeZone":{"example":"Europe/Berlin","type":"string"},"timeout":{"maximum":86400,"minimum":1,"type":"integer"}},"required":["description","interval","active","timeout"],"type":"object"},"de.mittwald.v1.cronjob.ServiceTarget":{"properties":{"command":{"type":"string"},"serviceIdentifier":{"type":"string"},"stackId":{"format":"uuid","type":"string"}},"required":["stackId","serviceIdentifier","command"],"type":"object"},"de.mittwald.v1.cronjob.ServiceTargetResponse":{"properties":{"command":{"type":"string"},"serviceShortId":{"type":"string"},"stackId":{"format":"uuid","type":"string"}},"required":["stackId","serviceShortId","command"],"type":"object"},"de.mittwald.v1.cronjob.CronjobUrl":{"description":"The URL is called with curl. All options are off by default, which is a plain `curl <url>`. An update replaces the whole destination, so options that are not sent are switched off.","properties":{"failOnHttpError":{"default":false,"description":"Mark the execution as failed on HTTP status codes from 400 on; the response body stays in the log (`--fail-with-body`).","type":"boolean"},"followRedirects":{"default":false,"description":"Follow up to 10 redirects as the HTTP specification says, only to https (`--follow --max-redirs 10 --proto-redir =https`). Custom headers are sent to every redirect target, also on other hosts; only `Authorization` and `Cookie` are dropped there.","type":"boolean"},"headers":{"description":"Additional request headers (`--header \"<name>: <value>\"`). Values are returned by the API to everyone who can read the cronjob. With `followRedirects`, headers are also sent to redirect targets on other hosts, except `Authorization` and `Cookie`.","items":{"properties":{"name":{"example":"X-Cron-Source","maxLength":256,"pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]+$","type":"string"},"value":{"example":"nightly","maxLength":4096,"minLength":1,"pattern":"\\S","type":"string"}},"required":["name","value"],"type":"object"},"maxItems":20,"type":"array"},"hideProgress":{"default":false,"description":"Keep the progress meter out of the execution log; errors are still logged (`--silent --show-error`).","type":"boolean"},"method":{"default":"GET","description":"HTTP method. POST is sent without body (`--data \"\"`); redirects with 301, 302 and 303 continue with GET.","enum":["GET","POST"],"type":"string"},"showResponseHeaders":{"default":false,"description":"Write the response headers of every response, redirects included, into the execution log (`--show-headers`).","type":"boolean"},"url":{"example":"https://mydomain.com","type":"string"}},"required":["url"],"type":"object"},"de.mittwald.v1.customer.Contact":{"properties":{"address":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Address"},"company":{"type":"string"},"emailAddress":{"format":"email","type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"leitwegId":{"description":"German electronic invoicing routing ID (XRechnung). Only allowed for public authorities and requires a company.","maxLength":46,"type":"string"},"phoneNumbers":{"items":{"type":"string"},"type":"array"},"purchaseOrderReference":{"description":"Purchase order reference used on invoices for this customer. Not allowed together with a leitwegId.","maxLength":200,"type":"string"},"salutation":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Salutation"},"title":{"type":"string"},"useFormalTerm":{"type":"boolean"}},"required":["address","salutation"],"type":"object"},"de.mittwald.v1.customer.CustomerFlag":{"enum":["agency","employee"],"type":"string"},"de.mittwald.v1.customer.CustomerMeta":{"properties":{"avatarRefId":{"type":"string"},"customerId":{"type":"string"},"name":{"type":"string"}},"required":["customerId","name"],"type":"object"},"de.mittwald.v1.customer.Role":{"description":"the role within a customer","enum":["owner","member","accountant"],"type":"string"},"de.mittwald.v1.customer.Customer":{"properties":{"activeSuspension":{"properties":{"createdAt":{"format":"date-time","type":"string"}},"required":["createdAt"],"type":"object"},"avatarRefId":{"type":"string"},"categoryId":{"type":"string"},"creationDate":{"format":"date-time","type":"string"},"customerId":{"type":"string"},"customerNumber":{"type":"string"},"deletionProhibitedBy":{"items":{"enum":["hasOpenInvoices","hasActiveContracts","hasActiveExtensionSubscriptions","isActiveContributor","hasOrdersInProgress"],"type":"string"},"type":"array"},"executingUserRoles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.customer.Role"},"type":"array"},"flags":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.customer.CustomerFlag"},"type":"array"},"isAllowedToPlaceOrders":{"type":"boolean"},"isBanned":{"type":"boolean"},"isInDefaultOfPayment":{"type":"boolean"},"isMailAddressInvalid":{"type":"boolean"},"levelOfUndeliverableDunningNotice":{"enum":["first","second"],"type":"string"},"memberCount":{"minimum":0,"type":"integer"},"name":{"type":"string"},"owner":{"$ref":"#/components/schemas/de.mittwald.v1.customer.Contact"},"projectCount":{"minimum":0,"type":"integer"},"vatId":{"type":"string"},"vatIdValidationState":{"enum":["valid","invalid","pending","unsupported","unspecified"],"type":"string"}},"required":["customerId","customerNumber","name","creationDate","memberCount","projectCount"],"type":"object"},"de.mittwald.v1.database.CreateMySqlDatabase":{"properties":{"characterSettings":{"$ref":"#/components/schemas/de.mittwald.v1.database.characterSettings"},"description":{"description":"A description of the MySQLDatabase. This is for your own reference and has no effect on the database itself.\n","type":"string"},"version":{"description":"The MySQL version to use for this database, in `<major>.<minor>` format. Use the `GET /v2/mysql-versions` endpoint to query available versions.\n","example":"8.4","type":"string"}},"required":["version","description"],"type":"object"},"de.mittwald.v1.database.CreateMySqlUser":{"properties":{"accessIpMask":{"description":"An IP range (in CIDR notation) for which access should be allowed. This field currently has no effect.","example":"203.0.113.123/32","type":"string"},"accessLevel":{"description":"The access level that this MySQLUser should have for the database. The `full` access level grants the user read/write privileges on the database.\n","enum":["full","readonly"],"type":"string"},"databaseId":{"format":"uuid","type":"string"},"description":{"type":"string"},"externalAccess":{"description":"Describes if users should be able to connection to this database from external\nsources. Defaults to `false` when not set.\n\nTo find out how to connect to your database from external sources, refer to the `externalHostname` field of the `GET /v2/mysql-databases/{id}` endpoint.\n","type":"boolean"},"password":{"description":"The password must have a minimum of 8 characters and contain at least one uppercase letter, one lowercase letter, one digit and one special character of `#!~%^*_+-=?{}()<>|.,;$:/`. Other characters are not allowed. The password must not start with any of `-`, `_` or `;`. A password known from a data leak is rejected with the validation error `password_leaked` when the leak check is available.\n","type":"string"}},"required":["databaseId","password","description","accessLevel"],"type":"object"},"de.mittwald.v1.database.CreateMySqlUserWithDatabase":{"properties":{"accessIpMask":{"description":"This field currently has no effect.","type":"string"},"accessLevel":{"description":"The access level that this MySQLUser should have for the database. The `full` access level grants the user read/write privileges on the database.\n\nFor MySQLUsers that are created in the same step as the database itself, `full` is the only available option.\n","enum":["full"],"type":"string"},"description":{"type":"string"},"externalAccess":{"description":"Describes if users should be able to connection to this database from external\nsources. Defaults to `false` when not set.\n\nTo find out how to connect to your database from external sources, refer to the `externalHostname` field of the `GET /v2/mysql-databases/{id}` endpoint.\n","type":"boolean"},"password":{"description":"The password must have a minimum of 8 characters and contain at least one uppercase letter, one lowercase letter, one digit and one special character of `#!~%^*_+-=?{}()<>|.,;$:/`. Other characters are not allowed. The password must not start with any of `-`, `_` or `;`. A password known from a data leak is rejected with the validation error `password_leaked` when the leak check is available.\n","type":"string"}},"required":["password","accessLevel"],"type":"object"},"de.mittwald.v1.database.DatabaseStatus":{"enum":["pending","ready","migrating","importing","error","terminating"],"type":"string"},"de.mittwald.v1.database.DatabaseUserStatus":{"enum":["pending","ready","error","terminating","disabled"],"type":"string"},"de.mittwald.v1.database.MySqlCharacterSettings":{"properties":{"collations":{"example":["utf8_general_ci","utf8_bin","utf8_unicode_ci"],"items":{"type":"string"},"type":"array"},"name":{"example":"utf8","type":"string"},"versionId":{"example":"mysql57","type":"string"}},"required":["name","collations","versionId"],"type":"object"},"de.mittwald.v1.database.characterSettings":{"properties":{"characterSet":{"description":"A valid MySQL character set. Refer to https://dev.mysql.com/doc/refman/8.4/en/charset-mysql.html for more information and available character sets.\n","example":"utf8mb4","type":"string"},"collation":{"description":"A valid MySQL collation. Refer to https://dev.mysql.com/doc/refman/8.4/en/charset-mysql.html for more information and available collations.\n","example":"utf8mb4_general_ci","type":"string"}},"required":["characterSet","collation"],"type":"object"},"de.mittwald.v1.database.MySqlDatabase":{"properties":{"characterSettings":{"$ref":"#/components/schemas/de.mittwald.v1.database.characterSettings"},"createdAt":{"format":"date-time","type":"string"},"description":{"description":"A description of the MySQLDatabase. This is for your own reference and has no effect on the database itself.\n","type":"string"},"externalHostname":{"description":"The hostname that you can use to connect to this MySQLDatabase from external sources, like your local machine or services running outside the mittwald cloud platform.\n\nNote that you still need a database user with `externalAccess` enabled to connect via this hostname.\n","example":"mysql.example-cluster.project.host","type":"string"},"finalizers":{"items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"hostname":{"description":"The hostname that you can use to connect to this MySQLDatabase from _within_ the hosting environment.\n","example":"mysql-XXXXXX.pg-YYYYYY.db.project.host","type":"string"},"id":{"format":"uuid","type":"string"},"isReady":{"type":"boolean"},"isShared":{"type":"boolean"},"mainUser":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlUser"},"name":{"description":"The name of the MySQLDatabase. This is also the name of the database that you can use when connecting to it. It is automatically generated and cannot be changed.\n","type":"string"},"projectId":{"format":"uuid","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.database.DatabaseStatus"},"statusSetAt":{"format":"date-time","type":"string"},"storageUsageInBytes":{"format":"int64","type":"integer"},"storageUsageInBytesSetAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"version":{"description":"The MySQL version that this database is running, in `<major>.<minor>` format. Use the `GET /v2/mysql-versions` endpoint to query available versions.\n","example":"8.4","type":"string"}},"required":["id","createdAt","updatedAt","projectId","name","description","version","characterSettings","hostname","isShared","isReady","storageUsageInBytes","storageUsageInBytesSetAt","status","statusSetAt","externalHostname"],"type":"object"},"de.mittwald.v1.database.PhpMyAdminURL":{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object"},"de.mittwald.v1.database.MySqlUser":{"properties":{"accessIpMask":{"description":"An IP range (in CIDR notation) for which access should be allowed. This field currently has no effect.","example":"203.0.113.123/32","type":"string"},"accessLevel":{"description":"The access level that this MySQLUser should have for the database. The `full` access level grants\nthe user read/write privileges on the database.\n","enum":["full","readonly"],"type":"string"},"createdAt":{"format":"date-time","type":"string"},"databaseId":{"format":"uuid","type":"string"},"description":{"type":"string"},"disabled":{"type":"boolean"},"externalAccess":{"description":"Describes if users should be able to connection to this database from external sources.\nDefaults to `false` when not set.\n\nTo find out how to connect to your database from external sources, refer to the `externalHostname`\nfield of the `GET /v2/mysql-databases/{id}` endpoint.\n","type":"boolean"},"id":{"format":"uuid","type":"string"},"mainUser":{"description":"Indicates whether this MySQL user is the main user of the database. The main user is created by\ndefault when a new MySQL database is provisioned. It can neither be deleted nor disabled,\nbut its password can be updated.\n","type":"boolean"},"name":{"description":"The name of the MySQL user. This can be used as the username when connecting to the database.\n","example":"dbu_XXXXXX","type":"string"},"passwordUpdatedAt":{"format":"date-time","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.database.DatabaseUserStatus"},"statusSetAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","createdAt","updatedAt","databaseId","name","passwordUpdatedAt","mainUser","disabled","accessLevel","externalAccess","status","statusSetAt"],"type":"object"},"de.mittwald.v1.database.MySqlVersion":{"properties":{"disabled":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"number":{"type":"string"}},"required":["id","name","number","disabled"],"type":"object"},"de.mittwald.v1.database.RedisDatabaseConfiguration":{"description":"The configuration for a RedisDatabase.","properties":{"additionalFlags":{"description":"Additional flags passed to the database.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"maxMemory":{"description":"The database's maximum memory. This may be a number, optionally suffixed by one of the IEC binary suffixes `Ki`, `Mi` or `Gi`.","example":"64Mi","type":"string"},"maxMemoryPolicy":{"description":"The database's key eviction policy. See the [Redis documentation on key evictions](https://redis.io/docs/reference/eviction/) for more information.","example":"allkeys-lru","type":"string"},"persistent":{"description":"Persistent status of the database.","type":"boolean"}},"type":"object"},"de.mittwald.v1.database.RedisDatabase":{"example":{"configuration":{"additionalFlags":["--tcp-keepalive","300"],"maxMemory":"16Mi","maxMemoryPolicy":"allkeys-lru","persistent":true},"createdAt":"2023-03-28T13:15:00.000Z","description":"My first RedisDatabase!","finalizers":["app:appinstallation:28471edf-d266-4d79-8ca8-169e330746db"],"hostname":"redis-xxxxxx.pg-example.db.example.com","id":"fcfe9aea-84d5-46eb-ac6f-a0ccffa908b1","name":"redis_xxxxxx","port":6379,"projectId":"9f2bddf1-dea6-4441-b4fe-a22ff39caff8","status":"error","statusSetAt":"2024-03-05T09:26:32.000Z","storageUsageInBytes":10485760,"storageUsageInBytesSetAt":"2024-03-05T09:26:32.000Z","updatedAt":"2023-03-29T15:50:10.000Z","version":"7.0"},"properties":{"configuration":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisDatabaseConfiguration"},"createdAt":{"format":"date-time","type":"string"},"description":{"type":"string"},"finalizers":{"items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"hostname":{"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"port":{"type":"integer"},"projectId":{"format":"uuid","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.database.DatabaseStatus"},"statusSetAt":{"format":"date-time","type":"string"},"storageUsageInBytes":{"format":"int64","type":"integer"},"storageUsageInBytesSetAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"version":{"type":"string"}},"required":["id","projectId","version","hostname","port","description","createdAt","updatedAt","name","storageUsageInBytes","storageUsageInBytesSetAt","status","statusSetAt"],"type":"object"},"de.mittwald.v1.database.RedisVersion":{"properties":{"disabled":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"number":{"type":"string"}},"required":["id","name","number","disabled"],"type":"object"},"de.mittwald.v1.dns.CreateZoneFileImportResponse":{"properties":{"conflicts":{"description":"Everything that will not be imported (invalid records, unsupported record types, CNAME conflicts, placement problems, parse errors). Empty on a real import, since any conflict rejects the whole import with 412 (all-or-nothing).","items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.ImportConflict"},"type":"array"},"id":{"description":"ID of the started import job. Absent on a dry-run (dryRun=true), which creates no job.","format":"uuid","type":"string"},"zones":{"description":"The importable target zones (one per distinct owner name), each with the record sets that would be set. On a dry-run this is the preview; on a real import it is the plan that was applied.","items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.ZoneImportPreview"},"type":"array"}},"required":["zones","conflicts"],"type":"object"},"de.mittwald.v1.dns.ImportConflict":{"properties":{"code":{"description":"Machine-readable conflict kind: parseError (a zone-file line could not be parsed), invalidRecord (a record failed the same schema validation the write commands apply), invalidZoneName (the owner name is not a valid zone name, e.g. a wildcard *.example.com), unsupportedRecordType (an RR type dns-service does not import), cnameConflict (a CNAME shares a name with other record types), foreignCustomerIngress (the zone's enabled ingress belongs to another organization), rootZoneUnavailable (a subzone whose root zone is neither importable nor already existing).","enum":["parseError","invalidRecord","invalidZoneName","unsupportedRecordType","cnameConflict","foreignCustomerIngress","rootZoneUnavailable"],"type":"string"},"message":{"description":"Human-readable explanation of the conflict, suitable for surfacing to the user.","type":"string"},"name":{"description":"Offending record/owner name. Empty for a file-level parse error, where sourceLine locates the bad line.","type":"string"},"record":{"description":"Only on an invalidRecord conflict: the offending record's rendered value (e.g. \"10 .\" for an MX).","type":"string"},"recordSetType":{"description":"Only on an invalidRecord conflict: the offending record's set type.","enum":["a","mx","txt","cname","srv","caa"],"type":"string"},"sourceLine":{"description":"1-based line number in the uploaded zone file, set for a file-level parse error (code parseError); 0 otherwise.","format":"int64","type":"integer"}},"required":["code","message"],"type":"object"},"de.mittwald.v1.dns.ImportRecord":{"properties":{"flags":{"description":"CAA flags. Only set for CAA records.","format":"int32","type":"integer"},"port":{"description":"SRV port. Only set for SRV records.","format":"int32","type":"integer"},"priority":{"description":"MX preference / SRV priority. Only set for MX and SRV records.","format":"int32","type":"integer"},"tag":{"description":"CAA tag (e.g. issue, issuewild, iodef). Only set for CAA records.","type":"string"},"value":{"description":"The record's value: an IP address for A/AAAA, the target FQDN for MX/CNAME/SRV, the text for TXT, the value for CAA.","type":"string"},"weight":{"description":"SRV weight. Only set for SRV records.","format":"int32","type":"integer"}},"required":["value"],"type":"object"},"de.mittwald.v1.dns.ImportRecordSet":{"properties":{"records":{"description":"The individual records in the set.","items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.ImportRecord"},"type":"array"},"ttlNormalized":{"description":"True when the source TTLs had to be normalized to ttlSeconds — because they diverged within the set or fell outside 60..86400s. Informational; the import still uses ttlSeconds.","type":"boolean"},"ttlSeconds":{"description":"TTL applied to the whole set, in seconds. Collapsed to a single value across the set: the minimum of the source TTLs, clamped to 60..86400s.","format":"int32","type":"integer"},"type":{"description":"Record-set type.","enum":["a","mx","txt","cname","srv","caa"],"type":"string"}},"required":["type","ttlSeconds","ttlNormalized","records"],"type":"object"},"de.mittwald.v1.dns.RecordCAA":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCAAComponent"}]},"de.mittwald.v1.dns.RecordCAAComponent":{"additionalProperties":false,"properties":{"records":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCAARecord"},"minItems":1,"type":"array"},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSettings"}},"required":["records","settings"],"type":"object"},"de.mittwald.v1.dns.RecordCAARecord":{"additionalProperties":false,"properties":{"flags":{"maximum":255,"minimum":0,"type":"integer"},"tag":{"enum":["issue","issuewild","iodef"],"type":"string"},"value":{"format":"idn-dnsname","type":"string"}},"required":["flags","tag","value"],"type":"object"},"de.mittwald.v1.dns.RecordCNAME":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCNAMEComponent"}]},"de.mittwald.v1.dns.RecordCNAMEComponent":{"properties":{"fqdn":{"format":"idn-dnsname","maxLength":255,"minLength":1,"type":"string"},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSettings"}},"required":["settings","fqdn"],"type":"object"},"de.mittwald.v1.dns.RecordCombinedA":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.CombinedACustom"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.CombinedAManaged"}]},"de.mittwald.v1.dns.CombinedAManagedAAAARecord":{"format":"ipv6","type":"string"},"de.mittwald.v1.dns.CombinedAManagedARecord":{"format":"ipv4","type":"string"},"de.mittwald.v1.dns.CombinedACustom":{"properties":{"a":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.CombinedAManagedARecord"},"maxItems":10,"type":"array"},"aaaa":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.CombinedAManagedAAAARecord"},"maxItems":10,"type":"array"},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSettings"}},"required":["settings","a","aaaa"],"type":"object"},"de.mittwald.v1.dns.CombinedAManaged":{"properties":{"managedBy":{"oneOf":[{"properties":{"ingressId":{"format":"uuid","type":"string"}},"required":["ingressId"],"type":"object"}]}},"required":["managedBy"],"type":"object"},"de.mittwald.v1.dns.RecordMX":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordMXManaged"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordMXCustom"}]},"de.mittwald.v1.dns.RecordMXCustom":{"properties":{"records":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordMXRecord"},"maxItems":10,"minItems":1,"type":"array","uniqueItems":true},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSettings"}},"required":["settings","records"],"type":"object"},"de.mittwald.v1.dns.RecordMXManaged":{"properties":{"managed":{"type":"boolean"}},"required":["managed"],"type":"object"},"de.mittwald.v1.dns.RecordMXRecord":{"properties":{"fqdn":{"format":"idn-dnsname","maxLength":255,"minLength":1,"type":"string"},"priority":{"maximum":100,"minimum":0,"type":"integer"}},"required":["priority","fqdn"],"type":"object"},"de.mittwald.v1.dns.RecordSettings":{"properties":{"ttl":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.TtlSeconds"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.TtlAuto"}]}},"type":"object"},"de.mittwald.v1.dns.RecordSRV":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSRVComponent"}]},"de.mittwald.v1.dns.RecordSRVComponent":{"additionalProperties":false,"properties":{"records":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSRVRecord"},"minItems":1,"type":"array"},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSettings"}},"required":["settings","records"],"type":"object"},"de.mittwald.v1.dns.RecordSRVRecord":{"additionalProperties":false,"properties":{"fqdn":{"format":"idn-dnsname","maxLength":255,"minLength":1,"type":"string"},"port":{"maximum":65535,"minimum":0,"type":"integer"},"priority":{"maximum":65535,"minimum":0,"type":"integer"},"weight":{"maximum":65535,"minimum":0,"type":"integer"}},"required":["port","fqdn"],"type":"object"},"de.mittwald.v1.dns.RecordTXT":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordTXTComponent"}]},"de.mittwald.v1.dns.RecordTXTComponent":{"additionalProperties":false,"properties":{"entries":{"items":{"maxLength":2048,"type":"string"},"maxItems":20,"type":"array"},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSettings"}},"required":["settings","entries"],"type":"object"},"de.mittwald.v1.dns.RecordUnset":{"additionalProperties":false,"properties":{},"type":"object"},"de.mittwald.v1.dns.TtlAuto":{"properties":{"auto":{"description":"this will always be true","type":"boolean"}},"required":["auto"],"type":"object"},"de.mittwald.v1.dns.TtlSeconds":{"properties":{"seconds":{"maximum":86400,"minimum":60,"type":"integer"}},"required":["seconds"],"type":"object"},"de.mittwald.v1.dns.Zone":{"properties":{"domain":{"type":"string"},"id":{"format":"uuid","type":"string"},"recordSet":{"properties":{"caa":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCAA"},"cname":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCNAME"},"combinedARecords":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCombinedA"},"mx":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordMX"},"srv":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSRV"},"txt":{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordTXT"}},"required":["combinedARecords","cname","mx","txt","srv","caa"],"type":"object"}},"required":["id","domain","recordSet"],"type":"object"},"de.mittwald.v1.dns.ZoneFileImport":{"properties":{"createdAt":{"description":"When the import job was created (publish time of the created event).","format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"importedZones":{"items":{"type":"string"},"type":"array"},"projectId":{"format":"uuid","type":"string"},"skippedZones":{"items":{"properties":{"name":{"type":"string"},"reason":{"type":"string"}},"required":["name","reason"],"type":"object"},"type":"array"},"status":{"enum":["running","succeeded","completedWithErrors"],"type":"string"}},"required":["id","projectId","status","importedZones","skippedZones","createdAt"],"type":"object"},"de.mittwald.v1.dns.ZoneImportPreview":{"properties":{"alreadyExists":{"description":"Whether a zone with this name already exists. On import its record sets are overwritten rather than the import failing.","type":"boolean"},"name":{"description":"Fully-qualified name of the target zone. Every distinct owner name becomes its own zone. Only importable zones are listed; a zone named by a conflict is omitted.","type":"string"},"recordSets":{"description":"The record sets that would be set on the zone — one per record type present for this owner name.","items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.ImportRecordSet"},"type":"array"},"targetProjectId":{"description":"Project the zone would be created in. Always set, since only importable zones are listed.","type":"string"}},"required":["name","alreadyExists","recordSets","targetProjectId"],"type":"object"},"de.mittwald.v1.domain.AuthCode":{"properties":{"expires":{"format":"date-time","type":"string"},"value":{"type":"string"}},"required":["value"],"type":"object"},"de.mittwald.v1.domain.AuthCode2":{"properties":{"expires":{"format":"date-time","type":"string"}},"required":["expires"],"type":"object"},"de.mittwald.v1.domain.ContactVerificationAddressData":{"properties":{"type":{"enum":["address"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},"de.mittwald.v1.domain.ContactVerificationEmailData":{"properties":{"emailVerificationDeadline":{"format":"date-time","type":"string"},"lastEmailSentDate":{"format":"date-time","type":"string"},"type":{"enum":["email"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},"de.mittwald.v1.domain.ContactVerificationNameData":{"properties":{"type":{"enum":["name"],"type":"string"},"value":{"type":"string"}},"required":["type","value"],"type":"object"},"de.mittwald.v1.domain.ContactVerification":{"properties":{"id":{"format":"uuid","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerificationStatus"},"typeData":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerificationAddressData"},{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerificationEmailData"},{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerificationNameData"}]}},"required":["id","status","typeData"],"type":"object"},"de.mittwald.v1.domain.CreateDomainHandleData":{"properties":{"adminC":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleField"},"type":"array"},"ownerC":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleField"},"type":"array"}},"required":["ownerC"],"type":"object"},"de.mittwald.v1.domain.Domain":{"properties":{"authCode":{"$ref":"#/components/schemas/de.mittwald.v1.domain.AuthCode"},"authCode2":{"$ref":"#/components/schemas/de.mittwald.v1.domain.AuthCode2"},"connected":{"type":"boolean"},"contactHash":{"type":"string"},"deleted":{"type":"boolean"},"domain":{"format":"naked-domain","type":"string"},"domainId":{"format":"uuid","type":"string"},"handles":{"properties":{"adminC":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleReadable"},"ownerC":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleReadable"}},"required":["ownerC"],"type":"object"},"nameservers":{"items":{"format":"idn-hostname","type":"string"},"type":"array","uniqueItems":true},"ownerVerification":{"$ref":"#/components/schemas/de.mittwald.v1.domain.OwnerVerification"},"processes":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.Process"},"type":"array"},"projectId":{"format":"uuid","type":"string"},"scheduledDeletionDate":{"format":"date-time","type":"string"},"transferInAuthCode":{"type":"string"},"usesDefaultNameserver":{"type":"boolean"}},"required":["domainId","domain","projectId","deleted","nameservers","handles","connected","usesDefaultNameserver","hasAuthCode"],"type":"object"},"de.mittwald.v1.domain.HandleData":{"properties":{"handleFields":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleField"},"type":"array"},"handleRef":{"type":"string"}},"type":"object"},"de.mittwald.v1.domain.HandleField":{"properties":{"name":{"type":"string"},"value":{"pattern":"^[0-9a-zA-ZÀ-ÖØ-öø-ÿ /&()+,.@_-]+$","type":"string"}},"required":["name","value"],"type":"object"},"de.mittwald.v1.domain.HandleReadable":{"properties":{"current":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleData"},"desired":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleData"}},"required":["current"],"type":"object"},"de.mittwald.v1.domainmigration.Migration":{"properties":{"createdAt":{"format":"date-time","type":"string"},"domains":{"items":{"properties":{"coabData":{"properties":{"dnsRecords":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DNSRecord"},"type":"array"},"handleData":{"properties":{"handleFields":{"items":{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"type":"object"},"type":"array"},"handleRef":{"type":"string"}},"type":"object"},"nameservers":{"items":{"type":"string"},"type":"array"},"subdomains":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.Subdomain"},"type":"array"}},"type":"object"},"domain":{"format":"idn-hostname","type":"string"},"domainId":{"format":"uuid","type":"string"},"state":{"enum":["pending","succeeded","failed"],"type":"string"}},"required":["domain","domainId","state"],"type":"object"},"type":"array"},"finishedAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"pAccount":{"type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["id","pAccount","projectId","domains"],"type":"object"},"de.mittwald.v1.domainmigration.CheckMigrationResponse":{"properties":{"allDomainsMigratable":{"type":"boolean"},"domains":{"items":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.MigratableDomain"},{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.NonMigratableDomain"}]},"type":"array"},"generalIssues":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.MigrationNotPossibleReasons"},"generallyPossible":{"type":"boolean"}},"required":["generallyPossible","allDomainsMigratable","domains"],"type":"object"},"de.mittwald.v1.domainmigration.DNSRecord":{"properties":{"name":{"type":"string"},"ttl":{"maximum":86400,"minimum":60,"type":"integer"},"type":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DNSRecordType"},"value":{"type":"string"}},"required":["type","value","ttl"],"type":"object"},"de.mittwald.v1.domainmigration.DNSRecordType":{"enum":["A","AAAA","TXT","MX","CNAME","SRV","CAA","NS"],"type":"string"},"de.mittwald.v1.domainmigration.DomainMigrationWarning":{"description":"A non-blocking finding on an otherwise migratable domain: the domain migrates, but the named subject is skipped.","properties":{"reason":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DomainMigrationWarningReason"},"subject":{"description":"The affected COAB entity, e.g. the skipped wildcard subdomain hostname.","example":"*.example.com","type":"string"}},"required":["reason","subject"],"type":"object"},"de.mittwald.v1.domainmigration.DomainMigrationWarningReason":{"description":"Typed non-blocking migration warning: the domain migrates, but the named subject (`warnings[].subject`) needs attention during migration.\n\n* `subdomainInvalidIngressHostname`: a non-CNAME subdomain (provisioned as an ingress) does not match the `idn-hostname` format (e.g. a wildcard `*.example.de`); it is skipped and the rest of the domain migrates.\n* `subdomainInvalidDnsName`: a CNAME subdomain (provisioned as a DNS subzone) does not match the `idn-dnsname` format; it is skipped and the rest of the domain migrates.\n* `subdomainNsRecordsOverridden`: a subdomain carries its own NS records that differ from the domain's nameservers; per-subdomain delegation is not supported, so those NS records are dropped and the subdomain is served from the domain's nameservers (the rest of the subdomain still migrates).\n* `registrantPhoneNeedsEpp`: the registry owner (registrant) phone is not EPP-conformant; a reformat-to-EPP heal will be attempted during migration. Non-blocking — the read path cannot tell whether the heal will ultimately succeed, so it only warns; the create path is the actual gate.","enum":["subdomainInvalidIngressHostname","subdomainInvalidDnsName","subdomainNsRecordsOverridden","registrantPhoneNeedsEpp"],"type":"string"},"de.mittwald.v1.domainmigration.DomainNotMigratableReason":{"description":"Typed reason a domain cannot be migrated:\n\n* `needEpp`: the domain owner's phone number is not EPP/RFC 5733 conformant at the registry and cannot be reformatted, so the migration is rejected.\n* `tldNotSupported`: the domain's TLD is not supported for migration (also used when the registry article for the domain was not found).\n* `tldNotMigratable`: the domain's TLD is supported in general, but migration is not currently possible for this TLD.\n* `premiumDomain`: the domain is a premium domain, which is not supported yet.\n* `registrarNotSupported`: COAB names a registrar we do not support for migration.\n* `notOrderable`: the order service rejected the domain for a reason other than an unsupported TLD or a still-reserved domain.\n* `insufficientState`: the COAB data is incomplete (e.g. missing registrar, price or owner) or the domain is still reserved at the registry.\n* `contractDateOutOfRange`: the COAB contract's next-period date is more than two years in the future (implausible data). A next-period date in the past is *not* rejected - the domain stays migratable and its order is billed from now.\n* `invalidDomainName`: the COAB domain name does not match the `idn-naked-domain` format we accept.\n* `ownerContactInvalid`: the domain's owner contact data (Inhaberdaten) failed validation at the registry/domain-service (invalid characters, or a TLD-specific contact-schema rule such as no consecutive whitespaces), so the migration is rejected. `ownerContactIssues` on the domain carries the affected field(s)/rule(s).","enum":["needEpp","tldNotSupported","tldNotMigratable","premiumDomain","registrarNotSupported","notOrderable","insufficientState","contractDateOutOfRange","invalidDomainName","ownerContactInvalid"],"type":"string"},"de.mittwald.v1.domainmigration.DomainNotMigratableValidationError":{"description":"A non-migratable-domain failure: one selected domain cannot be migrated. type is always domainNotMigratable, path is the affected domain, and context.reason carries the typed reason code.","properties":{"context":{"additionalProperties":{"type":"string"},"properties":{"reason":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DomainNotMigratableReason"}},"required":["reason"],"type":"object"},"message":{"example":"domain static-need-epp.com is not migratable: needEpp","type":"string"},"path":{"description":"The affected domain.","example":"static-need-epp.com","type":"string"},"type":{"description":"Discriminator for this branch; always domainNotMigratable.","enum":["domainNotMigratable"],"type":"string"}},"required":["type","message","path","context"],"type":"object"},"de.mittwald.v1.domainmigration.MigratableDomain":{"properties":{"hostname":{"type":"string"},"migratable":{"enum":[true],"type":"boolean"},"migrationData":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.MigrationData"},"warnings":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DomainMigrationWarning"},"type":"array"}},"required":["hostname","migratable","migrationData"],"type":"object"},"de.mittwald.v1.domainmigration.MigrationData":{"properties":{"dnsRecords":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DNSRecord"},"type":"array"},"monthlyPriceCents":{"description":"Monthly net domain price in EUR cents.","type":"integer"},"subdomains":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.Subdomain"},"type":"array"}},"required":["subdomains","dnsRecords","monthlyPriceCents"],"type":"object"},"de.mittwald.v1.domainmigration.MigrationNotPossibleReasons":{"properties":{"customerIsNotAllowedToOrder":{"type":"boolean"},"legacyTokenNotAuthorized":{"type":"boolean"},"noDomainsInSource":{"type":"boolean"},"projectInTermination":{"description":"The contract of the target project or its server is in termination. Cancelling the termination or choosing another project makes the migration possible again.","type":"boolean"}},"required":["customerIsNotAllowedToOrder","legacyTokenNotAuthorized","noDomainsInSource","projectInTermination"],"type":"object"},"de.mittwald.v1.domainmigration.NonMigratableDomain":{"properties":{"hostname":{"type":"string"},"issues":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DomainNotMigratableReason"},"type":"array"},"migratable":{"enum":[false],"type":"boolean"},"ownerContactIssues":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.OwnerContactIssue"},"type":"array"},"warnings":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DomainMigrationWarning"},"type":"array"}},"required":["hostname","migratable","issues","ownerContactIssues"],"type":"object"},"de.mittwald.v1.domainmigration.OwnerContactIssue":{"description":"One invalid owner contact field behind an ownerContactInvalid issue. A consumer can show a generic 'owner contact invalid' message and append a field-/rule-specific hint via translation.","properties":{"field":{"description":"The affected owner contact field, e.g. street, name, zip.","example":"street","type":"string"},"schemaTitle":{"description":"Stable title of the violated contact-schema rule - a translation key for consumers. Absent for the general character validation, which has no such rule title (hence optional).","example":"noConsecutiveOrLeadingOrTrailingWhitespaces","type":"string"}},"required":["field"],"type":"object"},"de.mittwald.v1.domainmigration.Subdomain":{"properties":{"dnsRecords":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.DNSRecord"},"type":"array"},"hostname":{"type":"string"},"target":{"type":"string"}},"required":["hostname","dnsRecords"],"type":"object"},"de.mittwald.v1.domain.OwnerVerification":{"description":"Status of the verification of the domain owner's e-mail address. If the owner does not confirm the address in time, the domain gets suspended. A domain without ownerVerification has no known state, which does not mean that the owner is verified.","properties":{"deadline":{"description":"The date by which the owner has to confirm the e-mail address. pending: After the deadline the domain is suspended or, for some domains, the status changes to failed first. failed: The date on which the domain gets suspended unless the owner has confirmed the address by then. suspended: The date on which the suspension was due. Not set once the owner has verified the address.","format":"date-time","type":"string"},"lastEmailSentAt":{"description":"When the verification e-mail was sent last.","format":"date-time","type":"string"},"status":{"description":"pending: The owner has to confirm the e-mail address until the deadline. verified: The owner has confirmed the e-mail address. failed: The owner did not confirm the e-mail address until the deadline, but the domain is not suspended yet. The owner can still prevent the suspension by confirming the address until the new deadline. Only some domains pass through this status; the others change from pending directly to suspended. suspended: The domain is suspended because the owner did not confirm the e-mail address in time. It is reactivated after the owner has confirmed the address.","enum":["pending","verified","failed","suspended"],"type":"string"}},"required":["status"],"type":"object"},"de.mittwald.v1.domain.Process":{"properties":{"error":{"type":"string"},"lastUpdate":{"format":"date-time","type":"string"},"processType":{"$ref":"#/components/schemas/de.mittwald.v1.domain.ProcessType"},"state":{"$ref":"#/components/schemas/de.mittwald.v1.domain.ProcessState"},"status":{"type":"string"},"statusCode":{"type":"string"},"transactionId":{"type":"string"}},"required":["transactionId","processType","state","lastUpdate"],"type":"object"},"de.mittwald.v1.domain.ProcessState":{"enum":["UNSPECIFIED","REQUESTED","FAILED"],"type":"string"},"de.mittwald.v1.domain.ProcessType":{"enum":["UNSPECIFIED","REGISTER","TRANSFER","DELETE","TRANSIT","RESTORE","UPDATE","TRANSFER_OUT","OWNER_CHANGE","DECLARE_REQUESTED","CONTACT_VERIFICATION"],"type":"string"},"de.mittwald.v1.domain.Registrar":{"enum":["INTERNETX","DENIC","HEXONET"],"type":"string"},"de.mittwald.v1.domain.SuggestedDomains":{"properties":{"domains":{"items":{"type":"string"},"type":"array"}},"required":["domains"],"type":"object"},"de.mittwald.v1.domain.TopLevel":{"properties":{"irtp":{"type":"boolean"},"rgpDays":{"minimum":0,"type":"integer"},"tld":{"type":"string"},"transferAuthCodeRequired":{"deprecated":true,"type":"boolean"},"transferAuthentication":{"$ref":"#/components/schemas/de.mittwald.v1.domain.TransferAuthentication"}},"required":["tld","rgpDays","irtp","transferAuthCodeRequired","transferAuthentication"],"type":"object"},"de.mittwald.v1.domain.TransferAuthentication":{"enum":["unspecified","code","email","push"],"type":"string"},"de.mittwald.v1.domain.ContactVerificationStatus":{"enum":["created","pending","completed","failed"],"type":"string"},"de.mittwald.v1.domain.ContactVerificationType":{"enum":["name","address","email"],"type":"string"},"de.mittwald.v1.marketplace.AggregateReference":{"properties":{"aggregate":{"enum":["project","customer"],"type":"string"},"domain":{"enum":["project","customer"],"type":"string"},"id":{"type":"string"}},"required":["id","domain","aggregate"],"type":"object"},"de.mittwald.v1.marketplace.AggregateReferenceFilter":{"properties":{"aggregate":{"enum":["project","customer"],"type":"string"},"domain":{"enum":["project","customer"],"type":"string"},"id":{"type":"string"}},"type":"object"},"de.mittwald.v1.marketplace.ContractOwner":{"properties":{"contact":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Contact"},"inherited":{"type":"boolean"}},"required":["contact","inherited"],"type":"object"},"de.mittwald.v1.marketplace.Contributor":{"properties":{"customerId":{"format":"uuid","type":"string"},"description":{"type":"string"},"descriptions":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.LocalizedDescription"},"email":{"deprecated":true,"type":"string"},"homepage":{"format":"uri","type":"string"},"id":{"format":"uuid","type":"string"},"imprint":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContributorImprint"},"logoRefId":{"format":"uuid","type":"string"},"name":{"type":"string"},"phone":{"deprecated":true,"type":"string"},"state":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContributorState"},"supportInformation":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},{"properties":{"inherited":{"description":"Whether the support information is inherited from the customer.","type":"boolean"}},"required":["inherited"],"type":"object"}]},"url":{"deprecated":true,"type":"string"}},"required":["id","customerId","state","name","supportInformation","email"],"type":"object"},"de.mittwald.v1.marketplace.ContributorImprint":{"oneOf":[{"properties":{"text":{"minLength":1,"type":"string"}},"required":["text"],"type":"object"},{"properties":{"url":{"format":"uri","minLength":1,"type":"string"}},"required":["url"],"type":"object"}]},"de.mittwald.v1.marketplace.ContributorState":{"deprecated":true,"enum":["enabled","disabled"],"type":"string"},"de.mittwald.v1.marketplace.Extension":{"properties":{"assets":{"description":"The assets/media (images and videos) of the extension.","items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionAsset"},"maxItems":4,"type":"array"},"blocked":{"deprecated":true,"type":"boolean"},"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"contributorId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"deletionDeadline":{"format":"date-time","type":"string"},"deprecation":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionDeprecation"},"description":{"description":"A short description of the capabilities of the Extension.","type":"string"},"detailedDescriptions":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DetailedDescriptions"},"disabled":{"deprecated":true,"type":"boolean"},"externalFrontends":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendComponents":{"deprecated":true,"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendFragments":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.FrontendFragment"},"type":"object"},"id":{"format":"uuid","type":"string"},"isDeletionScheduled":{"type":"boolean"},"logoRefId":{"description":"This is the FileId of the Logo. Retrieve the file with this id on `/v2/files/{logoRefId}`.","format":"uuid","type":"string"},"name":{"example":"MyPingExtension","type":"string"},"pricing":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy"}]},"pricingDetails":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.PricePlanDetails"},"published":{"description":"Whether the extension has been published by the contributor.","enum":[true],"type":"boolean"},"publishedAt":{"description":"Date of the first publishing.","format":"date-time","type":"string"},"scopes":{"items":{"type":"string"},"type":"array"},"state":{"deprecated":true,"description":"deprecated","enum":["enabled","blocked","disabled"],"type":"string"},"statistics":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionStatistics"},"subTitle":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SubTitle"},"support":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},{"properties":{"inherited":{"description":"Whether the support information is inherited from the contributor.","type":"boolean"}},"required":["inherited"],"type":"object"}]},"tags":{"items":{"type":"string"},"minItems":0,"type":"array"}},"required":["id","contributorId","state","published","publishedAt","name","subTitle","description","tags","context","scopes","disabled","blocked","assets","statistics","support","logoRefId","createdAt"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionAsset":{"description":"The following assets are the media that are associated with the extension and will be shown in extension details page.","properties":{"assetType":{"enum":["image","video"],"example":"image","type":"string"},"fileName":{"deprecated":true,"example":"myFile.png","type":"string"},"id":{"description":"The asset ID and reference ID to its file. Retrieve the file with this id on `/v2/files/{id}","format":"uuid","type":"string"},"index":{"description":"The index of the asset. Does not have to be successive. Can be used to order the assets.","example":1,"type":"integer"}},"required":["id","index","assetType"],"type":"object"},"de.mittwald.v1.marketplace.BackendComponent":{"deprecated":true,"properties":{"url":{"minLength":1,"type":"string"}},"required":["url"],"type":"object"},"de.mittwald.v1.marketplace.BackendComponents":{"deprecated":true,"properties":{"extensionAddedToContext":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.BackendComponent"},"extensionInstanceRemovedFromContext":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.BackendComponent"},"extensionInstanceSecretRotated":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.BackendComponent"},"extensionInstanceUpdated":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.BackendComponent"}},"type":"object"},"de.mittwald.v1.marketplace.Context":{"enum":["project","customer"],"type":"string"},"de.mittwald.v1.marketplace.ExtensionDeprecation":{"description":"The Extension is deprecated by the contributor and will expire at the given date.","properties":{"deprecatedAt":{"format":"date-time","type":"string"},"note":{"example":"This extension is no longer actively maintained. Please Use the successor extension instead.","type":"string"},"successorId":{"description":"The ID of the successor extension.","format":"uuid","type":"string"}},"required":["deprecatedAt"],"type":"object"},"de.mittwald.v1.marketplace.DescriptionFormats":{"description":"Language specific descriptions in various formats.","properties":{"markdown":{"minLength":1,"type":"string"},"plain":{"minLength":1,"type":"string"}},"required":["markdown"],"type":"object"},"de.mittwald.v1.marketplace.DetailedDescriptions":{"description":"A detailed description of the capabilities of the extension.","properties":{"de":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DescriptionFormats"},"en":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DescriptionFormats"}},"required":["de"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionHealth":{"properties":{"extensionInstances":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstanceHealth"},"type":"array"},"functional":{"default":false,"type":"boolean"},"id":{"format":"uuid","type":"string"},"inoperableReason":{"example":"9 of 10 webhooks in the last hour were unsuccessful.","type":"string"},"published":{"default":false,"type":"boolean"},"withdrawalReason":{"type":"string"}},"required":["id","functional","published","extensionInstances"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionInstance":{"properties":{"aggregateReference":{"properties":{"aggregate":{"type":"string"},"domain":{"type":"string"},"id":{"format":"uuid","type":"string"}},"required":["id","domain","aggregate"],"type":"object"},"chargeability":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstanceChargeability"},"consentedScopes":{"items":{"type":"string"},"type":"array"},"contributorId":{"type":"string"},"contributorName":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"disabled":{"default":false,"type":"boolean"},"extensionDeletionDeadline":{"format":"date-time","type":"string"},"extensionId":{"format":"uuid","type":"string"},"extensionName":{"type":"string"},"extensionSubTitle":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SubTitle"},"frontendFragments":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.FrontendFragment"},"type":"object"},"id":{"format":"uuid","type":"string"},"nextScheduledWebhookExecution":{"format":"date-time","type":"string"},"parentCustomerId":{"type":"string"},"pendingInstallation":{"default":false,"type":"boolean"},"pendingRemoval":{"default":false,"type":"boolean"},"scopeChangeAcceptanceDeadline":{"format":"date-time","type":"string"},"variantKey":{"example":"default","type":"string"},"webhookExecutionHalted":{"default":false,"type":"boolean"}},"required":["id","extensionId","contributorId","disabled","pendingInstallation","pendingRemoval","consentedScopes","aggregateReference","extensionName","contributorName","chargeability","webhookExecutionHalted","parentCustomerId"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionInstanceChargeability":{"properties":{"isChargeable":{"default":false,"type":"boolean"},"reasons":{"properties":{"isNonChargeableCustomer":{"type":"boolean"},"isOwnExtension":{"type":"boolean"}},"required":["isOwnExtension","isNonChargeableCustomer"],"type":"object"}},"required":["isChargeable","reasons"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionInstanceHealth":{"properties":{"aggregateReference":{"properties":{"aggregate":{"type":"string"},"domain":{"type":"string"},"id":{"format":"uuid","type":"string"}},"required":["id","domain","aggregate"],"type":"object"},"id":{"format":"uuid","type":"string"},"instantiationIsPending":{"default":false,"type":"boolean"},"pendingWebhooksCount":{"default":0,"minimum":0,"type":"integer"},"removalIsPending":{"default":false,"type":"boolean"},"webhooksAreHalted":{"default":false,"type":"boolean"}},"required":["id","aggregateReference","webhooksAreHalted","instantiationIsPending","removalIsPending","pendingWebhooksCount"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionInstanceWebhookExecution":{"properties":{"attempts":{"type":"integer"},"contributorId":{"type":"string"},"extensionId":{"format":"uuid","type":"string"},"extensionInstanceId":{"format":"uuid","type":"string"},"id":{"format":"uuid","type":"string"},"kind":{"enum":["extensionAddedToContext","instanceUpdated","secretRotated","instanceRemovedFromContext"],"type":"string"},"nextScheduledExecution":{"format":"date-time","type":"string"},"state":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstanceWebhookExecutionState"}},"required":["id","extensionInstanceId","extensionId","contributorId","kind","state","attempts"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionInstanceWebhookExecutionState":{"enum":["running","queued","halted","failed","successful"],"type":"string"},"de.mittwald.v1.marketplace.ExtensionSecret":{"properties":{"secretId":{"format":"uuid","type":"string"},"usableUntil":{"format":"date-time","type":"string"}},"required":["secretId"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionStatistics":{"properties":{"amountOfInstances":{"description":"The amount of instances for this extension. Accurate for the Contributor. Publicly rounded to the next lower hundred.","example":42,"minimum":0,"type":"integer"}},"type":"object"},"de.mittwald.v1.marketplace.WebhookUrl":{"properties":{"url":{"minLength":1,"type":"string"}},"required":["url"],"type":"object"},"de.mittwald.v1.marketplace.WebhookUrls":{"properties":{"extensionAddedToContext":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrl"},"extensionInstanceRemovedFromContext":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrl"},"extensionInstanceSecretRotated":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrl"},"extensionInstanceUpdated":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrl"}},"required":["extensionAddedToContext","extensionInstanceUpdated","extensionInstanceSecretRotated","extensionInstanceRemovedFromContext"],"type":"object"},"de.mittwald.v1.marketplace.ExternalComponent":{"properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["name","url"],"type":"object"},"de.mittwald.v1.marketplace.FrontendFragment":{"allOf":[{"properties":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object"},{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.UrlFrontendFragment"}]}]},"de.mittwald.v1.marketplace.LocalizedDescription":{"description":"A few words about the introduction as a contributor","properties":{"de":{"example":"Ich bin ein Contributor","type":"string"},"en":{"example":"I am a contributor","type":"string"}},"required":["de"],"type":"object"},"de.mittwald.v1.marketplace.OwnContributor":{"properties":{"contactPersonUserId":{"format":"uuid","type":"string"},"contractOwner":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContractOwner"},"contributorNumber":{"type":"string"},"customerId":{"type":"string"},"description":{"type":"string"},"descriptions":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.LocalizedDescription"},"email":{"deprecated":true,"format":"email","type":"string"},"homepage":{"format":"uri","type":"string"},"id":{"type":"string"},"imprint":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContributorImprint"},"logoInherited":{"type":"boolean"},"logoRefId":{"format":"uuid","type":"string"},"name":{"type":"string"},"nameInherited":{"type":"boolean"},"phone":{"deprecated":true,"type":"string"},"state":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContributorState"},"supportInformation":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},{"properties":{"inherited":{"description":"Whether the support information is inherited from the customer.","type":"boolean"}},"required":["inherited"],"type":"object"}]},"url":{"deprecated":true,"type":"string"},"verificationRequested":{"type":"boolean"},"verified":{"type":"boolean"}},"required":["id","customerId","state","verified","verificationRequested","name","nameInherited","supportInformation","email","contactPersonUserId","contractOwner","contributorNumber"],"type":"object"},"de.mittwald.v1.marketplace.OwnExtension":{"properties":{"assets":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionAsset"},"type":"array"},"backendComponents":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.BackendComponents"},"blocked":{"deprecated":true,"type":"boolean"},"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"contributorId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"deletionDeadline":{"format":"date-time","type":"string"},"deprecation":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionDeprecation"},"description":{"type":"string"},"detailedDescriptions":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DetailedDescriptions"},"disabled":{"deprecated":true,"type":"boolean"},"externalFrontends":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendComponents":{"deprecated":true,"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendFragments":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.FrontendFragment"},"type":"object"},"functional":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"isDeletionScheduled":{"type":"boolean"},"logoRefId":{"description":"This is the FileId of the Logo. Retrieve the file with this id on `/v2/files/{logoRefId}`.","format":"uuid","type":"string"},"name":{"type":"string"},"pricing":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy"}]},"pricingDetails":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.PricePlanDetails"},"published":{"type":"boolean"},"publishedAt":{"description":"Date of the first publishing.","format":"date-time","type":"string"},"requestedChanges":{"additionalProperties":false,"properties":{"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"purgeScopes":{"type":"boolean"},"purgeWebhookUrls":{"type":"boolean"},"scopes":{"items":{"type":"string"},"type":"array"},"webhookUrls":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrls"},{"additionalProperties":false,"properties":{},"type":"object"}]}},"type":"object"},"scopes":{"items":{"type":"string"},"type":"array"},"secrets":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionSecret"},"type":"array"},"state":{"deprecated":true,"description":"deprecated","enum":["enabled","blocked","disabled"],"type":"string"},"statistics":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionStatistics"},"subTitle":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SubTitle"},"support":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},{"properties":{"inherited":{"description":"Whether the support information is inherited from the contributor.","type":"boolean"}},"required":["inherited"],"type":"object"}]},"tags":{"items":{"type":"string"},"minItems":0,"type":"array"},"verificationRequested":{"type":"boolean"},"verified":{"type":"boolean"},"webhookUrls":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrls"}},"required":["id","contributorId","name","statistics","assets","published","verified","verificationRequested","functional","secrets"],"type":"object"},"de.mittwald.v1.marketplace.PricePlanDetails":{"description":"The details section of the price plan. It informs if choosing different variants as a upgrade or downgrade is possible.","properties":{"isDowngradeAllowed":{"type":"boolean"},"isUpgradeAllowed":{"type":"boolean"}},"required":["isUpgradeAllowed","isDowngradeAllowed"],"type":"object"},"de.mittwald.v1.marketplace.MonthlyPricePlanStrategy":{"description":"A price plan with (multiple) variants, including different prices for different included service descriptions","items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionVariant"},"type":"array"},"de.mittwald.v1.marketplace.PublicKey":{"properties":{"algorithm":{"example":"Ed25519","type":"string"},"key":{"anyOf":[{"description":"raw base64 public key","format":"byte","type":"string"},{"description":"SPKI, ASN.1 DER serialized, PEM encoded public key","type":"string"}]},"serial":{"format":"uuid","type":"string"}},"required":["serial","algorithm","key"],"type":"object"},"de.mittwald.v1.marketplace.SubTitle":{"description":"A few words to promote your Extension.","properties":{"de":{"example":"Ping deine App an","maxLength":40,"type":"string"},"en":{"example":"Ping your app","maxLength":40,"type":"string"}},"required":["de"],"type":"object"},"de.mittwald.v1.marketplace.SupportMeta":{"properties":{"email":{"example":"a.lovelace@example.com","format":"email","type":"string"},"phone":{"type":"string"}},"required":["email"],"type":"object"},"de.mittwald.v1.marketplace.UnpublishedExtension":{"properties":{"assets":{"description":"The assets/media (images and videos) of the extension.","items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionAsset"},"maxItems":4,"type":"array"},"blocked":{"deprecated":true,"type":"boolean"},"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"contributorId":{"format":"uuid","type":"string"},"deletionDeadline":{"format":"date-time","type":"string"},"deprecation":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionDeprecation"},"description":{"description":"A short description of the capabilities of the Extension.","type":"string"},"detailedDescriptions":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DetailedDescriptions"},"disabled":{"type":"boolean"},"externalFrontends":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendComponents":{"deprecated":true,"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendFragments":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.FrontendFragment"},"type":"object"},"id":{"format":"uuid","type":"string"},"isDeletionScheduled":{"type":"boolean"},"logoRefId":{"description":"This is the FileId of the Logo. Retrieve the file with this id on `/v2/files/{logoRefId}`.","format":"uuid","type":"string"},"name":{"example":"MyPingExtension","type":"string"},"pricing":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.MonthlyPricePlanStrategy"}]},"pricingDetails":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.PricePlanDetails"},"published":{"description":"Whether the extension has been published by the contributor.","enum":[false],"type":"boolean"},"publishedAt":{"description":"Date of the first publishing.","format":"date-time","type":"string"},"scopes":{"items":{"type":"string"},"type":"array"},"state":{"deprecated":true,"description":"deprecated","enum":["enabled","blocked","disabled"],"type":"string"},"statistics":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionStatistics"},"subTitle":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SubTitle"},"support":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},{"properties":{"inherited":{"description":"Whether the support information is inherited from the contributor.","type":"boolean"}},"required":["inherited"],"type":"object"}]},"tags":{"items":{"type":"string"},"type":"array"}},"required":["id","contributorId","state","name","tags","scopes","disabled","blocked","assets","statistics"],"type":"object"},"de.mittwald.v1.marketplace.UrlFrontendFragment":{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object"},"de.mittwald.v1.marketplace.WebhookKind":{"enum":["extension-added-to-context","extension-instance-updated","extension-instance-secret-rotated","extension-instance-removed-from-context"],"type":"string"},"de.mittwald.v1.fee.FeeStrategy":{"description":"A strategy for fees of resources.","oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.fee.OneTimePaymentFeeStrategy"},{"$ref":"#/components/schemas/de.mittwald.v1.fee.PeriodBasedFeeStrategy"}]},"de.mittwald.v1.fee.OneTimePaymentFeeStrategy":{"description":"A strategy for fees that occur once.","properties":{"price":{"description":"The one-time price in Euro Cents.","type":"number"}},"required":["price"],"type":"object"},"de.mittwald.v1.fee.PeriodBasedFeeStrategy":{"description":"A strategy for fees that occur periodically","properties":{"periods":{"items":{"properties":{"feeValidFrom":{"format":"date-time","type":"string"},"feeValidUntil":{"format":"date-time","type":"string"},"monthlyPrice":{"description":"The monthly price in Euro Cents.","type":"number"}},"required":["monthlyPrice"],"type":"object"},"type":"array"}},"required":["periods"],"type":"object"},"de.mittwald.v1.fee.ResourceFee":{"description":"A Fee of a Resource","properties":{"feeStrategy":{"$ref":"#/components/schemas/de.mittwald.v1.fee.FeeStrategy"},"id":{"description":"The id of the given Resource","example":"1241a1de-b633-4e6e-9aa5-7e878ccd6864","type":"string"}},"required":["id"],"type":"object"},"de.mittwald.v1.file.FileMeta":{"properties":{"friendlyURL":{"deprecated":true,"description":"deprecated, see friendlyUrl","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6/me.jpeg","type":"string"},"friendlyUrl":{"example":"3fa85f64-5717-4562-b3fc-2c963f66afa6/me.jpeg","type":"string"},"id":{"example":"3fa85f64-5717-4562-b3fc-2c963f66afa6","format":"uuid","type":"string"},"mimeType":{"example":"image/jpeg","type":"string"},"name":{"example":"me.jpeg","type":"string"},"shortId":{"example":"file-123456","type":"string"},"sizeInBytes":{"example":300,"format":"int64","type":"integer"},"type":{"deprecated":true,"description":"deprecated, see mimeType","example":"image/jpeg","type":"string"}},"required":["id","name","type","friendlyURL","friendlyUrl","sizeInBytes","mimeType","shortId"],"type":"object"},"de.mittwald.v1.file.FileType":{"properties":{"extensions":{"example":[".jpe",".jpeg",".jpg"],"items":{"type":"string"},"type":"array"},"mimeType":{"example":"image/jpeg","type":"string"}},"required":["mimeType","extensions"],"type":"object"},"de.mittwald.v1.file.FileUploadRules":{"properties":{"extensions":{"example":[".png",".jpeg",".jpg"],"items":{"type":"string"},"type":"array"},"fileTypes":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileType"},"type":"array"},"maxNameLength":{"example":80,"type":"integer"},"maxSizeInBytes":{"example":1000000,"format":"int64","type":"integer"},"maxSizeInKB":{"deprecated":true,"description":"deprecated, see maxSizeInBytes","example":1000,"format":"int64","type":"integer"},"maxSizeInKb":{"deprecated":true,"description":"deprecated, see maxSizeInBytes","example":1000,"format":"int64","type":"integer"},"mimeTypes":{"example":["image/png","image/jpeg"],"items":{"type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"format":"int64","type":"integer"},"width":{"format":"int64","type":"integer"}},"type":"object"},"min":{"properties":{"height":{"format":"int64","type":"integer"},"width":{"format":"int64","type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}},"required":["maxSizeInBytes","maxSizeInKB","maxSizeInKb","mimeTypes","fileTypes","extensions","maxNameLength"],"type":"object"},"de.mittwald.v1.hibp.HashPrefix":{"description":"First five hex characters of the SHA-1 hash, case-insensitive and normalised to upper case.","example":"5BAA6","pattern":"^[0-9A-Fa-f]{5}$","type":"string"},"de.mittwald.v1.ingress.AccessProtection":{"additionalProperties":false,"description":"Login protection of an Ingress: one identity provider for the hostname, enabled and configured per path.","properties":{"allPaths":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.AllPathsAccessProtection"},"paths":{"description":"The protected paths. Paths not listed here are not protected, even if a parent path is. Empty if `allPaths` is set.","items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.PathAccessProtection"},"type":"array"},"provider":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ingress.AccessProtectionProviderMStudio"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.AccessProtectionProviderOidc"}]}},"required":["provider","paths"],"type":"object"},"de.mittwald.v1.ingress.AccessProtectionProviderMStudio":{"additionalProperties":false,"description":"Users log in with their mStudio account.","properties":{"mstudio":{"additionalProperties":false,"type":"object"}},"required":["mstudio"],"type":"object"},"de.mittwald.v1.ingress.AccessProtectionProviderOidc":{"additionalProperties":false,"description":"Users log in with an external OpenID Connect provider. The client secret is never returned.","properties":{"oidc":{"additionalProperties":false,"properties":{"clientId":{"type":"string"},"issuerUrl":{"example":"https://idp.example.com","format":"uri","type":"string"}},"required":["issuerUrl","clientId"],"type":"object"}},"required":["oidc"],"type":"object"},"de.mittwald.v1.ingress.AccessProtectionRules":{"additionalProperties":false,"description":"Who may pass after logging in. A user needs to match one of the rules; at least one rule is set.","properties":{"allowAnyAuthenticatedUser":{"description":"Every user the provider authenticates may pass. Only with the OIDC provider.","type":"boolean"},"allowedEmailDomains":{"items":{"example":"example.com","format":"idn-hostname","type":"string"},"type":"array"},"allowedEmails":{"items":{"example":"ada@example.com","format":"email","type":"string"},"type":"array"},"projectMembersOnly":{"description":"Only members of the Ingress's Project may pass. Requires the mStudio provider.","type":"boolean"}},"required":["projectMembersOnly","allowedEmails","allowedEmailDomains","allowAnyAuthenticatedUser"],"type":"object"},"de.mittwald.v1.ingress.AllPathsAccessProtection":{"additionalProperties":false,"description":"Protects every path of the Ingress, also those added later; redirects stay reachable.","properties":{"passIdentityHeaders":{"description":"Whether the targets receive the identity of the logged-in user as request headers.","type":"boolean"},"rules":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.AccessProtectionRules"}},"required":["rules","passIdentityHeaders"],"type":"object"},"de.mittwald.v1.ingress.Ingress":{"properties":{"accessProtection":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.AccessProtection"},"dnsValidationErrors":{"description":"A list of errors that occurred while validating the ingress's dns before requesting a certificate. `ERROR_QUAD_A` and `ERROR_NO_A_RECORD` are deprecated and no longer reported.","items":{"enum":["ERROR_UNSPECIFIED","ERROR_QUAD_A","ERROR_NO_A_RECORD","ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED"],"type":"string"},"type":"array"},"hostname":{"format":"idn-hostname","type":"string"},"id":{"format":"uuid","type":"string"},"ips":{"properties":{"v4":{"items":{"format":"ipv4","type":"string"},"type":"array"},"v6":{"items":{"format":"ipv6","type":"string"},"type":"array"}},"required":["v4","v6"],"type":"object"},"isDefault":{"description":"Whether this is the automatically created project ingress. There is only one per project, and it cannot be deleted.","type":"boolean"},"isDomain":{"type":"boolean"},"isEnabled":{"description":"Whether this ingress is enabled for serving its hostname.","type":"boolean"},"ownership":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Ownership"},"paths":{"description":"A list of paths. The default path `/` is always present and cannot be removed.","items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Path"},"type":"array"},"projectId":{"format":"uuid","type":"string"},"senderLoginProtection":{"description":"If enabled, only mailboxes of the Ingress's Project may send emails from addresses of the Ingress and its SubIngresses. Only set on the root Ingress, as it covers all of its SubIngresses.","type":"boolean"},"tls":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TlsAcme"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TlsCertificate"}]}},"required":["id","hostname","projectId","isDefault","tls","paths","isEnabled","ips","dnsValidationErrors","ownership"],"type":"object"},"de.mittwald.v1.ingress.IngressDeprecated":{"properties":{"dnsValidationErrors":{"description":"A list of errors that occurred while validating the ingress's dns before requesting a certificate. `ERROR_QUAD_A` and `ERROR_NO_A_RECORD` are deprecated and no longer reported.","items":{"enum":["ERROR_UNSPECIFIED","ERROR_QUAD_A","ERROR_NO_A_RECORD","ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED"],"type":"string"},"type":"array"},"hostname":{"format":"idn-hostname","type":"string"},"id":{"format":"uuid","type":"string"},"ips":{"properties":{"v4":{"items":{"format":"ipv4","type":"string"},"type":"array"}},"required":["v4"],"type":"object"},"isDefault":{"description":"Whether this ingress is the default ingress or not. A default ingress is automatically created, it cannot be deleted. There can be only one default ingress per project.","type":"boolean"},"isDomain":{"type":"boolean"},"isEnabled":{"type":"boolean"},"ownership":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Ownership"},"paths":{"description":"A list of paths. The default path `/` is always present and cannot be removed.","items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Path"},"type":"array"},"projectId":{"format":"uuid","type":"string"},"tls":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TlsAcmeDeprecated"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TlsCertificate"}]}},"required":["id","hostname","projectId","isDefault","tls","paths","isEnabled","ips","dnsValidationErrors","ownership"],"type":"object"},"de.mittwald.v1.ingress.ListIngressesCompatibleWithCertificateIDRequest":{"properties":{"certificateId":{"description":"The certificates UUID.","format":"uuid","type":"string"}},"required":["certificateId"],"type":"object"},"de.mittwald.v1.ingress.ListIngressesCompatibleWithCertificateRequest":{"properties":{"certificate":{"description":"PEM-encoded certificate. Linebreaks have to be escaped with \n.","type":"string"},"projectId":{"description":"The projects UUID.","format":"uuid","type":"string"}},"required":["projectId","certificate"],"type":"object"},"de.mittwald.v1.ingress.Ownership":{"properties":{"txtRecord":{"type":"string"},"verified":{"description":"Whether domain ownership has been verified for this ingress. Default project ingresses use a hostname owned by mittwald and therefore do not require verification.","type":"boolean"}},"required":["verified"],"type":"object"},"de.mittwald.v1.ingress.Path":{"properties":{"path":{"description":"Configured URL path, normalized to lowercase with a leading slash and no trailing slash, except for `/`.","type":"string"},"target":{"description":"Supported target mappings identify an AppInstallation, a container, a redirect URL, or the default page.","oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TargetUrl"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TargetInstallation"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TargetUseDefaultPage"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TargetContainer"}]}},"required":["path","target"],"type":"object"},"de.mittwald.v1.ingress.PathAccessProtection":{"additionalProperties":false,"properties":{"passIdentityHeaders":{"description":"Whether the target receives the identity of the logged-in user as request headers.","type":"boolean"},"path":{"example":"/admin","type":"string"},"rules":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.AccessProtectionRules"}},"required":["path","rules","passIdentityHeaders"],"type":"object"},"de.mittwald.v1.ingress.TargetContainer":{"properties":{"container":{"description":"Container that serves this path, and the port it receives requests on.","properties":{"id":{"format":"uuid","type":"string"},"portProtocol":{"description":"docker-compose port specification in format port/protocol (e.g. 8080/TCP)","format":"docker-network-port","type":"string"}},"required":["id","portProtocol"],"type":"object"}},"required":["container"],"type":"object"},"de.mittwald.v1.ingress.TargetInstallation":{"properties":{"installationId":{"description":"ID of the AppInstallation that serves this path.","format":"uuid","type":"string"}},"required":["installationId"],"type":"object"},"de.mittwald.v1.ingress.TargetUrl":{"properties":{"url":{"description":"URL that requests to this path are redirected to.","format":"uri","type":"string"}},"required":["url"],"type":"object"},"de.mittwald.v1.ingress.TargetUseDefaultPage":{"properties":{"useDefaultPage":{"description":"Whether the default page is served at this path.","type":"boolean"}},"required":["useDefaultPage"],"type":"object"},"de.mittwald.v1.ingress.TlsAcme":{"additionalProperties":false,"properties":{"acme":{"description":"Has to be `true`, as ssl cannot be deactivated.","type":"boolean"},"isCreated":{"type":"boolean"},"requestDeadline":{"format":"date-time","type":"string"}},"required":["acme","isCreated"],"type":"object"},"de.mittwald.v1.ingress.TlsAcmeDeprecated":{"additionalProperties":false,"properties":{"acme":{"type":"boolean"}},"required":["acme"],"type":"object"},"de.mittwald.v1.ingress.TlsCertificate":{"additionalProperties":false,"properties":{"certificateId":{"format":"uuid","type":"string"}},"required":["certificateId"],"type":"object"},"de.mittwald.v1.invoice.BankingInformation":{"properties":{"accountHolder":{"example":"Ada Lovelace","type":"string"},"bic":{"example":"DEUTDEDB123","type":"string"},"iban":{"example":"DE12345678901234567890","type":"string"}},"required":["iban","accountHolder"],"type":"object"},"de.mittwald.v1.invoice.Cancellation":{"description":"Details of the cancellation document. cancellationId is the reversing\nCANCELLATION document; its cancellationOf points to the original. Can\nbe absent for a short while just after creation.\n","properties":{"cancellationId":{"description":"The ID of the cancellation document, not the original invoice.","format":"uuid","type":"string"},"cancelledAt":{"format":"date-time","type":"string"},"correctionNumber":{"description":"The invoice number assigned to the cancellation document, not the original document.","example":"RG1234567","type":"string"},"pdfId":{"format":"uuid","type":"string"},"reason":{"example":"Kulanz","type":"string"},"xRechnungId":{"description":"The ID of the XRechnung XML file. Only set when the recipient has a Leitweg-ID; the PDF is then only a visual copy.","format":"uuid","type":"string"}},"required":["pdfId","correctionNumber","cancelledAt","cancellationId"],"type":"object"},"de.mittwald.v1.invoice.ContractInvoiceDefinition":{"properties":{"contractId":{"format":"uuid","type":"string"},"items":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.ContractItemInvoiceDefinition"},"type":"array"}},"required":["contractId","items"],"type":"object"},"de.mittwald.v1.invoice.ContractItemInvoiceDefinition":{"properties":{"contractItemId":{"format":"uuid","type":"string"},"isDue":{"type":"boolean"},"serviceDate":{"format":"date-time","type":"string"},"servicePeriod":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.DatePeriod"},"vatRate":{"example":19,"type":"integer"}},"required":["contractItemId","vatRate","servicePeriod"],"type":"object"},"de.mittwald.v1.invoice.CorrectionDefinition":{"properties":{"contractItemId":{"format":"uuid","type":"string"},"creditPeriod":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.DatePeriod"}},"required":["contractItemId","creditPeriod"],"type":"object"},"de.mittwald.v1.invoice.DatePeriod":{"properties":{"end":{"format":"date-time","type":"string"},"start":{"format":"date-time","type":"string"}},"required":["start","end"],"type":"object"},"de.mittwald.v1.invoice.Error":{"properties":{"message":{"example":"Whoops, something went wrong.","type":"string"},"type":{"example":"InternalServerError","type":"string"}},"required":["type","message"],"type":"object"},"de.mittwald.v1.invoice.InvoiceItem":{"properties":{"additionalDescription":{"example":"Short-ID: \"s-123456\"","type":"string"},"contractItemId":{"format":"uuid","type":"string"},"description":{"example":"Space-Server: \"Mein Space-Server\"","type":"string"},"itemCancelledOrCorrectedBy":{"items":{"properties":{"sourceInvoiceId":{"format":"uuid","type":"string"},"sourceInvoiceItemId":{"format":"uuid","type":"string"}},"type":"object"},"type":"array"},"itemId":{"format":"uuid","type":"string"},"price":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Price"},"reference":{"properties":{"sourceInvoiceId":{"format":"uuid","type":"string"},"sourceInvoiceItemId":{"format":"uuid","type":"string"}},"required":["sourceInvoiceId","sourceInvoiceItemId"],"type":"object"},"serviceDate":{"format":"date-time","type":"string"},"servicePeriod":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.DatePeriod"},"vatRate":{"example":19,"type":"number"}},"required":["itemId","price","vatRate","contractItemId","description"],"type":"object"},"de.mittwald.v1.invoice.Invoice":{"properties":{"amountPaid":{"description":"Recorded settlement amount in euro cents (500 means EUR 5.00).\nCalculated as totalGross minus the accounting open amount.\n","example":500,"type":"number"},"cancellation":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Cancellation"},"cancellationOf":{"description":"The ID of the Invoice that this invoice cancels.","format":"uuid","type":"string"},"currency":{"example":"EUR","type":"string"},"customerId":{"example":"e0a3b0e0-0e0e-0e0e-0e0e-0e0e0e0e0e0e","type":"string"},"date":{"format":"date-time","type":"string"},"groups":{"items":{"properties":{"contractId":{"format":"uuid","type":"string"},"description":{"example":"Space-Server: \"Mein Space-Server\"","type":"string"},"items":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.InvoiceItem"},"type":"array"}},"required":["items"],"type":"object"},"type":"array"},"id":{"format":"uuid","type":"string"},"invoiceNumber":{"example":"RG1234567","type":"string"},"invoiceType":{"description":"REGULAR is a standard invoice. REISSUE is a replacement for a\ncancelled invoice. CORRECTION is a credit document selected when the\ngross total is negative, including corrections or partial\ncancellations. CANCELLATION is the separate document reversing a\ncancelled invoice, with the original amounts negated and\ncancellationOf pointing to the original invoice. CANCELLATIONs\nare also possible for CORRECTION documents.\n","enum":["REGULAR","REISSUE","CORRECTION","CANCELLATION"],"type":"string"},"paymentSettings":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.PaymentSettings"},"pdfId":{"format":"uuid","type":"string"},"recipient":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Recipient"},"reissuedBy":{"description":"The ID of the Invoice that is a Reissue of this one.","format":"uuid","type":"string"},"status":{"description":"NEW: deprecated and not used anymore. CONFIRMED: The default state of an invoice.\nDENIED: deprecated and not used anymore.\nPAID/PARTIALLY_PAID/OVERPAID follow the open amount: zero sets PAID;\nfor non-negative totals, open at/above total stays CONFIRMED,\notherwise PARTIALLY_PAID, negative OVERPAID; negative totals\nmirrored.\n","enum":["NEW","CONFIRMED","DENIED","PAID","PARTIALLY_PAID","OVERPAID"],"type":"string"},"totalGross":{"description":"Total including VAT in euro cents (595 means EUR 5.95). Credit and cancellation documents can have negative totals.","example":595,"type":"number"},"totalNet":{"description":"Total excluding VAT in euro cents (500 means EUR 5.00).","example":500,"type":"number"},"vatId":{"example":"DE123456789","type":"string"},"xRechnungId":{"description":"The ID of the XRechnung XML file. Only set when the recipient has a Leitweg-ID; the PDF is then only a visual copy.","format":"uuid","type":"string"}},"required":["id","customerId","invoiceNumber","date","pdfId","groups","status","amountPaid","recipient","totalNet","totalGross","currency","invoiceType"],"type":"object"},"de.mittwald.v1.invoice.InvoiceSettings":{"properties":{"additionalEmailRecipients":{"items":{"format":"email","type":"string"},"type":"array"},"debitPaymentStopUntil":{"format":"date-time","type":"string"},"id":{"example":"5f9b9b9b-9b9b-9b9b-9b9b-9b9b9b9b9b9b","type":"string"},"invoicePeriod":{"example":1,"type":"integer"},"lastBankingInformation":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.BankingInformation"},"paymentSettings":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.PaymentSettings"},"printedInvoices":{"type":"boolean"},"recipient":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Recipient"},"recipientSameAsOwner":{"type":"boolean"},"status":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.InvoiceSettingsStatus"},"type":"array"},"targetDay":{"example":15,"type":"integer"}},"required":["id"],"type":"object"},"de.mittwald.v1.invoice.InvoiceSettingsStatus":{"properties":{"message":{"example":"Unfortunately, we were unable to debit your account. Please update your account details.","type":"string"},"severity":{"enum":["success","info","warning","error"],"type":"string"},"type":{"enum":["returnDebitNote","returnDebitNoteWaitingForPayment","debtWrittenOff","bankrupt","notReachable"],"type":"string"}},"required":["severity","type","message"],"type":"object"},"de.mittwald.v1.invoice.PaymentSettingsDebit":{"properties":{"accountHolder":{"example":"Ada Lovelace","type":"string"},"bic":{"description":"Optional. Required for payments outside of the European Union.","example":"DEUTDEDB123","type":"string"},"iban":{"example":"DE12345678901234567890","type":"string"},"method":{"enum":["debit"],"type":"string"}},"required":["method","iban","accountHolder"],"type":"object"},"de.mittwald.v1.invoice.PaymentSettingsInvoice":{"description":"Payment by invoice rather than direct debit. This payment term is\nnot returned as a separate field in the public invoice response.\n","properties":{"method":{"enum":["invoice"],"type":"string"}},"required":["method"],"type":"object"},"de.mittwald.v1.invoice.PaymentSettings":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.invoice.PaymentSettingsDebit"},{"$ref":"#/components/schemas/de.mittwald.v1.invoice.PaymentSettingsInvoice"}]},"de.mittwald.v1.invoice.Price":{"properties":{"currency":{"enum":["EUR"],"type":"string"},"value":{"example":1000,"type":"integer"}},"required":["value","currency"],"type":"object"},"de.mittwald.v1.invoice.Recipient":{"properties":{"address":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Address"},"company":{"example":"Mittwald CM Service GmbH & Co. KG","type":"string"},"emailAddress":{"format":"email","type":"string"},"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"},"leitwegId":{"description":"German electronic invoicing routing ID (XRechnung). Only allowed for public authorities and requires a company.","maxLength":46,"type":"string"},"phoneNumbers":{"items":{"example":"+49 123 4567890","type":"string"},"type":"array"},"purchaseOrderReference":{"description":"Purchase order reference printed on the invoice. Not allowed together with a leitwegId.","maxLength":200,"type":"string"},"salutation":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Salutation"},"title":{"example":"Dr.","type":"string"},"useFormalTerm":{"type":"boolean"}},"required":["address","salutation"],"type":"object"},"de.mittwald.v1.license.AppVersionMeta":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"de.mittwald.v1.license.ExternalKey":{"properties":{"externalKey":{"type":"string"}},"required":["externalKey"],"type":"object"},"de.mittwald.v1.license.Key":{"properties":{"key":{"example":"Afdkj49dsfj3","type":"string"}},"required":["key"],"type":"object"},"de.mittwald.v1.license.KeyResponse":{"properties":{"keyReference":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.license.Key"},{"$ref":"#/components/schemas/de.mittwald.v1.license.ExternalKey"}]}},"type":"object"},"de.mittwald.v1.license.Kind":{"enum":["typo3-elts"],"type":"string"},"de.mittwald.v1.license.License":{"properties":{"description":{"type":"string"},"expiryDate":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"keyReference":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.license.Key"},{"$ref":"#/components/schemas/de.mittwald.v1.license.ExternalKey"}]},"kind":{"$ref":"#/components/schemas/de.mittwald.v1.license.Kind"},"meta":{"$ref":"#/components/schemas/de.mittwald.v1.license.Meta"},"reference":{"$ref":"#/components/schemas/de.mittwald.v1.license.Reference"},"volume":{"type":"integer"}},"required":["id","description","kind","reference","meta"],"type":"object"},"de.mittwald.v1.license.Meta":{"properties":{"appVersion":{"$ref":"#/components/schemas/de.mittwald.v1.license.AppVersionMeta"}},"type":"object"},"de.mittwald.v1.license.Reference":{"properties":{"aggregate":{"enum":["project"],"type":"string"},"domain":{"enum":["project"],"type":"string"},"id":{"type":"string"}},"required":["id","domain","aggregate"],"type":"object"},"de.mittwald.v1.mail.CreateMailAddress":{"properties":{"address":{"format":"idn-email","type":"string"},"forwardAddresses":{"items":{"format":"idn-email","type":"string"},"type":"array"},"isCatchAll":{"type":"boolean"},"mailbox":{"properties":{"enableSpamProtection":{"type":"boolean"},"password":{"type":"string"},"quotaInBytes":{"description":"Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.","example":2147483648,"format":"int64","minimum":-1,"type":"integer"}},"required":["password","quotaInBytes","enableSpamProtection"],"type":"object"}},"required":["address","mailbox","isCatchAll"],"type":"object"},"de.mittwald.v1.mail.Deliverybox":{"properties":{"authenticationEnabled":{"type":"boolean"},"description":{"type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"passwordUpdatedAt":{"format":"date-time","type":"string"},"projectId":{"type":"string"},"sendingEnabled":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","name","projectId","description","authenticationEnabled","sendingEnabled","passwordUpdatedAt","updatedAt"],"type":"object"},"de.mittwald.v1.mail.Error":{"properties":{"message":{"type":"string"},"type":{"type":"string"}},"required":["type","message"],"type":"object"},"de.mittwald.v1.mail.CreateForwardAddress":{"properties":{"address":{"format":"idn-email","type":"string"},"forwardAddresses":{"items":{"format":"idn-email","type":"string"},"type":"array"}},"required":["address","forwardAddresses"],"type":"object"},"de.mittwald.v1.mail.MailAddressBackup":{"properties":{"name":{"description":"Name of the backup; an eight-digit date in YYYYMMDD format. Use it as the backupId path parameter to recover emails from this backup.","type":"string"}},"required":["name"],"type":"object"},"de.mittwald.v1.mail.MailAddress":{"properties":{"address":{"format":"idn-email","type":"string"},"archive":{"properties":{"active":{"description":"Shows if the mail-archive is enabled.","type":"boolean"},"quota":{"description":"Maximum available mail-archive storage in bytes.","format":"int64","type":"integer"},"usedBytes":{"description":"Current mail-archive usage in bytes.","format":"int64","type":"integer"}},"required":["active","quota","usedBytes"],"type":"object"},"autoResponder":{"properties":{"active":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string"},"message":{"type":"string"},"startsAt":{"format":"date-time","type":"string"}},"required":["active"],"type":"object"},"forwardAddresses":{"items":{"format":"idn-email","type":"string"},"type":"array"},"id":{"format":"uuid","type":"string"},"isArchived":{"type":"boolean"},"isBackupInProgress":{"type":"boolean"},"isCatchAll":{"type":"boolean"},"mailbox":{"properties":{"authenticationDisabled":{"description":"Whether logging in to the mailbox is disabled.","type":"boolean"},"mailsystemSettings":{"$ref":"#/components/schemas/de.mittwald.v1.mail.MailsystemSettings"},"name":{"type":"string"},"passwordUpdatedAt":{"format":"date-time","type":"string"},"sendingEnabled":{"type":"boolean"},"spamProtection":{"properties":{"active":{"type":"boolean"},"autoDeleteSpam":{"type":"boolean"},"folder":{"enum":["spam","inbox"],"type":"string"},"relocationMinSpamScore":{"maximum":10,"type":"integer"}},"required":["active","folder","relocationMinSpamScore","autoDeleteSpam"],"type":"object"},"storageInBytes":{"properties":{"current":{"properties":{"updatedAt":{"format":"date-time","type":"string"},"value":{"format":"int64","type":"integer"}},"required":["value","updatedAt"],"type":"object"},"limit":{"format":"int64","type":"integer"}},"required":["limit","current"],"type":"object"}},"required":["name","authenticationDisabled","sendingEnabled","spamProtection","storageInBytes","passwordUpdatedAt","mailsystemSettings"],"type":"object"},"originalAddress":{"description":"For archived mail addresses, the address the mailbox had right before it was archived.","format":"idn-email","type":"string"},"projectId":{"type":"string"},"rateLimitChangeRequest":{"properties":{"rateLimitId":{"description":"ID of the rate limit requested.","type":"string"}},"required":["rateLimitId"],"type":"object"},"receivingDisabled":{"type":"boolean"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","receivingDisabled","address","isCatchAll","projectId","forwardAddresses","updatedAt","autoResponder","isArchived","isBackupInProgress","archive"],"type":"object"},"de.mittwald.v1.mail.MailsystemSettings":{"properties":{"rateLimitId":{"type":"string"}},"required":["rateLimitId"],"type":"object"},"de.mittwald.v1.mailmigration.AutoResponder":{"properties":{"active":{"type":"boolean"},"expiresAt":{"format":"date-time"},"message":{"type":"string"},"startsAt":{"format":"date-time"}},"required":["active","message"],"type":"object"},"de.mittwald.v1.mailmigration.MailSystemSettings":{"properties":{"imapClusterId":{"type":"string"},"mailDirectory":{"type":"string"},"rateLimitId":{"type":"string"}},"required":["imapClusterId","mailDirectory","rateLimitId"],"type":"object"},"de.mittwald.v1.mailmigration.Mailbox":{"properties":{"mailsystem":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MailSystemSettings"},"name":{"type":"string"},"quotaInBytes":{"format":"int64","type":"integer"},"spamProtection":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.SpamProtection"}},"required":["name","quotaInBytes","mailsystem"],"type":"object"},"de.mittwald.v1.mailmigration.Migration":{"properties":{"aborted":{"type":"boolean"},"addresses":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailAddress"},"type":"array"},"finalizers":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationFinalizeJob"},"finished":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"mailboxes":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailbox"},"type":"array"},"sourceCoabProjectId":{"type":"string"},"targetNexusProjectId":{"type":"string"}},"required":["id","targetNexusProjectId","sourceCoabProjectId","addresses","mailboxes","finalizers","finished","aborted"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationFinalizeJob":{"properties":{"disableLegacyEntities":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationFinalizeJobDisableLegacyEntities"},"projectSettingMigrations":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationFinalizeJobProjectSetting"}},"type":"object"},"de.mittwald.v1.mailmigration.MigrationFinalizeJobDisableLegacyEntities":{"properties":{"addresses":{"items":{"type":"string"},"type":"array"},"mailboxNames":{"items":{"type":"string"},"type":"array"}},"required":["mailboxNames","addresses"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationFinalizeJobProjectSetting":{"properties":{"blacklistEntries":{"items":{"type":"string"},"type":"array"},"whitelistEntries":{"items":{"type":"string"},"type":"array"}},"required":["blacklistEntries","whitelistEntries"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailAddress":{"properties":{"address":{"type":"string"},"finished":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"migrationJobs":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailAddressMigrationJob"},"preMigrationJobs":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailAddressPreMigrationJob"}},"required":["id","address","migrationJobs","finished"],"type":"object"},"de.mittwald.v1.mailmigration.MigrateMailAddressCommandRequirements":{"properties":{"address":{"type":"string"},"autoResponder":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.AutoResponder"},"forwardAddresses":{"items":{"type":"string"},"type":"array"},"isCatchAll":{"type":"boolean"},"mailbox":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.Mailbox"},"projectId":{"type":"string"}},"required":["projectId"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailAddressMigrationJob":{"properties":{"migrate":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailAddressMigrationJobMigrate"}},"required":["migrate"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailAddressMigrationJobMigrate":{"properties":{"finished":{"type":"boolean"},"requirements":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrateMailAddressCommandRequirements"}},"required":["requirements","finished"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailAddressPreMigrationJob":{"properties":{"aliasSet":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailAddressPreMigrationJobAliasSet"},"type":"array"},"deliveryMigrations":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailAddressPreMigrationJobDeliveryMigration"},"type":"array"}},"required":["deliveryMigrations","aliasSet"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailAddressPreMigrationJobAliasSet":{"properties":{"finished":{"type":"boolean"},"sourceCoabMailboxName":{"type":"string"}},"required":["sourceCoabMailboxName","finished"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailAddressPreMigrationJobDeliveryMigration":{"properties":{"finished":{"type":"boolean"},"sourceCoabDeliveryMailbox":{"type":"string"},"sourceCoabDeliveryUid":{"type":"integer"},"targetDeliveryAddress":{"type":"string"}},"required":["sourceCoabDeliveryUid","sourceCoabDeliveryMailbox","targetDeliveryAddress","finished"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailbox":{"properties":{"description":{"type":"string"},"finished":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"migrationJobs":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailboxJob"},"name":{"type":"string"}},"required":["id","name","migrationJobs","finished"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailboxJob":{"properties":{"migrate":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrationMailboxJobMigrate"}},"required":["migrate"],"type":"object"},"de.mittwald.v1.mailmigration.MigrationMailboxJobMigrate":{"properties":{"requirements":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.MigrateMailboxCommandRequirements"}},"required":["requirements"],"type":"object"},"de.mittwald.v1.mailmigration.MigrateMailboxCommandRequirements":{"properties":{"mailbox":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.Mailbox"},"projectId":{"type":"string"}},"required":["projectId"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorActiveMailArchiveForAddress":{"properties":{"address":{"type":"string"}},"required":["address"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorAlreadyExistingMailAddress":{"properties":{"address":{"type":"string"}},"required":["address"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery":{"properties":{"addresses":{"items":{"type":"string"},"type":"array"},"mailboxName":{"type":"string"}},"required":["mailboxName","addresses"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery":{"properties":{"address":{"type":"string"},"mailboxes":{"items":{"type":"string"},"type":"array"}},"required":["address","mailboxes"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorCatchAllMissingAddress":{"properties":{"address":{"type":"string"}},"required":["address"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias":{"properties":{"address":{"type":"string"},"mailboxName":{"type":"string"}},"required":["address","mailboxName"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorMissingVerifiedIngress":{"properties":{"hostname":{"format":"idn-hostname","type":"string"}},"required":["hostname"],"type":"object"},"de.mittwald.v1.mailmigration.PossibleCheckErrors":{"properties":{"activeMailArchiveForAddress":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorActiveMailArchiveForAddress"},"type":"array"},"alreadyExistingMailAddress":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorAlreadyExistingMailAddress"},"type":"array"},"ambiguousMailAddressDelivery":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery"},"type":"array"},"ambiguousMailboxDelivery":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery"},"type":"array"},"catchAllMissingAddress":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorCatchAllMissingAddress"},"type":"array"},"catchAllTargetWithoutAlias":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias"},"type":"array"},"missingVerifiedIngress":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorMissingVerifiedIngress"},"type":"array"}},"required":["ambiguousMailAddressDelivery","ambiguousMailboxDelivery","catchAllMissingAddress","catchAllTargetWithoutAlias","missingVerifiedIngress","alreadyExistingMailAddress","activeMailArchiveForAddress"],"type":"object"},"de.mittwald.v1.mailmigration.CheckMigrationIsPossibleErrorResponse":{"properties":{"errors":{"$ref":"#/components/schemas/de.mittwald.v1.mailmigration.PossibleCheckErrors"}},"type":"object"},"de.mittwald.v1.mailmigration.SpamProtection":{"properties":{"active":{"type":"boolean"},"deleteSensitivity":{"type":"integer"},"folder":{"default":0,"description":"SPAM_FOLDER_INBOX_UNSPECIFIED = 0 SPAM_FOLDER_SPAM = 1","enum":[0,1],"type":"integer"},"keepDays":{"type":"integer"},"relocateSensitivity":{"type":"integer"}},"required":["active","folder","keepDays"],"type":"object"},"de.mittwald.v1.mailsystem.RateLimit":{"properties":{"id":{"format":"uuid","type":"string"},"rateLimit":{"type":"integer"}},"required":["id","rateLimit"],"type":"object"},"de.mittwald.v1.marketplace.ContractPartner":{"properties":{"contractPartner":{"properties":{"address":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Address"},"company":{"example":"mittwald","type":"string"},"email":{"example":"a.lovelace@example.com","type":"string"},"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"}},"required":["firstName","lastName","email","address"]},"createdAt":{"format":"date-time","type":"string"},"extensionId":{"format":"uuid","type":"string"},"extensionInstanceId":{"format":"uuid","type":"string"},"parentCustomerId":{"type":"string"},"pricingDetails":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.PricePlanDetails"},"projectId":{"type":"string"},"variantKey":{"type":"string"}},"required":["extensionInstanceId","extensionId","createdAt","parentCustomerId","contractPartner"],"type":"object"},"de.mittwald.v1.membership.CustomerInheritedRoles":{"enum":["notset","owner","member","accountant"],"type":"string"},"de.mittwald.v1.membership.CustomerInvite":{"properties":{"avatarRefId":{"description":"Reference to the Customer's avatar.","format":"uuid","type":"string"},"customerId":{"description":"ID of the Customer the invite is for.","format":"uuid","type":"string"},"customerName":{"description":"Name of the Customer the user is invited to.","type":"string"},"expiresAt":{"description":"Time the invite expires at; it can be accepted until then. Resending the invite mail extends it.","format":"date-time","type":"string"},"id":{"description":"ID of the CustomerInvite.","format":"uuid","type":"string"},"information":{"$ref":"#/components/schemas/de.mittwald.v1.membership.InviteInformation"},"mailAddress":{"description":"Mail-address of the user the invite is for.","format":"email","type":"string"},"membershipExpiresAt":{"description":"Time the CustomerMembership should expire at.","format":"date-time","type":"string"},"message":{"description":"Message contained in the CustomerInvite.","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"}},"required":["id","customerId","mailAddress","role","information","customerName"],"type":"object"},"de.mittwald.v1.membership.CustomerMembership":{"properties":{"avatarRef":{"description":"Avatar file reference id of the user.","format":"uuid","type":"string"},"customerId":{"description":"ID of the Customer the CustomerMembership is for.","format":"uuid","type":"string"},"email":{"description":"Mail address of the user. If `emailHidden` is true, this is the placeholder `hidden@contact-details.invalid`: only members of the customer and mittwald employees see member mail addresses.","format":"email","type":"string"},"emailHidden":{"description":"True if `email` is a placeholder because the caller may not see the mail address of this member.","type":"boolean"},"expiresAt":{"description":"Time the CustomerMembership should expire at.","format":"date-time","type":"string"},"firstName":{"description":"First name of the user.","type":"string"},"id":{"description":"ID of the CustomerMembership.","format":"uuid","type":"string"},"inviteId":{"description":"ID of the CustomerInvite the membership was created from.","format":"uuid","type":"string"},"lastName":{"description":"Last name of the user.","type":"string"},"memberSince":{"description":"Date the CustomerMembership was created at.","format":"date-time","type":"string"},"mfa":{"description":"Whether the user has MFA activated. If `mfaHidden` is true, this is `false` and does not reflect the user's MFA status: only owners of the customer see it.","type":"boolean"},"mfaHidden":{"description":"True if `mfa` is a placeholder because the caller may not see the MFA status of this member.","type":"boolean"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"},"userId":{"description":"ID of the user the CustomerMembership is for.","format":"uuid","type":"string"}},"required":["id","customerId","userId","role","email","mfa","firstName","lastName"],"type":"object"},"de.mittwald.v1.membership.CustomerRoles":{"enum":["notset","owner","member","accountant"],"type":"string"},"de.mittwald.v1.membership.InviteInformation":{"properties":{"invitationToken":{"deprecated":true,"description":"No longer returned; the token reaches the invitee by mail only.","type":"string"},"invitedBy":{"description":"ID of the user that created the invite.","format":"uuid","type":"string"}},"required":["invitedBy"],"type":"object"},"de.mittwald.v1.membership.ProjectInvite":{"properties":{"avatarRefId":{"description":"Reference to the Project's avatar.","format":"uuid","type":"string"},"expiresAt":{"description":"Time the invite expires at; it can be accepted until then. Resending the invite mail extends it.","format":"date-time","type":"string"},"id":{"description":"ID of the ProjectInvite.","format":"uuid","type":"string"},"information":{"$ref":"#/components/schemas/de.mittwald.v1.membership.InviteInformation"},"mailAddress":{"description":"Mail-address of the user the ProjectInvite is for.","format":"email","type":"string"},"membershipExpiresAt":{"description":"Time the ProjectMembership should expire at.","format":"date-time","type":"string"},"message":{"description":"Message contained in the ProjectInvite.","type":"string"},"projectDescription":{"description":"Description of the Project the invite is created for.","type":"string"},"projectId":{"description":"ID of the Project the invitation is for.","format":"uuid","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"}},"required":["id","projectId","mailAddress","role","information","projectDescription"],"type":"object"},"de.mittwald.v1.membership.ProjectMembership":{"properties":{"avatarRef":{"description":"Avatar file reference id of the user.","format":"uuid","type":"string"},"email":{"description":"Mail address of the user. If `emailHidden` is true, this is the placeholder `hidden@contact-details.invalid`: only owners of the project and mittwald employees see member mail addresses.","format":"email","type":"string"},"emailHidden":{"description":"True if `email` is a placeholder because the caller may not see the mail address of this member.","type":"boolean"},"expiresAt":{"description":"Time the ProjectMembership should expire at.","format":"date-time","type":"string"},"firstName":{"description":"First name of the user.","type":"string"},"id":{"description":"ID of the ProjectMembership.","format":"uuid","type":"string"},"inherited":{"description":"Whether the ProjectMembership was inherited from a CustomerMembership.","type":"boolean"},"inviteId":{"description":"ID of the ProjectInvite the membership was created from.","format":"uuid","type":"string"},"lastName":{"description":"Last name of the user.","type":"string"},"memberSince":{"description":"Date the projectMembership was created at.","format":"date-time","type":"string"},"mfa":{"description":"Whether the user has MFA activated. If `mfaHidden` is true, this is `false` and does not reflect the user's MFA status: only owners of the project see it.","type":"boolean"},"mfaHidden":{"description":"True if `mfa` is a placeholder because the caller may not see the MFA status of this member.","type":"boolean"},"projectId":{"description":"ID of the Project the membership is for.","format":"uuid","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"},"userId":{"description":"ID of the user the ProjectMembership is for.","format":"uuid","type":"string"}},"required":["id","projectId","userId","role","email","mfa","inherited","firstName","lastName"],"type":"object"},"de.mittwald.v1.membership.ProjectRoles":{"enum":["notset","owner","emailadmin","external"],"type":"string"},"de.mittwald.v1.messaging.AggregateReference":{"properties":{"aggregate":{"type":"string"},"domain":{"type":"string"},"id":{"type":"string"},"parents":{"items":{"properties":{"aggregate":{"type":"string"},"domain":{"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},"type":"array"}},"required":["id","aggregate","domain"],"type":"object"},"de.mittwald.v1.messaging.Channels":{"additionalProperties":false,"properties":{"email":{"properties":{"active":{"type":"boolean"}},"required":["active"],"type":"object"},"frontendNotification":{"properties":{"active":{"type":"boolean"}},"required":["active"],"type":"object"}},"type":"object"},"de.mittwald.v1.messaging.Notification":{"properties":{"createdAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"read":{"type":"boolean"},"reference":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.AggregateReference"},"severity":{"enum":["success","info","warning","error"],"type":"string"},"type":{"type":"string"}},"required":["id","type","reference","severity","read","createdAt"],"type":"object"},"de.mittwald.v1.messaging.NotificationStatus":{"enum":["read","unread"],"type":"string"},"de.mittwald.v1.messaging.UserSettings":{"properties":{"messageTypes":{"additionalProperties":{"properties":{"channels":{"properties":{"email":{"properties":{"active":{"type":"boolean"},"editable":{"type":"boolean"}},"required":["active","editable"],"type":"object"},"frontendNotification":{"properties":{"active":{"type":"boolean"},"editable":{"type":"boolean"}},"required":["active","editable"],"type":"object"}},"required":["email","frontendNotification"],"type":"object"}},"required":["channels"],"type":"object"},"type":"object"}},"required":["messageTypes"],"type":"object"},"de.mittwald.v1.messaging.UserSettingsOverrides":{"properties":{"messageTypes":{"additionalProperties":{"properties":{"channels":{"properties":{"email":{"properties":{"active":{"type":"boolean"},"editable":{"type":"boolean"}},"required":["active","editable"],"type":"object"},"frontendNotification":{"properties":{"active":{"type":"boolean"},"editable":{"type":"boolean"}},"required":["active","editable"],"type":"object"}},"type":"object"}},"required":["channels"],"type":"object"},"type":"object"}},"required":["messageTypes"],"type":"object"},"de.mittwald.v1.order.Addons":{"properties":{"hidden":{"type":"boolean"},"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"],"type":"object"},"de.mittwald.v1.order.AIHostingOrderPreview":{"properties":{"monthlyTokens":{"example":2000000,"type":"integer"},"requestsPerMinute":{"example":120,"type":"integer"}},"required":["requestsPerMinute","monthlyTokens"],"type":"object"},"de.mittwald.v1.order.AIHostingOrder":{"properties":{"customerId":{"example":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","type":"string"},"monthlyTokens":{"description":"Has to match the monthlyTokens of an available AI Hosting Article exactly. Reachable via the /articles endpoint.","example":2000000,"type":"integer"},"name":{"example":"Managed AI Hosting","type":"string"},"requestsPerMinute":{"description":"Has to match the requestsPerMinute of an available AI Hosting Article exactly. Reachable via the /articles endpoint.","example":120,"type":"integer"},"useFreeTrial":{"type":"boolean"}},"required":["customerId","requestsPerMinute","monthlyTokens"],"type":"object"},"de.mittwald.v1.order.AIHostingTariffChange":{"properties":{"contractId":{"example":"7439a725-1d7d-4f7e-bcdf-40900daf94cf","type":"string"},"monthlyTokens":{"example":50000000,"type":"integer"},"requestsPerMinute":{"example":300,"type":"integer"}},"required":["contractId","requestsPerMinute","monthlyTokens"],"type":"object"},"de.mittwald.v1.order.ArticleAddons":{"properties":{"hidden":{"type":"boolean"},"key":{"minLength":1,"type":"string"},"type":{"type":"string"},"value":{"minLength":1,"type":"string"},"valueMergeType":{"enum":["add","set"],"type":"string"}},"required":["key","value"],"type":"object"},"de.mittwald.v1.order.AttributeConfiguration":{"properties":{"key":{"example":"storage","type":"string"},"value":{"example":"10","type":"string"}},"required":["key"],"type":"object"},"de.mittwald.v1.order.CustomerOrder":{"properties":{"contractChangeContractId":{"format":"uuid","type":"string"},"customerId":{"example":"4317f5c5-1ea8-4084-a9f1-3a8e7e1c94ff","minLength":1,"type":"string"},"dueDate":{"format":"date-time","type":"string"},"invoicingPeriod":{"description":"Invoicing period in months","example":12,"type":"number"},"items":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderItem"},"type":"array"},"orderDate":{"format":"date-time","type":"string"},"orderId":{"format":"uuid","type":"string"},"orderNumber":{"example":"5XXXXXX","minLength":1,"type":"string"},"profile":{"$ref":"#/components/schemas/de.mittwald.v1.order.Profile"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"summary":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderSummary"},"type":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderType"}},"required":["orderId","orderNumber","summary","customerId","invoicingPeriod","type","status","items"],"type":"object"},"de.mittwald.v1.order.DomainHandleField":{"properties":{"name":{"example":"name","type":"string"},"value":{"example":"Ada Lovelace","type":"string"}},"required":["name","value"],"type":"object"},"de.mittwald.v1.order.DomainOrderPreview":{"properties":{"authCode":{"example":"XXXXXXX","type":"string"},"domain":{"example":"mittwald.example","type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["domain","projectId"],"type":"object"},"de.mittwald.v1.order.DomainOrder":{"properties":{"authCode":{"example":"XXXXXXX","type":"string"},"domain":{"example":"mittwald.example","type":"string"},"handleData":{"properties":{"adminC":{"deprecated":true,"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.DomainHandleField"},"type":"array"},"ownerC":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.DomainHandleField"},"minItems":1,"type":"array"}},"required":["ownerC"],"type":"object"},"projectId":{"format":"uuid","type":"string"}},"required":["projectId","domain","handleData"],"type":"object"},"de.mittwald.v1.order.ExternalCertificateOrderPreview":{"properties":{"certificateRequestId":{"format":"uuid","type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["projectId","certificateRequestId"],"type":"object"},"de.mittwald.v1.order.ExternalCertificateOrder":{"description":"You are able to order an External Certificate if you already created a Certificate Request.","properties":{"certificateRequestId":{"format":"uuid","type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["projectId","certificateRequestId"],"type":"object"},"de.mittwald.v1.order.HardwareSpec":{"properties":{"ram":{"example":2,"type":"number"},"vcpu":{"example":1,"type":"number"}},"type":"object"},"de.mittwald.v1.order.InternalProjectHostingOrder":{"properties":{"articleId":{"example":"WH25-0007","type":"string"},"customerId":{"example":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","type":"string"},"description":{"example":"My first project","type":"string"},"diskspaceInGiB":{"example":20,"type":"number"},"promotionCode":{"example":"123456","type":"string"},"recommendationCode":{"example":"mp-123456","type":"string"},"useFreeTrial":{"type":"boolean"}},"required":["customerId","diskspaceInGiB","description","articleId"],"type":"object"},"de.mittwald.v1.order.InternalServerOrder":{"properties":{"articleId":{"example":"VS25-0031","type":"string"},"customerId":{"example":"f3435305-fd26-470e-9f21-43d9be7e67e7","minLength":1,"type":"string"},"description":{"example":"My first project","type":"string"},"diskspaceInGiB":{"example":100,"type":"number"},"promotionCode":{"example":"123456","type":"string"},"recommendationCode":{"example":"mp-123456","type":"string"},"useFreeTrial":{"type":"boolean"}},"required":["customerId","articleId","diskspaceInGiB","description"],"type":"object"},"de.mittwald.v1.order.LeadFyndrOrderPreview":{"deprecated":true,"description":"LeadFyndr is discontinued and can no longer be ordered or changed. Requests fail with `LeadFyndrDiscontinued`.","properties":{"reservationLimit":{"example":15,"type":"integer"},"unlockLimit":{"example":80,"type":"integer"}},"required":["unlockLimit","reservationLimit"],"type":"object"},"de.mittwald.v1.order.LeadFyndrOrder":{"deprecated":true,"description":"LeadFyndr is discontinued and can no longer be ordered or changed. Requests fail with `LeadFyndrDiscontinued`.","properties":{"customerId":{"example":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","type":"string"},"reservationLimit":{"example":15,"type":"integer"},"unlockLimit":{"example":80,"type":"integer"}},"required":["customerId","unlockLimit","reservationLimit"],"type":"object"},"de.mittwald.v1.order.LeadFyndrTariffChange":{"deprecated":true,"description":"LeadFyndr is discontinued and can no longer be ordered or changed. Requests fail with `LeadFyndrDiscontinued`.","properties":{"contractId":{"example":"7439a725-1d7d-4f7e-bcdf-40900daf94cf","type":"string"},"reservationLimit":{"example":15,"type":"integer"},"unlockLimit":{"example":80,"type":"integer"}},"required":["contractId","unlockLimit","reservationLimit"],"type":"object"},"de.mittwald.v1.order.LicenseOrderPreview":{"oneOf":[{"description":"TYPO3 ELTS license","properties":{"description":{"description":"Describe for which typo3 instance the license will be used.","type":"string"},"licenseType":{"enum":["typo3"],"type":"string"},"majorVersion":{"description":"The major version for which a license should be purchased.","example":12,"type":"number"}},"required":["licenseType","majorVersion"],"type":"object"}]},"de.mittwald.v1.order.LicenseOrder":{"oneOf":[{"description":"TYPO3 ELTS license","properties":{"description":{"description":"Describe for which typo3 instance the license will be used.","type":"string"},"licenseType":{"enum":["typo3"],"type":"string"},"majorVersion":{"description":"The major version for which a license should be purchased.","example":12,"type":"number"},"projectId":{"format":"uuid","type":"string"}},"required":["licenseType","projectId","majorVersion","description"],"type":"object"}]},"de.mittwald.v1.order.MachineTypeSpec":{"properties":{"machineType":{"description":"Has to match the machineType of an available Article exactly. Reachable via the /articles endpoint.","example":"prospace.2cpu.4gb","type":"string"}},"type":"object"},"de.mittwald.v1.order.MailArchiveOrderPreviewResponse":{"properties":{"feePrice":{"example":199,"type":"number"},"recurringPrice":{"example":350,"type":"number"},"totalPrice":{"example":549,"type":"number"}},"required":["totalPrice","recurringPrice","feePrice"],"type":"object"},"de.mittwald.v1.order.MailArchiveOrderPreview":{"properties":{"mailAddressId":{"format":"uuid","type":"string"},"syncExistingMails":{"type":"boolean"}},"required":["mailAddressId"],"type":"object"},"de.mittwald.v1.order.MailArchiveOrder":{"properties":{"mailAddressId":{"format":"uuid","type":"string"},"syncExistingMails":{"type":"boolean"}},"required":["mailAddressId"],"type":"object"},"de.mittwald.v1.order.OrderItem":{"properties":{"addons":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.Addons"},"type":"array"},"articleId":{"example":"WH25-0007","type":"string"},"articleName":{"example":"Webhosting","type":"string"},"articleTemplateName":{"example":"Webhosting","type":"string"},"attributeConfiguration":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.AttributeConfiguration"},"type":"array"},"isInclusive":{"type":"boolean"},"orderItemId":{"format":"uuid","type":"string"},"predefinedDomainAggregateId":{"example":"aa38d836-fe72-4c43-aad3-9472b51edf61","type":"string"},"price":{"example":1300,"type":"number"},"reference":{"$ref":"#/components/schemas/de.mittwald.v1.order.Reference"}},"required":["orderItemId","articleId","price","isInclusive"],"type":"object"},"de.mittwald.v1.order.Reference":{"properties":{"contractItemId":{"format":"uuid","type":"string"},"offerItemId":{"format":"uuid","type":"string"},"orderItemId":{"format":"uuid","type":"string"}},"type":"object"},"de.mittwald.v1.order.OrderStatus":{"enum":["NEW","CONFIRMED","REJECTED","ABORTED","EXECUTED"],"type":"string"},"de.mittwald.v1.order.OrderSummary":{"properties":{"nonRecurring":{"example":1000,"type":"number"},"recurring":{"example":9000,"type":"number"},"summary":{"description":"The total price of the order","example":10000,"type":"number"}},"required":["summary","recurring","nonRecurring"],"type":"object"},"de.mittwald.v1.order.OrderType":{"enum":["NEW_ORDER","CONTRACT_CHANGE"],"type":"string"},"de.mittwald.v1.order.AIHostingOrderPreviewResponse":{"properties":{"totalPrice":{"example":500,"type":"number"}},"required":["totalPrice"],"type":"object"},"de.mittwald.v1.order.LeadFyndrOrderPreviewResponse":{"deprecated":true,"description":"LeadFyndr is discontinued and can no longer be ordered or changed. Requests fail with `LeadFyndrDiscontinued`.","properties":{"totalPrice":{"example":7900,"type":"number"}},"required":["totalPrice"],"type":"object"},"de.mittwald.v1.order.LicenseOrderPreviewResponse":{"properties":{"totalPrice":{"example":2000,"type":"number"}},"required":["totalPrice"],"type":"object"},"de.mittwald.v1.order.DomainOrderPreviewResponse":{"properties":{"domainContractDuration":{"description":"Contract duration in months.","example":12,"type":"number"},"domainPrice":{"example":800,"type":"number"},"feePrice":{"example":100,"type":"number"},"totalPrice":{"example":900,"type":"number"}},"required":["totalPrice","domainPrice","feePrice","domainContractDuration"],"type":"object"},"de.mittwald.v1.order.ExternalCertificateOrderPreviewResponse":{"properties":{"feePrice":{"example":900,"type":"number"},"recurringPrice":{"example":490,"type":"number"},"totalPrice":{"example":1390,"type":"number"}},"required":["totalPrice","recurringPrice","feePrice"],"type":"object"},"de.mittwald.v1.order.HostingOrderPreviewResponse":{"properties":{"machineTypePrice":{"example":500,"type":"number"},"possibleFreeTrialDays":{"example":10,"type":"number"},"storagePrice":{"example":1000,"type":"number"},"totalPrice":{"example":1500,"type":"number"}},"required":["totalPrice","storagePrice","machineTypePrice"],"type":"object"},"de.mittwald.v1.order.Profile":{"properties":{"email":{"format":"email","type":"string"},"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"},"title":{"deprecated":true,"description":"the users title","enum":["other","mr","ms"],"type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["userId","email"],"type":"object"},"de.mittwald.v1.order.ProjectHostingOrderPreview":{"properties":{"customerId":{"type":"string"},"description":{"example":"My first project","type":"string"},"diskspaceInGiB":{"example":20,"type":"number"},"promotionCode":{"example":"123456","type":"string"},"spec":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.MachineTypeSpec"},{"$ref":"#/components/schemas/de.mittwald.v1.order.HardwareSpec"}]}},"required":["diskspaceInGiB","spec"],"type":"object"},"de.mittwald.v1.order.ProjectHostingOrder":{"properties":{"customerId":{"example":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","type":"string"},"description":{"example":"My first project","type":"string"},"diskspaceInGiB":{"example":20,"type":"number"},"promotionCode":{"example":"123456","type":"string"},"recommendationCode":{"example":"mp-123456","type":"string"},"spec":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.MachineTypeSpec"},{"$ref":"#/components/schemas/de.mittwald.v1.order.HardwareSpec"}]},"useFreeTrial":{"type":"boolean"}},"required":["customerId","diskspaceInGiB","description","spec"],"type":"object"},"de.mittwald.v1.order.ProjectHostingTariffChange":{"properties":{"contractId":{"type":"string"},"diskspaceInGiB":{"example":20,"type":"number"},"spec":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.MachineTypeSpec"},{"$ref":"#/components/schemas/de.mittwald.v1.order.HardwareSpec"}]}},"required":["contractId","diskspaceInGiB","spec"],"type":"object"},"de.mittwald.v1.order.ServerOrderPreview":{"properties":{"customerId":{"example":"f3435305-fd26-470e-9f21-43d9be7e67e7","type":"string"},"description":{"example":"My first server","type":"string"},"diskspaceInGiB":{"example":100,"type":"number"},"machineType":{"example":"shared.xlarge","type":"string"},"promotionCode":{"example":"123456","type":"string"}},"required":["machineType","diskspaceInGiB"],"type":"object"},"de.mittwald.v1.order.ServerOrder":{"properties":{"customerId":{"example":"f3435305-fd26-470e-9f21-43d9be7e67e7","minLength":1,"type":"string"},"description":{"example":"My first project","type":"string"},"diskspaceInGiB":{"example":100,"type":"number"},"machineType":{"example":"shared.xlarge","type":"string"},"promotionCode":{"example":"123456","type":"string"},"recommendationCode":{"example":"mp-123456","type":"string"},"useFreeTrial":{"type":"boolean"}},"required":["customerId","machineType","diskspaceInGiB","description"],"type":"object"},"de.mittwald.v1.order.ServerTariffChange":{"properties":{"contractId":{"format":"uuid","type":"string"},"diskspaceInGiB":{"example":100,"type":"number"},"machineType":{"example":"shared.xlarge","type":"string"}},"required":["contractId","machineType","diskspaceInGiB"],"type":"object"},"de.mittwald.v1.article.ArticleAddons":{"properties":{"hidden":{"description":"Defines if the Addon should not be shown.","type":"boolean"},"key":{"description":"Unique key of the Addon.","example":"Varnish","minLength":1,"type":"string"},"type":{"description":"The type/category of the addon.","example":"config","type":"string"},"value":{"description":"Value of the Addon, e.g. configuration details, status, or modifier properties.","example":"noway","type":"string"},"valueMergeType":{"description":"Used if Articles are ordered as a batch.","enum":["add","set"],"type":"string"}},"required":["key","value"],"type":"object"},"de.mittwald.v1.article.ArticleAttributes":{"properties":{"customerEditable":{"description":"Used if there are custom configurations needed for an Order like a Server name.","type":"boolean"},"key":{"example":"cpu","minLength":1,"type":"string"},"mergeType":{"description":"Used if Articles are ordered as a batch.","enum":["add","set"],"type":"string"},"readonly":{"description":"Used if not need for an Order.","type":"boolean"},"required":{"type":"boolean"},"unit":{"description":"Used if Articles are ordered as a batch.","example":"GHz","type":"string"},"value":{"description":"Will be ignored if customerEditable is set.","example":"4","type":"string"}},"required":["key"],"type":"object"},"de.mittwald.v1.article.ReadableBookableArticleOptions":{"properties":{"articleId":{"example":"WH25-0007","minLength":1,"type":"string"},"info":{"properties":{"articleName":{"example":"Webhosting","type":"string"},"articleTemplateName":{"example":"Webhosting","type":"string"},"fromArticleTemplate":{"type":"boolean"}},"type":"object"},"maxArticleCount":{"example":10,"type":"number"}},"required":["articleId"],"type":"object"},"de.mittwald.v1.article.ReadableChangeArticleOptions":{"properties":{"articleId":{"minLength":1,"type":"string"},"info":{"properties":{"articleName":{"example":"Webhosting","type":"string"},"articleTemplateName":{"example":"Webhosting","type":"string"},"fromArticleTemplate":{"type":"boolean"}},"type":"object"}},"required":["articleId"],"type":"object"},"de.mittwald.v1.article.ReadableModifierArticleOptions":{"properties":{"articleId":{"minLength":1,"type":"string"},"info":{"properties":{"articleName":{"example":"Webhosting Speicherplatz","type":"string"},"articleTemplateName":{"example":"Speicher für Hosting aller Art","type":"string"},"fromArticleTemplate":{"type":"boolean"}},"type":"object"},"maxArticleCount":{"minimum":1,"type":"number"}},"required":["articleId","maxArticleCount"],"type":"object"},"de.mittwald.v1.article.ArticleTag":{"properties":{"description":{"example":"CPU optimized","minLength":1,"type":"string"},"hexColor":{"example":"#ff0000","minLength":1,"type":"string"},"id":{"example":"58e39bbe-fcd1-4fde-887c-f49ff85b9df5","minLength":1,"type":"string"},"name":{"example":"cpu-optimized","minLength":1,"type":"string"}},"required":["id"],"type":"object"},"de.mittwald.v1.article.ArticleTemplate":{"properties":{"additionalArticles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ReadableBookableArticleOptions"},"type":"array"},"addons":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ArticleAddons"},"type":"array"},"attributes":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ArticleAttributes"},"type":"array"},"description":{"example":"Space-Storage","type":"string"},"id":{"example":"054e27e4-d3ed-4ffc-a472-fbb74a6a2ec1","minLength":1,"type":"string"},"isManagedByDomain":{"type":"boolean"},"isRecurring":{"type":"boolean"},"modifierArticles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ReadableModifierArticleOptions"},"type":"array"},"name":{"example":"Speicher für Hosting aller Art","minLength":3,"type":"string"},"type":{"enum":["miscellaneous","base","additional","modifier","setup_fee"],"type":"string"}},"required":["id","name","isRecurring","type","isManagedByDomain"],"type":"object"},"de.mittwald.v1.article.ReadableArticle":{"properties":{"addons":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ArticleAddons"},"type":"array"},"articleId":{"example":"WH25-0007","minLength":3,"type":"string"},"attributes":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ArticleAttributes"},"type":"array"},"balanceAddonKey":{"deprecated":true,"example":"inclusive_domains","type":"string"},"contractDurationInMonth":{"example":0,"maximum":42,"minimum":0,"type":"number"},"description":{"example":"Configure your perfect hosting","type":"string"},"forcedInvoicingPeriodInMonth":{"description":"If set, the Article will always be invoiced for the given months.","example":0,"minimum":0,"type":"number"},"hasIndependentContractPeriod":{"description":"Article has a contract period which is not dependent on the Contract Base Item.","type":"boolean"},"hideOnInvoice":{"description":"Free Article that is not showing on Invoices.","type":"boolean"},"machineType":{"description":"Resources for hosting Articles.","properties":{"cpu":{"example":"1","type":"string"},"memory":{"description":"Memory in GiB","example":"10","type":"string"},"name":{"example":"psplus-shared","type":"string"}},"required":["name","cpu","memory"],"type":"object"},"modifierArticles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ReadableModifierArticleOptions"},"type":"array"},"name":{"example":"Webhosting","minLength":3,"type":"string"},"orderable":{"description":"Only Articles with the value 'full' can be ordered by everyone. Forbidden Articles are not allowed to be ordered. Internal Articles have to be ordered by a mittwald employee. Beta testing Articles can be ordered but maybe feature incomplete. Deprecated Articles are not orderable anymore.","enum":["full","forbidden","internal","beta_testing","deprecated"],"type":"string"},"possibleArticleChanges":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ReadableChangeArticleOptions"},"type":"array"},"price":{"description":"Monthly price in Eurocent","example":1300,"type":"number"},"tags":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ArticleTag"},"type":"array"},"template":{"$ref":"#/components/schemas/de.mittwald.v1.article.ArticleTemplate"}},"required":["articleId","name","contractDurationInMonth","orderable","template"],"type":"object"},"de.mittwald.v1.policy.Policy":{"properties":{"minComplexity":{"type":"integer"},"rules":{"items":{"additionalProperties":true,"properties":{"ruleType":{"type":"string"}},"required":["ruleType"],"type":"object"},"type":"array"}},"required":["minComplexity","rules"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationDatabaseLinked":{"properties":{"changes":{"properties":{"after":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"before":{"properties":{"name":{"nullable":true,"type":"string"}},"required":["name"],"type":"object"}},"required":["before","after"],"type":"object"},"name":{"enum":["app.database-linked"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"database":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation","database"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationDatabaseUnlinked":{"properties":{"changes":{"properties":{"after":{"properties":{"name":{"nullable":true,"type":"string"}},"required":["name"],"type":"object"},"before":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"}},"required":["before","after"],"type":"object"},"name":{"enum":["app.database-unlinked"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"database":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation","database"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationDeleted":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["app.deleted"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationDescriptionSet":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["app.description-set"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationFailed":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["app.failed"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"error":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationMainDatabaseChanged":{"properties":{"changes":{"properties":{"after":{"properties":{"name":{"nullable":true,"type":"string"}},"required":["name"],"type":"object"},"before":{"properties":{"name":{"nullable":true,"type":"string"}},"required":["name"],"type":"object"}},"required":["before","after"],"type":"object"},"name":{"enum":["app.main-database-changed"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"database":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation","database"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationCopyRequested":{"properties":{"name":{"enum":["app.copy-requested"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"sourceAppInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["appInstallation","sourceAppInstallation"],"type":"object"}},"required":["name","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationDesiredSystemSoftwareDeleted":{"properties":{"changes":{"properties":{"after":{"nullable":true,"properties":{"softwareVersion":{"type":"string"}},"type":"object"},"before":{"nullable":true,"properties":{"softwareVersion":{"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["app.systemsoftware-deleted"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"software":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"version":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation","software","version"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationDesiredSystemSoftwareSet":{"properties":{"changes":{"properties":{"after":{"nullable":true,"properties":{"softwareVersion":{"type":"string"}},"type":"object"},"before":{"nullable":true,"properties":{"softwareVersion":{"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["app.systemsoftware-set"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"software":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"version":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation","software","version"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationRequested":{"properties":{"name":{"enum":["app.installation-requested"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"version":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["appInstallation","version"],"type":"object"}},"required":["name","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AppInstallationAppVersionSet":{"properties":{"changes":{"properties":{"after":{"properties":{"version":{"type":"string"}},"required":["version"],"type":"object"},"before":{"properties":{"version":{"nullable":true,"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["app.version-set","app.version-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["appInstallation"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"ignoredDatabases":{"items":{"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["kind","name"],"type":"object"},"type":"array"},"ignoredFiles":{"type":"boolean"}},"required":["description","expiresAt","ignoredDatabases","ignoredFiles"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"ignoredDatabases":{"items":{"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["kind","name"],"type":"object"},"nullable":true,"type":"array"},"ignoredFiles":{"nullable":true,"type":"boolean"}},"required":["description","expiresAt","ignoredDatabases","ignoredFiles"],"type":"object"}},"type":"object"},"name":{"enum":["backup.created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["backup.deleted","backup.export-deleted","backup.schedule-deleted"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["backup.description-updated","backup.schedule-description-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupExpirationUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"required":["expiresAt"],"type":"object"},"before":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"required":["expiresAt"],"type":"object"}},"type":"object"},"name":{"enum":["backup.expiration-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupExportRequested":{"properties":{"changes":{"properties":{"after":{"properties":{"format":{"type":"string"},"withPassword":{"type":"boolean"}},"required":["format","withPassword"],"type":"object"}},"type":"object"},"name":{"enum":["backup.export-requested"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupRestoreRequested":{"properties":{"changes":{"properties":{"after":{"properties":{"clearTargetPath":{"nullable":true,"type":"boolean"},"databaseRestores":{"items":{"properties":{"databaseBackupDump":{"type":"string"},"targetDatabaseId":{"type":"string"}},"required":["databaseBackupDump","targetDatabaseId"],"type":"object"},"type":"array"},"sourcePaths":{"items":{"type":"string"},"type":"array"},"targetRestorePath":{"nullable":true,"type":"string"}},"required":["sourcePaths","targetRestorePath","clearTargetPath","databaseRestores"],"type":"object"}},"type":"object"},"name":{"enum":["backup.restore-requested"],"type":"string"},"parameters":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupScheduleCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"ignoredDatabases":{"items":{"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["kind","name"],"type":"object"},"type":"array"},"ignoredFiles":{"type":"boolean"},"interval":{"type":"string"},"ttl":{"type":"string"}},"required":["description","interval","ttl","ignoredDatabases","ignoredFiles"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"ignoredDatabases":{"items":{"properties":{"kind":{"type":"string"},"name":{"type":"string"}},"required":["kind","name"],"type":"object"},"nullable":true,"type":"array"},"ignoredFiles":{"nullable":true,"type":"boolean"},"interval":{"nullable":true,"type":"string"},"ttl":{"nullable":true,"type":"string"}},"required":["description","interval","ttl","ignoredDatabases","ignoredFiles"],"type":"object"}},"type":"object"},"name":{"enum":["backup.schedule-created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupScheduleIntervalUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"interval":{"type":"string"}},"required":["interval"],"type":"object"},"before":{"properties":{"interval":{"nullable":true,"type":"string"}},"required":["interval"],"type":"object"}},"type":"object"},"name":{"enum":["backup.schedule-interval-updated"],"type":"string"},"parameters":{"properties":{"description":{"properties":{"aggregate":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AggregateReference"},"isSystemBackup":{"type":"boolean"},"name":{"type":"string"}},"required":["name","aggregate"],"type":"object"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.BackupScheduleTtlUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"ttl":{"type":"string"}},"required":["ttl"],"type":"object"},"before":{"properties":{"ttl":{"nullable":true,"type":"string"}},"required":["ttl"],"type":"object"}},"type":"object"},"name":{"enum":["backup.schedule-ttl-updated"],"type":"string"},"parameters":{"properties":{"description":{"properties":{"aggregate":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AggregateReference"},"isSystemBackup":{"type":"boolean"},"name":{"type":"string"}},"required":["name","aggregate"],"type":"object"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerCommandUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"command":{"items":{"type":"string"},"type":"array"}},"required":["command"],"type":"object"},"before":{"properties":{"command":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["command"],"type":"object"}},"type":"object"},"name":{"enum":["container.command-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"command":{"items":{"type":"string"},"type":"array"},"cpus":{"nullable":true,"type":"string"},"description":{"type":"string"},"entrypoint":{"items":{"type":"string"},"type":"array"},"envs":{"items":{"type":"string"},"type":"array"},"image":{"type":"string"},"imageDigest":{"type":"string"},"memory":{"nullable":true,"type":"string"},"ports":{"items":{"type":"string"},"type":"array"},"restartPolicy":{"enum":["no","always","on-failure","unless-stopped"],"nullable":true,"type":"string"},"serviceName":{"type":"string"},"volumes":{"items":{"type":"string"},"type":"array"}},"required":["serviceName","description","image","imageDigest","entrypoint","command","ports","volumes","envs","cpus","memory","restartPolicy"],"type":"object"},"before":{"properties":{"command":{"items":{"type":"string"},"nullable":true,"type":"array"},"cpus":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"entrypoint":{"items":{"type":"string"},"nullable":true,"type":"array"},"envs":{"items":{"type":"string"},"nullable":true,"type":"array"},"image":{"nullable":true,"type":"string"},"imageDigest":{"nullable":true,"type":"string"},"memory":{"nullable":true,"type":"string"},"ports":{"items":{"type":"string"},"nullable":true,"type":"array"},"restartPolicy":{"enum":["no","always","on-failure","unless-stopped"],"nullable":true,"type":"string"},"serviceName":{"nullable":true,"type":"string"},"volumes":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["serviceName","description","image","imageDigest","entrypoint","command","ports","volumes","envs","cpus","memory","restartPolicy"],"type":"object"}},"type":"object"},"name":{"enum":["container.created"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["container.deleted"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["container.description-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerEntrypointUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"entrypoint":{"items":{"type":"string"},"type":"array"}},"required":["entrypoint"],"type":"object"},"before":{"properties":{"entrypoint":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["entrypoint"],"type":"object"}},"type":"object"},"name":{"enum":["container.entrypoint-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerEnvsUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"envs":{"items":{"type":"string"},"type":"array"}},"required":["envs"],"type":"object"},"before":{"properties":{"envs":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["envs"],"type":"object"}},"type":"object"},"name":{"enum":["container.envs-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerImageUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"image":{"type":"string"},"imageDigest":{"type":"string"}},"type":"object"},"before":{"properties":{"image":{"nullable":true,"type":"string"},"imageDigest":{"nullable":true,"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["container.image-updated","container.image-pulled"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerLifecycle":{"properties":{"changes":{"type":"object"},"name":{"enum":["container.started","container.stopped","container.restarted","container.recreated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerPortsUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"ports":{"items":{"type":"string"},"type":"array"}},"required":["ports"],"type":"object"},"before":{"properties":{"ports":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["ports"],"type":"object"}},"type":"object"},"name":{"enum":["container.ports-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerRegistryCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"credentialsConfigured":{"type":"boolean"},"description":{"type":"string"},"uri":{"type":"string"}},"required":["description","uri","credentialsConfigured"],"type":"object"},"before":{"properties":{"credentialsConfigured":{"nullable":true,"type":"boolean"},"description":{"nullable":true,"type":"string"},"uri":{"nullable":true,"type":"string"}},"required":["description","uri","credentialsConfigured"],"type":"object"}},"type":"object"},"name":{"enum":["container.registry-created"],"type":"string"},"parameters":{"properties":{"registry":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"uri":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["registry","uri"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerRegistryCredentialsUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"credentialsConfigured":{"type":"boolean"}},"required":["credentialsConfigured"],"type":"object"},"before":{"properties":{"credentialsConfigured":{"nullable":true,"type":"boolean"}},"required":["credentialsConfigured"],"type":"object"}},"type":"object"},"name":{"enum":["container.registry-credentials-updated"],"type":"string"},"parameters":{"properties":{"registry":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"uri":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["registry","uri"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerRegistryDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["container.registry-deleted"],"type":"string"},"parameters":{"properties":{"registry":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"uri":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["registry","uri"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerRegistryDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["container.registry-description-updated"],"type":"string"},"parameters":{"properties":{"registry":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"uri":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["registry","uri"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerRegistryUriUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"uri":{"type":"string"}},"required":["uri"],"type":"object"},"before":{"properties":{"uri":{"nullable":true,"type":"string"}},"required":["uri"],"type":"object"}},"type":"object"},"name":{"enum":["container.registry-uri-updated"],"type":"string"},"parameters":{"properties":{"registry":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"uri":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["registry","uri"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerResourcesUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"cpus":{"nullable":true,"type":"string"},"memory":{"nullable":true,"type":"string"}},"type":"object"},"before":{"properties":{"cpus":{"nullable":true,"type":"string"},"memory":{"nullable":true,"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["container.resources-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerRestartPolicyUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"restartPolicy":{"enum":["no","always","on-failure","unless-stopped"],"nullable":true,"type":"string"}},"required":["restartPolicy"],"type":"object"},"before":{"properties":{"restartPolicy":{"enum":["no","always","on-failure","unless-stopped"],"nullable":true,"type":"string"}},"required":["restartPolicy"],"type":"object"}},"type":"object"},"name":{"enum":["container.restart-policy-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerStackCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"storage":{"type":"string"}},"required":["description","storage"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"storage":{"nullable":true,"type":"string"}},"required":["description","storage"],"type":"object"}},"type":"object"},"name":{"enum":["container.stack-created"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerStackDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["container.stack-deleted"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerStackDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["container.stack-description-updated"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerStackStorageUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"storage":{"type":"string"}},"required":["storage"],"type":"object"},"before":{"properties":{"storage":{"nullable":true,"type":"string"}},"required":["storage"],"type":"object"}},"type":"object"},"name":{"enum":["container.stack-storage-updated"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerStackUpdateScheduleUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"updateSchedule":{"nullable":true,"type":"string"},"updateScheduleTimeZone":{"nullable":true,"type":"string"}},"required":["updateSchedule","updateScheduleTimeZone"],"type":"object"},"before":{"properties":{"updateSchedule":{"nullable":true,"type":"string"},"updateScheduleTimeZone":{"nullable":true,"type":"string"}},"required":["updateSchedule","updateScheduleTimeZone"],"type":"object"}},"type":"object"},"name":{"enum":["container.stack-update-schedule-updated"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerVolumeCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"before":{"properties":{"name":{"nullable":true,"type":"string"}},"required":["name"],"type":"object"}},"type":"object"},"name":{"enum":["container.volume-created"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"volume":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["volume","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerVolumeDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["container.volume-deleted"],"type":"string"},"parameters":{"properties":{"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"volume":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["volume","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ContainerVolumesUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"volumes":{"items":{"type":"string"},"type":"array"}},"required":["volumes"],"type":"object"},"before":{"properties":{"volumes":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["volumes"],"type":"object"}},"type":"object"},"name":{"enum":["container.volumes-updated"],"type":"string"},"parameters":{"properties":{"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"serviceName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"shortId":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"stack":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["container","serviceName","shortId","stack"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobActiveUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"active":{"type":"boolean"}},"required":["active"],"type":"object"},"before":{"properties":{"active":{"nullable":true,"type":"boolean"}},"required":["active"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.activated","cronjob.deactivated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobAlertThresholdUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"failedExecutionAlertThreshold":{"nullable":true,"type":"integer"}},"required":["failedExecutionAlertThreshold"],"type":"object"},"before":{"properties":{"failedExecutionAlertThreshold":{"nullable":true,"type":"integer"}},"required":["failedExecutionAlertThreshold"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.alert-threshold-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobCommandUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"command":{"type":"string"}},"required":["command"],"type":"object"},"before":{"properties":{"command":{"nullable":true,"type":"string"}},"required":["command"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.command-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobConcurrencyPolicyUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"concurrencyPolicy":{"enum":["allow","forbid","replace"],"nullable":true,"type":"string"}},"required":["concurrencyPolicy"],"type":"object"},"before":{"properties":{"concurrencyPolicy":{"enum":["allow","forbid","replace"],"nullable":true,"type":"string"}},"required":["concurrencyPolicy"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.concurrency-policy-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"active":{"type":"boolean"},"command":{"nullable":true,"type":"string"},"concurrencyPolicy":{"enum":["allow","forbid","replace"],"nullable":true,"type":"string"},"container":{"nullable":true,"type":"string"},"description":{"type":"string"},"failedExecutionAlertThreshold":{"nullable":true,"type":"integer"},"interpreter":{"nullable":true,"type":"string"},"interval":{"type":"string"},"notificationEmailConfigured":{"type":"boolean"},"parameters":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"shortId":{"type":"string"},"timeZone":{"type":"string"},"timeout":{"type":"integer"},"url":{"nullable":true,"type":"string"}},"required":["shortId","description","interval","active","timeout","timeZone","concurrencyPolicy","failedExecutionAlertThreshold","notificationEmailConfigured"],"type":"object"},"before":{"properties":{"active":{"nullable":true,"type":"boolean"},"command":{"nullable":true,"type":"string"},"concurrencyPolicy":{"enum":["allow","forbid","replace"],"nullable":true,"type":"string"},"container":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"failedExecutionAlertThreshold":{"nullable":true,"type":"integer"},"interpreter":{"nullable":true,"type":"string"},"interval":{"nullable":true,"type":"string"},"notificationEmailConfigured":{"nullable":true,"type":"boolean"},"parameters":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"shortId":{"nullable":true,"type":"string"},"timeZone":{"nullable":true,"type":"string"},"timeout":{"nullable":true,"type":"integer"},"url":{"nullable":true,"type":"string"}},"required":["shortId","description","interval","active","timeout","timeZone","concurrencyPolicy","failedExecutionAlertThreshold","notificationEmailConfigured"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.created"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["cronjob.deleted"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.description-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobExecution":{"properties":{"changes":{"type":"object"},"name":{"enum":["cronjob.execution-triggered","cronjob.execution-aborted"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobIntervalUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"interval":{"type":"string"}},"required":["interval"],"type":"object"},"before":{"properties":{"interval":{"nullable":true,"type":"string"}},"required":["interval"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.interval-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobNotificationEmailUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"notificationEmailConfigured":{"type":"boolean"},"notificationEmailVerificationPending":{"type":"boolean"}},"required":["notificationEmailConfigured"],"type":"object"},"before":{"properties":{"notificationEmailConfigured":{"nullable":true,"type":"boolean"},"notificationEmailVerificationPending":{"nullable":true,"type":"boolean"}},"required":["notificationEmailConfigured"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.notification-email-updated","cronjob.notification-email-removed","cronjob.notification-email-verified"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobNotificationEmailVerificationUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"notificationEmailVerificationPending":{"type":"boolean"}},"required":["notificationEmailVerificationPending"],"type":"object"},"before":{"properties":{"notificationEmailVerificationPending":{"nullable":true,"type":"boolean"}},"required":["notificationEmailVerificationPending"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.notification-email-verification-requested","cronjob.notification-email-verification-cancelled"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobServiceReferenceUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"container":{"nullable":true,"type":"string"}},"required":["container"],"type":"object"},"before":{"properties":{"container":{"nullable":true,"type":"string"}},"required":["container"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.service-reference-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobTargetUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"interpreter":{"nullable":true,"type":"string"},"parameters":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"before":{"properties":{"interpreter":{"nullable":true,"type":"string"},"parameters":{"nullable":true,"type":"string"},"path":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["cronjob.target-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobTimeZoneUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"timeZone":{"type":"string"}},"required":["timeZone"],"type":"object"},"before":{"properties":{"timeZone":{"nullable":true,"type":"string"}},"required":["timeZone"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.time-zone-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.CronjobTimeoutUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"timeout":{"type":"integer"}},"required":["timeout"],"type":"object"},"before":{"properties":{"timeout":{"nullable":true,"type":"integer"}},"required":["timeout"],"type":"object"}},"type":"object"},"name":{"enum":["cronjob.timeout-updated"],"type":"string"},"parameters":{"properties":{"appInstallation":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"container":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"}},"required":["name","description","version"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"name":{"nullable":true,"type":"string"},"version":{"nullable":true,"type":"string"}},"type":"object"}},"type":"object"},"name":{"enum":["database.mysql-created","database.redis-created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"version":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description","version"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseDeleted":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["database.mysql-deleted","database.redis-deleted"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseDescriptionSet":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["database.mysql-description-set","database.redis-description-set"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseMysqlUserCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"externalAccess":{"type":"boolean"},"name":{"type":"string"},"permissionsRead":{"type":"boolean"},"permissionsWrite":{"type":"boolean"}},"required":["name","description","externalAccess","permissionsRead","permissionsWrite"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"externalAccess":{"nullable":true,"type":"boolean"},"name":{"nullable":true,"type":"string"},"permissionsRead":{"nullable":true,"type":"boolean"},"permissionsWrite":{"nullable":true,"type":"boolean"}},"type":"object"}},"type":"object"},"name":{"enum":["database.mysql-user-created"],"type":"string"},"parameters":{"properties":{"databaseDescription":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"databaseName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description","databaseDescription","databaseName"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseMysqlUserDeleted":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["database.mysql-user-deleted"],"type":"string"},"parameters":{"properties":{"databaseDescription":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"databaseName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description","databaseDescription","databaseName"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseMysqlUserPasswordSet":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["database.mysql-user-password-set"],"type":"string"},"parameters":{"properties":{"databaseDescription":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"databaseName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description","databaseDescription","databaseName"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseMysqlUserUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"externalAccess":{"type":"boolean"},"permissionsRead":{"type":"boolean"},"permissionsWrite":{"type":"boolean"}},"required":["description","externalAccess","permissionsRead","permissionsWrite"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"externalAccess":{"nullable":true,"type":"boolean"},"permissionsRead":{"type":"boolean"},"permissionsWrite":{"type":"boolean"}},"required":["description","externalAccess","permissionsRead","permissionsWrite"],"type":"object"}},"type":"object"},"name":{"enum":["database.mysql-user-updated"],"type":"string"},"parameters":{"properties":{"databaseDescription":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"databaseName":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"},"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description","databaseDescription","databaseName"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DatabaseVersionSet":{"properties":{"changes":{"properties":{"after":{"properties":{"version":{"type":"string"}},"required":["version"],"type":"object"},"before":{"properties":{"version":{"nullable":true,"type":"string"}},"required":["version"],"type":"object"}},"type":"object"},"name":{"enum":["database.mysql-version-set","database.redis-version-set"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"version":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description","version"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsARecordSetManaged":{"properties":{"changes":{"properties":{"after":{"properties":{"aRecords":{"enum":["managed"],"type":"string"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["aRecords"],"type":"object"},"before":{"properties":{"aRecords":{"items":{"type":"string"},"nullable":true,"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["aRecords"],"type":"object"}},"type":"object"},"name":{"enum":["dns.a-record-set-managed"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsARecordSet":{"properties":{"changes":{"properties":{"after":{"properties":{"aRecords":{"items":{"type":"string"},"type":"array"},"aaaaRecords":{"items":{"type":"string"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"type":"object"},"before":{"properties":{"aRecords":{"items":{"type":"string"},"type":"array"},"aaaaRecords":{"items":{"type":"string"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"type":"object"}},"type":"object"},"name":{"enum":["dns.a-record-set"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsCaaRecordSet":{"properties":{"changes":{"properties":{"after":{"properties":{"caa":{"items":{"type":"object"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["caa"],"type":"object"},"before":{"properties":{"caa":{"items":{"type":"object"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["caa"],"type":"object"}},"type":"object"},"name":{"enum":["dns.caa-record-set"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsCnameRecordSet":{"properties":{"changes":{"properties":{"after":{"properties":{"cname":{"type":"string"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["cname"],"type":"object"},"before":{"properties":{"cname":{"type":"string"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["cname"],"type":"object"}},"type":"object"},"name":{"enum":["dns.cname-record-set"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsDomainDeleted":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["dns.domain-deleted"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsIngressDeleted":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["dns.ingress-deleted"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsMxRecordSetManaged":{"properties":{"changes":{"properties":{"after":{"properties":{"mx":{"enum":["managed"],"type":"string"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["mx"],"type":"object"},"before":{"properties":{"mx":{"items":{"type":"object"},"nullable":true,"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["mx"],"type":"object"}},"type":"object"},"name":{"enum":["dns.mx-record-set-managed"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsMxRecordSet":{"properties":{"changes":{"properties":{"after":{"properties":{"mx":{"items":{"type":"object"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["mx"],"type":"object"},"before":{"properties":{"mx":{"items":{"type":"object"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["mx"],"type":"object"}},"type":"object"},"name":{"enum":["dns.mx-record-set"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsSrvRecordSet":{"properties":{"changes":{"properties":{"after":{"properties":{"srv":{"items":{"type":"object"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["srv"],"type":"object"},"before":{"properties":{"srv":{"items":{"type":"object"},"type":"array"},"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]}},"required":["srv"],"type":"object"}},"type":"object"},"name":{"enum":["dns.srv-record-set"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsTxtRecordSet":{"properties":{"changes":{"properties":{"after":{"properties":{"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]},"txt":{"items":{"type":"string"},"type":"array"}},"required":["txt"],"type":"object"},"before":{"properties":{"ttl":{"nullable":true,"oneOf":[{"type":"integer"},{"enum":["auto"],"type":"string"}]},"txt":{"items":{"type":"string"},"type":"array"}},"required":["txt"],"type":"object"}},"type":"object"},"name":{"enum":["dns.txt-record-set"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsZoneCreated":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["dns.zone-created"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.DnsZoneDeleted":{"properties":{"changes":{"additionalProperties":false,"type":"object"},"name":{"enum":["dns.zone-deleted"],"type":"string"},"parameters":{"properties":{"domain":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["domain"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.GenericAction":{"description":"Fallback when no matching action is found","properties":{"changes":{"additionalProperties":{"properties":{"after":{"type":"unknown"},"before":{"type":"unknown"}},"type":"object"},"type":"object"},"name":{"type":"string"},"parameters":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.MembershipInviteCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"role":{"enum":["owner","emailadmin","external"],"nullable":true,"type":"string"}},"required":["role","expiresAt"],"type":"object"},"before":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"role":{"enum":["owner","emailadmin","external"],"nullable":true,"type":"string"}},"required":["role","expiresAt"],"type":"object"}},"type":"object"},"name":{"enum":["membership.invite-created"],"type":"string"},"parameters":{"properties":{"member":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.MembershipInviteStatusChanged":{"properties":{"changes":{"type":"object"},"name":{"enum":["membership.invite-resent","membership.invite-accepted","membership.invite-declined","membership.invite-revoked","membership.invite-expired"],"type":"string"},"parameters":{"properties":{"member":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.MembershipMemberAdded":{"properties":{"changes":{"properties":{"after":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"inherited":{"type":"boolean"},"role":{"enum":["owner","emailadmin","external"],"nullable":true,"type":"string"}},"required":["role","expiresAt","inherited"],"type":"object"},"before":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"inherited":{"nullable":true,"type":"boolean"},"role":{"enum":["owner","emailadmin","external"],"nullable":true,"type":"string"}},"required":["role","expiresAt","inherited"],"type":"object"}},"type":"object"},"name":{"enum":["membership.member-added","membership.member-inherited"],"type":"string"},"parameters":{"properties":{"member":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.MembershipMemberExpiryUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"required":["expiresAt"],"type":"object"},"before":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"required":["expiresAt"],"type":"object"}},"type":"object"},"name":{"enum":["membership.member-expiry-updated"],"type":"string"},"parameters":{"properties":{"member":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.MembershipMemberRemoved":{"properties":{"changes":{"type":"object"},"name":{"enum":["membership.member-removed","membership.member-left","membership.member-expired"],"type":"string"},"parameters":{"properties":{"member":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.MembershipMemberRoleUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"role":{"enum":["owner","emailadmin","external"],"nullable":true,"type":"string"}},"required":["role"],"type":"object"},"before":{"properties":{"role":{"enum":["owner","emailadmin","external"],"nullable":true,"type":"string"}},"required":["role"],"type":"object"}},"type":"object"},"name":{"enum":["membership.member-role-updated"],"type":"string"},"parameters":{"properties":{"member":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ProjectCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"server":{"nullable":true,"type":"string"},"shortId":{"type":"string"}},"required":["shortId","description","server"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"server":{"nullable":true,"type":"string"},"shortId":{"nullable":true,"type":"string"}},"required":["shortId","description","server"],"type":"object"}},"type":"object"},"name":{"enum":["project.created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"server":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.ProjectDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["project.description-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"server":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LinkedParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SftpUserAccessLevelUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"accessLevel":{"enum":["read","full"],"nullable":true,"type":"string"}},"required":["accessLevel"],"type":"object"},"before":{"properties":{"accessLevel":{"enum":["read","full"],"nullable":true,"type":"string"}},"required":["accessLevel"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.sftp-user-access-level-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SftpUserCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"accessLevel":{"enum":["read","full"],"nullable":true,"type":"string"},"active":{"type":"boolean"},"description":{"type":"string"},"directories":{"items":{"type":"string"},"type":"array"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"passwordConfigured":{"type":"boolean"},"publicKeys":{"items":{"properties":{"comment":{"type":"string"},"fingerprint":{"type":"string"}},"required":["fingerprint","comment"],"type":"object"},"type":"array"},"username":{"type":"string"}},"required":["username","description"],"type":"object"},"before":{"properties":{"accessLevel":{"enum":["read","full"],"nullable":true,"type":"string"},"active":{"nullable":true,"type":"boolean"},"description":{"nullable":true,"type":"string"},"directories":{"items":{"type":"string"},"nullable":true,"type":"array"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"passwordConfigured":{"nullable":true,"type":"boolean"},"publicKeys":{"items":{"properties":{"comment":{"type":"string"},"fingerprint":{"type":"string"}},"required":["fingerprint","comment"],"type":"object"},"nullable":true,"type":"array"},"username":{"nullable":true,"type":"string"}},"required":["username","description"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.sftp-user-created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SftpUserDirectoriesUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"directories":{"items":{"type":"string"},"type":"array"}},"required":["directories"],"type":"object"},"before":{"properties":{"directories":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["directories"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.sftp-user-directories-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SignupScopedTokenCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"scopes":{"items":{"type":"string"},"type":"array"}},"required":["description","scopes","expiresAt"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"scopes":{"items":{"type":"string"},"nullable":true,"type":"array"}},"required":["description","scopes","expiresAt"],"type":"object"}},"type":"object"},"name":{"enum":["signup.scoped-token-created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SignupScopedTokenDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["signup.scoped-token-description-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SignupScopedTokenRevoked":{"properties":{"changes":{"type":"object"},"name":{"enum":["signup.scoped-token-revoked","signup.scoped-token-expired"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserActiveUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"active":{"type":"boolean"}},"required":["active"],"type":"object"},"before":{"properties":{"active":{"nullable":true,"type":"boolean"}},"required":["active"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.ssh-user-activated","sshuser.sftp-user-activated","sshuser.ssh-user-deactivated","sshuser.sftp-user-deactivated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserCreated":{"properties":{"changes":{"properties":{"after":{"properties":{"active":{"type":"boolean"},"description":{"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"passwordConfigured":{"type":"boolean"},"publicKeys":{"items":{"properties":{"comment":{"type":"string"},"fingerprint":{"type":"string"}},"required":["fingerprint","comment"],"type":"object"},"type":"array"},"username":{"type":"string"}},"required":["username","description"],"type":"object"},"before":{"properties":{"active":{"nullable":true,"type":"boolean"},"description":{"nullable":true,"type":"string"},"expiresAt":{"format":"date-time","nullable":true,"type":"string"},"passwordConfigured":{"nullable":true,"type":"boolean"},"publicKeys":{"items":{"properties":{"comment":{"type":"string"},"fingerprint":{"type":"string"}},"required":["fingerprint","comment"],"type":"object"},"nullable":true,"type":"array"},"username":{"nullable":true,"type":"string"}},"required":["username","description"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.ssh-user-created"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserDeleted":{"properties":{"changes":{"type":"object"},"name":{"enum":["sshuser.ssh-user-deleted","sshuser.sftp-user-deleted","sshuser.ssh-user-expired","sshuser.sftp-user-expired"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserDescriptionUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"},"before":{"properties":{"description":{"nullable":true,"type":"string"}},"required":["description"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.ssh-user-description-updated","sshuser.sftp-user-description-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserExpiryUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"required":["expiresAt"],"type":"object"},"before":{"properties":{"expiresAt":{"format":"date-time","nullable":true,"type":"string"}},"required":["expiresAt"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.ssh-user-expiry-updated","sshuser.sftp-user-expiry-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserPasswordUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"passwordConfigured":{"type":"boolean"}},"required":["passwordConfigured"],"type":"object"},"before":{"properties":{"passwordConfigured":{"nullable":true,"type":"boolean"}},"required":["passwordConfigured"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.ssh-user-password-updated","sshuser.sftp-user-password-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.SshUserPublicKeysUpdated":{"properties":{"changes":{"properties":{"after":{"properties":{"publicKeys":{"items":{"properties":{"comment":{"type":"string"},"fingerprint":{"type":"string"}},"required":["fingerprint","comment"],"type":"object"},"type":"array"}},"required":["publicKeys"],"type":"object"},"before":{"properties":{"publicKeys":{"items":{"properties":{"comment":{"type":"string"},"fingerprint":{"type":"string"}},"required":["fingerprint","comment"],"type":"object"},"nullable":true,"type":"array"}},"required":["publicKeys"],"type":"object"}},"type":"object"},"name":{"enum":["sshuser.ssh-user-public-keys-updated","sshuser.sftp-user-public-keys-updated"],"type":"string"},"parameters":{"properties":{"description":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"},"name":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ParameterProperty"}},"required":["name","description"],"type":"object"}},"required":["name","changes","parameters"],"type":"object"},"de.mittwald.v1.activitylog.AggregateReference":{"properties":{"aggregate":{"type":"string"},"domain":{"type":"string"},"id":{"type":"string"}},"required":["id","aggregate","domain"],"type":"object"},"de.mittwald.v1.project.AvatarRules":{"properties":{"maxSizeInKB":{"example":3000,"format":"int64","type":"integer"},"mimeTypes":{"example":["image/jpeg","image/png"],"items":{"type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"format":"int64","type":"integer"},"width":{"format":"int64","type":"integer"}},"type":"object"},"min":{"properties":{"height":{"format":"int64","type":"integer"},"width":{"format":"int64","type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}},"required":["mimeTypes","maxSizeInKB"],"type":"object"},"de.mittwald.v1.project.DeprecatedProjectReadinessStatus":{"deprecated":true,"description":"deprecated by property status","enum":["creating","ready","unready"],"type":"string"},"de.mittwald.v1.project.DeprecatedServerReadinessStatus":{"deprecated":true,"description":"deprecated by property status","enum":["creating","ready","unready"],"type":"string"},"de.mittwald.v1.project.FilesystemDirectoryListing":{"properties":{"absolutePath":{"type":"string"},"isDirectory":{"type":"boolean"},"isExecutable":{"type":"boolean"},"isFile":{"type":"boolean"},"isSymlink":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.project.FilesystemDirectoryListing"},"type":"array"},"name":{"type":"string"},"size":{"format":"int64","type":"integer"},"target":{"type":"string"}},"required":["absolutePath","name","size"],"type":"object"},"de.mittwald.v1.project.FilesystemUsagesDisk":{"properties":{"path":{"type":"string"},"totalBytes":{"format":"int64","type":"integer"},"usedBytes":{"format":"int64","type":"integer"}},"type":"object"},"de.mittwald.v1.project.FsApiJwt":{"properties":{"jwt":{"example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFkYSBMb3ZlbGFjZSIsImlhdCI6MTUxNjIzOTAyMn0.sMjBP_p34T5mbJTVdEWQ8i2hQPVxsmlt8L6-rKpCczo","type":"string"}},"required":["jwt"],"type":"object"},"de.mittwald.v1.project.HardwareSpec":{"properties":{"cpu":{"example":"2","type":"string"},"mem":{"deprecated":true,"description":"deprecated by memory","example":"4Gi","type":"string"},"memory":{"example":"4Gi","type":"string"},"storage":{"example":"50Gi","type":"string"}},"required":["storage"],"type":"object"},"de.mittwald.v1.activitylog.LinkedParameterProperty":{"properties":{"aggregate":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AggregateReference"},"name":{"type":"string"}},"required":["name","aggregate"],"type":"object"},"de.mittwald.v1.activitylog.LogEntry":{"properties":{"action":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsDomainDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsIngressDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsZoneCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsZoneDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsCnameRecordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsSrvRecordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsCaaRecordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsTxtRecordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsARecordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsARecordSetManaged"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsMxRecordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DnsMxRecordSetManaged"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseDescriptionSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseVersionSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseMysqlUserCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseMysqlUserUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseMysqlUserPasswordSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.DatabaseMysqlUserDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationRequested"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationCopyRequested"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationDescriptionSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationFailed"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationDatabaseLinked"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationDatabaseUnlinked"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationMainDatabaseChanged"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationAppVersionSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationDesiredSystemSoftwareSet"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AppInstallationDesiredSystemSoftwareDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobIntervalUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobTimeZoneUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobTargetUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobCommandUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobServiceReferenceUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobTimeoutUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobConcurrencyPolicyUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobAlertThresholdUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobNotificationEmailUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobNotificationEmailVerificationUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobActiveUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.CronjobExecution"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerStackCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerStackDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerStackStorageUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerStackUpdateScheduleUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerStackDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerImageUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerEntrypointUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerCommandUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerPortsUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerVolumesUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerEnvsUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerResourcesUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerRestartPolicyUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerLifecycle"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerVolumeCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerVolumeDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryUriUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryCredentialsUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ContainerRegistryDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ProjectCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.ProjectDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.MembershipInviteCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.MembershipInviteStatusChanged"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.MembershipMemberAdded"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.MembershipMemberRoleUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.MembershipMemberExpiryUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.MembershipMemberRemoved"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SftpUserCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserPasswordUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserPublicKeysUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserActiveUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserExpiryUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SftpUserAccessLevelUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SftpUserDirectoriesUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SshUserDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupExpirationUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupExportRequested"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupRestoreRequested"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupScheduleCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupScheduleIntervalUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupScheduleTtlUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.BackupDeleted"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SignupScopedTokenCreated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SignupScopedTokenDescriptionUpdated"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.SignupScopedTokenRevoked"},{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.GenericAction"}]},"aggregate":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AggregateReference"},"credential":{"description":"Credential used to execute the action. Null for historical events or actions without\nrequest credentials. Clients must treat unknown kind values like unknown.\n","nullable":true,"properties":{"apiTokenName":{"description":"Last known name of the API token, including removed or expired tokens.","type":"string"},"id":{"type":"string"},"kind":{"enum":["unknown","userSession","apiToken","scopedToken","extensionInstance","extensionSession","serviceToken","atrek","classicIdentity"],"type":"string"}},"required":["kind","id"],"type":"object"},"dateTime":{"format":"date-time","type":"string"},"impersonator":{"description":"Null or empty object. If set, the action was executed by an mittwald employee.","type":"object"},"user":{"properties":{"id":{"type":"string"},"name":{"description":"Description of the project API token. Only set for `scopedToken`.","type":"string"},"type":{"description":"`scopedToken` is a project API token acting as itself; its `id` is the token's ID.\n","enum":["user","extension","scopedToken"],"type":"string"}},"required":["type","id"],"type":"object"}},"required":["action","dateTime","aggregate"],"type":"object"},"de.mittwald.v1.project.MachineType":{"properties":{"cpu":{"example":"2","type":"string"},"memory":{"example":"4Gi","type":"string"},"name":{"example":"shared.large","type":"string"}},"required":["name","cpu","memory"],"type":"object"},"de.mittwald.v1.activitylog.ParameterProperty":{"properties":{"aggregate":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.AggregateReference"},"name":{"type":"string"}},"required":["name"],"type":"object"},"de.mittwald.v1.project.PrimaryIpAddresses":{"description":"Primary public IP addresses of the Server, one per address family.","properties":{"v4":{"example":"45.144.186.1","format":"ipv4","type":"string"},"v6":{"example":"2a0f:d40:1::1","format":"ipv6","type":"string"}},"type":"object"},"de.mittwald.v1.project.DisableReason":{"enum":["maliciousCode","illegalContent","maliciousConduct","suspended"],"type":"string"},"de.mittwald.v1.project.ProjectFeature":{"enum":["redis","node","runtimeApps","container"],"type":"string"},"de.mittwald.v1.project.ProjectListItem":{"properties":{"backupStorageUsageInBytes":{"format":"int64","type":"integer"},"backupStorageUsageInBytesSetAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"customerId":{"type":"string"},"customerMeta":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"deletionRequested":{"type":"boolean"},"description":{"type":"string"},"disableReason":{"$ref":"#/components/schemas/de.mittwald.v1.project.DisableReason"},"disabledAt":{"format":"date-time","type":"string"},"enabled":{"type":"boolean"},"features":{"deprecated":true,"description":"Deprecated by 'supportedFeatures'.","items":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectFeature"},"type":"array"},"id":{"type":"string"},"imageRefId":{"type":"string"},"isReady":{"deprecated":true,"description":"deprecated","type":"boolean"},"primaryIpAddresses":{"$ref":"#/components/schemas/de.mittwald.v1.project.PrimaryIpAddresses"},"projectHostingId":{"format":"uuid","type":"string"},"readiness":{"$ref":"#/components/schemas/de.mittwald.v1.project.DeprecatedProjectReadinessStatus"},"serverGroupId":{"type":"string"},"serverId":{"type":"string"},"serverShortId":{"type":"string"},"shortId":{"type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectStatus"},"statusSetAt":{"format":"date-time","type":"string"},"supportedFeatures":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectFeature"},"type":"array"},"webStorageUsageInBytes":{"format":"int64","type":"integer"},"webStorageUsageInBytesSetAt":{"format":"date-time","type":"string"}},"required":["id","shortId","description","enabled","customerMeta","customerId","createdAt","isReady","readiness","status","statusSetAt","webStorageUsageInBytes","webStorageUsageInBytesSetAt","backupStorageUsageInBytes","backupStorageUsageInBytesSetAt","supportedFeatures","serverGroupId","deletionRequested"],"type":"object"},"de.mittwald.v1.project.ProjectStatus":{"enum":["pending","ready","preparingForVolumeMigration","migratingVolume","error","disabled"],"type":"string"},"de.mittwald.v1.project.Project":{"properties":{"backupStorageUsageInBytes":{"format":"int64","type":"integer"},"backupStorageUsageInBytesSetAt":{"format":"date-time","type":"string"},"clusterDomain":{"example":"project.host","format":"hostname","type":"string"},"clusterID":{"deprecated":true,"description":"deprecated by property clusterId","example":"espelkamp","type":"string"},"clusterId":{"example":"espelkamp","type":"string"},"createdAt":{"format":"date-time","type":"string"},"customerId":{"example":"f282f1a8-2b15-4b08-9850-6788e3b20136","type":"string"},"deletionRequested":{"type":"boolean"},"description":{"example":"My first Project!","type":"string"},"directories":{"additionalProperties":{"type":"string"},"example":{"Home":"/home/p-4e7tz3"},"type":"object"},"disableReason":{"$ref":"#/components/schemas/de.mittwald.v1.project.DisableReason"},"disabledAt":{"format":"date-time","type":"string"},"enabled":{"type":"boolean"},"features":{"deprecated":true,"description":"Deprecated by 'supportedFeatures'.","items":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectFeature"},"type":"array"},"id":{"format":"uuid","type":"string"},"imageRefId":{"format":"uuid","type":"string"},"isReady":{"deprecated":true,"description":"deprecated by property status","type":"boolean"},"primaryIpAddresses":{"$ref":"#/components/schemas/de.mittwald.v1.project.PrimaryIpAddresses"},"projectHostingId":{"format":"uuid","type":"string"},"readiness":{"$ref":"#/components/schemas/de.mittwald.v1.project.DeprecatedProjectReadinessStatus"},"serverGroupId":{"type":"string"},"serverId":{"format":"uuid","type":"string"},"serverShortId":{"type":"string"},"shortId":{"example":"s-4e7tz3","type":"string"},"spec":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.project.VisitorSpec"},{"$ref":"#/components/schemas/de.mittwald.v1.project.HardwareSpec"}]},"statisticsBaseDomain":{"example":"pe-prod.staging.mcloud.services","format":"hostname","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectStatus"},"statusSetAt":{"format":"date-time","type":"string"},"supportedFeatures":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectFeature"},"type":"array"},"webStorageUsageInBytes":{"format":"int64","type":"integer"},"webStorageUsageInBytesSetAt":{"format":"date-time","type":"string"}},"required":["id","shortId","description","enabled","customerId","directories","createdAt","isReady","readiness","status","statusSetAt","webStorageUsageInBytes","webStorageUsageInBytesSetAt","backupStorageUsageInBytes","backupStorageUsageInBytesSetAt","supportedFeatures","serverGroupId"],"type":"object"},"de.mittwald.v1.project.ServerDisableReason":{"enum":["suspended"],"type":"string"},"de.mittwald.v1.project.ServerStatus":{"enum":["pending","ready","unready","suspended","migrating"],"type":"string"},"de.mittwald.v1.project.Server":{"properties":{"clusterName":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"customerId":{"example":"673c107f-75e1-451c-8eaa-5bf101bd2b2c","type":"string"},"description":{"example":"My first Server!","type":"string"},"disabledReason":{"$ref":"#/components/schemas/de.mittwald.v1.project.ServerDisableReason"},"groupId":{"type":"string"},"id":{"format":"uuid","type":"string"},"imageRefId":{"format":"uuid","type":"string"},"isReady":{"deprecated":true,"description":"deprecated by property status","type":"boolean"},"machineType":{"$ref":"#/components/schemas/de.mittwald.v1.project.MachineType"},"primaryIpAddresses":{"$ref":"#/components/schemas/de.mittwald.v1.project.PrimaryIpAddresses"},"readiness":{"$ref":"#/components/schemas/de.mittwald.v1.project.DeprecatedServerReadinessStatus"},"shortId":{"example":"s-4e7tz3","type":"string"},"statisticsBaseDomain":{"example":"pe-prod.staging.mcloud.services","format":"hostname","type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.project.ServerStatus"},"storage":{"example":"50Gi","type":"string"}},"required":["id","shortId","customerId","machineType","storage","description","isReady","readiness","createdAt","clusterName","status","groupId"],"type":"object"},"de.mittwald.v1.project.VisitorSpec":{"properties":{"storage":{"type":"string"},"visitors":{"format":"int64","type":"integer"}},"required":["visitors","storage"],"type":"object"},"de.mittwald.v1.redirectus.Domain":{"properties":{"authCode":{"description":"The authcode of the domain. Leave empty when mittwald can generate a authcode on its own","type":"string"},"domainOwnerData":{"description":"Leave empty when mittwald should keep the same domain owner","type":"string"},"name":{"minLength":1,"type":"string"}},"required":["name"],"type":"object"},"de.mittwald.v1.redirectus.EmailInbox":{"properties":{"email":{"minLength":1,"type":"string"},"password":{"minLength":1,"type":"string"}},"required":["email","password"],"type":"object"},"de.mittwald.v1.screenshot.Target":{"properties":{"domain":{"example":"example.com","type":"string"},"path":{"type":"string"},"scheme":{"enum":["http","https"],"example":"https","type":"string"}},"required":["scheme","domain"],"type":"object"},"de.mittwald.v1.screenshot.Task":{"properties":{"executedAt":{"format":"date-time","type":"string"},"fileReference":{"type":"string"},"id":{"format":"uuid","type":"string"},"priority":{"type":"integer"},"settings":{"$ref":"#/components/schemas/de.mittwald.v1.screenshot.ScreenshotSettings"},"target":{"$ref":"#/components/schemas/de.mittwald.v1.screenshot.Target"},"taskState":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.screenshot.LifecycleState"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}},"required":["id","settings","target","priority"],"type":"object"},"de.mittwald.v1.screenshot.LifecycleState":{"type":"string"},"de.mittwald.v1.screenshot.ScreenshotSettings":{"properties":{"dataType":{"enum":["jpeg","png","webp"],"type":"string"},"delay":{"format":"int64","type":"integer"},"height":{"format":"int64","type":"integer"},"quality":{"type":"integer"},"width":{"format":"int64","type":"integer"}},"required":["width","height","quality","delay","dataType"],"type":"object"},"de.mittwald.v1.sshuser.EntityTypes":{"enum":["ssh","sftp"],"type":"string"},"de.mittwald.v1.sshuser.AccessLevel":{"description":"The level of access for an SFTPUser.","enum":["full","read","unspecified"],"type":"string"},"de.mittwald.v1.sshuser.AuthType":{"description":"Method of authentication that a given SFTPUser or SSHuser supports.","enum":["password","publicKey"],"type":"string"},"de.mittwald.v1.sshuser.Authentication":{"description":"Method of authentication for an SFTPUser or SSHUser. Can be password or public-keys.","oneOf":[{"properties":{"password":{"maxLength":72,"type":"string"}},"required":["password"],"type":"object"},{"properties":{"publicKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKey"},"type":"array"}},"required":["publicKeys"],"type":"object"}]},"de.mittwald.v1.sshuser.PublicKey":{"description":"A representation of an ssh-public-key.","properties":{"comment":{"type":"string"},"key":{"type":"string"}},"required":["comment","key"],"type":"object"},"de.mittwald.v1.sshuser.PublicKeyDetails":{"description":"A representation of an ssh-public-key, enriched with information derived from the key.","properties":{"algorithm":{"description":"Absent if the key cannot be parsed.","example":"ssh-ed25519","type":"string"},"comment":{"type":"string"},"fingerprint":{"description":"SHA256 fingerprint in OpenSSH format, as printed by `ssh-keygen -l`. Absent if the key cannot be parsed.","example":"SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s","type":"string"},"key":{"type":"string"}},"required":["comment","key"],"type":"object"},"de.mittwald.v1.sshuser.SftpUser":{"description":"A representation of an SFTPUser.","properties":{"accessLevel":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.AccessLevel"},"active":{"type":"boolean"},"authUpdatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"description":{"type":"string"},"detailedPublicKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKeyDetails"},"type":"array"},"directories":{"items":{"type":"string"},"type":"array"},"expiresAt":{"format":"date-time","type":"string"},"hasPassword":{"type":"boolean"},"id":{"type":"string"},"projectId":{"type":"string"},"publicKeys":{"deprecated":true,"description":"deprecated by detailedPublicKeys","items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKey"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"},"userName":{"description":"Login name, generated with an `sftp-` prefix and unique among live users. Clients log in as `<userName>@<projectShortId>` against `ssh.<clusterId>.<clusterDomain>` on port 22, with the project's `shortId`, `clusterId` and `clusterDomain` from `GET /v2/projects/{projectId}`.","example":"sftp-a1b2c3","type":"string"}},"required":["id","projectId","description","userName","createdAt","authUpdatedAt","accessLevel","hasPassword"],"type":"object"},"de.mittwald.v1.sshuser.SshUser":{"description":"A representation of an SSHUser.","properties":{"active":{"type":"boolean"},"authUpdatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"description":{"type":"string"},"detailedPublicKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKeyDetails"},"type":"array"},"expiresAt":{"format":"date-time","type":"string"},"hasPassword":{"type":"boolean"},"id":{"type":"string"},"projectId":{"type":"string"},"publicKeys":{"deprecated":true,"description":"deprecated by detailedPublicKeys","items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKey"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"},"userName":{"description":"Login name. Clients connect as `<userName>@<targetShortId>` to `ssh.<clusterId>.<clusterDomain>` on port 22; the target is an app installation's short ID (project host) or a running container's short ID. Project SSH users get a generated name with an `ssh-` prefix, signup SSH users use their signup e-mail address.","example":"ssh-a1b2c3","type":"string"}},"required":["id","projectId","description","userName","createdAt","authUpdatedAt","hasPassword"],"type":"object"},"de.mittwald.v1.ssl.Certificate":{"properties":{"caBundle":{"type":"string"},"certificate":{"type":"string"},"certificateOrderId":{"format":"uuid","type":"string"},"certificateRequestId":{"format":"uuid","type":"string"},"certificateType":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateType"},"commonName":{"type":"string"},"contact":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.Contact"},"dnsCertSpec":{"properties":{"cnameTarget":{"type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.DNSCertStatus"}},"type":"object"},"dnsNames":{"items":{"type":"string"},"type":"array"},"id":{"format":"uuid","type":"string"},"isExpired":{"type":"boolean"},"issuer":{"type":"string"},"lastExpirationThresholdHit":{"type":"integer"},"projectId":{"format":"uuid","type":"string"},"validFrom":{"format":"date-time","type":"string"},"validTo":{"format":"date-time","type":"string"}},"required":["id","certificateType","certificateRequestId","projectId"],"type":"object"},"de.mittwald.v1.ssl.CertificateData":{"properties":{"caBundle":{"type":"string"},"certificate":{"type":"string"},"signingRequest":{"type":"string"}},"type":"object"},"de.mittwald.v1.ssl.CertificateError":{"properties":{"message":{"oneOf":[{"description":"Failed to read the certificate.","enum":["certificate_read_failed"],"type":"string"},{"description":"Failed to decode the certificate.","enum":["certificate_decode_failed"],"type":"string"},{"description":"An error occurred while parsing the certificate.","enum":["certificate_parsing_failed"],"type":"string"},{"description":"The certificate is self-signed.","enum":["certificate_self_signed"],"type":"string"},{"description":"The certificate is not authorized to sign.","enum":["certificate_not_authorized_to_sign"],"type":"string"},{"description":"The certificate has expired.","enum":["certificate_expired"],"type":"string"},{"description":"The Certificate Authority (CA) is not authorized for this name.","enum":["ca_not_authorized_for_this_name"],"type":"string"},{"description":"There are too many intermediate certificates.","enum":["too_many_intermediates"],"type":"string"},{"description":"The certificate's usage is incompatible.","enum":["incompatible_usage"],"type":"string"},{"description":"The certificate is signed by an unknown authority.","enum":["unknown_authority"],"type":"string"},{"description":"Failed to read the private key.","enum":["private_key_read_failed"],"type":"string"},{"description":"Failed to decode the private key.","enum":["private_key_decode_failed"],"type":"string"},{"description":"An error occurred while parsing the private key.","enum":["private_key_parse_failed"],"type":"string"},{"description":"The private key is encrypted.","enum":["private_key_encrypted"],"type":"string"},{"description":"The private key is not RSA.","enum":["private_key_not_rsa"],"type":"string"},{"description":"The private key does not match the certificate.","enum":["private_key_mismatch"],"type":"string"},{"description":"An unknown error occurred related to Cloudflare.","enum":["unknown_cloudflare_error"],"type":"string"},{"description":"An unknown error occurred.","enum":["unknown"],"type":"string"},{"description":"A certificate was provided instead of a private key.","enum":["private_key_is_certificate"],"type":"string"}]}},"required":["message"],"type":"object"},"de.mittwald.v1.ssl.CertificateRequest":{"properties":{"certificateData":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateData"},"certificateType":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateType"},"commonName":{"type":"string"},"contact":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.Contact"},"createdAt":{"format":"date-time","type":"string"},"dnsNames":{"items":{"type":"string"},"type":"array"},"id":{"format":"uuid","type":"string"},"isCompleted":{"type":"boolean"},"issuer":{"type":"string"},"projectId":{"format":"uuid","type":"string"},"validFrom":{"format":"date-time","type":"string"},"validTo":{"format":"date-time","type":"string"}},"required":["id","certificateType","projectId","certificateData","isCompleted","createdAt"],"type":"object"},"de.mittwald.v1.ssl.CertificateRequestCreateRequest":{"additionalProperties":false,"properties":{"certificate":{"type":"string"},"privateKey":{"type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["projectId","certificate","privateKey"],"type":"object"},"de.mittwald.v1.ssl.CertificateRequestCreateResponse":{"properties":{"commonName":{"type":"string"},"contact":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.Contact"},"dnsNames":{"items":{"type":"string"},"type":"array"},"id":{"format":"uuid","type":"string"},"issuer":{"type":"string"},"signingRequest":{"type":"string"},"validFrom":{"format":"date-time","type":"string"},"validTo":{"format":"date-time","type":"string"}},"required":["id"],"type":"object"},"de.mittwald.v1.ssl.CertificateRequestCreateWithCSRRequest":{"additionalProperties":false,"properties":{"commonName":{"type":"string"},"contact":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.Contact"},"projectId":{"format":"uuid","type":"string"}},"required":["projectId","commonName","contact"],"type":"object"},"de.mittwald.v1.ssl.CertificateRequestCreateWithDNSRequest":{"additionalProperties":false,"properties":{"commonName":{"type":"string"},"projectId":{"format":"uuid","type":"string"}},"required":["projectId","commonName"],"type":"object"},"de.mittwald.v1.ssl.CertificateType":{"description":"Specifies the type of certificate.\n\nPossible values:\n- `0` – `UNSPECIFIED`: The certificate type is not specified.\n- `1` – `INTERNAL`: A certificate issued and managed internally by the system.\n- `2` – `EXTERNAL`: A certificate provided by an external source and imported into the system.\n- `3` – `DNS`: A certificate validated using DNS-based verification.\n","enum":[0,1,2,3],"type":"integer"},"de.mittwald.v1.ssl.CheckReplaceChanges":{"properties":{"commonName":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceFieldChange"},"dnsNames":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceSliceChange"},"issuer":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceFieldChange"},"validFrom":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceDateChange"},"validTo":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceDateChange"}},"type":"object"},"de.mittwald.v1.ssl.CheckReplaceDateChange":{"properties":{"newValue":{"format":"date-time","type":"string"},"oldValue":{"format":"date-time","type":"string"}},"required":["oldValue","newValue"],"type":"object"},"de.mittwald.v1.ssl.CheckReplaceFieldChange":{"properties":{"newValue":{"type":"string"},"oldValue":{"type":"string"}},"required":["oldValue","newValue"],"type":"object"},"de.mittwald.v1.ssl.CheckReplaceCertificateResponse":{"properties":{"changes":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceChanges"},"errors":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateError"},"type":"array"},"isReplaceable":{"type":"boolean"}},"required":["isReplaceable"],"type":"object"},"de.mittwald.v1.ssl.CheckReplaceSliceChange":{"properties":{"addedValues":{"items":{"type":"string"},"type":"array"},"removedValues":{"items":{"type":"string"},"type":"array"},"values":{"items":{"type":"string"},"type":"array"}},"required":["values","addedValues","removedValues"],"type":"object"},"de.mittwald.v1.ssl.Contact":{"properties":{"city":{"type":"string"},"company":{"type":"string"},"country":{"description":"Two letter abbreviation - country code (ISO 3166-1 Alpha-2).","example":"DE","pattern":"^[A-Z]{2}$","type":"string"},"organizationalUnit":{"type":"string"},"state":{"type":"string"}},"type":"object"},"de.mittwald.v1.ssl.DNSCertStatus":{"properties":{"message":{"type":"string"},"status":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.ProjectCertificateStatus"},"updatedAt":{"format":"date-time","type":"string"}},"required":["status"],"type":"object"},"de.mittwald.v1.ssl.ProjectCertificateStatus":{"enum":["issuing","ready","cnameError","error","unspecified"],"type":"string"},"de.mittwald.v1.storagespace.StatisticsCategoryKind":{"enum":["webspace","projectBackup","mailAddress","mysqlDatabase","redisDatabase","containerVolume"],"type":"string"},"de.mittwald.v1.storagespace.StatisticsCategory":{"properties":{"kind":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.StatisticsCategoryKind"},"resources":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.StatisticsResource"},"type":"array","uniqueItems":true},"totalUsageInBytes":{"example":1000,"format":"int64","type":"integer"}},"required":["kind","totalUsageInBytes"],"type":"object"},"de.mittwald.v1.storagespace.StatisticsKind":{"enum":["server","project"],"type":"string"},"de.mittwald.v1.storagespace.StatisticsMeta":{"properties":{"isExceeding":{"example":false,"type":"boolean"},"lastExceedanceLimitInBytes":{"description":"The last exceedance limit in bytes during the exceedance time, therefore can differ from the current limit. It is retained as a historical record of the most recent exceedance and does not reset once set.","example":10,"format":"int64","type":"integer"},"lastTotalExceedanceInBytes":{"description":"The last total exceedance in bytes related to the limit during the exceedance time, see lastExceedanceLimitInBytes. It is retained as a historical record of the most recent exceedance and does not reset once set.","example":10,"format":"int64","type":"integer"},"lastTotalExceedanceInBytesSetAt":{"description":"The last total exceedance date. It is retained as a historical record of the most recent exceedance and does not reset once set.","example":"2023-12-22T13:46:52.000Z","format":"date-time","type":"string"},"limitInBytes":{"example":100000,"format":"int64","type":"integer"},"notificationThresholdUsedAsLimit":{"description":"If true, set notification threshold is used as limit for meta calculations. E.g. for projects with a parent server.","example":false,"type":"boolean"},"totalExceedanceInBytes":{"description":"The current total exceedance in bytes.","example":10,"format":"int64","type":"integer"},"totalExceedanceInBytesSetAt":{"description":"The current total exceedance date.","example":"2023-12-22T13:46:52.000Z","format":"date-time","type":"string"},"totalFreeInBytes":{"example":99000,"format":"int64","type":"integer"},"totalFreeInPercentage":{"example":90,"type":"number"},"totalUsageInBytes":{"example":1000,"format":"int64","type":"integer"},"totalUsageInPercentage":{"example":10,"type":"number"}},"required":["totalUsageInBytes"],"type":"object"},"de.mittwald.v1.storagespace.StatisticsResource":{"properties":{"description":{"example":"MySQL DB for Wordpress","type":"string"},"id":{"example":"169cea81-2c11-46a4-8f0b-5b0b47caeb78","type":"string"},"name":{"example":"mysql-xyz","type":"string"},"usageInBytes":{"example":1000,"format":"int64","type":"integer"},"usageInBytesSetAt":{"example":"2023-12-22T13:46:52.000Z","format":"date-time","type":"string"}},"required":["id","name","usageInBytes","usageInBytesSetAt"],"type":"object"},"de.mittwald.v1.storagespace.Statistics":{"properties":{"childStatistics":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.Statistics"},"type":"array","uniqueItems":true},"description":{"example":"My First Project","type":"string"},"id":{"example":"169cea81-2c11-46a4-8f0b-5b0b47caeb78","type":"string"},"kind":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.StatisticsKind"},"meta":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.StatisticsMeta"},"name":{"example":"p-zkl8tr","type":"string"},"notificationThresholdInBytes":{"example":10000,"format":"int64","type":"integer"},"statisticCategories":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.StatisticsCategory"},"type":"array","uniqueItems":true}},"required":["id","kind","name","meta"],"type":"object"},"de.mittwald.v1.usagemetrics.GetProjectUsageBreakdownResponse":{"properties":{"apps":{"description":"Usage of all apps relative to the applicable limit.","items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Series"},"type":"array"},"containers":{"description":"Usage per container relative to the applicable limit, labelled with `stack` and `container`.","items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Series"},"type":"array"},"databases":{"description":"Usage of all databases relative to the applicable limit; empty for projects on a dedicated server or proSpace lite.","items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Series"},"type":"array"}},"required":["containers","apps","databases"],"type":"object"},"de.mittwald.v1.usagemetrics.GetServerUsageBreakdownResponse":{"properties":{"databases":{"description":"Absolute database usage (CPU seconds per second or memory bytes), labelled with `database_type` and `database_version`.","items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Series"},"type":"array"},"limit":{"description":"Server limit at the end of the requested time range (or now, if the range ends in the future), in the unit of the requested metric (CPU seconds per second or memory bytes).","example":4,"type":"number"},"projects":{"description":"Usage per project relative to the server limit, labelled with `project`.","items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Series"},"type":"array"}},"required":["projects","databases","limit"],"type":"object"},"de.mittwald.v1.usagemetrics.GetUsageResponse":{"properties":{"series":{"description":"Usage relative to the applicable limit (1 = 100 %).","items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Series"},"type":"array"}},"required":["series"],"type":"object"},"de.mittwald.v1.usagemetrics.Sample":{"properties":{"time":{"example":"2026-11-10T12:00:00.000Z","format":"date-time","type":"string"},"value":{"example":0.42,"type":"number"}},"required":["time","value"],"type":"object"},"de.mittwald.v1.usagemetrics.Series":{"properties":{"labels":{"additionalProperties":{"type":"string"},"description":"Prometheus labels identifying the series, e.g. `project`, `stack`, `container`, `database_type` or `database_version`; empty for an aggregated series.","example":{"project":"p-XXXXXX"},"type":"object"},"samples":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.Sample"},"type":"array"}},"required":["labels","samples"],"type":"object"},"de.mittwald.v1.signup.Account":{"properties":{"email":{"example":"a.lovelace@example.com","format":"email","type":"string"},"mfaDetails":{"description":"The users mfa details.","properties":{"mfaConfirmed":{"type":"boolean"},"mfaInitialized":{"type":"boolean"}},"type":"object"},"passwordUpdatedAt":{"format":"date-time","type":"string"},"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"},"userId":{"type":"string"}},"type":"object"},"de.mittwald.v1.signup.ApiToken":{"properties":{"apiTokenId":{"format":"uuid","type":"string"},"createdAt":{"format":"date-time","type":"string"},"description":{"example":"Api Token - read","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"roles":{"items":{"enum":["api_read","api_write"],"type":"string"},"type":"array"}},"required":["apiTokenId","roles","description","createdAt"],"type":"object"},"de.mittwald.v1.signup.DeviceInfo":{"properties":{"browser":{"example":"Safari","type":"string"},"model":{"example":"Apple Macintosh","type":"string"},"os":{"example":"Mac OS","type":"string"},"type":{"example":"Macbook","type":"string"}},"type":"object"},"de.mittwald.v1.signup.DomainError":{"properties":{"info":{"description":"A json object, given further information about the error","type":"object"},"message":{"description":"Some more detailed information about the error","type":"string"},"name":{"description":"Unique key for the error type","type":"string"}},"required":["name","message"],"type":"object"},"de.mittwald.v1.signup.Location":{"properties":{"city":{"example":"Espelkamp","type":"string"},"country":{"example":"DE","type":"string"},"ipAddress":{"format":"ipv4","type":"string"}},"type":"object"},"de.mittwald.v1.signup.OAuthClient":{"properties":{"allowedGrantTypes":{"items":{"type":"string"},"type":"array"},"allowedRedirectUris":{"items":{"type":"string"},"type":"array"},"allowedScopes":{"items":{"type":"string"},"type":"array"},"contributorId":{"type":"string"},"description":{"type":"string"},"humanReadableName":{"type":"string"},"id":{"type":"string"}},"required":["id","contributorId","humanReadableName"],"type":"object"},"de.mittwald.v1.signup.PasskeyAuthenticationResponse":{"description":"A passkey assertion: the result of `navigator.credentials.get()` serialized with\n[`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3\n[`AuthenticationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationresponsejson). Send it\nunchanged. Binary values are base64url-encoded without padding.\n","example":{"authenticatorAttachment":"platform","clientExtensionResults":{},"id":"AN29uP9UVfVZ1X0WLKg3zA","rawId":"AN29uP9UVfVZ1X0WLKg3zA","response":{"authenticatorData":"8q2Xwa9qKcqUca3Qox8O-H9rqwjlNp1O5WHPOETZnigdAAAAAA","clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uZ2V0IiwiY2hhbGxlbmdlIjoicmNVYTE2MzRZVWFDc0JlYXNyb1RWdWRCYjRqTlNuS3pUR3pKOUVkTGxyQSIsIm9yaWdpbiI6Imh0dHBzOi8vc3R1ZGlvLm1pdHR3YWxkLmRlIiwiY3Jvc3NPcmlnaW4iOmZhbHNlfQ","signature":"MEUCIQD7nQ352E7fNAwHcgq5mMDsoeHQ0odAgekdw9tbs-Lc1gIgSBt2yLdJV_AcNx76CMsEP-S7LoJ_E0q-y19EAEWtwLI","userHandle":"NmMxYzFkMGUtNmYwZS00YTNjLTlkM2YtNWYyZDFkMGI5YTEx"},"type":"public-key"},"properties":{"authenticatorAttachment":{"description":"`platform` or `cross-platform`, if the browser reports it.","example":"platform","type":"string"},"clientExtensionResults":{"description":"WebAuthn Level 3\n[`AuthenticationExtensionsClientOutputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientoutputsjson).\n","type":"object"},"id":{"description":"The credential id, base64url-encoded without padding.","example":"AN29uP9UVfVZ1X0WLKg3zA","type":"string"},"rawId":{"description":"The credential id, base64url-encoded without padding (same value as `id`).","example":"AN29uP9UVfVZ1X0WLKg3zA","type":"string"},"response":{"description":"WebAuthn Level 3\n[`AuthenticatorAssertionResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorassertionresponsejson).\n","properties":{"authenticatorData":{"description":"The authenticator data, base64url-encoded without padding.","type":"string"},"clientDataJSON":{"description":"The client data (type, challenge, origin) as JSON, base64url-encoded without padding.","type":"string"},"signature":{"description":"The assertion signature, base64url-encoded without padding.","type":"string"},"userHandle":{"description":"The `user.id` of the registration, base64url-encoded without padding. The passkey login\n(`POST /authenticate-passkey`) takes the user from it.\n","type":"string"}},"required":["clientDataJSON","authenticatorData","signature"],"type":"object"},"type":{"description":"The credential type, always `public-key`.","example":"public-key","type":"string"}},"required":["id","rawId","response","clientExtensionResults","type"],"type":"object"},"de.mittwald.v1.signup.PasskeyChallenge":{"description":"A challenge for signing in or confirming an action with a passkey. Run `navigator.credentials.get()` with\n`options` and send `challengeId` together with the resulting `credential.toJSON()`. The challenge can be used\nonce.\n","properties":{"challengeId":{"example":"6a1f0b1e-7d0c-4a43-9c1f-4f6c9b0f7a11","format":"uuid","type":"string"},"options":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyRequestOptions"}},"required":["challengeId","options"],"type":"object"},"de.mittwald.v1.signup.PasskeyCreationOptions":{"description":"Options for registering a passkey, as WebAuthn Level 3\n[`PublicKeyCredentialCreationOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialcreationoptionsjson).\nPass the object unchanged to\n[`PublicKeyCredential.parseCreationOptionsFromJSON()`](https://www.w3.org/TR/webauthn-3/#sctn-parseCreationOptionsFromJSON)\nand the result as `publicKey` to `navigator.credentials.create()`. Send the resulting credential back as\n[`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson) together with the\n`challengeId` the options came with. Binary values are base64url-encoded without padding.\n","example":{"attestation":"none","authenticatorSelection":{"requireResidentKey":true,"residentKey":"required","userVerification":"required"},"challenge":"rcUa1634YUaCsBeasroTVudBb4jNSnKzTGzJ9EdLlrA","excludeCredentials":[{"id":"Y3JlZGVudGlhbC1pZA","transports":["internal"],"type":"public-key"}],"extensions":{"credProps":true},"hints":[],"pubKeyCredParams":[{"alg":-7,"type":"public-key"},{"alg":-257,"type":"public-key"}],"rp":{"id":"mittwald.de","name":"mittwald"},"timeout":300000,"user":{"displayName":"Ada Lovelace","id":"NmMxYzFkMGUtNmYwZS00YTNjLTlkM2YtNWYyZDFkMGI5YTEx","name":"a.lovelace@example.com"}},"properties":{"attestation":{"description":"Always `none`; the API does not check which authenticator model created the passkey.","example":"none","type":"string"},"attestationFormats":{"description":"Not set by this API.","items":{"type":"string"},"type":"array"},"authenticatorSelection":{"description":"Always a discoverable credential (`residentKey: required`) with user verification\n(`userVerification: required`); no `authenticatorAttachment`, so the browser also offers other devices\n(QR code).\n","properties":{"authenticatorAttachment":{"type":"string"},"requireResidentKey":{"example":true,"type":"boolean"},"residentKey":{"example":"required","type":"string"},"userVerification":{"example":"required","type":"string"}},"type":"object"},"challenge":{"description":"32 random bytes, base64url-encoded without padding. Can be used once.","example":"rcUa1634YUaCsBeasroTVudBb4jNSnKzTGzJ9EdLlrA","type":"string"},"excludeCredentials":{"description":"The passkeys the user already has for this relying party; the authenticator does not register them again.","items":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredentialDescriptor"},"type":"array"},"extensions":{"description":"WebAuthn Level 3\n[`AuthenticationExtensionsClientInputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientinputsjson).\n","type":"object"},"hints":{"description":"Hints for the browser which authenticator to offer. Not set by this API.","items":{"type":"string"},"type":"array"},"pubKeyCredParams":{"description":"The accepted key types, ES256 (`-7`) and RS256 (`-257`).","items":{"properties":{"alg":{"description":"A COSE algorithm identifier.","example":-7,"type":"integer"},"type":{"description":"Always `public-key`.","example":"public-key","type":"string"}},"required":["type","alg"],"type":"object"},"type":"array"},"rp":{"description":"The relying party, selected from the `Origin` header of the request that created the challenge.","properties":{"id":{"example":"mittwald.de","type":"string"},"name":{"example":"mittwald","type":"string"}},"required":["name","id"],"type":"object"},"timeout":{"description":"Milliseconds until the challenge expires.","example":300000,"type":"integer"},"user":{"description":"The user the passkey is created for, as WebAuthn Level 3\n[`PublicKeyCredentialUserEntityJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialuserentityjson).\n","properties":{"displayName":{"description":"First and last name of the user, or the email address if both are empty.","example":"Ada Lovelace","type":"string"},"id":{"description":"The UTF-8 bytes of the user id, base64url-encoded without padding. A passkey login returns it as\n`response.userHandle`.\n","example":"NmMxYzFkMGUtNmYwZS00YTNjLTlkM2YtNWYyZDFkMGI5YTEx","type":"string"},"name":{"description":"The verified email address of the user.","example":"a.lovelace@example.com","type":"string"}},"required":["id","name","displayName"],"type":"object"}},"required":["rp","user","challenge","pubKeyCredParams","timeout","excludeCredentials","authenticatorSelection","attestation"],"type":"object"},"de.mittwald.v1.signup.PasskeyCredential":{"description":"A passkey assertion that proves the second factor. `challengeId` comes from `POST /users/self/passkey-challenges`\n(or from `passkeyChallenge` of `POST /authenticate` for `POST /authenticate-mfa`), `credential` is the\n`credential.toJSON()` of the `navigator.credentials.get()` call with its `options`.\n","properties":{"challengeId":{"example":"6a1f0b1e-7d0c-4a43-9c1f-4f6c9b0f7a11","format":"uuid","type":"string"},"credential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyAuthenticationResponse"}},"required":["challengeId","credential"],"type":"object"},"de.mittwald.v1.signup.PasskeyCredentialDescriptor":{"description":"A passkey of the user, as WebAuthn Level 3\n[`PublicKeyCredentialDescriptorJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialdescriptorjson).\n","example":{"id":"AN29uP9UVfVZ1X0WLKg3zA","transports":["hybrid","internal"],"type":"public-key"},"properties":{"id":{"description":"The credential id, base64url-encoded without padding.","example":"AN29uP9UVfVZ1X0WLKg3zA","type":"string"},"transports":{"description":"How the browser can reach the authenticator, as reported at registration (`internal`, `hybrid`, `usb`,\n`nfc`, `ble`, `smart-card`).\n","example":["hybrid","internal"],"items":{"type":"string"},"type":"array"},"type":{"description":"The credential type, always `public-key`.","example":"public-key","type":"string"}},"required":["type","id"],"type":"object"},"de.mittwald.v1.signup.PasskeyRegistrationChallenge":{"description":"A challenge for registering a passkey. Run `navigator.credentials.create()` with `options` and send\n`challengeId` together with the resulting `credential.toJSON()` to `POST /users/self/passkeys`. The challenge\ncan be used once.\n","properties":{"challengeId":{"example":"6a1f0b1e-7d0c-4a43-9c1f-4f6c9b0f7a11","format":"uuid","type":"string"},"options":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCreationOptions"}},"required":["challengeId","options"],"type":"object"},"de.mittwald.v1.signup.PasskeyRegistrationResponse":{"description":"A new passkey: the result of `navigator.credentials.create()` serialized with\n[`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson), as WebAuthn Level 3\n[`RegistrationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-registrationresponsejson). Send it\nunchanged. Binary values are base64url-encoded without padding.\n","example":{"authenticatorAttachment":"platform","clientExtensionResults":{"credProps":{"rk":true}},"id":"AN29uP9UVfVZ1X0WLKg3zA","rawId":"AN29uP9UVfVZ1X0WLKg3zA","response":{"attestationObject":"o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YViU8q2Xwa9qKcqUca3Qox8O-H9rqwjlNp1O5WHPOETZnihdAAAAAAAAAAAAAAAAAAAAAAAAAAAAEADdvbj_VFX1WdV9FiyoN8ylAQIDJiABIVgg4BncA1wj5f8GHCfmeV4wP2AntUe6Pgoy_AoVQLA7DfsiWCBBLqMbbNzYlOxlYv0MYXEuXFBtx-nKRqJyytp3Rc7Frg","authenticatorData":"8q2Xwa9qKcqUca3Qox8O-H9rqwjlNp1O5WHPOETZnihdAAAAAAAAAAAAAAAAAAAAAAAAAAAAEADdvbj_VFX1WdV9FiyoN8ylAQIDJiABIVgg4BncA1wj5f8GHCfmeV4wP2AntUe6Pgoy_AoVQLA7DfsiWCBBLqMbbNzYlOxlYv0MYXEuXFBtx-nKRqJyytp3Rc7Frg","clientDataJSON":"eyJ0eXBlIjoid2ViYXV0aG4uY3JlYXRlIiwiY2hhbGxlbmdlIjoicmNVYTE2MzRZVWFDc0JlYXNyb1RWdWRCYjRqTlNuS3pUR3pKOUVkTGxyQSIsIm9yaWdpbiI6Imh0dHBzOi8vc3R1ZGlvLm1pdHR3YWxkLmRlIiwiY3Jvc3NPcmlnaW4iOmZhbHNlfQ","publicKey":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4BncA1wj5f8GHCfmeV4wP2AntUe6Pgoy_AoVQLA7DftBLqMbbNzYlOxlYv0MYXEuXFBtx-nKRqJyytp3Rc7Frg","publicKeyAlgorithm":-7,"transports":["hybrid","internal"]},"type":"public-key"},"properties":{"authenticatorAttachment":{"description":"`platform` or `cross-platform`, if the browser reports it.","example":"platform","type":"string"},"clientExtensionResults":{"description":"WebAuthn Level 3\n[`AuthenticationExtensionsClientOutputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientoutputsjson).\n","type":"object"},"id":{"description":"The credential id, base64url-encoded without padding.","example":"AN29uP9UVfVZ1X0WLKg3zA","type":"string"},"rawId":{"description":"The credential id, base64url-encoded without padding (same value as `id`).","example":"AN29uP9UVfVZ1X0WLKg3zA","type":"string"},"response":{"description":"WebAuthn Level 3\n[`AuthenticatorAttestationResponseJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticatorattestationresponsejson).\n","properties":{"attestationObject":{"description":"The CBOR attestation object, base64url-encoded without padding.","type":"string"},"authenticatorData":{"description":"The authenticator data, base64url-encoded without padding.","type":"string"},"clientDataJSON":{"description":"The client data (type, challenge, origin) as JSON, base64url-encoded without padding.","type":"string"},"publicKey":{"description":"The public key as DER `SubjectPublicKeyInfo`, base64url-encoded without padding, if the browser knows the algorithm.","type":"string"},"publicKeyAlgorithm":{"description":"The COSE algorithm identifier of the key.","example":-7,"type":"integer"},"transports":{"description":"How the browser can reach the authenticator (`internal`, `hybrid`, `usb`, `nfc`, `ble`, `smart-card`).","items":{"type":"string"},"type":"array"}},"required":["clientDataJSON","authenticatorData","transports","publicKeyAlgorithm","attestationObject"],"type":"object"},"type":{"description":"The credential type, always `public-key`.","example":"public-key","type":"string"}},"required":["id","rawId","response","clientExtensionResults","type"],"type":"object"},"de.mittwald.v1.signup.PasskeyRequestOptions":{"description":"Options for signing in with a passkey, as WebAuthn Level 3\n[`PublicKeyCredentialRequestOptionsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-publickeycredentialrequestoptionsjson).\nPass the object unchanged to\n[`PublicKeyCredential.parseRequestOptionsFromJSON()`](https://www.w3.org/TR/webauthn-3/#sctn-parseRequestOptionsFromJSON)\nand the result as `publicKey` to `navigator.credentials.get()`. Send the resulting credential back as\n[`credential.toJSON()`](https://www.w3.org/TR/webauthn-3/#dom-publickeycredential-tojson) together with the\n`challengeId` the options came with. Binary values are base64url-encoded without padding.\n","example":{"allowCredentials":[{"id":"AN29uP9UVfVZ1X0WLKg3zA","transports":["hybrid","internal"],"type":"public-key"}],"challenge":"rcUa1634YUaCsBeasroTVudBb4jNSnKzTGzJ9EdLlrA","rpId":"mittwald.de","timeout":300000,"userVerification":"required"},"properties":{"allowCredentials":{"description":"The passkeys of the user for this relying party. Empty for the passkey login, so the browser offers every\npasskey it has for the relying party.\n","items":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredentialDescriptor"},"type":"array"},"challenge":{"description":"32 random bytes, base64url-encoded without padding. Can be used once.","example":"rcUa1634YUaCsBeasroTVudBb4jNSnKzTGzJ9EdLlrA","type":"string"},"extensions":{"description":"WebAuthn Level 3\n[`AuthenticationExtensionsClientInputsJSON`](https://www.w3.org/TR/webauthn-3/#dictdef-authenticationextensionsclientinputsjson).\n","type":"object"},"hints":{"description":"Hints for the browser which authenticator to offer. Not set by this API.","items":{"type":"string"},"type":"array"},"rpId":{"description":"The relying party, selected from the `Origin` header of the request that created the challenge.","example":"mittwald.de","type":"string"},"timeout":{"description":"Milliseconds until the challenge expires.","example":300000,"type":"integer"},"userVerification":{"description":"Always `required`; the authenticator has to verify the user (biometrics or device PIN).","example":"required","type":"string"}},"required":["challenge","rpId","allowCredentials","timeout","userVerification"],"type":"object"},"de.mittwald.v1.signup.Profile":{"properties":{"email":{"example":"a.lovelace@example.com","format":"email","type":"string"},"mfaDetails":{"description":"the users mfa details","properties":{"mfaConfirmed":{"type":"boolean"},"mfaInitialized":{"type":"boolean"}},"type":"object"},"passwordUpdatedAt":{"format":"date-time","type":"string"},"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"},"userId":{"type":"string"}},"type":"object"},"de.mittwald.v1.signup.ScopedToken":{"properties":{"createdAt":{"format":"date-time","type":"string"},"createdBy":{"description":"ID of the User who created the ScopedToken.","format":"uuid","type":"string"},"description":{"example":"Deployment pipeline","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"projectId":{"description":"ID of the Project the ScopedToken is bound to.","format":"uuid","type":"string"},"scopes":{"description":"Scopes the ScopedToken is restricted to, as scope roles (e.g. `scope:project:read`). `scope:nothing` grants nothing; a ScopedToken whose only scope is `scope:nothing` has no permissions.","example":["scope:project:read"],"items":{"type":"string"},"minItems":1,"type":"array"}},"required":["id","description","scopes","createdBy","createdAt"],"type":"object"},"de.mittwald.v1.user.CustomerMembership":{"properties":{"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"memberSince":{"format":"date-time","type":"string"},"role":{"enum":["owner","member","accountant"],"type":"string"}},"required":["role","memberSince","id"],"type":"object"},"de.mittwald.v1.user.UserFeedback":{"properties":{"id":{"format":"uuid","type":"string"},"message":{"maxLength":1000,"type":"string"},"origin":{"maxLength":1000,"type":"string"},"subject":{"maxLength":100,"minLength":1,"type":"string"},"vote":{"maximum":10,"minimum":0,"type":"number"}},"required":["id","subject","vote","origin","message"],"type":"object"},"de.mittwald.v1.user.UserFeedbackSpotlightDecision":{"enum":["keep","kill","ignore"],"type":"string"},"de.mittwald.v1.user.ProjectMembership":{"properties":{"expiresAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"inherited":{"type":"boolean"},"memberSince":{"format":"date-time","type":"string"},"role":{"enum":["owner","emailadmin","external","id"],"type":"string"}},"required":["role","memberSince","inherited"],"type":"object"},"de.mittwald.v1.user.User":{"properties":{"avatarRef":{"format":"uuid","type":"string"},"customerMemberships":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.user.CustomerMembership"},"type":"object"},"email":{"format":"email","type":"string"},"employeeInformation":{"description":"Additional information about mittwald employees.","properties":{"department":{"example":"Kundenservice","type":"string"}},"required":["department"],"type":"object"},"isEmployee":{"description":"Truth value, whether the user is a mittwald employee","type":"boolean"},"mfa":{"properties":{"active":{"default":false,"type":"boolean"},"setup":{"default":false,"type":"boolean"}},"required":["active","setup"],"type":"object"},"passwordUpdatedAt":{"format":"date-time","type":"string"},"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"},"phoneNumber":{"example":"+491701234567","type":"string"},"projectMemberships":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.user.ProjectMembership"},"type":"object"},"registeredAt":{"format":"date-time","type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["userId","person"],"type":"object"},"de.mittwald.v1.signup.SshKey":{"properties":{"algorithm":{"example":"ssh-rsa","type":"string"},"comment":{"example":"a.lovelace@example.com","type":"string"},"createdAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"fingerprint":{"example":"a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1","format":"hexdump","type":"string"},"key":{"type":"string"},"sshKeyId":{"format":"uuid","type":"string"}},"required":["sshKeyId","algorithm","key","comment","fingerprint","createdAt"],"type":"object"},"de.mittwald.v1.poll.UserPollSettings":{"properties":{"completedAt":{"format":"date-time","type":"string"},"dontShowUntil":{"format":"date-time","type":"string"},"ignoredAt":{"format":"date-time","type":"string"},"shouldShow":{"type":"boolean"},"status":{"enum":["completed","muted","ignored","new"],"type":"string"},"userId":{"type":"string"}},"required":["userId","shouldShow","status"],"type":"object"},"de.mittwald.v1.signup.UserSession":{"properties":{"created":{"format":"date-time","type":"string"},"device":{"$ref":"#/components/schemas/de.mittwald.v1.signup.DeviceInfo"},"lastAccess":{"format":"date-time","type":"string"},"location":{"$ref":"#/components/schemas/de.mittwald.v1.signup.Location"},"tokenId":{"format":"uuid","type":"string"}},"required":["device","created","tokenId"],"type":"object"},"de.mittwald.v1.varnish.ConfigRevision":{"properties":{"expire":{"type":"integer"},"files":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.ConfigFileRef"},"type":"array"},"note":{"type":"string"},"revision":{"minimum":1,"type":"integer"},"updated":{"format":"date-time","type":"string"}},"required":["revision","updated","files"],"type":"object"},"de.mittwald.v1.varnish.ConfigTemplate":{"properties":{"files":{"description":"A set of config file references.","items":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.ConfigFileRef"},"type":"array"},"isGlobal":{"type":"boolean"},"note":{"type":"string"},"projectId":{"type":"string"},"softwareConfigTemplateId":{"type":"string"},"softwareTemplateId":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["softwareConfigTemplateId","softwareTemplateId","files"],"type":"object"},"de.mittwald.v1.varnish.ConfigFile":{"properties":{"content":{"format":"bytes","type":"string"},"meta":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.ConfigFileMetadata"}},"required":["content"],"type":"object"},"de.mittwald.v1.varnish.ConfigFileMetadata":{"properties":{"name":{"type":"string"},"path":{"type":"string"}},"required":["name"],"type":"object"},"de.mittwald.v1.varnish.ConfigFileRef":{"properties":{"meta":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.ConfigFileMetadata"},"refId":{"type":"string"}},"required":["refId"],"type":"object"},"de.mittwald.v1.varnish.GlobalConfigTemplate":{"properties":{"data":{"format":"byte","type":"string"},"name":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["name","data","updatedAt"],"type":"object"},"de.mittwald.v1.varnish.Software":{"properties":{"config":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.SoftwareConfig"},"projectId":{"type":"string"},"settings":{"additionalProperties":{"type":"string"},"type":"object"},"softwareId":{"type":"string"},"softwareTemplateId":{"type":"string"},"softwareVersion":{"type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["softwareId","updatedAt","softwareTemplateId","softwareVersion","projectId","config"],"type":"object"},"de.mittwald.v1.varnish.SoftwareConfig":{"properties":{"configExpiration":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.ConfigExpiration"},"latestConfigRevision":{"type":"number"},"revisions":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.varnish.ConfigRevision"},"type":"array"}},"type":"object"},"de.mittwald.v1.varnish.ConfigExpiration":{"properties":{"maxVersions":{"type":"number"},"retentionTime":{"type":"number"}},"type":"object"},"de.mittwald.v1.varnish.SoftwareConfigFileAccessToken":{"properties":{"accessToken":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["accessToken","expiresAt"],"type":"object"},"de.mittwald.v1.varnish.SoftwareSetting":{"properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"type":"object"},"de.mittwald.v1.verification.EmailDetectPhishingMailResponse":{"properties":{"result":{"$ref":"#/components/schemas/de.mittwald.v1.verification.EmailOrigin"}},"required":["result"],"type":"object"},"de.mittwald.v1.verification.EmailOrigin":{"enum":["IS_MITTWALD","IS_NOT_MITTWALD","COULD_BE_MITTWALD"],"type":"string"},"de.mittwald.v1.container.VolumeSortOrder":{"enum":["nameAsc","nameDesc","storageAsc","storageDesc"],"type":"string"},"de.mittwald.v1.marketplace.DetailedExtensionStatistics":{"properties":{"amountOfInstances":{"description":"The exact amount of instances of this extension, regardless of their state.","example":42,"minimum":0,"type":"integer"},"variants":{"description":"Every variant of the extension's current price plan with its amount of instances, also variants without instances. Instances of a variant that is no longer part of the price plan, or without a chosen variant, only count towards amountOfInstances.","items":{"properties":{"amountOfInstances":{"example":12,"minimum":0,"type":"integer"},"variant":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionVariant"}},"required":["variant","amountOfInstances"],"type":"object"},"type":"array"}},"required":["amountOfInstances","variants"],"type":"object"},"de.mittwald.v1.marketplace.ExtensionVariant":{"description":"A variant of an extension's price plan.","properties":{"deletionDeadline":{"format":"date-time","type":"string"},"description":{"type":"string"},"isBookingStopped":{"description":"If a variant is no longer bookable the existing extension instances will not be removed but no new ones can be created.","type":"boolean"},"isDeletionScheduled":{"type":"boolean"},"key":{"type":"string"},"name":{"type":"string"},"priceInCents":{"description":"The monthly price in Euro Cents before tax.","type":"integer"}},"required":["key","priceInCents","isBookingStopped","isDeletionScheduled"],"type":"object"},"de.mittwald.v1.commons.Address":{"type":"object","properties":{"street":{"type":"string","example":"Königsberger Straße"},"houseNumber":{"type":"string","example":"4-6"},"city":{"type":"string","example":"Espelkamp"},"zip":{"type":"string","example":"32339"},"countryCode":{"type":"string","example":"DE","description":"ISO 3166-1 alpha-2 country code"},"addressPrefix":{"type":"string","example":"c/o Ada Lovelace"}},"required":["street","houseNumber","city","zip","countryCode"]},"de.mittwald.v1.commons.Contact":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"title":{"type":"string"},"salutation":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Salutation"},"company":{"type":"string"},"address":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Address"},"emailAddress":{"type":"string","format":"email"},"phoneNumbers":{"type":"array","items":{"type":"string"}},"useFormalTerm":{"type":"boolean"}},"required":["address","salutation"]},"de.mittwald.v1.commons.Error":{"type":"object","required":["type","message"],"properties":{"message":{"type":"string","example":"Something went wrong"},"type":{"type":"string","example":"InternalServerError"}}},"de.mittwald.v1.commons.Person":{"type":"object","description":"The users personal information, e.g. first name.","properties":{"firstName":{"type":"string","description":"The users first name","example":"Ada"},"lastName":{"type":"string","description":"The users last name","example":"Lovelace"},"title":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Salutation"}},"required":["lastName","firstName"]},"de.mittwald.v1.commons.Salutation":{"type":"string","enum":["mr","ms","other"]},"de.mittwald.v1.commons.ValidationErrorSchema":{"type":"object","required":["message","path","type"],"properties":{"message":{"type":"string","description":"The standard error message","example":"should be string"},"path":{"type":"string","description":"The path to the part of the data that was validated. JavaScript property access notation (e.g., \".prop[1].subProp\") is used.\n","example":".address.street"},"type":{"type":"string","description":"ajv validation error type (e.g. \"format\", \"required\", \"type\") or own validation error types","example":"format"},"context":{"type":"object","example":{"format":"email"},"description":"The object with the additional information about the error that can be used to create custom error messages. Keys depend on the\ntype that failed validation (e.g. \"missingProperty\" for type \"required\")\n","additionalProperties":{"type":"string"}}}},"de.mittwald.v1.commons.ValidationErrors":{"type":"object","required":["type","validationErrors"],"properties":{"type":{"type":"string","enum":["ValidationError"]},"message":{"type":"string","example":"Validation failed"},"validationErrors":{"type":"array","items":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrorSchema"}}}}},"securitySchemes":{"de.mittwald.v1.common.LegacyAccessToken":{"description":"Legacy Access Token is required in header","in":"header","name":"Authorization","type":"apiKey"},"de.mittwald.v1.commons.AccessToken":{"description":"Access Token is required in header","in":"header","name":"x-access-token","type":"apiKey"},"de.mittwald.v1.commons.LegacyBearerAuthentication":{"description":"'Authorization: Bearer xyz' is required","scheme":"bearer","type":"http","bearerFormat":"access_token"}}},"paths":{"/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms":{"post":{"operationId":"ai-hosting-customer-accept-model-terms","description":"Accept all model terms for a customer that are not already accepted. If there are no terms to accept, this endpoint will do nothing and return 204.","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Accepts the model terms for a customer.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hosting-keys":{"post":{"operationId":"ai-hosting-customer-create-key","description":"Creates a new key. Can be linked with a project to directly create web-ui container.","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"createWebuiContainer":{"type":"boolean"},"name":{"minLength":5,"type":"string"},"planId":{"minLength":1,"type":"string"},"projectId":{"type":"string"},"tokenLimit":{"description":"Optional token limit for this key alone, for the plan's billing period. Without it the key shares the plan's limit with every other key. The sum of all key limits may exceed the plan's limit; the plan's limit always applies on top.","format":"int64","minimum":1,"type":"integer"}},"required":["name","planId"],"type":"object"}}},"description":"","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Creates a new key.","tags":["AI hosting"]},"get":{"operationId":"ai-hosting-customer-get-keys","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"query","name":"planId","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":200,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"},"type":"array"}}},"description":"List of keys of a customer.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a list of already created keys.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hostings":{"post":{"operationId":"ai-hosting-customer-declare-profile","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Creates an AI hosting profile and accepts the current model terms.","tags":["AI hosting"]},"get":{"operationId":"ai-hosting-customer-get-plans","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"query","name":"topUsageCount","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":100,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerPlans"}}},"description":"The list of plans with their current usage.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get all ai hosting plans of a customer.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hosting-keys/{keyId}":{"delete":{"operationId":"ai-hosting-customer-delete-key","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Delete a key for a customer.","tags":["AI hosting"]},"get":{"operationId":"ai-hosting-customer-get-key","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":"The key of a customer.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a key of a customer.","tags":["AI hosting"]},"put":{"operationId":"ai-hosting-customer-update-key","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"createWebuiContainer":{"type":"boolean"},"name":{"minLength":5,"type":"string"},"projectId":{"type":"string"},"tokenLimit":{"description":"The key's own token limit for the plan's billing period. 0 removes an existing limit, so the key shares the plan's limit again. Settable on the customer route only.","format":"int64","minimum":0,"type":"integer"}},"type":"object"}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Update a key for a customer.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hosting-models":{"get":{"operationId":"ai-hosting-customer-get-detailed-models","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerDetailedModel"},"type":"array"}}},"description":"List of currently active models.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a list of currently active models.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hostings/{planId}":{"get":{"operationId":"ai-hosting-customer-get-plan","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"planId","required":true,"schema":{"type":"string"}},{"in":"query","name":"topUsageCount","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerPlan"}}},"description":"The customer usage and plan.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get ai hosting plan and usages of a customer by planId.","tags":["AI hosting"]},"put":{"operationId":"ai-hosting-customer-update-plan","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"planId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"}},"type":"object"}}},"description":"","required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Renames an AI hosting plan.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hosting":{"get":{"operationId":"ai-hosting-customer-get-usage","deprecated":true,"description":"Deprecated endpoint. Use /v2/customers/{customerId}/ai-hostings instead.","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"query","name":"topUsageCount","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.CustomerPlan"}}},"description":"The customer usage and plan.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get ai hosting plan and usages of a customer.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hosting-keys/{keyId}/actions/rotate":{"post":{"operationId":"ai-hosting-customer-rotate-key","description":"Issues a new secret for the key. The old secret is revoked immediately unless a grace period is supplied.","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"gracePeriod":{"description":"How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d, at most 7d. Omit to invalidate the old secret immediately.","example":"24h","pattern":"^\\d+[smhd]$","type":"string"}},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":"The key with its new secret."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Rotates a customer's key.","tags":["AI hosting"]}},"/v2/ai-hosting-models":{"get":{"operationId":"ai-hosting-get-models","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Model"},"type":"array"}}},"description":"List of currently active models.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a list of currently active models.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hostings/{planId}/billing-periods":{"get":{"operationId":"ai-hosting-plan-get-billing-periods","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"planId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanBillingPeriods"}}},"description":"The plan's billing periods, oldest first.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"List the contract months of an ai hosting plan.","tags":["AI hosting"]}},"/v2/customers/{customerId}/ai-hostings/{planId}/usage":{"get":{"operationId":"ai-hosting-plan-get-usage-stats","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"planId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Start of the timeframe (ISO 8601), taken from GET .../billing-periods. Only the date part is used: LiteLLM aggregates per day, so a time component is truncated and the timeframe in the response reports the whole UTC days that were actually covered.","in":"query","name":"startDate","required":true,"schema":{"format":"date-time","type":"string"}},{"description":"End of the timeframe (ISO 8601), taken from GET .../billing-periods. Only the date part is used: LiteLLM aggregates per day, so a time component is truncated and the timeframe in the response reports the whole UTC days that were actually covered.","in":"query","name":"endDate","required":true,"schema":{"format":"date-time","type":"string"}},{"description":"Narrows every figure to a single licence: daily[].byKey holds one entry, modelShare is that key's split and totalTokens its consumption. The keys list stays complete. Answers 404 if the licence is not part of the plan.","in":"query","name":"keyId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.PlanUsageStats"}}},"description":"Aggregated token usage statistics for the ai hosting plan.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get aggregated token usage statistics for an ai hosting plan of a customer.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hosting-keys":{"post":{"operationId":"ai-hosting-project-create-key","description":"Creates a new key for a project. Same as the customer route but with required projectId. And project users can create it.","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"createWebuiContainer":{"type":"boolean"},"name":{"minLength":5,"type":"string"},"planId":{"minLength":1,"type":"string"}},"required":["name","planId"],"type":"object"}}},"description":"","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Creates a new key for a project.","tags":["AI hosting"]},"get":{"operationId":"ai-hosting-project-get-keys","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"query","name":"planId","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":200,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"},"type":"array"}}},"description":"List of keys of a project.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a list of keys of a project.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hosting-keys/{keyId}":{"delete":{"operationId":"ai-hosting-project-delete-key","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Delete a key for a project.","tags":["AI hosting"]},"get":{"operationId":"ai-hosting-project-get-key","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":"The key of a project.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a key of a project.","tags":["AI hosting"]},"put":{"operationId":"ai-hosting-project-update-key","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"createWebuiContainer":{"type":"boolean"},"name":{"minLength":5,"type":"string"}},"type":"object"}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Update a key for a project.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hosting-models":{"get":{"operationId":"ai-hosting-project-get-detailed-models","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ProjectDetailedModel"},"type":"array"}}},"description":"List of currently active models.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a list of currently active models.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hostings/{planId}":{"get":{"operationId":"ai-hosting-project-get-plan","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"path","name":"planId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ProjectPlan"}}},"description":"The project usage and plan.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get ai hosting plan and usages of a project by planId.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hostings":{"get":{"operationId":"ai-hosting-project-get-plans","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":100,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ProjectPlans"}}},"description":"The list of plans with the project's current usage.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get all ai hosting plans and usages of a project.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hosting":{"get":{"operationId":"ai-hosting-project-get-usage","deprecated":true,"description":"Deprecated endpoint. Use /v2/projects/{projectId}/ai-hostings/{planId} instead.","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"query","name":"planId","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.ProjectPlan"}}},"description":"The project usage and plan.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get ai hosting plan and usages of a project.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container":{"post":{"operationId":"ai-hosting-project-link-container","description":"Links a container with a project licence. This will emit a WebUiContainerLinkedEvent and update the licence with the container metadata.","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"containerId":{"type":"string"},"ingressId":{"type":"string"},"stackId":{"type":"string"}},"required":["containerId","stackId","ingressId"],"type":"object"}}},"description":"","required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Links a container with a project licence.","tags":["AI hosting"]}},"/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/rotate":{"post":{"operationId":"ai-hosting-project-rotate-key","description":"Issues a new secret for the key. The old secret is revoked immediately unless a grace period is supplied.","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"path","name":"keyId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"gracePeriod":{"description":"How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d, at most 7d. Omit to invalidate the old secret immediately.","example":"24h","pattern":"^\\d+[smhd]$","type":"string"}},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.Key"}}},"description":"The key with its new secret."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Rotates a project's key.","tags":["AI hosting"]}},"/v2/ai-hosting-keys":{"get":{"operationId":"ai-hosting-user-get-keys","description":"Lists every AI hosting key the user reaches through its organizations,\nincluding the keys assigned to one of their projects, with the\norganization, project and plan names denormalized. A membership in a\nproject alone grants no access to its keys. A user without any AI hosting\ngets an empty list, not an error.\n","parameters":[{"description":"Restricts the list to keys of this organization.","in":"query","name":"customerId","required":false,"schema":{"type":"string"}},{"description":"Restricts the list to the keys assigned to this project. The caller\nstill needs access to the project's organization.\n","in":"query","name":"projectId","required":false,"schema":{"type":"string"}},{"in":"query","name":"planId","required":false,"schema":{"type":"string"}},{"description":"Case-insensitive substring match on the key name.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.UserKey"},"type":"array"}}},"description":"The list of keys the user can access.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get all ai hosting keys the authenticated user can access.","tags":["AI hosting"]}},"/v2/ai-hostings":{"get":{"operationId":"ai-hosting-user-get-plans","description":"Lists every AI hosting plan the user reaches through its organizations.\nA membership in one of a plan's projects alone grants no access to the\nplan. A user without any AI hosting gets an empty list, not an error.\n","parameters":[{"description":"Restricts the list to plans of this organization.","in":"query","name":"customerId","required":false,"schema":{"type":"string"}},{"description":"Restricts the list to the plans of this project's organization. The\ncaller still needs access to that organization.\n","in":"query","name":"projectId","required":false,"schema":{"type":"string"}},{"in":"query","name":"planId","required":false,"schema":{"type":"string"}},{"description":"Case-insensitive substring match on the plan description.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":200,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.aihosting.UserPlan"},"type":"array"}}},"description":"The list of plans the user can access.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get all ai hosting plans the authenticated user can access.","tags":["AI hosting"]}},"/v2/aissistant-chats/{chatId}":{"delete":{"operationId":"aissistant-delete-chat","parameters":[{"description":"The chat's AG-UI `threadId`, a UUID the client creates.","example":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","in":"path","name":"chatId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The chat is gone, or the caller had no chat with this id."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Delete a chat of the authenticated user.","tags":["AIssistant"]},"get":{"operationId":"aissistant-get-chat","parameters":[{"description":"The chat's AG-UI `threadId`, a UUID the client creates.","example":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","in":"path","name":"chatId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"saved":{"summary":"A chat with one question and its answer","value":{"id":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","messages":[{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"},{"content":"Open the project, then Domains, then Add domain.","id":"msg-assistant-1","role":"assistant"}],"revision":3,"title":"Set up a domain for my project","turnMarks":{},"updatedAt":"2026-10-29T10:15:00.000Z"}},"stopped":{"summary":"A chat whose answer the user stopped","value":{"id":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","messages":[{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"},{"content":"Open the project, then","id":"msg-assistant-1","role":"assistant"}],"revision":2,"title":"Set up a domain for my project","turnMarks":{"msg-assistant-1":"stopped"},"updatedAt":"2026-10-29T10:15:00.000Z"}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.Chat"}}},"description":"The chat as last saved."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get one chat of the authenticated user.","tags":["AIssistant"]},"put":{"operationId":"aissistant-save-chat","description":"`revision` is the revision the chat was loaded with, 0 for a new chat. A revision that differs from the stored one answers 409, so a second device cannot overwrite a newer chat. A request body over 1 MiB (1048576 bytes) answers 413. A chat that could not be loaded again within 4 MiB minus a 64 KiB safety margin answers 400. Creating a chat beyond the per-user chat quota (200 chats by default) answers 429; updating an existing chat remains possible at the quota. `messages` must follow the AG-UI message schema, and image parts are refused: the client replaces every image with a text part before it saves. A message may nest at most 64 levels, the message object counting as level 1; a deeper one answers 400. `turnMarks` is optional and replaces the stored marks on every save (`{}` without it); each key must be the `id` of a message of the same save, else the save answers 400.","parameters":[{"description":"The chat's AG-UI `threadId`, a UUID the client creates.","example":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","in":"path","name":"chatId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"newChat":{"summary":"The first save of a new chat","value":{"messages":[{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"},{"content":"Open the project, then Domains, then Add domain.","id":"msg-assistant-1","role":"assistant"}],"revision":0,"title":"Set up a domain for my project"}},"withTurnMarks":{"summary":"A save after the user stopped one answer and another ended incomplete","value":{"messages":[{"content":"How do I add a domain to project p-XXXXXX?","id":"msg-user-1","role":"user"},{"content":"Open the project, then","id":"msg-assistant-1","role":"assistant"},{"content":"Which DNS records do I need?","id":"msg-user-2","role":"user"},{"content":"You need an A record","id":"msg-assistant-2","role":"assistant"}],"revision":1,"title":"Set up a domain for my project","turnMarks":{"msg-assistant-1":"stopped","msg-assistant-2":"incomplete"}}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.SaveChatRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"newChat":{"summary":"The first save of a new chat","value":{"revision":1}},"update":{"summary":"A later save of a chat that was loaded with revision 3","value":{"revision":4}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.SaveChatResponse"}}},"description":"Saved; the chat's new revision."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"409":{"content":{"application/json":{"examples":{"staleRevision":{"summary":"Another device saved the chat in between","value":{"message":"revision conflict","type":"AlreadyExists"}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The stored revision differs from the one in the request."},"413":{"content":{"application/json":{"examples":{"tooLarge":{"summary":"The chat is too large to save","value":{"message":"chat too large","type":"RequestEntityTooLarge"}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The request body exceeds 1 MiB (1048576 bytes)."},"429":{"content":{"application/json":{"examples":{"chatQuotaReached":{"summary":"Delete an existing chat before creating another","value":{"message":"chat quota reached","type":"ResourceExhausted"}},"saveCapacityReached":{"summary":"Wait for an open save to finish before retrying","value":{"message":"save capacity reached","type":"ResourceExhausted"}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The chat quota or the number of simultaneous saves has been reached."},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Save the whole chat after a finished answer.","tags":["AIssistant"]}},"/v2/aissistant-chats":{"get":{"operationId":"aissistant-list-chats","description":"Returns at most 50 chats, sorted by `updatedAt` in descending order, so the chat saved last comes first. A chat carries its message list only when it is read on its own.","responses":{"200":{"content":{"application/json":{"examples":{"none":{"summary":"The caller has no chat","value":[]},"twoChats":{"summary":"Two saved chats","value":[{"id":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","title":"Set up a domain for my project","updatedAt":"2026-10-29T10:15:00.000Z"},{"id":"0b7d1c3e-5f60-4a2b-8c9d-e0f1a2b3c4d5","title":"Why is my cronjob failing?","updatedAt":"2026-10-28T16:40:00.000Z"}]}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.ChatList"}}},"description":"A list of the caller's chats, at most 50, sorted by `updatedAt` in descending order."},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"List the chats of the authenticated user.","tags":["AIssistant"]}},"/v2/aissistant-chats/{chatId}/actions/run":{"post":{"operationId":"aissistant-run-chat","description":"The response streams one AG-UI event per SSE `data:` frame, each a `de.mittwald.v1.aissistant.RunEvent`. A run ends with `RUN_FINISHED`, or with `RUN_ERROR` when it fails. A client tool call ends the run without an answer, and the client executes the call and starts a new run whose resume answers the interrupt. The chat does not need to be saved before it is run. A refusal before the stream starts answers a JSON error whose `type` names the cause: `AISSISTANT_CONTRACT_VERSION_OUTDATED`, `AISSISTANT_TRANSCRIPT_TOO_LONG`, `AISSISTANT_THREAD_ID_MISMATCH`, `AISSISTANT_INVALID_REQUEST`, `AISSISTANT_UNAUTHENTICATED`, `AISSISTANT_PERMISSION_DENIED` or `AISSISTANT_RUN_CAPACITY`; `message` stays human text. A request body over the route's byte limit is the gateway's 413 without a `type`.","parameters":[{"description":"The AG-UI threadId of the chat, created by the client. The request body's threadId must equal it.","example":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","in":"path","name":"chatId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"followUp":{"summary":"Second user turn with the answer of the first turn in the transcript","value":{"context":[],"forwardedProps":{"context":{"projectId":"p-XXXXXX","route":"/projects/p-XXXXXX/storage"},"contractVersion":3,"model":"default"},"messages":[{"content":"How much storage is left in my project?","id":"2b9e7c14-8f3a-4d61-b5c2-7a1f0e3d9b48","role":"user"},{"content":"Your project has 4.2 GB of storage left.","id":"5c3d8e21-6b47-4f90-a1d2-8e7f5c9b0a34","role":"assistant"},{"content":"And how many databases do I have?","id":"e1a7b940-2c68-4d13-9f5e-3b8a6d2c7f05","role":"user"}],"parentRunId":"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a","runId":"c4a6f1d8-3b27-4e95-8a10-6d5c2e9f7b31","state":{},"threadId":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","tools":[]}},"newQuestion":{"summary":"First user turn from a project's storage page","value":{"context":[],"forwardedProps":{"context":{"projectId":"p-XXXXXX","route":"/projects/p-XXXXXX/storage"},"contractVersion":3,"model":"default"},"messages":[{"content":"How much storage is left in my project?","id":"2b9e7c14-8f3a-4d61-b5c2-7a1f0e3d9b48","role":"user"}],"runId":"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a","state":{},"threadId":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","tools":[]}},"resumeAfterToolCall":{"summary":"New run that carries the result of the client tool call of the previous run","value":{"context":[],"forwardedProps":{"context":{"projectId":"p-XXXXXX","route":"/projects/p-XXXXXX/storage"},"contractVersion":3,"model":"default"},"messages":[{"content":"Open the databases page of my project.","id":"2b9e7c14-8f3a-4d61-b5c2-7a1f0e3d9b48","role":"user"},{"id":"a6b3c0d9-5e28-4f17-8c90-2d7e1b4a6f53","role":"assistant","toolCalls":[{"function":{"arguments":"{\"target\":\"project_databases\",\"params\":{\"projectId\":\"p-XXXXXX\"}}","name":"navigate_to"},"id":"call-navigate-01","type":"function"}]},{"content":"{\"path\":\"/projects/p-XXXXXX/databases\",\"target\":\"project_databases\"}","id":"d4e1f7a2-9c35-4b68-a0e9-7f2c5b8d1a46","role":"tool","toolCallId":"call-navigate-01"}],"parentRunId":"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a","resume":[{"interruptId":"client_tool_call-navigate-01","payload":{"path":"/projects/p-XXXXXX/databases","target":"project_databases"},"status":"resolved"}],"runId":"f8d2a05c-7e19-4b3a-96c8-1d4e7f0a2b63","state":{},"threadId":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","tools":[]}},"withImage":{"summary":"User turn with one screenshot in the message content","value":{"context":[],"forwardedProps":{"context":{"projectId":"p-XXXXXX","route":"/projects/p-XXXXXX/storage"},"contractVersion":3,"model":"default"},"messages":[{"content":[{"text":"The storage bar on this page looks wrong. Why?","type":"text"},{"source":{"mimeType":"image/png","type":"data","value":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="},"type":"image"}],"id":"7f0a2d61-4b83-4c95-8e17-5a9d0f3b6c28","role":"user"}],"runId":"0b7c4e83-1a59-4d26-b7f0-9e3c8a5d2b17","state":{},"threadId":"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f","tools":[]}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.aissistant.RunInput"}}},"required":true},"responses":{"200":{"content":{"text/event-stream":{"examples":{"clientToolCall":{"summary":"A run that ends with a tool call the client has to execute","value":"data: {\"type\":\"RUN_STARTED\",\"threadId\":\"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f\",\"runId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a\",\"timestamp\":1763380800000}\n\ndata: {\"type\":\"TOOL_CALL_START\",\"toolCallId\":\"call-navigate-01\",\"toolCallName\":\"navigate_to\",\"timestamp\":1763380800100}\n\ndata: {\"type\":\"TOOL_CALL_ARGS\",\"toolCallId\":\"call-navigate-01\",\"delta\":\"{\\\"target\\\":\\\"project_databases\\\",\\\"params\\\":{\\\"projectId\\\":\\\"p-XXXXXX\\\"}}\",\"timestamp\":1763380800120}\n\ndata: {\"type\":\"TOOL_CALL_END\",\"toolCallId\":\"call-navigate-01\",\"timestamp\":1763380800150}\n\ndata: {\"type\":\"MESSAGES_SNAPSHOT\",\"timestamp\":1763380800160,\"messages\":[{\"id\":\"2b9e7c14-8f3a-4d61-b5c2-7a1f0e3d9b48\",\"role\":\"user\",\"content\":\"Open the databases page of my project.\"},{\"id\":\"a6b3c0d9-5e28-4f17-8c90-2d7e1b4a6f53\",\"role\":\"assistant\",\"toolCalls\":[{\"id\":\"call-navigate-01\",\"type\":\"function\",\"function\":{\"name\":\"navigate_to\",\"arguments\":\"{\\\"target\\\":\\\"project_databases\\\",\\\"params\\\":{\\\"projectId\\\":\\\"p-XXXXXX\\\"}}\"}}]}]}\n\ndata: {\"type\":\"RUN_FINISHED\",\"threadId\":\"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f\",\"runId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a\",\"timestamp\":1763380800170,\"usage\":[{\"inputTokens\":2590,\"outputTokens\":19,\"totalTokens\":2609}],\"outcome\":{\"type\":\"interrupt\",\"interrupts\":[{\"id\":\"client_tool_call-navigate-01\",\"reason\":\"tanstack:client_tool_execution\",\"message\":\"Client tool navigate_to is ready to run\",\"toolCallId\":\"call-navigate-01\",\"responseSchema\":{\"anyOf\":[{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"target\":{\"type\":\"string\",\"enum\":[\"app_installation_overview\",\"app_installation_php_settings\",\"profile_api_tokens\",\"project_settings\",\"project_container_stacks\",\"project_cronjobs\",\"project_databases\",\"project_domains\",\"project_mail_addresses\",\"project_backups\",\"project_ssh_users\",\"project_sftp_users\",\"project_ssl_certificates\",\"project_members\",\"customer_contracts\",\"customer_servers\",\"customer_members\",\"customer_invoices\"]},\"dialog\":{\"type\":\"string\",\"enum\":[\"CreateCronjobModal\",\"CreateDatabaseModal\",\"CreateDomainModal\",\"CreateSubdomainModal\",\"CreateVhostModal\",\"MoveDomainModal\",\"CreateMailAddressModal\",\"CreateBackupModal\",\"CreateSftpUserModal\",\"CreateDnsCertificateModal\",\"CreateExternalCertificateModal\",\"InviteProjectMemberModal\",\"InviteCustomerMemberModal\"]}},\"required\":[\"path\",\"target\"],\"additionalProperties\":false},{\"type\":\"object\",\"properties\":{\"error\":{\"type\":\"string\"},\"status\":{\"type\":\"integer\",\"minimum\":-9007199254740991,\"maximum\":9007199254740991}},\"required\":[\"error\"],\"additionalProperties\":false}]},\"metadata\":{\"kind\":\"client_tool\",\"toolName\":\"navigate_to\",\"input\":{\"target\":\"project_databases\",\"params\":{\"projectId\":\"p-XXXXXX\"}},\"tanstack:interruptBinding\":{\"v\":1,\"kind\":\"client-tool-execution\",\"interruptId\":\"client_tool_call-navigate-01\",\"toolName\":\"navigate_to\",\"toolCallId\":\"call-navigate-01\",\"outputSchemaHash\":\"sha256:30ee971255b4a94eb6eb481fe87ec52a81aff683b32406cb2e04cb5da3df3517\",\"responseSchemaHash\":\"sha256:a1ff6c6a45f5a8fde2460d426aa83cfa68699d763ad9a46f73d2fadbbd54aa64\",\"interruptedRunId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a\",\"generation\":0}}}]}}\n\n"},"runError":{"summary":"A run that fails after it started","value":"data: {\"type\":\"RUN_STARTED\",\"threadId\":\"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f\",\"runId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a\",\"timestamp\":1763380800000}\n\ndata: {\"type\":\"RUN_ERROR\",\"message\":\"The agent run failed.\",\"code\":\"upstream_unavailable\",\"timestamp\":1763380800400}\n\n"},"textAnswer":{"summary":"A run whose answer arrives as text message deltas","value":"data: {\"type\":\"RUN_STARTED\",\"threadId\":\"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f\",\"runId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a\",\"timestamp\":1763380800000}\n\ndata: {\"type\":\"TEXT_MESSAGE_START\",\"messageId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a-text\",\"role\":\"assistant\",\"timestamp\":1763380800100}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a-text\",\"delta\":\"Your project has \",\"timestamp\":1763380800120}\n\ndata: {\"type\":\"TEXT_MESSAGE_CONTENT\",\"messageId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a-text\",\"delta\":\"4.2 GB of storage left.\",\"timestamp\":1763380800140}\n\ndata: {\"type\":\"TEXT_MESSAGE_END\",\"messageId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a-text\",\"timestamp\":1763380800200}\n\ndata: {\"type\":\"RUN_FINISHED\",\"threadId\":\"7f0c6a52-3a8e-4b8f-9d1e-2c4b5a6d7e8f\",\"runId\":\"9d2b1c40-5e6f-4a71-8b93-0f1e2d3c4b5a\",\"timestamp\":1763380800210,\"usage\":[{\"inputTokens\":2590,\"outputTokens\":12,\"totalTokens\":2602}]}\n\n"}},"schema":{"type":"string"}}},"description":"A stream of AG-UI events."},"400":{"content":{"application/json":{"examples":{"transcriptTooLong":{"summary":"Start a new chat; the transcript is over the agent's caps","value":{"message":"messages: too_big","type":"AISSISTANT_TRANSCRIPT_TOO_LONG"}}},"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"},{"properties":{"message":{"type":"string"}},"required":["message"],"type":"object"}]}}},"description":"The request was refused. A body with `type` is an agent refusal that names its cause: `AISSISTANT_CONTRACT_VERSION_OUTDATED`, `AISSISTANT_TRANSCRIPT_TOO_LONG`, `AISSISTANT_THREAD_ID_MISMATCH` or `AISSISTANT_INVALID_REQUEST`. A body that is not JSON is answered before dispatch with `message` only, without a `type`."},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"413":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"}},"required":["message"],"type":"object"}}},"description":"The request body is over the Route's `requestBodyLimitBytes`. The gateway answers before dispatch, so the body carries `message` only, without a `type`."},"429":{"content":{"application/json":{"examples":{"runCapacityReached":{"summary":"Wait for an open run to finish before retrying","value":{"message":"run capacity reached","type":"AISSISTANT_RUN_CAPACITY"}}},"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"Too many runs are open at the same time (type `AISSISTANT_RUN_CAPACITY`), or the gateway's own rate limit refused the call (a run costs 10 points, type `RateLimitError`). Both apply before streaming starts."},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"504":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Run the AIssistant on a chat and stream its answer.","tags":["AIssistant"]}},"/v2/app-installations/{appInstallationId}/actions/detach-staging":{"post":{"operationId":"app-detach-appinstallation-staging","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The staging AppInstallation detachment has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Detach a staging AppInstallation from its source.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/system-software":{"get":{"operationId":"app-get-app-installation-system-software","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"query","name":"tagFilter","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftware"},"type":"array"}}},"description":"The list of installed 'SystemSoftware'."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the installed `SystemSoftware' for a specific `AppInstallation`.","tags":["App"]}},"/v2/apps/{appId}":{"get":{"operationId":"app-get-app","parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.App"}}},"description":"The app object."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an App.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/error-analysis":{"get":{"operationId":"app-get-appinstallation-error-analysis","description":"Analyzes the last error of the AppInstallation. Only available while the AppInstallation has an error; returns a failed precondition otherwise.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"name":"Accept-Language","in":"header","description":"The preferred language for the response.","schema":{"type":"string","enum":["de","en"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallationErrorAnalysis"}}},"description":"The analysis of the AppInstallation error."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an analysis of the error of an AppInstallation.","tags":["App"]}},"/v2/appinstallations/{appInstallationId}":{"get":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an AppInstallation.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId} instead.","deprecated":true},"patch":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appVersionId":{"format":"uuid","type":"string"},"autoUpdatesActivated":{"description":"Enabling automatic updates may first update the AppInstallation to the newest permitted app version.","type":"boolean"},"customDocumentRoot":{"description":"Document root relative to the `installationPath` of the AppInstallation, for example `/public` for `/html/my-app/public`. A leading slash is optional and trailing slashes are removed. The path must not contain `..` segments. An empty string removes the custom document root, so the default `docRoot` of the AppVersion applies again. Only allowed if `docRootUserEditable` of the AppVersion is `true`.\n","type":"string"},"databases":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.PatchLinkedDatabase"},"description":"Desired changes to the databases linked to this AppInstallation, keyed by\ndatabase ID. Databases omitted from this object remain unchanged.\n","type":"object"},"description":{"type":"string"},"systemSoftware":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.DesiredSystemSoftware"},"type":"object"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppUpdatePolicy"},"userInputs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SavedUserInput"},"type":"array"}},"type":"object"}}},"description":"Properties to update for an AppInstallation.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Update properties belonging to an AppInstallation.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId} instead.","deprecated":true},"delete":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Trigger an uninstallation process for an AppInstallation.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId} instead.","deprecated":true}},"/v2/app-installations/{appInstallationId}":{"get":{"operationId":"app-get-appinstallation","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallation"}}},"description":"The AppInstallation."},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an AppInstallation.","tags":["App"]},"patch":{"operationId":"app-patch-appinstallation","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appVersionId":{"format":"uuid","type":"string"},"autoUpdatesActivated":{"description":"Enabling automatic updates may first update the AppInstallation to the newest permitted app version.","type":"boolean"},"customDocumentRoot":{"description":"Document root relative to the `installationPath` of the AppInstallation, for example `/public` for `/html/my-app/public`. A leading slash is optional and trailing slashes are removed. The path must not contain `..` segments. An empty string removes the custom document root, so the default `docRoot` of the AppVersion applies again. Only allowed if `docRootUserEditable` of the AppVersion is `true`.\n","type":"string"},"databases":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.PatchLinkedDatabase"},"description":"Desired changes to the databases linked to this AppInstallation, keyed by\ndatabase ID. Databases omitted from this object remain unchanged.\n","type":"object"},"description":{"type":"string"},"systemSoftware":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.DesiredSystemSoftware"},"type":"object"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppUpdatePolicy"},"userInputs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SavedUserInput"},"type":"array"}},"type":"object"}}},"description":"Properties to update for an AppInstallation.","required":true},"responses":{"204":{"description":"The AppInstallation has been patched."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Update properties belonging to an AppInstallation.","tags":["App"]},"delete":{"operationId":"app-uninstall-appinstallation","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The app installation is going to be deleted."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Trigger an uninstallation process for an AppInstallation.","tags":["App"]}},"/v2/apps/{appId}/versions/{appVersionId}":{"get":{"operationId":"app-get-appversion","parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"appVersionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppVersion"}}},"description":"The appVersion object."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an AppVersion.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/systemSoftware":{"get":{"operationId":"app-get-installed-systemsoftware-for-appinstallation","deprecated":true,"description":"Deprecated by `GET /v2/app-installations/{appInstallationId}/system-software`.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"query","name":"tagFilter","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftware"},"type":"array"}}},"description":"The list of installed 'SystemSoftware'."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the installed `SystemSoftware' for a specific `AppInstallation`.","tags":["App"]}},"/v2/appinstallations/{appInstallationId}/missing-dependencies":{"get":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"query","name":"targetAppVersionID","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the missing requirements of an appInstallation for a specific target AppVersion.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/missing-dependencies instead.","deprecated":true}},"/v2/app-installations/{appInstallationId}/missing-dependencies":{"get":{"operationId":"app-get-missing-dependencies-for-appinstallation","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"query","name":"targetAppVersionID","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"missingSystemSoftwareDependencies":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareDependency"},"type":"array"},"missingUserInputs":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.UserInput"},"type":"array"}},"type":"object"}}},"description":"The missing dependencies of the AppInstallation for the target AppVersion."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the missing requirements of an appInstallation for a specific target AppVersion.","tags":["App"]}},"/v2/systemsoftwares/{systemSoftwareId}":{"get":{"parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a SystemSoftware.","tags":["App"],"description":"This route is deprecated. Please use /v2/system-softwares/{systemSoftwareId} instead.","deprecated":true}},"/v2/system-softwares/{systemSoftwareId}":{"get":{"operationId":"app-get-systemsoftware","parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftware"}}},"description":"The SystemSoftware."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a SystemSoftware.","tags":["App"]}},"/v2/systemsoftware/{systemSoftwareId}/versions/{systemSoftwareVersionId}":{"get":{"parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"systemSoftwareVersionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a SystemSoftwareVersion.","tags":["App"],"description":"This route is deprecated. Please use /v2/system-softwares/{systemSoftwareId}/versions/{systemSoftwareVersionId} instead.","deprecated":true}},"/v2/system-software/{systemSoftwareId}/versions/{systemSoftwareVersionId}":{"get":{"parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"systemSoftwareVersionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a SystemSoftwareVersion.","tags":["App"],"description":"This route is deprecated. Please use /v2/system-softwares/{systemSoftwareId}/versions/{systemSoftwareVersionId} instead.","deprecated":true}},"/v2/system-softwares/{systemSoftwareId}/versions/{systemSoftwareVersionId}":{"get":{"operationId":"app-get-systemsoftwareversion","parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"systemSoftwareVersionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareVersion"}}},"description":"The systemSoftwareVersion object."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a SystemSoftwareVersion.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/database":{"patch":{"operationId":"app-link-database","deprecated":true,"description":"Deprecated by `PATCH /v2/app-installations/{appInstallationId}`.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"databaseId":{"format":"uuid","type":"string"},"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"},"purpose":{"enum":["primary","cache","custom"],"type":"string"}},"required":["databaseId","purpose"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The database has been linked."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create linkage between an AppInstallation and a MySQLDatabase.","tags":["App"]}},"/v2/app-installations":{"get":{"operationId":"app-list-appinstallations-for-user","parameters":[{"description":"IDs of Apps to filter for.","in":"query","name":"appIds","required":false,"schema":{"items":{"format":"uuid","type":"string"},"type":"array"}},{"description":"Search term to filter for. The fields id, shortId, description, appVersion, systemSoftwareVersion and customerId are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallationSortOrder"}},{"description":"Only return AppInstallations whose automatic updates are (`true`) or are not (`false`) activated.","in":"query","name":"autoUpdatesActivated","required":false,"schema":{"type":"boolean"}},{"description":"Only return AppInstallations whose current AppVersion does (`true`) or does not (`false`) support automatic updates. Combined with `autoUpdatesActivated=false`, this lists the AppInstallations whose automatic updates can be activated.","in":"query","name":"autoUpdatesSupported","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallation"},"type":"array"}}},"description":"Object containing the list of AppInstallations.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List AppInstallations that a user has access to.","tags":["App"]}},"/v2/projects/{projectId}/appinstallations":{"get":{"parameters":[{"description":"List AppInstallations belonging to a Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"IDs of Apps to filter for.","in":"query","name":"appIds","required":false,"schema":{"items":{"format":"uuid","type":"string"},"type":"array"}},{"description":"Search term to filter for. The fields id, shortId, description, appVersion and systemSoftwareVersion are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallationSortOrder"}},{"description":"Only return AppInstallations whose automatic updates are (`true`) or are not (`false`) activated.","in":"query","name":"autoUpdatesActivated","required":false,"schema":{"type":"boolean"}},{"description":"Only return AppInstallations whose current AppVersion does (`true`) or does not (`false`) support automatic updates. Combined with `autoUpdatesActivated=false`, this lists the AppInstallations whose automatic updates can be activated.","in":"query","name":"autoUpdatesSupported","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List AppInstallations belonging to a Project.","tags":["App"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/app-installations instead.","deprecated":true},"post":{"description":"This route is deprecated. Please use /v2/projects/{projectId}/app-installations instead.","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appVersionId":{"format":"uuid","type":"string"},"description":{"type":"string"},"installationPath":{"type":"string"},"systemSoftware":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.DesiredSystemSoftware"},"type":"object"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppUpdatePolicy"},"userInputs":{"description":"Values for the selected AppVersion's and its `systemSoftware`'s user inputs whose `lifecycleConstraint` is `installation` or `reconfigure`, each with `name` and `value`. Inputs with `required: true` must be sent unless a non-empty `defaultValue` supplies them. A required input with `enabledBy` is only required when at least one input named there is supplied or defaulted. Sending an input with `enabledBy` also requires all inputs named there. A `dataSource` only hints where mStudio can find a suggested value; it does not supply a value on the server or override these rules. Values must satisfy each input's `validationSchema` and, if set, its `additionalValidationSchema` (password rules). For `host`, prefer a full URL such as `https://example.com`; its `validationSchema` may require the `https://` scheme.","items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SavedUserInput"},"type":"array"}},"required":["appVersionId","description","userInputs"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Request an AppInstallation.","tags":["App"],"deprecated":true}},"/v2/projects/{projectId}/app-installations":{"get":{"operationId":"app-list-appinstallations","parameters":[{"description":"List AppInstallations belonging to a Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"IDs of Apps to filter for.","in":"query","name":"appIds","required":false,"schema":{"items":{"format":"uuid","type":"string"},"type":"array"}},{"description":"Search term to filter for. The fields id, shortId, description, appVersion and systemSoftwareVersion are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallationSortOrder"}},{"description":"Only return AppInstallations whose automatic updates are (`true`) or are not (`false`) activated.","in":"query","name":"autoUpdatesActivated","required":false,"schema":{"type":"boolean"}},{"description":"Only return AppInstallations whose current AppVersion does (`true`) or does not (`false`) support automatic updates. Combined with `autoUpdatesActivated=false`, this lists the AppInstallations whose automatic updates can be activated.","in":"query","name":"autoUpdatesSupported","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallation"},"type":"array"}}},"description":"Object containing the list of AppInstallations.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List AppInstallations belonging to a Project.","tags":["App"]},"post":{"operationId":"app-request-appinstallation","description":"Creates an AppInstallation of an AppVersion in the project. Send the user inputs applicable when installing the selected AppVersion with its `systemSoftware`: inputs whose `lifecycleConstraint` is `installation` or `reconfigure`. Inputs with `required: true` must be sent unless a non-empty `defaultValue` supplies them. A required input with `enabledBy` is only required when at least one input named there is supplied or defaulted. Sending an input with `enabledBy` also requires all inputs named there. A `dataSource` only tells mStudio where to look for a suggested value; it does not supply a value on the server or override these rules. Values must satisfy each input's `validationSchema` and, if set, its `additionalValidationSchema` (password rules). For `host`, prefer a full URL such as `https://example.com`; its `validationSchema` may require the `https://` scheme.","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appVersionId":{"format":"uuid","type":"string"},"description":{"type":"string"},"installationPath":{"type":"string"},"systemSoftware":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.app.DesiredSystemSoftware"},"type":"object"},"updatePolicy":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppUpdatePolicy"},"userInputs":{"description":"Values for the selected AppVersion's and its `systemSoftware`'s user inputs whose `lifecycleConstraint` is `installation` or `reconfigure`, each with `name` and `value`. Inputs with `required: true` must be sent unless a non-empty `defaultValue` supplies them. A required input with `enabledBy` is only required when at least one input named there is supplied or defaulted. Sending an input with `enabledBy` also requires all inputs named there. A `dataSource` only hints where mStudio can find a suggested value; it does not supply a value on the server or override these rules. Values must satisfy each input's `validationSchema` and, if set, its `additionalValidationSchema` (password rules). For `host`, prefer a full URL such as `https://example.com`; its `validationSchema` may require the `https://` scheme.","items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SavedUserInput"},"type":"array"}},"required":["appVersionId","description","userInputs"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"The AppInstallation has been requested."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Request an AppInstallation.","tags":["App"]}},"/v2/apps":{"get":{"operationId":"app-list-apps","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.App"},"type":"array"}}},"description":"Object containing the list of Apps.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List Apps.","tags":["App"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/apps/{appId}/versions":{"get":{"operationId":"app-list-appversions","parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"versionRange","required":false,"schema":{"type":"string"}},{"in":"query","name":"recommended","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppVersion"},"type":"array"}}},"description":"Object containing the list of AppVersions.","headers":{"X-Pagination-Limit":{"schema":{"type":"integer"}},"X-Pagination-Skip":{"schema":{"type":"integer"}},"X-Pagination-TotalCount":{"schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List AppVersions belonging to an App.","tags":["App"]}},"/v2/systemsoftwares":{"get":{"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List SystemSoftwares.","tags":["App"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"description":"This route is deprecated. Please use /v2/system-softwares instead.","deprecated":true}},"/v2/system-softwares":{"get":{"operationId":"app-list-systemsoftwares","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftware"},"type":"array"}}},"description":"Object containing the list of SystemSoftwares.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List SystemSoftwares.","tags":["App"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/system-software/{systemSoftwareId}/versions":{"get":{"parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"versionRange","required":false,"schema":{"type":"string"}},{"in":"query","name":"recommended","required":false,"schema":{"type":"boolean"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List SystemSoftwareVersions belonging to a SystemSoftware.","tags":["App"],"description":"This route is deprecated. Please use /v2/system-softwares/{systemSoftwareId}/versions instead.","deprecated":true}},"/v2/systemsoftware/{systemSoftwareId}/versions":{"get":{"parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"versionRange","required":false,"schema":{"type":"string"}},{"in":"query","name":"recommended","required":false,"schema":{"type":"boolean"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List SystemSoftwareVersions belonging to a SystemSoftware.","tags":["App"],"description":"This route is deprecated. Please use /v2/system-softwares/{systemSoftwareId}/versions instead.","deprecated":true}},"/v2/system-softwares/{systemSoftwareId}/versions":{"get":{"operationId":"app-list-systemsoftwareversions","parameters":[{"in":"path","name":"systemSoftwareId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"versionRange","required":false,"schema":{"type":"string"}},{"in":"query","name":"recommended","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.SystemSoftwareVersion"},"type":"array"}}},"description":"Object containing the list of SystemSoftwareVersions.","headers":{"X-Pagination-Limit":{"schema":{"type":"integer"}},"X-Pagination-Skip":{"schema":{"type":"integer"}},"X-Pagination-TotalCount":{"schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List SystemSoftwareVersions belonging to a SystemSoftware.","tags":["App"]}},"/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates":{"get":{"operationId":"app-list-update-candidates-for-appversion","parameters":[{"in":"path","name":"appId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"baseAppVersionId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"onlyRecommended","schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppVersion"},"type":"array"}}},"description":"Object containing the list of AppVersions.","headers":{"X-Pagination-Limit":{"schema":{"type":"integer"}},"X-Pagination-Skip":{"schema":{"type":"integer"}},"X-Pagination-TotalCount":{"schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List update candidates belonging to an AppVersion.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/actions/promote-staging":{"post":{"operationId":"app-promote-appinstallation-staging","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The staging AppInstallation promotion has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Promote a staging AppInstallation.","tags":["App"]}},"/v2/appinstallations/{appInstallationId}/actions/copy":{"post":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"domain":{"type":"string"},"installationPath":{"type":"string"},"targetProjectId":{"format":"uuid","type":"string"}},"required":["description"],"type":"object"}}},"description":"Properties to copy an app installation.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Request a copy of an AppInstallation.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/actions/copy instead.","deprecated":true}},"/v2/app-installations/{appInstallationId}/actions/copy":{"post":{"operationId":"app-request-appinstallation-copy","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"domain":{"type":"string"},"installationPath":{"type":"string"},"targetProjectId":{"format":"uuid","type":"string"}},"required":["description"],"type":"object"}}},"description":"Properties to copy an app installation.","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"The AppInstallation copy has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Request a copy of an AppInstallation.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/actions/staging":{"post":{"operationId":"app-request-appinstallation-staging","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"domain":{"type":"string"},"installationPath":{"type":"string"}},"required":["description","domain"],"type":"object"}}},"description":"Properties to create a staging for an app installation.","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"The AppInstallation staging has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Request a staging for an AppInstallation.","tags":["App"]}},"/v2/appinstallations/{appInstallationId}/status":{"get":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Get runtime status belonging to an AppInstallation.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/status instead.","deprecated":true}},"/v2/app-installations/{appInstallationId}/status":{"get":{"operationId":"app-retrieve-status","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.AppInstallationStatus"}}},"description":"The appInstallation status."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get runtime status belonging to an AppInstallation.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/databases/{databaseId}":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/databases/{databaseId}/users instead.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"databaseId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"}},"required":["databaseUserIds"],"type":"object"}}},"description":"Properties to update for the specified system software.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create linkage between an AppInstallation and DatabaseUsers.","tags":["App"]},"delete":{"operationId":"app-unlink-database","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"databaseId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The database has been unlinked."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove linkage between an AppInstallation and a Database.","tags":["App"]}},"/v2/appinstallations/{appInstallationId}/databases/{databaseId}":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/databases/{databaseId}/users instead.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"databaseId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"}},"required":["databaseUserIds"],"type":"object"}}},"description":"Properties to update for the specified system software.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create linkage between an AppInstallation and DatabaseUsers.","tags":["App"]},"delete":{"parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"databaseId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove linkage between an AppInstallation and a Database.","tags":["App"],"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/databases/{databaseId} instead.","deprecated":true}},"/v2/app-installations/{appInstallationId}/databases/{databaseId}/users":{"put":{"operationId":"app-set-database-users","deprecated":true,"description":"Deprecated by `PATCH /v2/app-installations/{appInstallationId}`.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"databaseId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"}},"required":["databaseUserIds"],"type":"object"}}},"description":"Properties to update for the specified system software.","required":true},"responses":{"204":{"description":"The database users have been set."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create linkage between an AppInstallation and DatabaseUsers.","tags":["App"]}},"/v2/articles/{articleId}":{"get":{"operationId":"article-get-article","parameters":[{"example":"WH25-0007","in":"path","name":"articleId","required":true,"schema":{"type":"string"}},{"deprecated":true,"description":"not in use.","example":"123e4567-e89b-12d3-a456-426614174000","in":"query","name":"customerId","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.article.ReadableArticle"}}},"description":"The Article object"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get an Article.","tags":["Article"]}},"/v2/articles":{"get":{"operationId":"article-list-articles","parameters":[{"deprecated":true,"description":"not in use.","example":"123e4567-e89b-12d3-a456-426614174000","in":"query","name":"customerId","required":false,"schema":{"type":"string"}},{"description":"Filters articles that contain at least one of the specified tags (logical OR).","example":[],"in":"query","name":"tags","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"example":[],"in":"query","name":"templateNames","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"example":["WH25-0007"],"in":"query","name":"articleIds","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"in":"query","name":"orderable","required":false,"schema":{"items":{"enum":["forbidden","internal","beta_testing","full","deprecated"],"type":"string"},"type":"array"}},{"example":"Webhosting","in":"query","name":"name","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.article.ReadableArticle"},"type":"array"}}},"description":"Object containing the list of Articles","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List Articles.","tags":["Article"]}},"/v2/project-backups/{projectBackupId}/export":{"post":{"operationId":"backup-create-project-backup-export","parameters":[{"description":"ID of the ProjectBackup to export.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"format":{"description":"The desired format to export the ProjectBackup in.","enum":["tar","zip"],"example":"tar","type":"string"},"password":{"description":"Password to use to protect the archive. A password the leaked-password check reports as leaked is rejected; the check is best effort.","example":"password","type":"string"}},"required":["format"],"type":"object"}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Export a ProjectBackup for download.","tags":["Backup"]},"delete":{"operationId":"backup-delete-project-backup-export","parameters":[{"description":"ID if the ProjectBackup to delete the export of.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a ProjectBackupExport.","tags":["Backup"]}},"/v2/projects/{projectId}/backup-schedules":{"post":{"operationId":"backup-create-project-backup-schedule","parameters":[{"description":"ID of the Project to create a BackupSchedule for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Description of the BackupSchedule.","type":"string"},"schedule":{"description":"Execution schedule in crontab notation. The backup interval must not be more frequent than hourly.","example":"5 4 * * *","type":"string"},"ttl":{"description":"TTL of the BackupSchedule as a duration string. Must be at least 7d and no more than 365d.","example":"7d","type":"string"}},"required":["ttl","schedule"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupSchedule"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a BackupSchedule for a Project.","tags":["Backup"]},"get":{"operationId":"backup-list-project-backup-schedules","parameters":[{"description":"ID of the Project to list BackupSchedules for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupSchedule"},"type":"array"}}},"description":"OK"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List BackupSchedules belonging to a Project.","tags":["Backup"]}},"/v2/projects/{projectId}/backups":{"post":{"operationId":"backup-create-project-backup","parameters":[{"description":"ID of the project to create a Backup for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Description of the Backup.","example":"I'm a ProjectBackup","type":"string"},"expirationTime":{"description":"Time when to expire the Backup. Must be at least 7 days and no more than one year in the future.","format":"date-time","type":"string"}},"required":["expirationTime"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackup"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a Backup of a Project.","tags":["Backup"]},"get":{"operationId":"backup-list-project-backups","parameters":[{"description":"ID of the Project to get Backups for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to list Project Backups for. The fields id and description are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"description":"If true, only backups with exports will be listed.","in":"query","name":"withExportsOnly","required":false,"schema":{"type":"boolean"}},{"description":"Sort order for listing backups. Defaults to backup_sort_order_oldest_first.","in":"query","name":"sortOrder","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.BackupSortOrder"}},{"description":"If true, only backup with running restores will be listed.","in":"query","name":"runningRestoresOnly","required":false,"schema":{"type":"boolean"}},{"description":"If true, only backups that are currently in progress will be listed.","in":"query","name":"runningBackupsOnly","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackup"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Backups belonging to a Project.","tags":["Backup"]}},"/v2/project-backup-schedules/{projectBackupScheduleId}":{"delete":{"operationId":"backup-delete-project-backup-schedule","parameters":[{"description":"ID of the ProjectBackupSchedule to delete.","in":"path","name":"projectBackupScheduleId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a ProjectBackupSchedule.","tags":["Backup"]},"get":{"operationId":"backup-get-project-backup-schedule","parameters":[{"description":"ID of the ProjectBackupSchedule to retrieve.","in":"path","name":"projectBackupScheduleId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupSchedule"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a ProjectBackupSchedule.","tags":["Backup"]},"patch":{"operationId":"backup-update-project-backup-schedule","parameters":[{"description":"ID of the ProjectBackupSchedule to be updated.","in":"path","name":"projectBackupScheduleId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Description of the ProjectBackupSchedule. Note that the description of isSystemBackup true items cannot be changed.","example":"I'm a ProjectBackupSchedule","type":"string"},"schedule":{"description":"Execution schedule in crontab notation. Note that the schedule of isSystemBackup true items must be daily once. For all other schedules the interval must not be more frequent than hourly.","example":"5 4 * * *","type":"string"},"ttl":{"description":"TTL of the BackupSchedule as a duration string. Must be at least 7d and no more than 365d.","example":"7d","type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a ProjectBackupSchedule.","tags":["Backup"]}},"/v2/project-backups/{projectBackupId}":{"delete":{"operationId":"backup-delete-project-backup","parameters":[{"description":"ID of the ProjectBackup to be deleted.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a ProjectBackup.","tags":["Backup"]},"get":{"operationId":"backup-get-project-backup","parameters":[{"description":"ID of the ProjectBackup to retrieve.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackup"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a ProjectBackup.","tags":["Backup"]},"patch":{"operationId":"backup-update-project-backup","parameters":[{"description":"ID of the ProjectBackup to be updated.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Description of the ProjectBackup.","example":"I'm a ProjectBackup","type":"string"},"expirationTime":{"description":"Time when to expire the Backup. Must be no more than one year in the future.","format":"date-time","type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a ProjectBackup.","tags":["Backup"]}},"/v2/project-backups/{projectBackupId}/database-dumps":{"get":{"operationId":"backup-get-project-backup-database-dumps","parameters":[{"description":"UUID of the Project Backup to get the database dump's for.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"databases":{"items":{"type":"string"},"type":"array"}},"required":["databases"],"type":"object"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List database dump's for a ProjectBackup.","tags":["Backup"]}},"/v2/project-backups/{projectBackupId}/path":{"get":{"operationId":"backup-get-project-backup-directories","parameters":[{"description":"UUID of the Project Backup to get the table of contents for.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}},{"description":"The directory to start listing subdirectories from.","in":"query","name":"directory","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupPath"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List paths for a ProjectBackup.","tags":["Backup"]}},"/v2/project-backups/{projectBackupId}/restore-path":{"post":{"operationId":"backup-request-project-backup-restore-path-deprecated","deprecated":true,"description":"**Deprecated**: Use POST /v2/project-backups/{projectBackupId}/restore instead.\nThis endpoint will be removed in a future version.\n","parameters":[{"description":"ID of the ProjectBackup to restore the path.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestorePathRequestDeprecated"}}}},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Restore a ProjectBackup's path.","tags":["Backup"]}},"/v2/project-backups/{projectBackupId}/restore":{"post":{"operationId":"backup-request-project-backup-restore","parameters":[{"description":"ID of the ProjectBackup to restore.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.backup.ProjectBackupRestoreRequest"}}}},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Restore a ProjectBackup.","tags":["Backup"]}},"/v2/stacks/{stackId}/actions/add-template-component":{"post":{"operationId":"container-add-template-component","description":"Adds the Services and Volumes of a Container Template of type `component` to the Stack. A Service or Volume whose name already exists in the Stack is added under its name followed by `_` and six random characters instead, so existing Services and Volumes are never overwritten or shared. The component's volume mounts, domains and backup cronjobs refer to the renamed Services and Volumes; other references to Service names, such as host names in environment variables, are not adjusted. Returns `400` if the Template is not of type `component` or the user inputs are invalid, `404` if the Template does not exist, and `412` while a template installation of the Stack is still in progress.","parameters":[{"description":"ID of the Stack where the component should be added.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.AddTemplateComponent"}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Add a template component to a Stack.","tags":["Container"]}},"/v2/stacks/{stackId}/webhooks/pull-image":{"get":{"operationId":"container-call-pull-image-webhook-for-service","description":"Calls the pull-image webhook endpoint for a Service using a webhook token. The Service is identified by the token. The call behaves like `POST /v2/stacks/{stackId}/services/{serviceId}/actions/pull`: if the registry has a new digest for the Service's image, the Service is recreated with it; otherwise nothing happens. Returns `401` for an invalid or rotated token and, like the pull action, `412` while the Stack is disabled or suspended.","parameters":[{"description":"ID of the Stack to pull the image of a Service for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Webhook token returned by the pull-image webhook creation endpoint.","in":"query","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Call a Service pull-image webhook.","tags":["Container"]}},"/v2/projects/{projectId}/registries":{"post":{"operationId":"container-create-registry","description":"The registry must be publicly reachable (hosts on internal or private networks are refused), and credentials, if given, must be accepted by it; otherwise `400` is returned. Returns `409` if the Project already has a Registry with the same `uri`.","parameters":[{"description":"ID of the Project to create a Registry for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.CreateRegistry"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.Registry"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a Registry.","tags":["Container"]},"get":{"operationId":"container-list-registries","description":"Registries are returned in no defined order. New Projects get Registries for `index.docker.io`, `ghcr.io` and `registry.gitlab.com` without credentials.","parameters":[{"description":"ID of the Project to get Registries for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Filters the list depending on whether registry credentials exist.","in":"query","name":"hasCredentials","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.Registry"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Registries belonging to a Project.","tags":["Container"]}},"/v2/projects/{projectId}/stacks":{"post":{"operationId":"container-create-stack","description":"Creates an empty Stack, or installs a Container Template into it if `templateConfig` is given. Returns `412` if the Project does not have the container hosting feature.","parameters":[{"description":"ID of the Project to create a Stack for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.CreateStack"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.StackResponse"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a Stack.","tags":["Container"]},"get":{"operationId":"container-list-stacks","description":"Stacks are sorted by description, then by ID; the Services of each Stack are sorted by service name, its Volumes by name.","parameters":[{"description":"ID of the Project to list Stacks for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to filter Stacks by. It matches case-insensitively as a substring of the Stack's description, or matches a Stack if any of its Services match exactly on a Service's `id`, `shortId`, `stackId` or `projectId`, or case-insensitively as a substring of its `serviceName`, `message` or `description`, or exactly on the ID of the Project's customer, of the Project's server or the server's customer, or of a user who is a member of the Project.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.StackResponse"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Stacks belonging to a Project.","tags":["Container"]}},"/v2/stacks/{stackId}":{"put":{"operationId":"container-declare-stack","description":"Declares the complete set of Services of a Stack: Services that are not contained in the request are deleted, and each contained Service is replaced by the given definition, so omitted properties are reset to their defaults. A Service whose declaration differs from its current `pendingState` is recreated with the new definition; a declaration that does not change anything leaves the Service untouched, including pending changes from an earlier `PATCH`. New Services are deployed immediately. Volumes are created if missing, but never removed. Returns `412` while the Stack's `status` is `templateInstalling`, or if a Service mounts a named Volume that does not exist.\n\nNote that this endpoint only declares the `services` and `volumes` of a Stack. Stack-level properties like `x-description` and `x-update-schedule` (formerly `description` and `updateSchedule`) are deliberately not part of this declaration: in a declarative `PUT`, omitting a property resets it, so adding these properties to this endpoint now would make existing requests — which do not send them — clear those values. They therefore remain unchanged by this endpoint; use `PATCH /v2/stacks/{stackId}` to manage them. Including them in the declarative `PUT` is planned for the next API version (v3).","parameters":[{"description":"ID of the Stack to create, update or delete Services or Volumes for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"services":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceDeclareRequest"},"description":"A set of containers that should be started in this stack. The key is the service name,\nwhich is relevant for network connectivity: containers of the same stack can resolve a\ncontainer by its service name alone, and managed apps in the same project can resolve it as\n`<serviceName>.<prefix>`, where `<prefix>` is the stack's `prefix`. Containers of other\nstacks cannot communicate with it.\n\nTo **delete** an existing container from a stack using a `PUT` request, simply omit\nit from the request body. Using a `PATCH` request, set it to an empty object `{}`.\n\nKeys must match `^[a-zA-Z0-9][a-zA-Z0-9_.-]+$` (2 to 63 characters) and are case-insensitive:\nservice names are stored in lowercase, a key that differs from an existing service name only in\ncase refers to that service, and two keys that differ only in case are rejected.\n","type":"object"},"volumes":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeDeclareRequest"},"description":"A set of named volumes that should exist in this stack, keyed by volume name (matching the same\npattern as service names, up to 800 characters). Missing\nvolumes are created. Volumes are never removed by this request (for safety): a volume that is\nleft out stays part of the stack and keeps its data. To delete a volume, use the\n`DELETE /v2/stacks/{stackId}/volumes/{volumeId}` endpoint.\n","type":"object"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.StackResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Declaratively create, update or delete Services or Volumes belonging to a Stack.","tags":["Container"]},"delete":{"operationId":"container-delete-stack","description":"Deletes the Stack including all of its Services and Volumes. **The data stored in the Stack's Volumes is deleted permanently.** Files in the project file system that are bind-mounted into Services are not affected. To keep a Volume's data, back it up before deleting the Stack.","parameters":[{"description":"ID of the Stack to be deleted.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Stack.","tags":["Container"]},"get":{"operationId":"container-get-stack","parameters":[{"description":"ID of the Stack to be retrieved.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.StackResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Stack.","tags":["Container"]},"patch":{"operationId":"container-update-stack","description":"Partially updates a Stack; only the properties contained in the request body are changed. A Service in `services` that does not exist yet is created and deployed immediately; a Service set to `{}` is deleted. For an existing Service, every property that is sent replaces the stored value completely (e.g. sending `environment` with one variable removes all other variables, and `deploy` replaces all resource limits), while omitted properties are left unchanged. Changes to the image, ports, volumes, environment, entrypoint or command of an existing Service are stored in its `pendingState` and only applied to the running container when it is recreated (`recreate=true`, or `POST /v2/stacks/{stackId}/services/{serviceId}/actions/recreate`); until then the Service has `requiresRecreate: true`. Description, resource limits and restart policy are not tracked in `pendingState` and are passed to the cluster right away. Volumes are created if missing, but never removed. Returns `412` while the Stack's `status` is `templateInstalling`, or if a Service mounts a named Volume that does not exist.","parameters":[{"description":"ID of the Stack to create, update or delete Services or Volumes for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Whether to recreate all Services that are contained in the request body, which applies their pending changes (see `requiresRecreate`). Services that are not contained in the request body are not recreated.","in":"query","name":"recreate","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"deprecated":true,"description":"Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.","example":"uptime kuma","type":"string"},"services":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceRequest"},"description":"A set of containers that should be started in this stack. The key is the service name,\nwhich is relevant for network connectivity: containers of the same stack can resolve a\ncontainer by its service name alone, and managed apps in the same project can resolve it as\n`<serviceName>.<prefix>`, where `<prefix>` is the stack's `prefix`. Containers of other\nstacks cannot communicate with it.\n\nTo **delete** an existing container from a stack using a `PUT` request, simply omit\nit from the request body. Using a `PATCH` request, set it to an empty object `{}`.\n\nKeys must match `^[a-zA-Z0-9][a-zA-Z0-9_.-]+$` (2 to 63 characters) and are case-insensitive:\nservice names are stored in lowercase, a key that differs from an existing service name only in\ncase refers to that service, and two keys that differ only in case are rejected.\n","type":"object"},"updateSchedule":{"deprecated":true,"description":"Deprecated by 'x-update-schedule' (which takes precedence). This field will be\nremoved in a future version.\n","nullable":true,"properties":{"cron":{"description":"Cron expression with five fields (minute, hour, day of month, month, day of week).","example":"0 3 * * *","type":"string"},"timezone":{"description":"IANA time zone in which `cron` is evaluated; defaults to UTC. Valid timezones can be retrieved via `GET /v2/time-zones`.","example":"Europe/Berlin","type":"string"}},"required":["cron"],"type":"object"},"volumes":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeRequest"},"description":"A set of named volumes that should exist in this stack, keyed by volume name (matching the same\npattern as service names, up to 800 characters). Missing\nvolumes are created. Volumes are never removed by this request (for safety): a volume that is\nleft out stays part of the stack and keeps its data. To delete a volume, use the\n`DELETE /v2/stacks/{stackId}/volumes/{volumeId}` endpoint.\n","type":"object"},"x-description":{"description":"Description of the stack.","example":"uptime kuma","type":"string"},"x-update-schedule":{"description":"Schedule for automatic image updates of this stack. At each scheduled time, the image of\nevery Service is pulled like with `POST /v2/stacks/{stackId}/services/{serviceId}/actions/pull`,\nso Services with a new image digest are recreated. Set to `null` to remove the schedule; omit\nthe property to leave it unchanged.\n","nullable":true,"properties":{"cron":{"description":"Cron expression with five fields (minute, hour, day of month, month, day of week).","example":"0 3 * * *","type":"string"},"timezone":{"description":"IANA time zone in which `cron` is evaluated; defaults to UTC. Valid timezones can be retrieved via `GET /v2/time-zones`.","example":"Europe/Berlin","type":"string"}},"required":["cron"],"type":"object"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.StackResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create, update or delete Services or Volumes belonging to a Stack.","tags":["Container"]}},"/v2/registries/{registryId}":{"delete":{"operationId":"container-delete-registry","parameters":[{"description":"ID if the Registry to be deleted.","in":"path","name":"registryId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Registry.","tags":["Container"]},"get":{"operationId":"container-get-registry","parameters":[{"description":"ID of the Registry to be retrieved.","in":"path","name":"registryId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.Registry"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Registry.","tags":["Container"]},"patch":{"operationId":"container-update-registry","description":"Only the properties contained in the request body are changed. New credentials must be accepted by the registry; otherwise `400` is returned. Returns `409` if the Project already has a Registry with the new `uri`.","parameters":[{"description":"ID of the Registry to be updated.","in":"path","name":"registryId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.UpdateRegistry"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Registry.","tags":["Container"]}},"/v2/stacks/{stackId}/volumes/{volumeId}":{"delete":{"operationId":"container-delete-volume","description":"Deletes the Volume and **permanently deletes its data**. Returns `412` while a Service still mounts the Volume in its `deployedState` or `pendingState`; remove the mount and recreate the Service first.","parameters":[{"description":"ID of the Stack the Volume belongs to.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Volume to be deleted.","in":"path","name":"volumeId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Volume belonging to a Stack.","tags":["Container"]},"get":{"operationId":"container-get-volume","parameters":[{"description":"ID of the Stack the Volume belongs to.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Volume to be retrieved.","in":"path","name":"volumeId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Volume belonging to a Stack.","tags":["Container"]}},"/v2/container-image-config":{"get":{"operationId":"container-get-container-image-config","description":"Resolves the given image reference and returns the configuration of the image. An image that does not exist, cannot be accessed (e.g. a private image without matching Registry credentials), or cannot be resolved returns `400` with a validation error describing the cause; `404` is only returned for an unknown Registry passed as `useCredentialsForRegistryId`. If the image's registry rate-limits the request, `429` is returned and the request can be retried later.","parameters":[{"description":"The image reference to get a ContainerImageConfig for.","in":"query","name":"imageReference","required":true,"schema":{"example":"mysql","type":"string"}},{"description":"ID of the Project whose Registry credentials are used: the credentials of the Project's Registry whose `uri` equals the image's registry host. Ignored if `useCredentialsForRegistryId` is given.","in":"query","name":"useCredentialsForProjectId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Registry to get a ContainerImageConfig with credentials for. The registry host of `imageReference` must match the Registry's `uri`, with or without stored credentials (compared case-insensitively; `docker.io` and `index.docker.io` are treated as equal, and references without a registry host refer to Docker Hub); otherwise a 400 ValidationError is returned and the credentials are not used. An unknown Registry ID returns 404.","in":"query","name":"useCredentialsForRegistryId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Whether ai data should be generated during request. The request duration can take up to 15 seconds.","in":"query","name":"generateAiData","required":false,"schema":{"type":"boolean"}},{"name":"Accept-Language","in":"header","description":"The preferred language for the response.","schema":{"type":"string","enum":["de","en"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ContainerImageConfig"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a ContainerImageConfig.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/log-analysis":{"get":{"operationId":"container-get-service-logs-analysis","parameters":[{"description":"ID of the Stack the Service belongs to.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to analyze the logs of.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}},{"name":"Accept-Language","in":"header","description":"The preferred language for the response.","schema":{"type":"string","enum":["de","en"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceLogsAnalysis"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an analysis of the logs belonging to a Service.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/logs":{"get":{"operationId":"container-get-service-logs","description":"Returns the Service's log file, which is stored in the project file system below `/var/log/container/<prefix>/` (see the Stack's `prefix`), as plain text. If no log file exists yet, an empty body is returned with `200`.","parameters":[{"description":"ID of the Stack the Service belongs to.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to get logs for.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}},{"description":"Number of last log lines to return. Must be a positive integer; if it is not set or invalid, the full log is returned.","in":"query","name":"tail","required":false,"schema":{"format":"int64","type":"integer"}},{"description":"Byte range of the raw log file to return. Ignored if a valid tail is set. Offsets refer to the raw log file; NUL bytes are stripped from the returned body.","in":"header","name":"Range","required":false,"schema":{"example":"bytes=1024-","type":"string"}},{"description":"Only serve the requested byte range if the log file is unchanged; otherwise, the whole log is served.","in":"header","name":"If-Range","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"206":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"Partial Content"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"416":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get logs belonging to a Service.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}":{"get":{"operationId":"container-get-service","parameters":[{"description":"ID of the Stack the Service belongs to.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to be retrieved.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Service belonging to a Stack.","tags":["Container"]}},"/v2/container-templates/{templateId}/assets/{assetPath}":{"get":{"operationId":"container-get-template-asset","parameters":[{"description":"ID of the Template to get the asset for.","in":"path","name":"templateId","required":true,"schema":{"type":"string"}},{"description":"Path of the asset relative to the template directory.","in":"path","name":"assetPath","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"image/jpeg":{"schema":{"format":"binary","type":"string"}},"image/png":{"schema":{"format":"binary","type":"string"}},"image/svg+xml":{"schema":{"format":"binary","type":"string"}},"image/webp":{"schema":{"format":"binary","type":"string"}}},"description":"OK"},"304":{"description":"Not Modified"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a Container Template asset.","tags":["Container"]}},"/v2/container-templates/{templateId}":{"get":{"operationId":"container-get-template","parameters":[{"description":"ID of the Template to be retrieved.","in":"path","name":"templateId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.Template"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a Container Template by ID.","tags":["Container"]}},"/v2/services":{"get":{"operationId":"container-list-accessible-services","description":"Services are sorted by creation time (oldest first), then by service name, unless `sortOrder` is given.","parameters":[{"description":"Search term to filter Services by. It matches exactly on a Service's `id`, `shortId`, `stackId` or `projectId`, or case-insensitively as a substring of its `serviceName`, `message` or `description`, or exactly on the ID of the Project's customer, of the Project's server or the server's customer, or of a user who is a member of the Project.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceSortOrder"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceResponse"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Services the executing user has access to.","tags":["Container"]}},"/v2/stacks":{"get":{"operationId":"container-list-self-stacks","description":"Lists the Stacks of all Projects in which the executing user has the project role `owner` or `external`. Stacks are sorted by description, then by ID; the Services of each Stack are sorted by service name, its Volumes by name.","parameters":[{"description":"Search term to filter Stacks by. It matches case-insensitively as a substring of the Stack's description, or matches a Stack if any of its Services match exactly on a Service's `id`, `shortId`, `stackId` or `projectId`, or case-insensitively as a substring of its `serviceName`, `message` or `description`, or exactly on the ID of the Project's customer, of the Project's server or the server's customer, or of a user who is a member of the Project.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.StackResponse"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Stacks of the Projects in which the executing user is owner or external member.","tags":["Container"]}},"/v2/projects/{projectId}/services":{"get":{"operationId":"container-list-services","description":"Services are sorted by creation time (oldest first), then by service name, unless `sortOrder` is given.","parameters":[{"description":"ID of the Project to list Services for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"ID of the Stack to list Services for.","in":"query","name":"stackId","schema":{"format":"uuid","type":"string"}},{"description":"Filters the list by the given status. The filter matches the stored status exactly, so it can differ from the `status` shown in the response: `stopping` does not match containers that are being terminated (which are listed as `stopping`), and `unspecified` does not filter at all.","in":"query","name":"status","schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceStatus"}},{"description":"Filters the list depending on whether services requires recreate.","in":"query","name":"requiresRecreate","schema":{"type":"boolean"}},{"description":"Search term to filter Services by. It matches exactly on a Service's `id`, `shortId`, `stackId` or `projectId`, or case-insensitively as a substring of its `serviceName`, `message` or `description`.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceSortOrder"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServiceResponse"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Services belonging to a Project.","tags":["Container"]}},"/v2/stacks/{stackId}/volumes":{"get":{"operationId":"container-list-stack-volumes","description":"Volumes are sorted by name unless `sortOrder` is given.","parameters":[{"description":"ID of the Stack to list Volumes for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Search term to filter Volumes by. It matches exactly on the Volume's `id`, or case-insensitively as a substring of its `name`.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeSortOrder"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeResponse"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Volumes belonging to a Stack.","tags":["Container"]}},"/v2/container-template-statistics":{"get":{"operationId":"container-list-template-statistics","deprecated":true,"description":"Deprecated. Container Statistics are no longer available. This endpoint will be removed in a future version.","parameters":[{"description":"ID of the Template to retrieve statistics for.","in":"query","name":"templateId","required":false,"schema":{"type":"string"}},{"description":"Category to retrieve template statistics for.","in":"query","name":"category","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.TemplateStatsListResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List Container Template statistics.","tags":["Container"]}},"/v2/container-templates":{"get":{"operationId":"container-list-templates","description":"Lists Container Templates, sorted by `id` unless `sortOrder` is given.","parameters":[{"description":"Category to filter templates by (exact, case-sensitive match against `categories`).","in":"query","name":"category","schema":{"type":"string"}},{"description":"Search term to filter templates by. It matches case-insensitively as a substring of the German or English `name` or `description`.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Type to filter templates by.","in":"query","name":"type","schema":{"enum":["component","standalone"],"type":"string"}},{"description":"Sort templates by the number of installations in the last 30 days (`trend30days`) or overall (`trendAll`), in descending order; templates with the same number are sorted by `id`.","in":"query","name":"sortOrder","schema":{"enum":["trend30days","trendAll"],"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.Template"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List Container Templates.","tags":["Container"]}},"/v2/projects/{projectId}/volumes":{"get":{"operationId":"container-list-volumes","description":"Volumes are sorted by name unless `sortOrder` is given.","parameters":[{"description":"ID of the Stack to list Volumes for.","in":"query","name":"stackId","schema":{"format":"uuid","type":"string"}},{"description":"ID of the Project to list Volumes for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to filter Volumes by. It matches exactly on the Volume's `id`, or case-insensitively as a substring of its `name`.","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Sorts the list with given order.","in":"query","name":"sortOrder","schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeSortOrder"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.container.VolumeResponse"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Volumes belonging to a Project.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/actions/pull":{"post":{"operationId":"container-pull-image-for-service","description":"Resolves the current digest of the Service's image tag. If the registry has a new digest, it is stored and the Service is recreated with it, which also applies all other pending changes (see `requiresRecreate`). If the digest is unchanged, nothing happens. With `skipRecreate`, a new digest is stored, but the running container is only updated by the next recreate. Returns `412` if the Stack is disabled or suspended (see the Stack's `disabled`), unless `skipRecreate` is set.","parameters":[{"description":"ID of the Stack to pull the image of a Service for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to pull the image for.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}},{"description":"Whether to skip the Service recreate after pulling the image.","in":"query","name":"skipRecreate","required":false,"schema":{"type":"boolean"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Pull a Service image and recreate.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/actions/recreate":{"post":{"operationId":"container-recreate-service","description":"Applies the Service's pending changes (`pendingState`, see `requiresRecreate`) and replaces the running container with a new one. Returns `412` if the Stack is disabled or suspended (see the Stack's `disabled`).","parameters":[{"description":"ID of the Stack to recreate a Service for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to recreate.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Recreate a Service.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/actions/restart":{"post":{"operationId":"container-restart-service","description":"Restarts the container with its current configuration; pending changes are not applied (use the recreate action for that). Returns `412` while the Service is `creating` or `starting`, or if the Stack is disabled or suspended (see the Stack's `disabled`).","parameters":[{"description":"ID of the Stack to restart a Service for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to restart.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Restart a started Service.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/webhook-token":{"post":{"operationId":"container-rotate-pull-image-webhook-for-service","description":"Creates or rotates the pull-image webhook token for a Service.\n\nThe returned token is shown only once. It does not expire; rotating it invalidates the previous token.\n","parameters":[{"description":"ID of the Stack the Service belongs to.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to create or rotate the webhook token for.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.container.ServicePullImageWebhookResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create or rotate a Service pull-image webhook token.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/actions/start":{"post":{"operationId":"container-start-service","description":"Returns `412` if the Service is already `running`, `starting` or `creating`, or if the Stack is disabled or suspended (see the Stack's `disabled`).","parameters":[{"description":"ID of the Stack to start a Service for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to start.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Start a stopped Service.","tags":["Container"]}},"/v2/stacks/{stackId}/services/{serviceId}/actions/stop":{"post":{"operationId":"container-stop-service","description":"Returns `412` if the Service is already `stopped`, or if the Stack is disabled or suspended (see the Stack's `disabled`).","parameters":[{"description":"ID of the Stack to stop a Service for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the Service to stop.","in":"path","name":"serviceId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Stop a started Service.","tags":["Container"]}},"/v2/contracts/{contractId}/items/{contractItemId}/termination":{"delete":{"operationId":"contract-cancel-contract-item-termination","parameters":[{"description":"The uuid of the Contract where the terminated ContractItem belongs to.","examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}},{"description":"The uuid of the ContractItem for which the Termination is to be cancelled. Only works for ContractItem for which a Termination is stored.","example":"4d495bcd-4d4c-4bf9-b1c8-72b99a2ea7f2","in":"path","name":"contractItemId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"contractId":{"format":"uuid","type":"string"},"contractItemId":{"format":"uuid","type":"string"},"isCancelled":{"type":"boolean"}}}}},"description":"Return the contractId and the contractItemId of the ContractItem where the Termination was cancelled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel the Termination for the referred ContractItem.","tags":["Contract"]},"post":{"operationId":"contract-terminate-contract-item","parameters":[{"examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}},{"example":"d6913c2b-6be6-4036-b207-d9c125f6f93e","in":"path","name":"contractItemId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"reason":{"description":"A reason for the Termination can be given as plain text.","example":"Server wird nicht mehr benötigt","maxLength":1000,"type":"string"},"terminationTargetDate":{"description":"The termination date has to be a valid date according to activation and contract period of the ContractItem. If none given, the next possible termination date will be used.","format":"date-time","type":"string"}}}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"contractId":{"format":"uuid","type":"string"},"contractItemId":{"format":"uuid","type":"string"},"explanation":{"example":"I consolidated multiple servers into one instance to reduce overhead","type":"string"},"reason":{"example":"Server wird nicht mehr benötigt","type":"string"},"terminationTargetDate":{"format":"date-time","type":"string"}}}}},"description":"Return the contractId, the date on which the Termination will take place and the list of affected ContractItems."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Schedule the Termination of a ContractItem.","tags":["Contract"]}},"/v2/contracts/{contractId}/items/{contractItemId}/tariff-change":{"delete":{"operationId":"contract-cancel-contract-tariff-change","parameters":[{"examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}},{"description":"The uuid of the active ContractItem (not the one that would replace the old one after the TariffChange)\nfor which the TariffChange is to be cancelled. Only works for ContractItems for which a TariffChange is stored.\n","example":"f6bb2d44-e6be-46dc-96f7-9602a7177a75","in":"path","name":"contractItemId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"contractId":{"format":"uuid","type":"string"},"contractItemId":{"format":"uuid","type":"string"},"isCancelled":{"type":"boolean"}}}}},"description":"Returns the contractId of the Contract whose TariffChange was cancelled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel the TariffChange for the referred ContractItem.","tags":["Contract"]}},"/v2/contracts/{contractId}/termination":{"delete":{"operationId":"contract-cancel-contract-termination","parameters":[{"description":"The uuid of the Contract for which the Termination is to be cancelled. Only works for Contracts for which a\nTermination is stored.\n","examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"contractId":{"format":"uuid","type":"string"},"isCancelled":{"type":"boolean"}}}}},"description":"Return the contractId of the Contract whose Termination was cancelled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel the Termination for the referred Contract.","tags":["Contract"]},"post":{"operationId":"contract-terminate-contract","parameters":[{"description":"The uuid of the Contract to be terminated.","examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"explanation":{"example":"The website for my temporary project is no longer needed","maxLength":10000,"type":"string"},"reason":{"description":"A reason for the termination can be given as plain text.","example":"Projekt wird nicht mehr benötigt","maxLength":1000,"type":"string"},"terminationTargetDate":{"description":"The termination date has to be a valid date according to activation and contract period of the base ContractItem. If none given, the next possible termination date will be used.","format":"date-time","type":"string"}}}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"contractId":{"format":"uuid","type":"string"},"explanation":{"example":"The website for my temporary project is no longer needed","type":"string"},"itemsScheduledForTermination":{"items":{"format":"uuid","type":"string"},"type":"array"},"reason":{"example":"Projekt wird nicht mehr benötigt","type":"string"},"terminationTargetDate":{"format":"date-time","type":"string"}}}}},"description":"Returns the contractId, the date on which the Termination will take place and the list of affected ContractItems."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Schedule the Termination of a Contract.","tags":["Contract"]}},"/v2/contracts/{contractId}/base-items":{"get":{"operationId":"contract-get-base-item-of-contract","parameters":[{"description":"The uuid of the Contract from which the BaseItem is to be issued.","examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.ContractItem"}}},"description":"The BaseItem of the Contract."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the BaseItem of the Contract with the given ID.","tags":["Contract"]}},"/v2/customers/{customerId}/ai-hostings/{aiHostingId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-ai-hosting","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"aiHostingId","required":true,"schema":{"example":"f600db16-d006-41a6-9ec9-baf8b24ed02c","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Return the AI Hosting Contract for the given AI Hosting."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the AI Hosting Contract for the given Customer.","tags":["Contract"]}},"/v2/certificates/{certificateId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-certificate","parameters":[{"example":"0a6de990-b33f-4cf8-adba-025a26515657","in":"path","name":"certificateId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given Certificate."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given Certificate.","tags":["Contract"]}},"/v2/domains/{domainId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-domain","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0a6de990-b33f-4cf8-adba-025a26515657"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given Domain."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given Domain.","tags":["Contract"]}},"/v2/licenses/{licenseId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-license","parameters":[{"examples":{"uuid":{"value":"0113d05e-7f30-4811-a227-1942e5d64ed6"}},"in":"path","name":"licenseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given License."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given License.","tags":["Contract"]}},"/v2/mail-addresses/{mailAddressId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-mail-address","parameters":[{"example":"d3fe766e-1d34-40f0-9c27-611e3b654fca","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given Mail Address."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given Mail Address.","tags":["Contract"]}},"/v2/projects/{projectId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-project","parameters":[{"examples":{"shortId":{"value":"p-pkrjw1"},"uuid":{"value":"95e64f67-a49e-4446-968c-f74da2df3a9d"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given Project."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given Project.","tags":["Contract"]}},"/v2/servers/{serverId}/contract":{"get":{"operationId":"contract-get-detail-of-contract-by-server","parameters":[{"examples":{"shortId":{"value":"s-ttgn7c"},"uuid":{"value":"173a25fe-5f53-45d4-adc1-9b4743aa4d57"}},"in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given Server."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given Server.","tags":["Contract"]}},"/v2/contracts/{contractId}/items/{contractItemId}":{"get":{"operationId":"contract-get-detail-of-contract-item","parameters":[{"description":"The uuid of the Contract where the desired ContractItem belongs to.","examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}},{"description":"The uuid of the ContractItem to be returned.","example":"19b3e88e-c656-4440-8b89-efbf881b9c6f","in":"path","name":"contractItemId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.ContractItem"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the ContractItem with the given ID.","tags":["Contract"]}},"/v2/contracts/{contractId}":{"get":{"operationId":"contract-get-detail-of-contract","parameters":[{"description":"The uuid of the Contract to be returned.","examples":{"shortId":{"value":"V1000000"},"uuid":{"value":"7cecfa0-2c3c-4272-a510-c775fcaade01"}},"in":"path","name":"contractId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Returns the Contract with the given ID.","tags":["Contract"]}},"/v2/customers/{customerId}/contracts":{"get":{"operationId":"contract-list-contracts","parameters":[{"description":"The uuid of the Customer from whom all Contracts are to be returned.","examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"description":"Partial or complete search for multiple attributes","in":"query","name":"search","schema":{"type":"string"}},{"description":"Filter the Contracts by the name of the article their base item is based on.","in":"query","name":"baseArticleNames","schema":{"items":{"type":"string"},"type":"array"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["description","contractNumber"],"default":"contractNumber"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"},"type":"array"}}},"description":"Return the Contracts that belong to the Customer.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return a list of Contracts for the given Customer.","tags":["Contract"]}},"/v2/contributors/{contributorId}/verification-process":{"delete":{"operationId":"contributor-cancel-verification","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The verification process has been cancelled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel the verification-process of a contributor.","tags":["Marketplace"]},"post":{"operationId":"contributor-request-verification","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The verification process has been started."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Start the verification process of a contributor.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}":{"delete":{"operationId":"contributor-delete-contributor","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The Contributor has been deleted."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Contributor.","tags":["Marketplace"]},"patch":{"operationId":"contributor-patch-contributor","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"contactPersonUserId":{"type":"string"},"descriptions":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.LocalizedDescription"}],"nullable":true},"deviatingContractOwner":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContractOwner"}],"nullable":true},"deviatingName":{"type":"string"},"deviatingSupportInformation":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"}],"nullable":true},"homepage":{"type":"string"},"imprint":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContributorImprint"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.OwnContributor"}}},"description":"Contributor has been patched."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Patch Contributor.","tags":["Marketplace"]},"get":{"operationId":"extension-get-contributor","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Contributor"},{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.OwnContributor"}]}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a Contributor.","tags":["Marketplace"]}},"/v2/customers/{customerId}/contributor":{"post":{"operationId":"contributor-express-interest-to-contribute","parameters":[{"description":"The ID of the customer who wants to be a contributor.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"deviatingContactPersonUserId":{"description":"A user, which can be contacted by mittwald, if problems arise. If not defined, the contact person will be the executing user. The user has to be a member of the underlying customer.","format":"uuid","type":"string"},"deviatingContractOwner":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Contact"},"deviatingName":{"type":"string"},"deviatingSupportInformation":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},"imprint":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContributorImprint"}},"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"}}},"description":"Customer became an unverified contributor."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Express interest to be a contributor.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/billing-information":{"get":{"operationId":"contributor-get-billing-information","parameters":[{"examples":{"shortId":{"value":"1900000"},"uuid":{"value":"72830cb2-b5b9-4f86-b6f5-e12e13787af6"}},"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"contributorId":{"format":"uuid","type":"string"},"invoiceFooter":{"type":"string"},"onboardingStatus":{"enum":["NOT_STARTED","STARTED","SUCCESSFUL"],"type":"string"},"stripeAccountId":{"type":"string"}},"type":"object"}}},"description":"The billing related information of the Contributor"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get Contributor Billing Information.","tags":["Marketplace"]},"put":{"operationId":"contributor-update-billing-information","parameters":[{"examples":{"shortId":{"value":"1900000"},"uuid":{"value":"72830cb2-b5b9-4f86-b6f5-e12e13787af6"}},"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"invoiceFooter":{"example":"USTID-Nr: DE123456789","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"contributorId":{"format":"uuid","type":"string"},"invoiceFooter":{"type":"string"}},"type":"object"}}},"description":"The billing related information of the Contributor"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update Contributor Billing Information.","tags":["Marketplace"]}},"/v2/customers/{customerId}/billing-portal":{"get":{"operationId":"contributor-get-customer-billing-portal-link","description":"Get the Stripe Billing Portal Link for a Customer.","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"url":{"type":"string"}},"type":"object"}}},"description":"The generated link to the Stripe Billing Portal"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the Stripe Billing Portal Link for a Customer","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/dashboard":{"get":{"operationId":"contributor-get-login-link","description":"Get the Stripe Dashboard Link for a Contributor.","parameters":[{"examples":{"shortId":{"value":"1900000"},"uuid":{"value":"72830cb2-b5b9-4f86-b6f5-e12e13787af6"}},"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"url":{"type":"string"}},"type":"object"}}},"description":"The generated link to the Stripe dashboard"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the Stripe Dashboard Link for a Contributor.","tags":["Marketplace"]}},"/v2/oauth2/clients/{oauthClientId}":{"get":{"operationId":"contributor-get-oauth-client","parameters":[{"in":"path","name":"oauthClientId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"allowedGrantTypes":{"items":{"type":"string"},"type":"array"},"allowedRedirectUris":{"items":{"format":"uri","type":"string"},"type":"array"},"allowedScopes":{"items":{"type":"string"},"type":"array"},"description":{"type":"string"},"humanReadableName":{"type":"string"},"id":{"type":"string"},"type":{"enum":["public","confidential"],"type":"string"}},"required":["id","humanReadableName"],"type":"object"}}},"description":"Get a specific OAuth client."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific OAuth2 client.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/contract-partners":{"get":{"operationId":"contributor-list-contract-partners-of-contributor","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"description":"A case-insensitive regular expression, matched anywhere in the contract partner's first name, last name, full name, company, email address, street and house number, postal code and city, country code and address prefix. Escape special characters such as `.`, `+`, `(` or `[` with a backslash to match them literally, e.g. `\\(GmbH\\)`. A complete extension instance, extension, project or customer ID is matched exactly. Leading and trailing whitespace is ignored; whitespace-only input applies no search filter. A malformed expression is rejected with status 400.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"in":"query","name":"extensionId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Returns an array with a single result.","in":"query","name":"extensionInstanceId","required":false,"schema":{"format":"uuid","type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["createdAt","extensionId","parentCustomerId","contractPartner.company"]},"default":["createdAt"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["asc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ContractPartner"},"type":"array"}}},"description":"A list of contract partners.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List ContractPartners of the contributor.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/invoices/incoming":{"get":{"operationId":"contributor-list-incoming-invoices","parameters":[{"example":"ac3c8bbe-4c44-4f34-b6c7-1e6af48c3a7c","in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"description":"Search Invoice by number or id","example":"RG7545","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["invoiceNumber"]},"default":["invoiceNumber"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["desc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"currency":{"example":"EUR","type":"string"},"customerId":{"example":"6439a2f4-5de2-4314-bae2-b6edb4eb4c37","type":"string"},"customerName":{"example":"Meine Organisation","type":"string"},"customerNumber":{"example":"4151123","type":"string"},"date":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"invoiceNumber":{"example":"RG1234567","type":"string"},"invoiceType":{"enum":["REGULAR","CORRECTION","REISSUE","CANCELLATION"],"type":"string"},"pdfId":{"format":"uuid","type":"string"},"recipient":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Recipient"},"totalGross":{"example":595,"type":"number"},"totalNet":{"example":500,"type":"number"}},"required":["id","invoiceNumber","customerId","customerNumber","customerName","date","pdfId","recipient","totalNet","totalGross","currency"],"type":"object"},"type":"array"}}},"description":"List of incoming Invoices","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List incoming Invoices of a Contributor.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/invoices/outgoing":{"get":{"operationId":"contributor-list-onbehalf-invoices","description":"List all invoices on behalf of a contributor.","parameters":[{"examples":{"shortId":{"value":"1900000"},"uuid":{"value":"72830cb2-b5b9-4f86-b6f5-e12e13787af6"}},"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"invoiceDate":{"format":"date-time","type":"string"},"invoiceId":{"type":"string"},"invoiceNumber":{"type":"string"},"invoiceType":{"enum":["INVOICE","CREDIT_NOTE"],"type":"string"},"pdfLink":{"type":"string"},"totalGross":{"type":"number"},"totalNet":{"type":"number"},"webLink":{"type":"string"}},"required":["invoiceId","invoiceNumber","invoiceDate","totalNet","totalGross","pdfLink","invoiceType"],"type":"object"},"type":"array"}}},"description":"The list of invoices on behalf of a contributor."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all invoices on behalf of a contributor.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/invoices/incoming/{contributorReceiptId}/file-access-token":{"get":{"operationId":"contributor-receipt-get-file-access-token","parameters":[{"example":"b1b6303f-2fb9-44f5-9f7f-bc91a8f6d80e","in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"example":"98ec55a7-3702-4800-b006-7ceec4ff52f5","in":"path","name":"contributorReceiptId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"accessToken":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["accessToken","expiresAt"],"type":"object"}}},"description":"The File Access Token required to access the Incoming Invoice file."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request an Access Token for the Incoming Invoice file.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/avatar":{"post":{"operationId":"contributor-request-deviating-contributor-avatar-upload","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"avatarRefId":{"description":"Use the avatarRefId as updload token at `/v2/files/{logoRefId}`.","format":"uuid","type":"string"},"rules":{"description":"Constraints for the logo image upload.","properties":{"extensions":{"items":{"example":".png","type":"string"},"type":"array"},"fileTypes":{"items":{"properties":{"extensions":{"items":{"example":".png","type":"string"},"type":"array"},"mimeType":{"example":"image/png","type":"string"}},"required":["mimeType","extensions"],"type":"object"},"type":"array"},"maxSizeInBytes":{"type":"integer"},"mimeTypes":{"items":{"example":"image/png","type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"required":["min","max"],"type":"object"}},"type":"object"}},"required":["mimeTypes","extensions","fileTypes","maxSizeInBytes"],"type":"object"}},"required":["avatarRefId","rules"],"type":"object"}}},"description":"The Upload of an avatar for the contributor has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Add a deviating avatar to a Contributor.","tags":["Marketplace"]},"delete":{"operationId":"contributor-reset-contributor-avatar","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Returned to the inherited customer avatar."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete deviating contributor avatar und return to the inherited customer avatar.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret":{"put":{"operationId":"contributor-rotate-secret-for-extension-instance","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"allowWebhookFailure":{"type":"boolean"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"secret":{"type":"string"},"webhookResult":{"properties":{"failure":{"type":"boolean"},"statusCode":{"description":"The status code returned by the external application.","type":"string"}},"required":["failure"],"type":"object"}},"required":["secret","webhookResult"],"type":"object"}}},"description":"Secret rotated successfully."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Rotate the secret for an extension instance.","tags":["Marketplace"]}},"/v2/conversations":{"post":{"operationId":"conversation-create-conversation","requestBody":{"content":{"application/json":{"schema":{"properties":{"categoryId":{"type":"string"},"mainUserId":{"format":"uuid","type":"string"},"messageContent":{"maxLength":8000,"type":"string"},"notificationRoles":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.NotificationRole"},"type":"array"},"relatedTo":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.RelatedAggregateReference"},"sharedWith":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ShareableAggregateReference"},"title":{"type":"string"}},"type":"object"}}},"description":"","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"conversationId":{"format":"uuid","type":"string"}},"required":["conversationId"],"type":"object"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Create a conversation.","tags":["Conversation"]},"get":{"operationId":"conversation-list-conversations","parameters":[{"description":"keyword or \"phrase\" search","in":"query","name":"fullTextSearch","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"items":{"enum":["open","closed"],"type":"string"},"type":"array"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":100,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["createdAt","lastMessage.createdAt","title","shortId","conversationId"]},"default":["lastMessage.createdAt"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["desc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Conversation"},"type":"array"}}},"description":"The conversations list ordered by creation date","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get all conversation the authenticated user has created or has access to.","tags":["Conversation"]}},"/v2/conversations/{conversationId}/messages":{"post":{"operationId":"conversation-create-message","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"fileIds":{"items":{"format":"uuid","type":"string"},"type":"array"},"messageContent":{"maxLength":8000,"type":"string"}}}}},"description":"","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"conversationId":{"format":"uuid","type":"string"},"messageId":{"format":"uuid","type":"string"}},"required":["conversationId","messageId"],"type":"object"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Send a new message in the conversation.","tags":["Conversation"]},"get":{"operationId":"conversation-list-messages-by-conversation","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Message"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.StatusUpdate"},{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ServiceRequest"}]},"type":"array"}}},"description":""},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get all message of the conversation.","tags":["Conversation"]}},"/v2/conversation-categories/{categoryId}":{"get":{"operationId":"conversation-get-category","parameters":[{"in":"path","name":"categoryId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Category"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a specific conversation category.","tags":["Conversation"]}},"/v2/conversations/{conversationId}/members":{"get":{"operationId":"conversation-get-conversation-members","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ConversationMembers"}}},"description":"The members of the conversation.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get members of a support conversation.","tags":["Conversation"]}},"/v2/customers/{customerId}/conversation-preferences":{"get":{"operationId":"conversation-get-conversation-preferences-of-customer","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.ConversationPreferences"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get preferences for customer conversations.","tags":["Conversation"]}},"/v2/conversations/{conversationId}":{"get":{"operationId":"conversation-get-conversation","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Conversation"}}},"description":"The metadata of the conversation.\nDoes not contain messages send in the conversation.\nUse [`/v2/conversations/{conversationId}/messages`](#/Conversation/conversation-service-get-messages-by-conversation-v2) to get the messages.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a support conversation.","tags":["Conversation"]},"put":{"operationId":"conversation-update-conversation","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"categoryId":{"format":"uuid","type":"string"},"relatedTo":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.RelatedAggregateReference"},"title":{"type":"string"}}}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"conversationId":{"format":"uuid","type":"string"}},"required":["conversationId"],"type":"object"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Update the basic properties of the conversation.","tags":["Conversation"]}},"/v2/conversations/{conversationId}/files/{fileId}/access-token":{"get":{"operationId":"conversation-get-file-access-token","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"fileId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"accessToken":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["accessToken","expiresAt"],"type":"object"}}},"description":"The file access token required to access the file linked with the conversation.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Request an access token for the File belonging to the Conversation.","tags":["Conversation"]}},"/v2/conversation-categories":{"get":{"operationId":"conversation-list-categories","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.conversation.Category"},"type":"array"}}},"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get all conversation categories.","tags":["Conversation"]}},"/v2/conversations/{conversationId}/files":{"post":{"operationId":"conversation-request-file-upload","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"","required":false},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"conversationId":{"format":"uuid","type":"string"},"rules":{"properties":{"maxSizeInKB":{"type":"integer"},"mimeTypes":{"items":{"type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}},"required":["mimeTypes","maxSizeInKB"],"type":"object"},"uploadToken":{"type":"string"}},"required":["conversationId","uploadToken","rules"],"type":"object"}}},"description":"The upload token with additional rules describing what files can be uploaded using this token.\nThe token can be used with [`POST /v2/files`](#/Files/file-service-file-create) to upload a file that is\nlinked with the conversation.\n"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Request a file upload token for the conversation.","tags":["Conversation"]}},"/v2/conversations/{conversationId}/status":{"put":{"operationId":"conversation-set-conversation-status","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"status":{"enum":["open","answered","closed"],"type":"string"}},"required":["status"]}}},"description":"The object containing the new status of the conversation.\nThe statuses `open` and `answered` are displayed identically to the users as an open\n(unresolved) conversation. A conversation with the status `closed` is a solved issue.\nClosed conversations can be reopened by setting the status to `open` or by sending a\nmessage in the conversation.\n","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"conversationId":{"format":"uuid","type":"string"}},"required":["conversationId"],"type":"object"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Update the status of a conversation.","tags":["Conversation"]}},"/v2/conversations/{conversationId}/messages/{messageId}":{"patch":{"operationId":"conversation-update-message","parameters":[{"in":"path","name":"conversationId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"messageId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"messageContent":{"type":"string"}}}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"messageId":{"format":"uuid","type":"string"}},"required":["messageId"],"type":"object"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Update the content of the message","tags":["Conversation"]}},"/v2/projects/{projectId}/cronjobs":{"post":{"operationId":"cronjob-create-cronjob","parameters":[{"description":"ID of the Project you want to create a Cronjob for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobRequest"}}},"description":"cronjob","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a Cronjob.","tags":["Cronjob"]},"get":{"operationId":"cronjob-list-cronjobs","parameters":[{"description":"ID of the Project for which to list Cronjobs for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Set to true if response should include service cronjobs","in":"query","name":"includeServiceCronjobs","schema":{"type":"boolean"}},{"description":"ID of the Stack for which to list Cronjobs for. Requires includeServiceCronjobs=true.","in":"query","name":"stackId","schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.Cronjob"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Cronjobs belonging to a Project.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}/executions":{"post":{"operationId":"cronjob-create-execution","parameters":[{"description":"ID of the Cronjob to trigger.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"description":"execution-id","type":"string"}},"required":["id"],"type":"object"}}},"description":"Created"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Trigger a Cronjob.","tags":["Cronjob"]},"get":{"operationId":"cronjob-list-executions","parameters":[{"description":"ID of the Cronjob for which to list CronjobExecutions for.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}},{"in":"query","name":"since","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"until","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"example":"Complete","type":"string"}},{"in":"query","name":"triggeredByUser","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"sortOrder","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobExecutionSortOrder"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobExecution"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List CronjobExecutions belonging to a Cronjob.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}":{"delete":{"operationId":"cronjob-delete-cronjob","parameters":[{"description":"ID of the Cronjob to delete.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Cronjob.","tags":["Cronjob"]},"get":{"operationId":"cronjob-get-cronjob","parameters":[{"description":"ID of the Cronjob to be retrieved.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.Cronjob"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Cronjob.","tags":["Cronjob"]},"patch":{"operationId":"cronjob-update-cronjob","parameters":[{"description":"ID of the Cronjob to be updated.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"active":{"type":"boolean"},"concurrencyPolicy":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ConcurrencyPolicy"},"description":{"example":"i am a cronjob","maxLength":80,"type":"string"},"destination":{"description":"deprecated, use target instead","oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobUrl"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobCommand"}]},"email":{"description":"Notification address for failed executions. A new address only receives notifications after it was confirmed: it gets a verification mail and is returned as `notificationEmailVerification` until then, while the confirmed address keeps receiving them. Sending the confirmed or the pending address again changes nothing (the confirmed one withdraws a pending address); an empty string removes both. An address gets at most one verification mail per 10 minutes, across all cronjobs; a later one is sent when that time is over.","format":"email","type":"string"},"failedExecutionAlertThreshold":{"minimum":0,"type":"integer"},"interval":{"example":"*/5 * * * *","type":"string"},"target":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.AppInstallationTarget"},{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.ServiceTarget"}]},"timeZone":{"type":"string"},"timeout":{"maximum":86400,"minimum":1,"type":"integer"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Cronjob.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis":{"get":{"operationId":"cronjob-get-execution-analysis","parameters":[{"description":"ID of the CronjobExecution to be analyzed.","example":"cron-bd26li-28027320","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobExecutionAnalysis"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a CronjobExecution analysis for failed executions.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}/executions/{executionId}":{"get":{"operationId":"cronjob-get-execution","parameters":[{"description":"ID of the CronjobExecution to be retrieved.","example":"cron-bd26li-28027320","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.cronjob.CronjobExecution"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a CronjobExecution.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}/actions/resend-notification-email-verification":{"post":{"operationId":"cronjob-resend-notification-email-verification","description":"Sends a new verification mail to the pending notification email. The link of the previous mail stops working. A new mail can be requested 10 minutes after the previous one at the earliest; earlier requests are answered with 429. An address gets at most one verification mail per 10 minutes across all cronjobs, so the mail can be delayed by a verification of another cronjob.","parameters":[{"description":"ID of the Cronjob.","in":"path","name":"cronjobId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Resend the verification mail for the notification email of a Cronjob.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}/actions/verify-notification-email":{"post":{"operationId":"cronjob-verify-notification-email","description":"Confirms a pending notification email with the token from the verification mail. Afterwards failed executions are reported to this address. Callable without authentication; the token is the authorization.","parameters":[{"description":"ID of the Cronjob.","in":"path","name":"cronjobId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"token":{"description":"Token from the verification mail.","maxLength":43,"minLength":43,"type":"string"}},"required":["token"],"type":"object"}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Confirm the notification email of a Cronjob.","tags":["Cronjob"]}},"/v2/customer-invites/{customerInviteId}/actions/accept":{"post":{"operationId":"customer-accept-customer-invite","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); accepting an expired invite fails with 404, as it does once the invite is removed.","parameters":[{"description":"ID of the CustomerInvite to be accepted.","in":"path","name":"customerInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"invitationToken":{"description":"Token contained in the invite for authentication.","type":"string"}},"type":"object"}}},"required":true},"responses":{"204":{"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Accept a CustomerInvite.","tags":["Customer"]}},"/v2/customer/{customerId}/invites":{"post":{"parameters":[{"description":"ID of the Customer to create a CustomerInvite for.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"mailAddress":{"description":"Mail-address of the person to be invited.","format":"email","type":"string"},"membershipExpiresAt":{"description":"Time the resulting CustomerMembership should expire at.","format":"date-time","type":"string"},"message":{"description":"Message contained in the CustomerInvite.","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"}},"required":["mailAddress","role"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a CustomerInvite.","tags":["Customer"],"description":"This route is deprecated. Please use /v2/customers/{customerId}/invites instead.","deprecated":true}},"/v2/customers/{customerId}/invites":{"post":{"operationId":"customer-create-customer-invite","parameters":[{"description":"ID of the Customer to create a CustomerInvite for.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"mailAddress":{"description":"Mail-address of the person to be invited.","format":"email","type":"string"},"membershipExpiresAt":{"description":"Time the resulting CustomerMembership should expire at.","format":"date-time","type":"string"},"message":{"description":"Message contained in the CustomerInvite.","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"}},"required":["mailAddress","role"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerInvite"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a CustomerInvite.","tags":["Customer"]},"get":{"operationId":"customer-list-invites-for-customer","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); expired invites are not listed.","parameters":[{"description":"ID of the Customer to list invites for.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"description":"Search term to list Invites for. The field mailAddress is searchable","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerInvite"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Invites belonging to a Customer.","tags":["Customer"]}},"/v2/customers":{"post":{"operationId":"customer-create-customer","requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"type":"string"},"owner":{"$ref":"#/components/schemas/de.mittwald.v1.customer.Contact"},"vatId":{"type":"string"}},"required":["name"],"type":"object"}}},"description":"The customer to create","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"customerId":{"type":"string"},"customerNumber":{"type":"string"},"name":{"maxLength":80,"type":"string"}},"required":["customerId","name","customerNumber"],"type":"object"}}},"description":"The new customer"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a new customer profile.","tags":["Customer"]},"get":{"operationId":"customer-list-customers","parameters":[{"description":"filter to list only customers where the authenticated user has the specified role (accountant, owner, member). Can be a comma seperated list.","in":"query","name":"role","required":false,"schema":{"type":"string"}},{"description":"Partial or complete search for multiple attributes","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.customer.Customer"},"type":"array"}}},"description":"The list of customers the authenticated user is a member for","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all customer profiles the authenticated user has access to.","tags":["Customer"]}},"/v2/customer-invites/{customerInviteId}/actions/decline":{"post":{"operationId":"customer-decline-customer-invite","parameters":[{"description":"ID of the CustomerInvite to be declined.","in":"path","name":"customerInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Decline a CustomerInvite.","tags":["Customer"]}},"/v2/customer-invites/{customerInviteId}":{"delete":{"operationId":"customer-delete-customer-invite","parameters":[{"description":"ID if the CustomerInvite to be deleted.","in":"path","name":"customerInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a CustomerInvite.","tags":["Customer"]},"get":{"operationId":"customer-get-customer-invite","description":"A pending invite expires 30 days after its last invite mail (see `expiresAt`); an expired invite is not found.","parameters":[{"description":"ID of the CustomerInvite to be retrieved.","in":"path","name":"customerInviteId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerInvite"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a CustomerInvite.","tags":["Customer"]}},"/v2/customer-memberships/{customerMembershipId}":{"delete":{"operationId":"customer-delete-customer-membership","parameters":[{"description":"ID of the CustomerMembership to be deleted.","in":"path","name":"customerMembershipId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a CustomerMembership.","tags":["Customer"]},"get":{"operationId":"customer-get-customer-membership","parameters":[{"description":"ID of the CustomerMembership to retrieve.","in":"path","name":"customerMembershipId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerMembership"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a CustomerMembership.","tags":["Customer"]},"patch":{"operationId":"customer-update-customer-membership","parameters":[{"description":"ID of the CustomerMembership to be updated.","in":"path","name":"customerMembershipId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"description":"Time the CustomerMembership should expire at.","format":"date-time","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"}},"required":["role"],"type":"object"}}},"required":true},"responses":{"204":{"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a CustomerMembership.","tags":["Customer"]}},"/v2/customers/{customerId}":{"delete":{"operationId":"customer-delete-customer","parameters":[{"description":"The uuid of the customer to be deleted. Only customer without active contracts or unpaid invoices can be deleted.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customerId":{"type":"string"}},"type":"object"}}},"description":"Returns the uuid of the deleted customer"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a customer profile.","tags":["Customer"]},"get":{"operationId":"customer-get-customer","parameters":[{"description":"The uuid of the customer to be returned","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.customer.Customer"}}},"description":"The customer object"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a customer profile.","tags":["Customer"]},"put":{"operationId":"customer-update-customer","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"customerId":{"type":"string"},"name":{"type":"string"},"owner":{"$ref":"#/components/schemas/de.mittwald.v1.customer.Contact"},"vatId":{"type":"string"}},"required":["customerId","name"],"type":"object"}}},"description":"The customer object to update","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"customerId":{"type":"string"},"customerNumber":{"type":"string"},"name":{"maxLength":80,"type":"string"}},"required":["customerId","name","customerNumber"],"type":"object"}}},"description":"Name and id of the updated customer"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a customer profile.","tags":["Customer"]}},"/v2/customer-token-invite":{"get":{"operationId":"customer-get-customer-token-invite","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); an expired invite is not found.","parameters":[{"description":"Token of the CustomerInvite to be retrieved.","in":"header","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerInvite"}}},"description":""},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a CustomerInvite by token.","tags":["Customer"]}},"/v2/customers/{customerId}/legally-competent":{"get":{"operationId":"customer-is-customer-legally-competent","parameters":[{"description":"The uuid of the customer to be checked","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"isLegallyCompetent":{"type":"boolean"}},"type":"object"}}},"description":"Check if customer is allowed to order a paid item."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check if the customer profile has a valid contract partner configured.","tags":["Customer"]}},"/v2/customer-invites":{"get":{"operationId":"customer-list-customer-invites","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); expired invites are not listed.","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerInvite"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List CustomerInvites belonging to the executing user.","tags":["Customer"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/customer-memberships":{"get":{"operationId":"customer-list-customer-memberships","parameters":[{"in":"query","name":"hasExpiry","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"role","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerMembership"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List CustomerMemberships belonging to the executing user.","tags":["Customer"]}},"/v2/customers/{customerId}/memberships":{"get":{"operationId":"customer-list-memberships-for-customer","parameters":[{"description":"Customer to list memberships for.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"query","name":"hasExpiry","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"role","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerRoles"}},{"description":"Search term to list Memberships for. The fields firstName and lastName are searchable for every caller; mailAddress is only searched if the caller can see the mail addresses of the members.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.CustomerMembership"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Memberships belonging to a Customer.","tags":["Customer"]}},"/v2/customers/{customerId}/avatar":{"delete":{"operationId":"customer-remove-avatar","parameters":[{"description":"The uuid of the customer whose avatar is to be deleted","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Avatar removal was successful"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Access Token missing or invalid"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove the avatar picture of the customer profile.","tags":["Customer"]},"post":{"operationId":"customer-request-avatar-upload","parameters":[{"description":"The uuid of the customer for whom an avatar upload is to be requested","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"refId":{"format":"uuid","type":"string"},"rules":{"properties":{"maxSizeInKB":{"type":"integer"},"mimeTypes":{"items":{"type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}},"required":["mimeTypes","maxSizeInKB"],"type":"object"}},"required":["refId","rules"],"type":"object"}}},"description":"Avatar request was successful. Use the `refId` to upload your avatar to the file service."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Access Token missing or invalid"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a new avatar upload for the customer profile.","tags":["Customer"]}},"/v2/customer-invites/{customerInviteId}/actions/resend":{"post":{"operationId":"customer-resend-customer-invite-mail","parameters":[{"description":"ID of the CustomerInvite to resend the mail for.","in":"path","name":"customerInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Resend the mail for a CustomerInvite.","tags":["Customer"]}},"/v2/customers/{customerId}/referral-source":{"put":{"operationId":"customer-set-customer-referral-source","parameters":[{"example":"f6bb2d44-e6be-46dc-96f7-9602a7177a75","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"referralSource":{"description":"free answer on how the customer became aware of mittwald.","maxLength":500,"minLength":1,"type":"string"}},"required":["referralSource"],"type":"object"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.customer.GenericResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Set how the customer became aware of mittwald.","tags":["Customer"]}},"/v2/mysql-databases/{mysqlDatabaseId}/actions/copy":{"post":{"operationId":"database-copy-mysql-database","parameters":[{"description":"ID of the MySQLDatabase to copy.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"user":{"$ref":"#/components/schemas/de.mittwald.v1.database.CreateMySqlUserWithDatabase"}},"required":["description","user"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["id","userId"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Copy a MySQLDatabase with a MySQLUser.","tags":["Database"]}},"/v2/projects/{projectId}/mysql-databases":{"post":{"operationId":"database-create-mysql-database","description":"This operation creates a MySQLDatabase and an associated MySQLUser.\n\nPlease note that this operation is asynchronous. Even after a successful response, you will still need to wait until the database is successfully provisioned. Currently, the recommended way for that is to poll the `GET /v2/mysql-databases/{id}` endpoint and observe the `mainUser.status` field in the response.\n","parameters":[{"description":"ID of the Project to create a MySQLDatabase for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"database":{"$ref":"#/components/schemas/de.mittwald.v1.database.CreateMySqlDatabase"},"user":{"$ref":"#/components/schemas/de.mittwald.v1.database.CreateMySqlUserWithDatabase"}},"required":["database","user"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["id","userId"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a MySQLDatabase with a MySQLUser.","tags":["Database"]},"get":{"operationId":"database-list-mysql-databases","parameters":[{"description":"ID of the Project to list MySQLDatabases for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlDatabase"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List MySQLDatabases belonging to a Project.","tags":["Database"]}},"/v2/mysql-databases/{mysqlDatabaseId}/users":{"post":{"operationId":"database-create-mysql-user","parameters":[{"description":"ID of the MySQLDatabase to create a MySQLUser for.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.database.CreateMySqlUser"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a MySQLUser.","tags":["Database"]},"get":{"operationId":"database-list-mysql-users","parameters":[{"description":"ID of the MySQLDatabase to list Users for.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlUser"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List MySQLUsers belonging to a Database.","tags":["Database"]}},"/v2/projects/{projectId}/redis-databases":{"post":{"operationId":"database-create-redis-database","parameters":[{"description":"ID of the Project to create a RedisDatabase for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"example":{"description":"My first RedisDatabase!","version":"7.0"},"properties":{"configuration":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisDatabaseConfiguration"},"description":{"description":"A description for the database.","type":"string"},"version":{"description":"The version the database should use.","type":"string"}},"required":["description","version"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a RedisDatabase.","tags":["Database"]},"get":{"operationId":"database-list-redis-databases","parameters":[{"description":"ID of the Project to list RedisDatabases for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisDatabase"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List RedisDatabases belonging to a Project.","tags":["Database"]}},"/v2/mysql-databases/{mysqlDatabaseId}":{"delete":{"operationId":"database-delete-mysql-database","parameters":[{"description":"ID of the MySQLDatabase to be deleted.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a MySQLDatabase.","tags":["Database"]},"get":{"operationId":"database-get-mysql-database","description":"Returns a MySQLDatabase resource and its current status.\n\nNote that establishing a connection requires the linked user to have a status of `ready`; relying solely on the database status is insufficient.\n","parameters":[{"description":"ID of the MySQLDatabase to be retrieved.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlDatabase"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a MySQLDatabase.","tags":["Database"]},"patch":{"operationId":"database-patch-mysql-database","parameters":[{"description":"ID of the MySQLDatabase to update.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"characterSettings":{"$ref":"#/components/schemas/de.mittwald.v1.database.characterSettings"},"description":{"example":"I am a database","type":"string"},"version":{"example":8.1,"type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MySqlDatabase.","tags":["Database"]}},"/v2/mysql-users/{mysqlUserId}":{"delete":{"operationId":"database-delete-mysql-user","parameters":[{"description":"ID of the MySQLUser to delete.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a MySQLUser.","tags":["Database"]},"get":{"operationId":"database-get-mysql-user","parameters":[{"description":"ID of the MySQLUser to be retrieved.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlUser"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a MySQLUser.","tags":["Database"]},"patch":{"operationId":"database-update-mysql-user","parameters":[{"description":"ID of the MySQLUser to update.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"accessIpMask":{"description":"This field currently has no effect.","type":"string"},"accessLevel":{"enum":["full","readonly"],"type":"string"},"description":{"type":"string"},"externalAccess":{"type":"boolean"},"password":{"description":"The password must have a minimum of 8 characters and contain at least one uppercase letter, one lowercase letter, one digit and one special character of `#!~%^*_+-=?{}()<>|.,;$:/`. Other characters are not allowed. The password must not start with any of `-`, `_` or `;`. A password known from a data leak is rejected with the validation error `password_leaked` when the leak check is available.\n","type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MySQLUser.","tags":["Database"]},"put":{"operationId":"deprecated-database-replace-mysql-user","deprecated":true,"description":"Deprecated by `PATCH /v2/mysql-users/{mysqlUserId}`.","parameters":[{"description":"ID of the MySQLUser to update.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"accessIpMask":{"type":"string"},"accessLevel":{"enum":["full","readonly"],"type":"string"},"description":{"type":"string"},"externalAccess":{"type":"boolean"}},"required":["description","accessLevel"]}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MySQLUser.","tags":["Database"]}},"/v2/redis-databases/{redisDatabaseId}":{"delete":{"operationId":"database-delete-redis-database","parameters":[{"description":"ID of the RedisDatabase to delete.","in":"path","name":"redisDatabaseId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a RedisDatabase.","tags":["Database"]},"get":{"operationId":"database-get-redis-database","parameters":[{"description":"ID of the RedisDatabase to retrieve.","in":"path","name":"redisDatabaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisDatabase"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a RedisDatabase.","tags":["Database"]},"patch":{"operationId":"database-patch-redis-database","parameters":[{"description":"ID of the RedisDatabase to update.","in":"path","name":"redisDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"configuration":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisDatabaseConfiguration"},"description":{"example":"I am a database","type":"string"},"version":{"example":8.1,"type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a RedisDatabase.","tags":["Database"]}},"/v2/mysql-users/{mysqlUserId}/actions/disable":{"post":{"operationId":"database-disable-mysql-user","parameters":[{"description":"ID of the MySQLUser to disable.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Disable a MySQLUser.","tags":["Database"]}},"/v2/mysql-users/{mysqlUserId}/actions/enable":{"post":{"operationId":"database-enable-mysql-user","parameters":[{"description":"ID of the MySQLUser to enable.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Enable a MySQLUser.","tags":["Database"]}},"/v2/mysql-users/{mysqlUserId}/php-my-admin-url":{"get":{"operationId":"database-get-mysql-user-php-my-admin-url","parameters":[{"description":"ID of the MySQLUser for which to get the URL for.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.database.PhpMyAdminURL"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a MySQLUser's PhpMyAdmin-URL.","tags":["Database"]}},"/v2/mysql-charsets":{"get":{"operationId":"database-list-mysql-charsets","parameters":[{"description":"ID of the MySQLVersion for which to list the available character sets in the format `mysqlXY`.","in":"query","name":"version","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlCharacterSettings"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List available MySQL character sets and collations, optionally filtered by a MySQLVersion.","tags":["Database"]}},"/v2/mysql-versions":{"get":{"operationId":"database-list-mysql-versions","parameters":[{"description":"ID of the Project to list available MySQLVersions for.","in":"query","name":"projectId","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.database.MySqlVersion"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List MySQLVersions.","tags":["Database"]}},"/v2/redis-versions":{"get":{"operationId":"database-list-redis-versions","parameters":[{"description":"ID of the Project to list available RedisVersions for.","in":"query","name":"projectId","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisVersion"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List RedisVersions.","tags":["Database"]}},"/v2/appinstallations/{appInstallationId}/actions/{action}":{"post":{"deprecated":true,"description":"This route is deprecated. Please use /v2/app-installations/{appInstallationId}/actions/{action} instead.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"action","required":true,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.Action"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Trigger a runtime action belonging to an AppInstallation.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/actions/{action}":{"post":{"operationId":"deprecated-app-installation-execute-action","deprecated":true,"description":"This endpoint is deprecated and will be removed in a future version. No AppInstallation supports runtime actions, making this endpoint non-functional.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}},{"in":"path","name":"action","required":true,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.app.Action"}}],"responses":{"204":{"description":"The given action has been executed."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Trigger a runtime action belonging to an AppInstallation.","tags":["App"]}},"/v2/appinstallations/{appInstallationId}/databases":{"put":{"operationId":"deprecated-app-link-database","deprecated":true,"description":"This route is deprecated. Use PATCH /v2/app-installations/{appInstallationId}/database instead.","parameters":[{"in":"path","name":"appInstallationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"databaseId":{"format":"uuid","type":"string"},"databaseUserIds":{"additionalProperties":{"type":"string"},"type":"object"},"purpose":{"enum":["primary","cache","custom"],"type":"string"}},"required":["databaseId","purpose"],"type":"object"}}},"description":"Properties for linking a Database","required":true},"responses":{"204":{"description":"The database has been linked."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create linkage between an AppInstallation and a MySql-Database.","tags":["App"]}},"/v2/app-installations/{appInstallationId}/database/replace":{"patch":{"operationId":"deprecated-app-replace-database","deprecated":true,"description":"Deprecated by `PATCH /v2/app-installations/{appInstallationId}`.","parameters":[{"description":"The ID of the appinstallation you want the database to be replaced for.","in":"path","name":"appInstallationId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"databaseUserIds":{"additionalProperties":{"type":"string"},"description":"The IDs of the users of the database you want the old database to be replaced with.","type":"object"},"newDatabaseId":{"description":"The ID of the database you want the old database to be replaced with.","format":"uuid","type":"string"},"oldDatabaseId":{"description":"The ID of the database you want to be replaced.","format":"uuid","type":"string"}},"required":["oldDatabaseId","newDatabaseId"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The database has been linked."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Replace a MySQL Database with another MySQL Database.","tags":["App"]}},"/v2/project-backups/{projectBackupId}/expiration-time":{"put":{"operationId":"deprecated-backup-replace-project-backup-expiration-time","deprecated":true,"description":"Deprecated by `PATCH /v2/project-backups/{projectBackupId}`.","parameters":[{"description":"ID of the ProjectBackup to update the expiration time of.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"expirationTime":{"description":"Time when to expire the Backup. Must be no more than one year in the future.","format":"date-time","type":"string"}},"type":"object"}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Backup's expiration time.","tags":["Backup"]}},"/v2/project-backups/{projectBackupId}/description":{"patch":{"operationId":"deprecated-backup-update-project-backup-description","deprecated":true,"description":"Deprecated by `PATCH /v2/project-backups/{projectBackupId}`.","parameters":[{"description":"ID of the ProjectBackup to change the description of.","in":"path","name":"projectBackupId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Description of the ProjectBackup.","example":"I'm a ProjectBackup","type":"string"}},"type":"object"}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change the description of a ProjectBackup.","tags":["Backup"]}},"/v2/container-templates/{templateId}/icon":{"get":{"operationId":"deprecated-container-get-template-icon","deprecated":true,"description":"Deprecated. Use `GET /v2/container-templates/{templateId}/assets/icon.svg` instead.","parameters":[{"description":"ID of the Template to get the icon for.","in":"path","name":"templateId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"image/jpeg":{"schema":{"format":"binary","type":"string"}},"image/png":{"schema":{"format":"binary","type":"string"}},"image/svg+xml":{"schema":{"format":"binary","type":"string"}},"image/webp":{"schema":{"format":"binary","type":"string"}}},"description":"OK"},"304":{"description":"Not Modified"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a Container Template icon.","tags":["Container"]}},"/v2/stacks/{stackId}/update-schedule":{"put":{"operationId":"deprecated-container-set-stack-update-schedule","deprecated":true,"description":"Deprecated by `PATCH /v2/stacks/{stackId}`.","parameters":[{"description":"ID of the Stack to set an update schedule for.","in":"path","name":"stackId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"updateSchedule":{"nullable":true,"properties":{"cron":{"example":"* * * * *","type":"string"},"timezone":{"description":"Valid timezones can be retrieved via GET /v2/time-zones","example":"Europe/Berlin","type":"string"}},"required":["cron"],"type":"object"}}}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Set an update schedule for a Stack.","tags":["Container"]}},"/v2/actions/validate-container-registry-uri":{"post":{"operationId":"deprecated-container-validate-container-registry-uri","deprecated":true,"description":"Deprecated. Container registry URI validation is performed automatically during resource creation; this endpoint is no longer necessary. This endpoint will be removed in a future version.","requestBody":{"content":{"application/json":{"schema":{"description":"The Registry URI to validate.","properties":{"registryUri":{"type":"string"}},"required":["registryUri"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"reason":{"type":"string"},"valid":{"type":"boolean"}},"required":["valid"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Validate a Registries' URI.","tags":["Container"]}},"/v2/registries/{registryId}/actions/validate-credentials":{"post":{"operationId":"deprecated-container-validate-registry-credentials","deprecated":true,"description":"Deprecated. Registry credential validation is performed automatically on a scheduled basis in the backend. This endpoint will be removed in a future version.","parameters":[{"description":"ID if the Registry to validate the credentials for.","in":"path","name":"registryId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"valid":{"type":"boolean"}},"required":["valid"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Validate a Registries' credentials.","tags":["Container"]}},"/v2/customers/{customerId}/ai-hosting/contract":{"get":{"operationId":"deprecated-contract-get-detail-of-contract-by-ai-hosting","deprecated":true,"description":"This route is deprecated. Use `GET /v2/customers/{customerId}/ai-hostings/{aiHostingId}/contract` instead.\nA customer can own several AI hostings; this route answers with the contract of the oldest one.\n","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Return the AI Hosting Contract for the given Customer."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the AI Hosting Contract for the given Customer.","tags":["Contract"]}},"/v2/customers/{customerId}/lead-fyndr-profile/contract":{"get":{"operationId":"deprecated-contract-get-detail-of-contract-by-lead-fyndr","deprecated":true,"description":"This route is deprecated. The product was discontinued.\n","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.contract.Contract"}}},"description":"Returns an active Contract for the given LeadFyndrProfile."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the Contract for the given LeadFyndrProfile.","tags":["Contract"]}},"/v2/contracts/{contractId}/items/{contractItemId}/next-termination-dates":{"get":{"operationId":"deprecated-contract-get-next-termination-date-for-item","deprecated":true,"description":"This route is deprecated. Use GET /v2/contracts/{contractId}/items/{contractItemId} instead.","parameters":[{"description":"The uuid of the Contract where the desired ContractItem belongs to.","example":"97cecfa0-2c3c-4272-a510-c775fcaade01","in":"path","name":"contractId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The uuid of the ContractItem whose next TerminationDate is to be displayed.","example":"19b3e88e-c656-4440-8b89-efbf881b9c6f","in":"path","name":"contractItemId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"contractItemId":{"format":"uuid","type":"string"},"nextTerminationDate":{"format":"date-time","type":"string"}},"required":["contractItemId","nextTerminationDate"]}}},"description":"Return the next possible TerminationDate for the ContractItem as date."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Return the next TerminationDate for the ContractItem with the given ID.","tags":["Contract"]}},"/v2/cronjobs/{cronjobId}/app-installation-id":{"put":{"operationId":"deprecated-cronjob-replace-cronjob-app-installation-id","deprecated":true,"description":"Deprecated by `PATCH /v2/cronjobs/{cronjobId}`.","parameters":[{"description":"ID of the Cronjob to update.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appInstallationId":{"format":"uuid","type":"string"}},"required":["appInstallationId"],"type":"object"}}},"description":"ID of the AppInstallation to set.","required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Cronjob's app installation id.","tags":["Cronjob"]},"patch":{"operationId":"deprecated-cronjob-update-cronjob-app-id","deprecated":true,"description":"Deprecated by PUT /v2/cronjobs/{cronjobId}/app-installation-id.","parameters":[{"description":"ID of the Cronjob to update.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appId":{"deprecated":true,"description":"DEPRECATED: Use 'appInstallationId' instead. This field will be removed in a future version.","format":"uuid","type":"string"},"appInstallationId":{"format":"uuid","type":"string"}},"required":["appId"],"type":"object"}}},"description":"ID of the app to set.","required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Cronjob's app installation id.","tags":["Cronjob"]}},"/v2/cronjobs/{cronjobId}/app-id":{"patch":{"deprecated":true,"description":"This route is deprecated. Please use /v2/cronjobs/{cronjobId}/app-installation-id instead.","parameters":[{"description":"ID of the Cronjob to update.","in":"path","name":"cronjobId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"appId":{"deprecated":true,"description":"DEPRECATED: Use 'appInstallationId' instead. This field will be removed in a future version.","format":"uuid","type":"string"},"appInstallationId":{"format":"uuid","type":"string"}},"required":["appId"],"type":"object"}}},"description":"ID of the app to set.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Cronjob's app installation id.","tags":["Cronjob"]}},"/v2/customer/{customerId}/actions/leave":{"post":{"deprecated":true,"description":"This route is deprecated. Please use /v2/customers/{customerId}/actions/leave instead.","parameters":[{"description":"ID of the Customer to be left.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Leave a Customer.","tags":["Customer"]}},"/v2/customers/{customerId}/actions/leave":{"post":{"operationId":"deprecated-customer-leave-customer","deprecated":true,"description":"Deprecated by `DELETE /v2/customer-memberships/{customerMembershipId}`.","parameters":[{"description":"ID of the Customer to be left.","in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Leave a Customer.","tags":["Customer"]}},"/v2/mysql-databases/{mysqlDatabaseId}/default-charset":{"patch":{"operationId":"deprecated-database-update-mysql-database-default-charset","deprecated":true,"description":"Deprecated by `PATCH /v2/mysql-databases/{mysqlDatabaseId}`.","parameters":[{"description":"ID of the MySQLDatabase to update.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"characterSettings":{"$ref":"#/components/schemas/de.mittwald.v1.database.characterSettings"}},"required":["characterSettings"]}}},"description":"The default character settings to be used for the MySQLDatabase.","required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MySQLDatabase's default character settings.","tags":["Database"]}},"/v2/mysql-databases/{mysqlDatabaseId}/description":{"patch":{"operationId":"deprecated-database-update-mysql-database-description","deprecated":true,"description":"Deprecated by `PATCH /v2/mysql-databases/{mysqlDatabaseId}`.","parameters":[{"description":"ID of the MySQLDatabase to update.","in":"path","name":"mysqlDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"}},"required":["description"]}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MySQLDatabase's description.","tags":["Database"]}},"/v2/mysql-users/{mysqlUserId}/password":{"patch":{"operationId":"deprecated-database-update-mysql-user-password","deprecated":true,"description":"Deprecated by `PATCH /v2/mysql-users/{mysqlUserId}`.","parameters":[{"description":"ID of the MySQLUser for which to update the password for.","in":"path","name":"mysqlUserId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"description":"The password must have a minimum of 8 characters and contain at least one uppercase letter, one lowercase letter, one digit and one special character of `#!~%^*_+-=?{}()<>|.,;$:/`. Other characters are not allowed. The password must not start with any of `-`, `_` or `;`. A password known from a data leak is rejected with the validation error `password_leaked` when the leak check is available.\n","type":"string"}},"required":["password"]}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MySQLUser's password.","tags":["Database"]}},"/v2/redis-databases/{redisDatabaseId}/configuration":{"patch":{"operationId":"deprecated-database-update-redis-database-configuration","deprecated":true,"description":"Deprecated by `PATCH /v2/redis-databases/{redisDatabaseId}`.","parameters":[{"description":"ID of the RedisDatabase to update.","in":"path","name":"redisDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"configuration":{"$ref":"#/components/schemas/de.mittwald.v1.database.RedisDatabaseConfiguration"}}}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a RedisDatabase's configuration.","tags":["Database"]}},"/v2/redis-databases/{redisDatabaseId}/description":{"patch":{"operationId":"deprecated-database-update-redis-database-description","deprecated":true,"description":"Deprecated by `PATCH /v2/redis-databases/{redisDatabaseId}`.","parameters":[{"description":"ID of the RedisDatabase to update.","in":"path","name":"redisDatabaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"}},"required":["description"]}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a RedisDatabase's description.","tags":["Database"]}},"/v2/dns/zones/{zoneId}/recordset/acombined/custom":{"put":{"operationId":"deprecated-dns-record-a-set-custom","deprecated":true,"description":"This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.","parameters":[{"description":"the id of the zone the record belongs to","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.CombinedACustom"}]}}},"required":true},"responses":{"204":{"description":"recordset updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"updates a-records for a specific zone","tags":["Domain"]}},"/v2/dns/zones/{zoneId}/recordset/acombined/managed/ingress":{"post":{"operationId":"deprecated-dns-record-a-set-managed-by-ingress","deprecated":true,"description":"This operation is deprecated. Use the POST v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed endpoint instead.","parameters":[{"description":"the id of the zone you want to set managed","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":true},"responses":{"204":{"content":{"application/json":{"schema":{"properties":{"ingressId":{"format":"uuid","type":"string"}},"required":["ingressId"],"type":"object"}}},"description":"zone set managed by ingressId"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"set a-records managed by ingress for a specific zone","tags":["Domain"]}},"/v2/dns/zones/{zoneId}/recordset/cname":{"put":{"operationId":"deprecated-dns-record-cname-set","deprecated":true,"description":"This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.","parameters":[{"description":"the id of the zone the record belongs to","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCNAMEComponent"}]}}},"required":true},"responses":{"204":{"description":"recordset updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"updates cname-record for a specific zone","tags":["Domain"]}},"/v2/dns/zones/{zoneId}/recordset/mx/custom":{"put":{"operationId":"deprecated-dns-record-mx-set-custom","deprecated":true,"description":"This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.","parameters":[{"description":"the id of the zone the record belongs to","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordMXCustom"}]}}},"required":true},"responses":{"204":{"description":"recordset updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"updates mx-records for a specific zone","tags":["Domain"]}},"/v2/dns/zones/{zoneId}/recordset/mx/managed":{"post":{"operationId":"deprecated-dns-record-mx-set-managed","deprecated":true,"description":"This operation is deprecated. Use the POST v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed endpoint instead.","parameters":[{"description":"the id of the zone the record belongs to","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object"}}},"required":true},"responses":{"204":{"description":"recordset updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"sets mx-records to managed for a specific zone","tags":["Domain"]}},"/v2/dns/zones/{zoneId}/recordset/srv":{"put":{"operationId":"deprecated-dns-record-srv-set","deprecated":true,"description":"This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.","parameters":[{"description":"the id of the zone the record belongs to","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSRVComponent"}]}}},"required":true},"responses":{"204":{"description":"recordset updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"updates srv-records for a specific zone","tags":["Domain"]}},"/v2/dns/zones/{zoneId}/recordset/txt":{"put":{"operationId":"deprecated-dns-record-txt-set","deprecated":true,"description":"This operation is deprecated. Use the PUT v2/dns-zones/{dnsZoneId}/record-sets/{recordSet} endpoint instead.","parameters":[{"description":"the id of the zone the record belongs to","in":"path","name":"zoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordTXTComponent"}]}}},"required":true},"responses":{"204":{"description":"recordset updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"updates txt-records for a specific zone","tags":["Domain"]}},"/v2/domains/{domainId}/handles/ownerc":{"put":{"operationId":"deprecated-domain-change-ownerc-of-domain","deprecated":true,"description":"This operation is deprecated. Use the PATCH /v2/domains/{domainId}/contacts/{contact} endpoint instead.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"ownerC":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleField"},"minItems":1,"type":"array"}},"required":["ownerC"]}}},"description":"The new handle fields for the new owner.","required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.SuccessResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change the owner contact of a domain.","tags":["Domain"]}},"/v2/domains/{domainId}/projectId":{"put":{"operationId":"deprecated-domain-change-project-of-domain","deprecated":true,"description":"This operation is deprecated. Use the PATCH /v2/domains/{domainId}/project-id endpoint instead.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"projectId":{"format":"uuid","type":"string"}}}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change the Project relation of a Domain.","tags":["Domain"]}},"/v2/domains":{"post":{"operationId":"deprecated-domain-check-domain-registrability","deprecated":true,"description":"This operation is deprecated. Use the POST /v2/domain-registrable endpoint instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"domain":{"format":"naked-domain","type":"string"}},"required":["domain"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"available":{"type":"boolean"}},"required":["available"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Check if a Domain is available to register.","tags":["Domain"]},"get":{"operationId":"domain-list-domains","parameters":[{"examples":{"shortId":{"value":"p-abcdef"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"query","name":"projectId","required":false,"schema":{"type":"string"}},{"description":"Search for domain names in this list. Input will be handled like '%YourInput%'.","in":"query","name":"domainSearchName","required":false,"schema":{"type":"string"}},{"description":"Search for domain contact hash.","in":"query","name":"contactHash","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.Domain"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Domains","tags":["Domain"]}},"/v2/domains/{domainId}/nameservers":{"put":{"operationId":"deprecated-domain-declare-nameservers","deprecated":true,"description":"This operation is deprecated. Use the PATCH /v2/domains/{domainId}/nameservers endpoint instead.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"nameservers":{"items":{"format":"idn-hostname","type":"string"},"minItems":2,"type":"array","uniqueItems":true}}}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change all nameservers of a Domain.","tags":["Domain"]},"patch":{"operationId":"domain-update-domain-nameservers","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"nameservers":{"items":{"format":"idn-hostname","type":"string"},"minItems":2,"type":"array","uniqueItems":true}}}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the nameservers of a Domain.","tags":["Domain"]}},"/v2/domains/{domainId}/declarations/authcode":{"put":{"operationId":"deprecated-domain-declare-process-change-authcode","deprecated":true,"description":"This operation is deprecated. Use the PATCH /v2/domains/{domainId}/auth-code endpoint instead.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"authCode":{"minLength":4,"type":"string"}},"required":["authCode"]}}},"description":"The new handle fields for the new owner.","required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.SuccessResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an AuthCode.","tags":["Domain"]}},"/v2/domains/{domainId}/declarations/handles":{"put":{"operationId":"deprecated-domain-declare-process-change-handles","deprecated":true,"description":"This operation is deprecated and does not have an alternative.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"ownerC":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleField"},"minItems":1,"type":"array"}},"required":["ownerC"]}}},"description":"The new handle fields for the new owner.","required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.SuccessResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Domain's OwnerC handle.","tags":["Domain"]}},"/v2/domains/handle-schema/{domainName}":{"get":{"operationId":"deprecated-domain-get-handle-fields","deprecated":true,"description":"This operation is deprecated. Use the GET /v2/domain-tlds/{tld}/contact-schemas endpoint instead.","parameters":[{"description":"The whole domain name","in":"path","name":"domainName","required":true,"schema":{"format":"naked-domain","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"jsonSchemaAdminC":{"type":"object"},"jsonSchemaOwnerC":{"type":"object"}},"required":["jsonSchemaOwnerC"],"type":"object"}}},"description":"The parseable json schema objects"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a HandleSchema.","tags":["Domain"]}},"/v2/domains/{domainId}/screenshots/newest":{"get":{"operationId":"deprecated-domain-get-screenshot-for-domain","deprecated":true,"description":"Deprecated by `GET /v2/domains/{domainId}/latest-screenshot`.","parameters":[{"in":"path","name":"domainId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"domainName":{"example":"example.com","type":"string"},"path":{"example":"/var/www","type":"string"}},"required":["domainName","path"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"references":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"The References."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get File Service Reference for a Screenshot of a domain.","tags":["Domain"]}},"/v2/projects/{projectId}/domains":{"get":{"operationId":"deprecated-domain-list-domains","deprecated":true,"description":"This operation is deprecated. Use the GET /v2/domains endpoint instead.","parameters":[{"examples":{"shortId":{"value":"p-abcdef"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"query","name":"page","required":false,"schema":{"minimum":1,"type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"minimum":1,"type":"integer"}},{"description":"Search for domain names in these list. Input will be handled like '%YourInput%'","in":"query","name":"domainSearchName","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.Domain"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Domains belonging to a Project.","tags":["Domain"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}":{"post":{"operationId":"deprecated-extension-dry-run-webhook","deprecated":true,"description":"Do not call /v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}. This feature is deactivated.\n","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The ID of an extension instance. For this route it can be made up.","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"webhookKind","required":true,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookKind"}},{"description":"Define the contextId. If left empty, the contextId will be random.","in":"query","name":"contextId","required":false,"schema":{"type":"string"}},{"description":"Define the scopes. If left empty, the scopes will be those defined in the extension.","in":"query","name":"scopes","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Define the `disabled` state of the extension instance. If left empty, the it will be random.","in":"query","name":"instanceDisabled","required":false,"schema":{"type":"boolean"}},{"description":"Define the creation timestamp of the extension instance. If left empty, the it will be random.","in":"query","name":"createdAt","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"Define the secret of the extension instance. If left empty, the it will be random. This secret will not be able to be used.","in":"query","name":"secret","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"errorMessage":{"description":"The error message of an internal error.","example":"The url httpsecurity is not a valid protocol","type":"string"},"responseBody":{"type":"string"},"responseCode":{"description":"The http status code that the external application responded with.","example":200,"type":"number"},"responseHeaders":{"type":"string"},"routeCalled":{"example":"https://example.com/extension/e1a9370f-cc3c-42b9-98b4-8e3ac54c9710/instance/f567441d-2429-48fd-8fe9-6c5dc18722d8/add?dry-run=true","type":"string"},"successful":{"description":"This shows if the response of the external application has been accepted as successful.","example":true,"type":"boolean"}},"required":["successful","routeCalled"],"type":"object"}}},"description":"The webhook has been run successfully."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Dry run a webhook with random or given values.","tags":["Marketplace"]}},"/v2/file-token-rules/{token}":{"get":{"operationId":"deprecated-file-get-file-token-rules","deprecated":true,"description":"Deprecated by `GET /v2/file-upload-tokens/{fileUploadToken}/rules`.","parameters":[{"description":"Token of the Token's upload rules to be retrieved.","in":"path","name":"token","required":true,"schema":{"example":"3fa85f64-5717-4562-b3fc-2c963f66afa6","format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileUploadRules"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a Token's upload rules.","tags":["File"]}},"/v2/file-type-rules/{name}":{"get":{"operationId":"deprecated-file-get-file-type-rules","deprecated":true,"description":"Deprecated by `GET /v2/file-upload-types/{fileUploadType}/rules`.","parameters":[{"description":"Name of the Type's upload rules to be retrieved.","in":"path","name":"name","required":true,"schema":{"enum":["avatar","conversation"],"example":"avatar","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileUploadRules"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a Type's upload rules.","tags":["File"]}},"/v2/projects/{projectId}/ingresses":{"get":{"operationId":"deprecated-ingress-list-ingresses","deprecated":true,"description":"This operation is deprecated. Use the GET /v2/ingresses endpoint instead.","parameters":[{"description":"ID of the Project to list Ingresses for","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.IngressDeprecated"},"type":"array"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Ingresses belonging to a project.","tags":["Domain"]}},"/v2/ingresses/{ingressId}/paths":{"put":{"operationId":"deprecated-ingress-paths","deprecated":true,"description":"This operation is deprecated. Use the PATCH /v2/ingresses/{ingressId}/paths endpoint instead.","parameters":[{"in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Path"},"type":"array"}}},"required":true},"responses":{"204":{"description":"No Content"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an Ingresses paths.","tags":["Domain"]},"patch":{"operationId":"ingress-update-ingress-paths","parameters":[{"in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Path"},"type":"array"}}},"required":true},"responses":{"204":{"description":"No Content"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the paths of an Ingress.","tags":["Domain"]}},"/v2/ingresses/{ingressId}/tls":{"put":{"operationId":"deprecated-ingress-tls","deprecated":true,"description":"This operation is deprecated. Use the PATCH /v2/ingresses/{ingressId}/tls endpoint instead.","parameters":[{"in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TlsAcme"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.TlsCertificate"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an Ingresses tls settings.","tags":["Domain"]},"patch":{"operationId":"ingress-update-ingress-tls","parameters":[{"in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"additionalProperties":false,"properties":{"acme":{"type":"boolean"},"isCreated":{"deprecated":true,"description":"Was added by mistake. Never did anything.","type":"boolean"},"requestDeadline":{"deprecated":true,"description":"Was added by mistake. Never did anything.","format":"date-time","type":"string"}},"required":["acme"],"type":"object"},{"additionalProperties":false,"properties":{"certificateId":{"format":"uuid","type":"string"}},"required":["certificateId"],"type":"object"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the tls settings of an Ingress.","tags":["Domain"]}},"/v2/customers/{customerId}/invoices/{invoiceId}":{"get":{"operationId":"deprecated-invoice-detail-of-invoice","deprecated":true,"description":"This route is deprecated. Use /v2/invoices/{invoiceId} instead.","parameters":[{"example":"edefeee4-e8e9-4e2d-ab95-9a2eb6104cfb","in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"example":"154219e9-bf4a-4f41-9c72-0449a98db62f","in":"path","name":"invoiceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Invoice"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get details of an Invoice.","tags":["Contract"]}},"/v2/deliveryboxes/{id}/description":{"put":{"operationId":"deprecated-mail-deliverybox-update-description","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/delivery-boxes/{deliveryBoxId}/description endpoint instead.","parameters":[{"description":"ID of the deliverybox","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"}},"required":["description"]}}},"description":"Description of the deliverybox","required":true},"responses":{"200":{"description":"OK"},"403":{"description":"You do not have the permissions to access this content"},"404":{"description":"A deliverybox with the specified id was not found"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"description":"Internal server error"},"503":{"description":"The service is unavailable."}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the description of an deliverybox","tags":["Mail"]}},"/v2/deliveryboxes/{id}/password":{"put":{"operationId":"deprecated-mail-deliverybox-update-password","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/delivery-boxes/{deliveryBoxId}/password endpoint instead. Where the stage has a leak check configured, a password that is known from a data leak is rejected with 400 (`ValidationError`, `context.invalid: password_leaked`); the check fails open when the leak service does not answer.","parameters":[{"description":"ID of the deliverybox","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"type":"string"}},"required":["password"]}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"description":"You do not have the permissions to access this content"},"404":{"description":"A deliverybox with the specified id was not found"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"description":"Internal server error"},"503":{"description":"The service is unavailable."}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the password for a specific deliverybox","tags":["Mail"]}},"/v2/mailaddresses/{id}/address":{"put":{"operationId":"deprecated-mail-mailaddress-update-address","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/address endpoint instead.","parameters":[{"description":"ID of the mail address","in":"path","name":"id","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"address":{"format":"idn-email","type":"string"}},"required":["address"]}}},"description":"set mail-address","required":true},"responses":{"200":{"description":"OK"},"403":{"description":"You do not have the permissions to access this content"},"404":{"description":"A mailaddress with the specified id was not found"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"description":"Internal server error"},"503":{"description":"The service is unavailable."}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update mail-address","tags":["Mail"]}},"/v2/projects/{projectId}/mailsettings/blacklist":{"put":{"operationId":"deprecated-mail-projectsetting-update-blacklist","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/{projectId}/mail-settings/{mailSetting} endpoint instead.","parameters":[{"description":"ID of the project you want to update blacklist for","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"blacklist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["blacklist"],"type":"object"}}},"required":true},"responses":{"200":{"description":"OK"},"403":{"description":"You do not have the permissions to access this content"},"404":{"description":"A projectsetting with the specified id was not found"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"description":"Internal server error"},"503":{"description":"The service is unavailable."}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update blacklist for a given project ID","tags":["Mail"]}},"/v2/projects/{projectId}/mailsettings/whitelist":{"put":{"operationId":"deprecated-mail-projectsetting-update-whitelist","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/{projectId}/mail-settings/{mailSetting} endpoint instead.","parameters":[{"description":"ID of the project you want to update whitelist for","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"whitelist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["whitelist"],"type":"object"}}},"required":true},"responses":{"200":{"description":"OK"},"403":{"description":"You do not have the permissions to access this content"},"404":{"description":"A projectsetting with the specified id was not found"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"description":"Internal server error"},"503":{"description":"The service is unavailable."}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update whitelist for a given project ID","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}/autoResponder":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId}/autoresponder instead.","parameters":[{"description":"ID of the MailAddress to update the autoresponder for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"autoResponder":{"nullable":true,"properties":{"active":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string"},"message":{"type":"string"},"startsAt":{"format":"date-time","type":"string"}},"required":["message","active"],"type":"object"}},"required":["autoResponder"]}}},"description":"Autoresponder for the MailAddress.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the autoresponder of a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/autoresponder":{"put":{"operationId":"deprecated-mail-update-mail-address-autoresponder","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/autoresponder endpoint instead.","parameters":[{"description":"ID of the MailAddress to update the autoresponder for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"autoResponder":{"nullable":true,"properties":{"active":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string"},"message":{"type":"string"},"startsAt":{"format":"date-time","type":"string"}},"required":["message","active"],"type":"object"}},"required":["autoResponder"]}}},"description":"Autoresponder for the MailAddress.","required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the autoresponder of a MailAddress.","tags":["Mail"]},"patch":{"operationId":"mail-update-mail-address-autoresponder","parameters":[{"description":"ID of the MailAddress to update the autoresponder for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"autoResponder":{"nullable":true,"properties":{"active":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string"},"message":{"type":"string"},"startsAt":{"format":"date-time","type":"string"}},"required":["message","active"],"type":"object"}},"required":["autoResponder"]}}},"description":"Autoresponder for the MailAddress.","required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the autoresponder of a MailAddress.","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}/catchAll":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId}/catchall instead.","parameters":[{"description":"ID of the MailAddress to update the catchall for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"active":{"type":"boolean"}},"required":["active"]}}},"description":"Catchall of the MailAddress.","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the catchall of a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/catchall":{"put":{"operationId":"deprecated-mail-update-mail-address-catchall","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/catch-all endpoint instead.","parameters":[{"description":"ID of the MailAddress to update the catchall for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"active":{"type":"boolean"}},"required":["active"]}}},"description":"Catchall of the MailAddress.","required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the catchall of a MailAddress.","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}/forwardaddresses":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId}/forward-addresses instead.","parameters":[{"description":"ID of the MailAddress to update the forward addresses for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"forwardAddresses":{"items":{"format":"idn-email","type":"string"},"type":"array"}},"required":["forwardAddresses"]}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the forward addresses of a MailAddresses.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/forward-addresses":{"put":{"operationId":"deprecated-mail-update-mail-address-forward-addresses","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/forward-addresses endpoint instead.","parameters":[{"description":"ID of the MailAddress to update the forward addresses for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"forwardAddresses":{"items":{"format":"idn-email","type":"string"},"type":"array"}},"required":["forwardAddresses"]}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the forward addresses of a MailAddresses.","tags":["Mail"]},"patch":{"operationId":"mail-update-mail-address-forward-addresses","parameters":[{"description":"ID of the MailAddress to update the forward addresses for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"forwardAddresses":{"items":{"format":"idn-email","type":"string"},"type":"array"}},"required":["forwardAddresses"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the forward addresses of a MailAddresses.","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}/password":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId}/password instead.","parameters":[{"description":"ID of the MailAddress to update the password for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"type":"string"}},"required":["password"]}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the password for a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/password":{"put":{"operationId":"deprecated-mail-update-mail-address-password","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/password endpoint instead. Where the stage has a leak check configured, a password that is known from a data leak is rejected with 400 (`ValidationError`, `context.invalid: password_leaked`); the check fails open when the leak service does not answer.","parameters":[{"description":"ID of the MailAddress to update the password for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"type":"string"}},"required":["password"]}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the password for a MailAddress.","tags":["Mail"]},"patch":{"operationId":"mail-update-mail-address-password","description":"Where the stage has a leak check configured, a password that is known from a data leak is rejected with 400 (`ValidationError`, `context.invalid: password_leaked`); the check fails open when the leak service does not answer.","parameters":[{"description":"ID of the MailAddress to update the password for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"type":"string"}},"required":["password"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the password for a MailAddress.","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}/quota":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId}/quota instead.","parameters":[{"description":"ID of the MailAddress to update the quota for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"quotaInBytes":{"description":"Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.","example":2147483648,"format":"int64","minimum":-1,"type":"integer"}},"required":["quotaInBytes"]}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the quota of a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/quota":{"put":{"operationId":"deprecated-mail-update-mail-address-quota","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/quota endpoint instead.","parameters":[{"description":"ID of the MailAddress to update the quota for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"quotaInBytes":{"description":"Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.","example":2147483648,"format":"int64","minimum":-1,"type":"integer"}},"required":["quotaInBytes"]}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the quota of a MailAddress.","tags":["Mail"]},"patch":{"operationId":"mail-update-mail-address-quota","parameters":[{"description":"ID of the MailAddress to update the quota for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"quotaInBytes":{"description":"Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.","example":2147483648,"format":"int64","minimum":-1,"type":"integer"}},"required":["quotaInBytes"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the quota of a MailAddress.","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}/spamprotection":{"put":{"deprecated":true,"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId}/spam-protection instead.","parameters":[{"description":"ID of the MailAddress to update the spam protection for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"spamProtection":{"properties":{"active":{"type":"boolean"},"autoDeleteSpam":{"type":"boolean"},"folder":{"enum":["inbox","spam"],"type":"string"},"relocationMinSpamScore":{"maximum":10,"type":"integer"}},"required":["active","folder","relocationMinSpamScore","autoDeleteSpam"],"type":"object"}},"required":["spamProtection"]}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the spam protection of a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/spam-protection":{"put":{"operationId":"deprecated-mail-update-mail-address-spam-protection","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/mail-addresses/{mailAddressId}/spam-protection endpoint instead.","parameters":[{"description":"ID of the MailAddress to update the spam protection for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"spamProtection":{"properties":{"active":{"type":"boolean"},"autoDeleteSpam":{"type":"boolean"},"folder":{"enum":["inbox","spam"],"type":"string"},"relocationMinSpamScore":{"maximum":10,"type":"integer"}},"required":["active","folder","relocationMinSpamScore","autoDeleteSpam"],"type":"object"}},"required":["spamProtection"]}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the spam protection of a MailAddress.","tags":["Mail"]},"patch":{"operationId":"mail-update-mail-address-spam-protection","parameters":[{"description":"ID of the MailAddress to update the spam protection for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"spamProtection":{"properties":{"active":{"type":"boolean"},"autoDeleteSpam":{"type":"boolean"},"folder":{"enum":["inbox","spam"],"type":"string"},"relocationMinSpamScore":{"maximum":10,"type":"integer"}},"required":["active","folder","relocationMinSpamScore","autoDeleteSpam"],"type":"object"}},"required":["spamProtection"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the spam protection of a MailAddress.","tags":["Mail"]}},"/v2/projects/{projectId}/mail-settings/{mailSetting}":{"put":{"operationId":"deprecated-mail-update-project-mail-setting","deprecated":true,"description":"This operation is deprecated. Use the PATCH v2/{projectId}/mail-settings/{mailSetting} endpoint instead.","parameters":[{"description":"ID of the Project to update a mail setting for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"The setting to update.","in":"path","name":"mailSetting","required":true,"schema":{"enum":["blacklist","whitelist"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"properties":{"blacklist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["blacklist"],"type":"object"},{"properties":{"whitelist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["whitelist"],"type":"object"}]}}},"required":true},"responses":{"200":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a mail setting of a Project.","tags":["Mail"]},"patch":{"operationId":"mail-update-project-mail-setting","parameters":[{"description":"ID of the Project to update a mail setting for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"The mail setting to update.","in":"path","name":"mailSetting","required":true,"schema":{"enum":["blacklist","whitelist"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"properties":{"blacklist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["blacklist"],"type":"object"},{"properties":{"whitelist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["whitelist"],"type":"object"}]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a mail setting of a Project.","tags":["Mail"]}},"/v2/newsletter-subscriptions":{"post":{"operationId":"newsletter-subscribe-user","requestBody":{"content":{"application/json":{"schema":{"properties":{"firstName":{"example":"Ada","type":"string"},"lastName":{"example":"Lovelace","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"active":{"example":false,"type":"boolean"},"email":{"example":"a.lovelace@example.com","type":"string"},"registered":{"example":true,"type":"boolean"}},"required":["email","active","registered"],"type":"object"}}},"description":"Subscription information email has been sent."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Subscribe a user to the mStudio newsletter.","tags":["Notification"]}},"/v2/projects/{projectId}/leave":{"post":{"operationId":"deprecated-project-leave-project","deprecated":true,"description":"Deprecated by `DELETE /v2/project-memberships/{projectMembershipId}`.","parameters":[{"description":"ID of the Project to be left.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Leave a Project.","tags":["Project"]}},"/v2/apps/metrics":{"get":{"operationId":"deprecated-project-metrics-passthrough","deprecated":true,"description":"This route used to proxy the metrics Grafana and no longer serves data. Every authenticated request answers `410 Gone`.\nUse `GET /v2/projects/{projectId}/usage-metrics`, `GET /v2/projects/{projectId}/usage-metrics/breakdown`,\n`GET /v2/servers/{serverId}/usage-metrics` or `GET /v2/servers/{serverId}/usage-metrics/breakdown` instead.\n","responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object"}}},"description":"Former passthrough response; no longer returned."},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"410":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Removed metrics passthrough; use the usage-metrics routes instead.","tags":["Project"]}},"/v2/projects/{projectId}/description":{"patch":{"operationId":"deprecated-project-update-project-description","deprecated":true,"description":"Deprecated by `PATCH /v2/projects/{projectId}`.","parameters":[{"description":"ID of the Project to update the description for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"My new description!","type":"string"}},"required":["description"]}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Project's description.","tags":["Project"]}},"/v2/servers/{serverId}/description":{"patch":{"operationId":"deprecated-project-update-server-description","deprecated":true,"description":"Deprecated by `PATCH /v2/servers/{serverId}`.","parameters":[{"description":"ID of the Server to update the description of.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"My first Server!","type":"string"}},"required":["description"]}}},"required":true},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Servers's description.","tags":["Project"]}},"/v2/projects/{projectId}/storage-space-notification-threshold":{"put":{"operationId":"deprecated-storagespace-replace-project-notification-threshold","deprecated":true,"description":"Deprecated by `PATCH /v2/projects/{projectId}/storage-space-statistics`.","parameters":[{"description":"ID of the Project to update the storage space notification threshold for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"notificationThresholdInBytes":{"example":10000,"format":"int64","nullable":true,"type":"integer"}}}}},"required":false},"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Project's storage space notification threshold.","tags":["Project"]}},"/v2/servers/{serverId}/storage-space-notification-threshold":{"put":{"operationId":"deprecated-storagespace-replace-server-notification-threshold","deprecated":true,"description":"Deprecated by `PATCH /v2/projects/{projectId}/storage-space-statistics`.","parameters":[{"description":"ID of the Server to update the storage space notification threshold for.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"notificationThresholdInBytes":{"example":10000,"format":"int64","nullable":true,"type":"integer"}}}}},"required":false},"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Server's storage space notification threshold.","tags":["Project"]}},"/v2/signup/email":{"put":{"operationId":"deprecated-user-change-email","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"The new Email-Address.","example":"ada.lovelace@example.com","format":"email","type":"string"}},"required":["email"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Your email has been added, but needs to be verfied. Check your mails and\ncall /email/verify with the verification code sent with the mail.\n"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * EmailInUse\n  * EmailBlacklisted\n  * EmailMXInvalid\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change your Email-Address. Replaced by `PUT` `/v2/users/self/credentials/email`.","tags":["User"]},"get":{"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your verified Email-Address.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/credentials/email instead.","deprecated":true}},"/v2/signup/token/check":{"post":{"deprecated":true,"description":"This route is deprecated. Please use /v2/users/self/credentials/token instead.","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check token for validity.","tags":["User"]}},"/v2/users/self/credentials/token":{"post":{"operationId":"deprecated-user-check-token","deprecated":true,"description":"Deprecated. Use `GET /users/self/sessions/current/status` instead,\nwhich returns status informationen of the current session.\n","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"},"publicToken":{"type":"string"}},"required":["id","publicToken"],"type":"object"}}},"description":"Your token is valid."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check token for validity.","tags":["User"]}},"/v2/signup/password/reset/confirm":{"post":{"operationId":"deprecated-user-confirm-password-reset","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"description":"The new password.","type":"string"},"token":{"description":"Password reset token","maxLength":6,"minLength":6,"type":"string"},"userId":{"description":"UserId of the user to reset the password for.","format":"uuid","type":"string"}},"required":["userId","token","password"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Password reset was successful."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\nPossible domain specific `type` values are:\n  * WrongPasswordResetToken\n  * EmailAddressNotVerified\n  * PasswordIsLeaked\n  * ValidationError\n  * PasswordEqualsEmail\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Confirm password reset. Replaced by `POST` `/v2/users/self/credentials/password/confirm-reset`.","tags":["User"]}},"/v2/users/self/issues":{"post":{"operationId":"deprecated-user-create-issue","deprecated":true,"description":"was replaced by /v2/users/self/feedback.","requestBody":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Detailed report of the issue.","maxLength":5000,"type":"string"},"origin":{"description":"Origin of the issue.","type":"string"},"subject":{"description":"Descriptive subject of the report.","type":"string"},"type":{"description":"Type of feedback.","enum":["feedback","bug"],"type":"string"},"vote":{"description":"Feedback rating from bad to good.","maximum":10,"minimum":0,"type":"number"}},"required":["type","message"],"type":"object"}}},"description":"Submit an issue."},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Issue successfully submitted."},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a new issue.","tags":["User"]}},"/v2/signup/token/api/{apiTokenId}":{"delete":{"operationId":"deprecated-user-delete-api-token","deprecated":true,"parameters":[{"description":"The uuid of an ApiToken.","in":"path","name":"apiTokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"The `ApiToken` has been deleted."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * ValidationError\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Deletes an ApiToken. Replaces by `DELETE` `/v2/user/{userid}/api-tokens/{apiTokenId}`.","tags":["User"]},"put":{"operationId":"deprecated-user-edit-api-token","deprecated":true,"parameters":[{"in":"path","name":"apiTokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"Api Token for ...","type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["description"],"type":"object"}}},"required":true},"responses":{"200":{"description":"ApiToken was updated."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an existing `ApiToken`. Replaced by `PUT` `/v2/users/{userId}/api-tokens/{apiTokenId}`.","tags":["User"]},"get":{"parameters":[{"description":"The id of an ApiToken.","in":"path","name":"apiTokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific ApiToken.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/api-tokens/{apiTokenId} instead.","deprecated":true}},"/v2/signup/ssh/{sshKeyId}":{"delete":{"operationId":"deprecated-user-delete-ssh-key","deprecated":true,"parameters":[{"in":"path","name":"sshKeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"The ssh-key was removed."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove a ssh-key. Replaced by `DELETE` `/v2/users/self/ssh-keys/{sshKeyId}`.","tags":["User"]},"put":{"operationId":"deprecated-user-edit-ssh-key","deprecated":true,"parameters":[{"in":"path","name":"sshKeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"example":"a.lovelace@example.com","type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["comment"],"type":"object"}}},"required":true},"responses":{"200":{"description":"The ssh-key has been edited."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Edit a stored ssh-key. Replaced by `PUT` `/v2/users/self/ssh-keys/{sshKeyId}`.","tags":["User"]},"get":{"parameters":[{"in":"path","name":"sshKeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific stored ssh-key.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/ssh-keys/{sshKeyId} instead.","deprecated":true}},"/v2/signup/mfa":{"delete":{"operationId":"deprecated-user-disable-mfa","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"Multi Factor Code to confirm MFA.","maxLength":16,"minLength":6,"type":"string"}},"required":["multiFactorCode"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Multi Factor Authentication was disabled."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * MultiFactorCodeNotValid\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Disable Multi Factor Authentication. Replaced by `DELETE` `/v2/users/self/credentials/mfa`.","tags":["User"]},"get":{"description":"This route is deprecated. Please use /v2/users/self/credentials/mfa instead.","responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your current multi factor auth status.","tags":["User"],"deprecated":true},"post":{"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/credentials/init-mfa instead.","deprecated":true}},"/v2/signup/profile":{"get":{"deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your account information. Replaced by `GET` `/v2/users/self`.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/personal-information instead."},"put":{"operationId":"deprecated-user-update-account","requestBody":{"content":{"application/json":{"schema":{"properties":{"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"}},"required":["person"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Account has been updated."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update your account information.","tags":["User"],"deprecated":true},"delete":{"description":"This route is deprecated. Please use /v2/users/self instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"},"password":{"description":"The password of the user.","type":"string"}},"required":["password"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete your account and all your personal data.","tags":["User"],"deprecated":true}},"/v2/users/self/personal-information":{"get":{"operationId":"deprecated-user-get-own-account","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.signup.Account"}}},"description":"Account information."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your account information. Replaced by `GET` `/v2/users/self`.","tags":["User"]},"put":{"operationId":"user-update-account","requestBody":{"content":{"application/json":{"schema":{"properties":{"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"}},"required":["person"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Account has been updated."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update your account information.","tags":["User"]}},"/v2/signup/password/reset":{"post":{"operationId":"deprecated-user-init-password-reset","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"Email address to reset the password for.","example":"a.lovelace@example.com","format":"email","type":"string"}},"required":["email"],"type":"object"}}},"required":true},"responses":{"200":{"description":"The password reset process has been initialized. The email with the confirmation code is\nsent asynchronously, so a successful response does not guarantee that it has been\ndelivered yet.\n"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Initialize password reset process. Replaced by `POST` `/v2/users/self/credentials/actions/init-password-reset`.\n","tags":["User"]}},"/v2/signup/logout":{"put":{"operationId":"deprecated-user-logout","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"description":"You've been logged out. The access token has been removed and invalidated."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Terminate session and invalidate access token. Replaced by `DELETE` `/v2/users/self/sessions/{current}`.","tags":["User"]}},"/v2/signup/email/resend":{"post":{"operationId":"deprecated-user-resend-verification-email","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"example":"ada.lovelace@example.com","format":"email","type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["multiFactorCode"],"type":"object"}}},"required":true},"responses":{"204":{"description":"New Email-Address verification mail was sent."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"A verification email was sent too recently. Possible domain specific `type` values are:\n  * VerificationEmailRecentlySent\n"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Resend the Email-Address verification email. Replaced by `POST` `/v2/users/self/credentials/email/actions/resend-email`.\n","tags":["User"]}},"/v2/user/{userId}/avatar":{"delete":{"operationId":"deprecated-user-service-avatar-remove","deprecated":true,"description":"Use /v2/users/{userId}/avatar instead.","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Avatar removal was successful"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove Avatar","tags":["User"]},"post":{"operationId":"deprecated-user-service-avatar-request-upload","deprecated":true,"description":"Use /v2/users/{userId}/avatar instead.","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"refId":{"format":"uuid","type":"string"},"rules":{"properties":{"maxSizeInKB":{"type":"integer"},"mimeTypes":{"items":{"type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}},"required":["mimeTypes","maxSizeInKB"],"type":"object"}},"required":["refId","rules"],"type":"object"}}},"description":"Avatar upload request was successful. Use the `refId` to upload your avatar to the /v2/files/:refId"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a new avatar upload","tags":["User"]}},"/v2/user/feedback":{"post":{"operationId":"deprecated-user-service-feedback-create","deprecated":true,"description":"Use /v2/users/self/feedback instead.","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"message":{"maxLength":5000,"type":"string"},"origin":{"maxLength":1000,"type":"string"},"subject":{"maxLength":100,"minLength":1,"type":"string"},"vote":{"maximum":10,"minimum":0,"type":"number"}},"required":["origin","subject","vote"],"type":"object"}}},"description":"The user feedback"},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object"}}},"description":""},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Submit user feedback","tags":["User"]},"get":{"operationId":"deprecated-user-service-feedback-list","deprecated":true,"description":"Use /v2/users/{userId}/feedback instead.","parameters":[{"in":"query","name":"subject","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.user.UserFeedback"},"type":"array"}}},"description":"A list of feedback submitted by the user"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Returns your submitted feedback","tags":["User"]}},"/v2/user/issues":{"post":{"operationId":"deprecated-user-service-issue-new","deprecated":true,"description":"was replaced by /v2/users/self/feedback.","requestBody":{"content":{"application/json":{"schema":{"properties":{"message":{"maxLength":1000000,"type":"string"},"origin":{"type":"string"},"subject":{"type":"string"},"type":{"enum":["feedback","bug"],"type":"string"}},"required":["type","message"],"type":"object"}}},"description":"Submit an issue."},"responses":{"201":{"description":"Issue created"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"create a new issue","tags":["User"]}},"/v2/user/{userId}":{"put":{"operationId":"deprecated-user-service-personal-information-update","deprecated":true,"description":"Use /v2/users/{userId} instead.","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"}},"required":["person"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Your personal information has been changed"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change your personal information","tags":["User"]},"get":{"operationId":"deprecated-user-service-user-get","deprecated":true,"description":"Use /v2/users/{userId} instead.","parameters":[{"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.user.User"}}},"description":"The Profile"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get profile information for the specified user if the user is related to the executing user","tags":["User"]}},"/v2/user/settings":{"get":{"operationId":"deprecated-user-service-personalized-settings-get","deprecated":true,"description":"Use /v2/users/{userId}/settings instead.","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"settingsString":{"type":"string"}},"type":"object"}}},"description":"The settingsString"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get personalized settings for the user executing the request","tags":["User"]},"put":{"operationId":"deprecated-user-service-personalized-settings-update","deprecated":true,"description":"Use /v2/users/{userId}/settings instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"settingsString":{"type":"string"}},"required":["settingsString"],"type":"object"}}},"required":true},"responses":{"204":{"description":"PersonalSettings have been updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"update personalized settings","tags":["User"]}},"/v2/user/{userId}/phone":{"post":{"operationId":"deprecated-user-service-phone-number-add","deprecated":true,"description":"use /v2/users/{userId}/phone instead.","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"phoneNumber":{"type":"string"}},"required":["phoneNumber"],"type":"object"}}},"required":true},"responses":{"204":{"description":"PhoneNumber was added successfully. Now, it can be verified under /v2/user/{userId}/phone/verify"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Add phone number and init verification process","tags":["User"]},"delete":{"operationId":"deprecated-user-service-phone-number-remove","deprecated":true,"description":"Use /v2/users/{userId}/phone instead.","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"PhoneNumber removal was successful"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"remove your PhoneNumber","tags":["User"]}},"/v2/user/{userId}/phone/verify":{"post":{"operationId":"deprecated-user-service-phone-number-verify","deprecated":true,"description":"Instead, use /v2/users/{userId}/actions/verify-phone or alternatively /v2/users/{userId}/phone/verify.","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"code":{"example":"123456","type":"string"},"phoneNumber":{"example":"+491701234567","type":"string"}},"required":["phoneNumber","code"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The PhoneNumber has been verified"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Verify phone number","tags":["User"]}},"/v2/user":{"get":{"operationId":"deprecated-user-service-user-get-own","deprecated":true,"description":"Use /v2/users/{userId} instead.","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.user.User"}}},"description":"The Profile"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get profile information for the executing user","tags":["User"]}},"/v2/signup/sessions":{"delete":{"operationId":"deprecated-user-terminate-all-sessions","deprecated":true,"responses":{"200":{"description":"All sessions terminated."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Terminate all sessions, except the current session. Replaced by `DELETE` `/v2/users/self/sessions`.","tags":["User"]},"get":{"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all sessions.","tags":["User"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"description":"This route is deprecated. Please use /v2/users/self/sessions instead.","deprecated":true}},"/v2/signup/sessions/{tokenId}":{"delete":{"operationId":"deprecated-user-terminate-session","deprecated":true,"parameters":[{"description":"TokenId to identify the concrete session.","in":"path","name":"tokenId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Session terminated."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Terminate a specific Session. Replaced by `DELETE` `/v2/users/self/sessions/{tokenId}`.","tags":["User"]},"get":{"parameters":[{"description":"TokenId to identify a specific session.","in":"path","name":"tokenId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific session.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/sessions/{tokenId} instead.","deprecated":true}},"/v2/signup/email/verify":{"post":{"operationId":"deprecated-user-verify-email","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"The Email-Address to verify.","example":"ada.lovelace@example.com","format":"email","type":"string"},"token":{"description":"The token found in the verification email.","example":"123456","type":"string"}},"required":["email"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Email has been verified."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\nPossible domain specific `type` values are:\n  * WrongVerificationToken\n  * EmailNotFound\n  * WrongVerificationToken\n  * EmailAddressAlreadyVerified\n"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Verify an added Email-Address. Replaced by `POST` `/v2/users/self/credentials/email/actions/verify-email`.","tags":["User"]}},"/v2/projects/{projectId}/dns-zone-imports":{"post":{"operationId":"dns-create-dns-zone-file-import","description":"Parses an uploaded RFC-1035 zone file and returns the structured import plan: the importable target DNSZones (one per distinct owner name, with the record sets that would be set) plus a flat list of conflicts explaining everything that will not be imported (invalid records, unsupported record types, CNAME conflicts, placement problems, parse errors). With dryRun=true this is all it does — a side-effect-free preview, nothing is created. Otherwise it also starts the import and returns the created job id. The import is all-or-nothing: if the zone file has any conflict the request is rejected with 412 and no job is created — resolve the conflicts (visible in the dry-run preview) and retry, since a half-imported zone file would leave DNS in a confusing half-state. An identical import still running for the project is rejected with 409. Existing zones are overwritten. Poll GET /v2/dns-zone-imports/{zoneFileImportId} for status.","parameters":[{"description":"ID of the Project to import into.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"When true, only preview the import (no zones are created and no import job is started).","in":"query","name":"dryRun","required":false,"schema":{"default":false,"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"zoneFile":{"description":"Raw RFC-1035 zone file content to import, at most 256 KiB and 1000 distinct owner names.","maxLength":262144,"type":"string"}},"required":["zoneFile"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.dns.CreateZoneFileImportResponse"}}},"description":"The import plan (zones + conflicts); on a real import also the created job id."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Import a DNS zone file into a Project, or preview it with dry-run.","tags":["Domain"]},"get":{"operationId":"dns-list-dns-zone-file-imports","description":"Returns the DNS zone-file import jobs of the Project, newest state per job (status plus the imported/skipped zones). Sorted by creation date, newest first, by default; paginated. Project-scoped and authorized on the Project.","parameters":[{"description":"ID of the Project to list import jobs for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["createdAt"],"default":"createdAt"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.ZoneFileImport"},"type":"array"}}},"description":"A list of DNS zone-file import jobs, sorted by creation timestamp (newest first) unless specified otherwise.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List DNS zone-file import jobs belonging to a Project.","tags":["Domain"]}},"/v2/dns/zones":{"post":{"deprecated":true,"description":"This route is deprecated. Please use /v2/dns-zones instead.","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"format":"idn-dnsname","type":"string"},"parentZoneId":{"format":"uuid","type":"string"}},"required":["name","parentZoneId"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a DNSZone (deprecated).","tags":["Domain"]}},"/v2/dns-zones":{"post":{"operationId":"dns-create-dns-zone","deprecated":true,"description":"This operation is deprecated. Use POST v2/projects/{projectId}/dns-zones instead, which creates the zone for a domain (root or subzone) and guards root zones behind a verified ingress.","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"format":"idn-dnsname","type":"string"},"parentZoneId":{"format":"uuid","type":"string"}},"required":["name","parentZoneId"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"The ID of the created DNSZone."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a DNSZone (deprecated).","tags":["Domain"]}},"/v2/projects/{projectId}/dns-zones":{"post":{"operationId":"dns-create-project-dns-zone","description":"Creates a DNSZone for a verified Ingress in a Project. The service resolves whether the domain is a root zone or a subzone and creates it accordingly. This lets a project prepare DNS for a domain that is not yet hosted at mittwald once ownership has been proven via a verified vHost. A subzone requires an existing root zone that belongs to the same customer as the Project.","parameters":[{"description":"ID of the Project to create the DNSZone in.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"description":"Fully-qualified name of the DNSZone to create (e.g. example.com or _autoconfig.example.com). The backend resolves root vs subzone via the public suffix list.","format":"idn-dnsname","type":"string"}},"required":["name"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"The ID of the created DNSZone."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a DNSZone for a verified Ingress in a Project.","tags":["Domain"]},"get":{"operationId":"dns-list-dns-zones","parameters":[{"description":"ID of the Project to list DNSZones for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.dns.Zone"},"type":"array"}}},"description":"An array of DNSZone objects."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List DNSZones belonging to a Project.","tags":["Domain"]}},"/v2/dns/zones/{dnsZoneId}":{"delete":{"parameters":[{"description":"The ID of the DNSZone to be deleted.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a DNSZone.","tags":["Domain"],"description":"This route is deprecated. Please use /v2/dns-zones/{dnsZoneId} instead.","deprecated":true},"get":{"parameters":[{"description":"The ID of the zone to be retrieved.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a DNSZone.","tags":["Domain"],"description":"This route is deprecated. Please use /v2/dns-zones/{dnsZoneId} instead.","deprecated":true}},"/v2/dns-zones/{dnsZoneId}":{"delete":{"operationId":"dns-delete-dns-zone","parameters":[{"description":"The ID of the DNSZone to be deleted.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a DNSZone.","tags":["Domain"]},"get":{"operationId":"dns-get-dns-zone","parameters":[{"description":"The ID of the zone to be retrieved.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.dns.Zone"}}},"description":"The requested DNSZone."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a DNSZone.","tags":["Domain"]}},"/v2/dns-zone-imports/{zoneFileImportId}":{"get":{"operationId":"dns-get-dns-zone-file-import","parameters":[{"description":"ID of the import job (returned when the import is created).","in":"path","name":"zoneFileImportId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.dns.ZoneFileImport"}}},"description":"The import job status."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the status of a DNS zone-file import job.","tags":["Domain"]}},"/v2/dns-zones/{dnsZoneId}/zone-file":{"get":{"operationId":"dns-get-zone-file","description":"Returns a BIND-compliant DNS zone file per RFC 1035 for the specified dnsZoneId, including all sub zone information. Entering the dnsZoneId of a sub zone will result in an error.","parameters":[{"description":"ID of the DNSZone to get a zone file for.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"Returns the zone file as plain text."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a zone file for a DNSZone.","tags":["Domain"]}},"/v2/projects/{projectId}/dns/zones":{"get":{"parameters":[{"description":"ID of the Project to list DNSZones for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List DNSZones belonging to a Project.","tags":["Domain"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/dns-zones instead.","deprecated":true}},"/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed":{"post":{"operationId":"dns-set-record-set-managed","parameters":[{"description":"The ID of the DNSZone to set a record set to managed for.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The record set to set to managed.","in":"path","name":"recordSet","required":true,"schema":{"enum":["a","mx"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ingressId":{"format":"uuid","type":"string"}},"type":"object"}}},"description":"The ID of the Ingress the a-records were set for, or an empty object if mx-records were set."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Set a record set on a DNSZone to managed.","tags":["Domain"]}},"/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}":{"put":{"operationId":"dns-update-record-set","parameters":[{"description":"The ID of the DNSZone to update a record set for.","in":"path","name":"dnsZoneId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"The record set to be updated.","in":"path","name":"recordSet","required":true,"schema":{"enum":["a","mx","txt","srv","cname","caa"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordUnset"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.CombinedACustom"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordMXCustom"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordTXTComponent"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordSRVComponent"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCNAMEComponent"},{"$ref":"#/components/schemas/de.mittwald.v1.dns.RecordCAAComponent"}]}}},"required":true},"responses":{"204":{"description":"Record set updated."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a record set on a DNSZone.","tags":["Domain"]}},"/v2/domains/{domainId}/declarations":{"delete":{"description":"This route is deprecated. Please use /v2/domains/{domainId}/declaration instead.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Abort a Domain declaration.","tags":["Domain"],"deprecated":true}},"/v2/domains/{domainId}/declaration":{"delete":{"operationId":"domain-abort-domain-declaration","description":"Abort an incomplete Domain registration/transfer.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Abort a Domain declaration.","tags":["Domain"]}},"/v2/domains/{domainId}/scheduled-deletion":{"delete":{"operationId":"domain-cancel-scheduled-deletion","parameters":[{"examples":{"shortId":{"value":"my-domain.example"},"uuid":{"value":"XXXXXXXX-XXXX-4XXX-XXXX-XXXXXXXXXXXX"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel a scheduled deletion of a Domain.","tags":["Domain"]},"post":{"operationId":"domain-create-scheduled-deletion","parameters":[{"examples":{"shortId":{"value":"my-domain.example"},"uuid":{"value":"XXXXXXXX-XXXX-4XXX-XXXX-XXXXXXXXXXXX"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"deleteIngresses":{"description":"Whether to also delete the corresponding Ingress and subdomain Ingresses.","type":"boolean"},"deletionDate":{"format":"date-time","type":"string"}},"required":["deletionDate"]}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a scheduled deletion of a Domain.","tags":["Domain"]}},"/v2/authinfo2/check-domain":{"post":{"operationId":"domain-check-authinfo2","description":"Answers 200 with eligible = false and the reason when no AuthInfo2 can be requested for the domain. At most one reason is true. Answers 400 for a domain that is not a .de domain and 503 if DENIC is not reachable.","requestBody":{"content":{"application/json":{"schema":{"properties":{"domain":{"format":"naked-domain","type":"string"}},"required":["domain"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"eligible":{"type":"boolean"},"reasons":{"properties":{"alreadyManaged":{"description":"The domain is already managed by mittwald; no AuthInfo2 is needed.","type":"boolean"},"notRegistered":{"description":"The domain is not registered at DENIC.","type":"boolean"},"recentlyTriggered":{"description":"An AuthInfo2 was requested for this domain within the last 30 days.","type":"boolean"}},"required":["notRegistered","alreadyManaged","recentlyTriggered"],"type":"object"}},"required":["eligible","reasons"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check if a Domain is eligible for AuthInfo2.","tags":["Domain"]}},"/v2/domain-registrable":{"post":{"operationId":"domain-check-domain-registrability","description":"If false, you have to start a transfer with an auth code instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"domain":{"format":"naked-domain","type":"string"}},"required":["domain"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"isPremium":{"type":"boolean"},"registrable":{"type":"boolean"}},"required":["registrable","isPremium"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Check if a Domain is available to register.","tags":["Domain"]}},"/v2/domain-transferable":{"post":{"operationId":"domain-check-domain-transferability","description":"For some TLDs (e.g., .de), transferability cannot be evaluated. In these cases, transferable = true is returned.","requestBody":{"content":{"application/json":{"schema":{"properties":{"authCode":{"type":"string"},"domain":{"format":"naked-domain","type":"string"},"projectId":{"description":"Target project of the transfer. If given, the domain is reported as not transferable (reason enabledIngressInOtherProject) when an enabled ingress for it already exists in another project.","format":"uuid","type":"string"}},"required":["domain"]}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.TransferabilityResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Check if a Domain is available to transfer.","tags":["Domain"]}},"/v2/domains/{domainId}/actions/create-authcode":{"post":{"parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an auth code for a Domains transfer-out process.","tags":["Domain"],"description":"This route is deprecated. Please use /v2/domains/{domainId}/actions/auth-code instead.","deprecated":true}},"/v2/domains/{domainId}/actions/auth-code":{"post":{"operationId":"domain-create-domain-auth-code","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"authCode":{"type":"string"},"expirationDate":{"format":"date-time","type":"string"}},"required":["authCode"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an auth code for a Domains transfer-out process.","tags":["Domain"]}},"/v2/domains/{domainId}":{"delete":{"operationId":"domain-delete-domain","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}},{"description":"Only for .de Domains","in":"query","name":"transit","schema":{"type":"boolean"}},{"description":"Whether to also delete the corresponding Ingress and subdomain Ingresses.","in":"query","name":"deleteIngresses","schema":{"type":"boolean"}}],"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.SuccessResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Domain.","tags":["Domain"]},"get":{"operationId":"domain-get-domain","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.domain.Domain"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Domain.","tags":["Domain"]}},"/v2/contact-verifications/{contactVerificationId}":{"get":{"operationId":"domain-get-contact-verification","parameters":[{"in":"path","name":"contactVerificationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerification"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Contact-Verification.","tags":["Domain"]}},"/v2/domains/latest-screenshot":{"get":{"operationId":"domain-get-latest-screenshot","parameters":[{"in":"query","name":"domainName","required":true,"schema":{"example":"example.com","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"reference":{"type":"string"}},"type":"object"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the latest screenshot's FileReference belonging to a Domain.","tags":["Domain"]}},"/v2/contact-verifications":{"get":{"operationId":"domain-list-contact-verifications","parameters":[{"description":"Filters results by the verification value. The expected format depends on the verification type, for example a name for type 'name' or an email address for type 'email'.","in":"query","name":"value","required":false,"schema":{"type":"string"}},{"in":"query","name":"type","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerificationType"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.ContactVerification"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Contact-Verifications belonging to the executing user.","tags":["Domain"]}},"/v2/domain-tlds/{tld}/contact-schemas":{"get":{"operationId":"domain-list-tld-contact-schemas","description":"List the contact schemas describing the fields required to register/transfer a Domain.","parameters":[{"description":"The top level domain to retrieve the schemas for.","example":"de","in":"path","name":"tld","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"jsonSchemaAdminC":{"type":"object"},"jsonSchemaOwnerC":{"type":"object"}},"required":["jsonSchemaOwnerC"],"type":"object"}}},"description":"The JSON-Schema objects."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List the contact schemas for a TLD.","tags":["Domain"]}},"/v2/domains/supported-tlds":{"get":{"description":"This route is deprecated. Please use /v2/domain-tlds instead.","responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[],"summary":"List TLDs.","tags":["Domain"],"deprecated":true}},"/v2/domain-tlds":{"get":{"operationId":"domain-list-tlds","description":"List the top level domains currently supported by our API.","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.TopLevel"},"type":"array"}}},"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List TLDs.","tags":["Domain"]}},"/v2/projects/{projectId}/domain-migrations":{"get":{"operationId":"domain-migration-list-migrations-by-project-id","parameters":[{"description":"ID of the Project to list Domain-Migrations for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domainmigration.Migration"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Domain-Migrations belonging to a Project.","tags":["Domain"]}},"/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email":{"post":{"operationId":"domain-resend-contact-verification-email","deprecated":true,"description":"This operation is deprecated. Use the POST /v2/domains/{domainId}/actions/resend-email endpoint instead.","parameters":[{"in":"path","name":"contactVerificationId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Resends a Contact-Verification email.","tags":["Domain"]}},"/v2/domains/{domainId}/actions/resend-email":{"post":{"operationId":"domain-resend-domain-email","description":"Trigger a resend of the e-mail the owner must act on: the registrar's registrant verification or transfer confirmation e-mail or, for .de Domains, the verification e-mail of the owner's contact verification. Fails with 412 if the owner is already verified or the last e-mail was sent less than 15 minutes ago (.de).","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Resend a Domain email.","tags":["Domain"]}},"/v2/domain-suggestions":{"get":{"operationId":"domain-suggest","parameters":[{"in":"query","name":"prompt","required":true,"schema":{"maxLength":500,"type":"string"}},{"in":"query","name":"domainCount","required":false,"schema":{"default":6,"maximum":30,"minimum":1,"type":"integer"}},{"in":"query","name":"tlds","required":false,"schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.domain.SuggestedDomains"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Suggest a list of domains based on a prompt using AI.","tags":["Domain"]}},"/v2/domains/{domainId}/authcode":{"patch":{"description":"This route is deprecated. Please use /v2/domains/{domainId}/auth-code instead.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"authCode":{"minLength":4,"type":"string"}},"required":["authCode"]}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the auth code of a Domain.","tags":["Domain"],"deprecated":true}},"/v2/domains/{domainId}/auth-code":{"patch":{"operationId":"domain-update-domain-auth-code","description":"Update an incorrect auth code of an ongoing/failed Domain transfer. This route will also restart the transfer itself.","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"authCode":{"minLength":4,"type":"string"}},"required":["authCode"]}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.SuccessResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the auth code of a Domain.","tags":["Domain"]}},"/v2/domains/{domainId}/contacts/{contact}":{"patch":{"operationId":"domain-update-domain-contact","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}},{"in":"path","name":"contact","required":true,"schema":{"enum":["owner"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"avoidEmailConfirmation":{"description":"Whether to avoid the email confirmation if possible. If set to true, a transfer lock of 60 days might be applied to the domain.","type":"boolean"},"contact":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.domain.HandleField"},"minItems":1,"type":"array"}},"required":["contact"]}}},"description":"The new contact data of the Domain.","required":true},"responses":{"200":{"$ref":"#/components/responses/de.mittwald.v1.domain.SuccessResponse"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a contact of a Domain.","tags":["Domain"]}},"/v2/domains/{domainId}/project-id":{"patch":{"operationId":"domain-update-domain-project-id","parameters":[{"examples":{"shortId":{"value":"my-domain.de"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"domainId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"projectId":{"format":"uuid","type":"string"}}}}},"required":true},"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Domain's project id.","tags":["Domain"]}},"/v2/extension-instances/{extensionInstanceId}/tokens":{"post":{"operationId":"extension-authenticate-instance","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"extensionInstanceSecret":{"description":"The latest secret an external application received via lifecycle webhooks.\nNamely ExtensionAddedToContext and ExtensionInstanceSecretRotated.\n","type":"string"}},"required":["extensionInstanceSecret"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"expiry":{"format":"date-time","type":"string"},"publicToken":{"description":"Set this in the 'x-access-token' header when performing domain actions.","type":"string"}},"required":["publicToken","expiry"],"type":"object"}}},"description":"You received a public token with a short expiry. You can now perform domain actions."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Authenticate your external application using the extensionInstanceSecret.","tags":["Marketplace"]}},"/v2/authenticate-session-token":{"post":{"operationId":"extension-authenticate-with-session-token","requestBody":{"content":{"application/json":{"schema":{"properties":{"extensionSecret":{"description":"The secret you you generated for your extension.","type":"string"},"sessionToken":{"description":"The session token you received from the mStudio.","type":"string"}},"required":["sessionToken"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"expiry":{"format":"date-time","type":"string"},"publicToken":{"description":"Set this in the 'x-access-token' header when performing domain actions.","type":"string"}},"required":["publicToken","expiry"],"type":"object"}}},"description":"You received a public token with a short expiry. You can now perform domain actions."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Authenticate your external application using a session token and an extension secret","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/termination":{"delete":{"operationId":"extension-cancel-extension-termination","parameters":[{"example":"d7238330-e080-494c-a7d4-9b3abf2e0764","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"extensionInstanceId":{"format":"uuid","type":"string"}},"required":["extensionInstanceId"]}}},"description":"The Termination was cancelled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel an Extension Instance Termination.","tags":["Marketplace"]},"post":{"operationId":"extension-schedule-extension-termination","parameters":[{"example":"d7238330-e080-494c-a7d4-9b3abf2e0764","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"instantTermination":{"description":"If set, the Extension Instance will be removed as fast as possible. No credit will be given.","type":"boolean"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"extensionInstanceId":{"format":"uuid","type":"string"}},"required":["extensionInstanceId"]}}},"description":"A Termination was scheduled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Schedule an Extension Instance Termination for the next possible date.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/contract/variant-change":{"delete":{"operationId":"extension-cancel-extension-variant-change","parameters":[{"example":"d7238330-e080-494c-a7d4-9b3abf2e0764","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"extensionInstanceId":{"format":"uuid","type":"string"}},"required":["extensionInstanceId"]}}},"description":"The Variant Change was cancelled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Cancel an Extension Instance Variant Change.","tags":["Marketplace"]},"post":{"operationId":"extension-schedule-extension-variant-change","parameters":[{"example":"d7238330-e080-494c-a7d4-9b3abf2e0764","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"targetVariantKey":{"description":"The target variant key to change to.","type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"effectiveDate":{"description":"The Date the variant change will be executed.","format":"date-time","type":"string"},"extensionInstanceId":{"description":"The ID of the Extension Instance the variant change was scheduled for.","format":"uuid","type":"string"}}}}},"description":"A Variant Change was scheduled."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Schedule an Extension Instance Variant change for the next possible date.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/context":{"put":{"operationId":"extension-change-context","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"}},"required":["context"],"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"cleaningUpInstances":{"description":"If this value is true the context will change asynchronously after removing all extension-instances of this extension.","example":true,"type":"boolean"},"currentContext":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"id":{"format":"uuid","type":"string"}},"required":["id","currentContext","cleaningUpInstances"],"type":"object"}}},"description":"The Extension context-change has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change the context of an Extension.","tags":["Marketplace"]}},"/v2/extensions/{extensionId}/contexts/{contextId}/chargability":{"get":{"operationId":"extension-check-extension-is-chargable","parameters":[{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"contextId","required":true,"schema":{"type":"string"}},{"in":"query","name":"variantKey","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"chargeability":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstanceChargeability"}},"required":["chargeability"],"type":"object"}}},"description":"The calculated chargeability of an extension instance to be created."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Check if an Extension is unchargable for this specific context or if it must be charged.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/scopes":{"patch":{"operationId":"extension-consent-to-extension-scopes","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"consentedScopes":{"items":{"type":"string"},"type":"array"}},"required":["consentedScopes"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The scopes have been applied."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Consent to extension scopes.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/onboarding-process":{"post":{"operationId":"extension-create-contributor-onboarding-process","description":"The OnboardingProcess is needed to publish paid extensions.","parameters":[{"examples":{"shortId":{"value":"1900000"},"uuid":{"value":"72830cb2-b5b9-4f86-b6f5-e12e13787af6"}},"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"shippingCountryRestriction":{"description":"You can restrict your customers to certain countries.","enum":["onlyDomestic"],"type":"string"}},"required":["shippingCountryRestriction"],"type":"object"}}},"required":false},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"contributorId":{"format":"uuid","type":"string"},"onboardingLink":{"type":"string"}},"type":"object"}}},"description":"The Process has been started."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create the OnboardingProcess of a Contributor.","tags":["Marketplace"]}},"/v2/extension-instances":{"post":{"operationId":"extension-create-extension-instance","requestBody":{"content":{"application/json":{"schema":{"properties":{"consentedScopes":{"items":{"type":"string"},"type":"array"},"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"contextId":{"format":"uuid","type":"string"},"extensionId":{"format":"uuid","type":"string"},"variantKey":{"type":"string"}},"required":["extensionId","consentedScopes","context","contextId"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"]}}},"description":"The ExtensionInstance ID."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"You either have insufficient access to the extension context or are not allowed to install this extension for free. In the latter case, you need to order the extension instead via POST /v2/extensions/{extensionId}/checkout"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an ExtensionInstance.","tags":["Marketplace"]},"get":{"operationId":"extension-list-extension-instances","parameters":[{"in":"query","name":"context","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"}},{"description":"The ID of your customer or project.","in":"query","name":"contextId","required":false,"schema":{"type":"string"}},{"in":"query","name":"extensionId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"A case-insensitive regular expression, matched anywhere in the extension's name or German or English subtitle. Escape special characters such as `.`, `+`, `(` or `[` with a backslash to match them literally, e.g. `\\(GmbH\\)`. A complete extension instance, extension or contributor ID is matched exactly. A malformed expression is rejected with status 400.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"in":"query","name":"anchor","required":false,"schema":{"type":"string"}},{"in":"query","name":"hasAcceptedAllScopes","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"contract.interactionRequired","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"parentCustomerId","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["createdAt","extensionId","extensionName","unacceptedScopeChanges","contract.interactionRequired"]},"default":["createdAt"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["asc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstance"},"type":"array"}}},"description":"A list of extension instances.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List ExtensionInstances.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/actions/create-access-token-retrieval-key":{"post":{"operationId":"extension-create-retrieval-key","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"accessTokenRetrievalKey":{"type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["accessTokenRetrievalKey","userId"],"type":"object"}}},"description":"An access token retrieval key. This key can be used to retrieve a scoped access token from an external application."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an access token retrieval key for an extension instance.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}":{"delete":{"operationId":"extension-delete-extension-instance","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The ExtensionInstance has been removed. It will be cleaned up in the background."},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a free ExtensionInstance. If the Extension is chargable the contract must be terminated instead.","tags":["Marketplace"]},"get":{"operationId":"extension-get-extension-instance","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstance"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an ExtensionInstance.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}":{"delete":{"operationId":"extension-delete-extension","description":"Start the deletion period of the Extension.","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"reason":{"type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"The Extension will be removed in 60 days. All ExtensionInstances will remain at least 30 Days."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete an Extension.","tags":["Marketplace"]},"get":{"operationId":"extension-get-own-extension","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.OwnExtension"}}},"description":"Get your own extension."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get Extension of own contributor.","tags":["Marketplace"]},"patch":{"operationId":"extension-patch-extension","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"assets":{"description":"Used to patch asset order.","items":{"format":"uuid","type":"string"},"type":"array"},"deprecation":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionDeprecation"},"description":{"type":"string"},"detailedDescriptions":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DetailedDescriptions"}],"nullable":true},"externalFrontends":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"nullable":true,"type":"array"},"frontendFragments":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.FrontendFragment"},"nullable":true,"type":"object"},"name":{"type":"string"},"scopes":{"items":{"type":"string"},"type":"array"},"subTitle":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SubTitle"},"support":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},"tags":{"items":{"type":"string"},"type":"array"},"webhookUrls":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrls"}],"nullable":true}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.OwnExtension"}}},"description":"The extension has been patched."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Patch Extension.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/actions/disable":{"post":{"operationId":"extension-disable-extension-instance","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Disable an ExtensionInstance.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/actions/enable":{"post":{"operationId":"extension-enable-extension-instance","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Enable an ExtensionInstance.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/secret":{"post":{"operationId":"extension-generate-extension-secret","description":"This generates a new Extension secret for the given Extension.\nIf an Extension secret existed previously, it will deprecate the existing secret.\nThis means, it will be invalidated after approximately one day.\n","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"secret":{"type":"string"},"secretId":{"format":"uuid","type":"string"}},"required":["secretId","secret"],"type":"object"}}},"description":"A new Extension secret has been generated."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Generate an Extension secret for the given Extension.","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/sessions/{sessionId}":{"post":{"operationId":"extension-generate-session-token","parameters":[{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the session. Use this to receive session tokens with a stable identifier so that extensions have the possibility to store session information.","in":"path","name":"sessionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"sessionToken":{"type":"string"}},"required":["sessionToken"],"type":"object"}}},"description":"The generated session token"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Generate a session token to transmit it to the extensions frontend fragment.","tags":["Marketplace"]}},"/v2/customers/{customerId}/extension-orders":{"get":{"operationId":"extension-get-customer-extension-instance-orders","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"context":{"enum":["project","customer"],"type":"string"},"extensionId":{"type":"string"},"referencedId":{"type":"string"}},"type":"object"},"type":"array"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all open extension orders for given customer","tags":["Marketplace"]}},"/v2/extension-instances/{extensionInstanceId}/contract":{"get":{"operationId":"extension-get-extension-instance-contract","parameters":[{"example":"fbc49def-2e87-4874-8e30-a0dabe59e008","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.extension.ExtensionInstanceContract"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the Contract Strategy of an Extension Instance","tags":["Marketplace"]},"put":{"operationId":"extension-update-extension-instance-contract","description":"Call to update Contract for existing Extension Instances. For example to accept a new Pricing.","parameters":[{"example":"907a24e9-0723-4566-b584-86578419e983","in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"variantKey":{"description":"The Variant Key of the selected Variant of the Extension. This is only required if the Extension has multiple Variants.","example":"default","type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"The Price Update has successfully confirmed."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update or Create Contract for existing Extension Instances.","tags":["Marketplace"]}},"/v2/customers/{customerId}/extensions/{extensionId}":{"get":{"operationId":"extension-get-extension-instance-for-customer","parameters":[{"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstance"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the ExtensionInstance of a specific customer and extension, if existing.","tags":["Marketplace"]}},"/v2/projects/{projectId}/extensions/{extensionId}":{"get":{"operationId":"extension-get-extension-instance-for-project","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstance"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the ExtensionInstance of a specific project and extension, if existing.","tags":["Marketplace"]}},"/v2/extensions/{extensionId}":{"get":{"operationId":"extension-get-extension","parameters":[{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Extension"},{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.UnpublishedExtension"}]}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get an Extension.","tags":["Marketplace"]}},"/v2/projects/{projectId}/extension-orders":{"get":{"operationId":"extension-get-project-extension-instance-orders","parameters":[{"examples":{"shortId":{"value":"p-pkrjw1"},"uuid":{"value":"95e64f67-a49e-4446-968c-f74da2df3a9d"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"context":{"enum":["project","customer"],"type":"string"},"extensionId":{"type":"string"},"referencedId":{"type":"string"}},"type":"object"},"type":"array"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all open extension orders for given project","tags":["Marketplace"]}},"/v2/webhook-public-keys/{serial}":{"get":{"parameters":[{"description":"The serial id of a specific public key. Use `latest` to get the latest public key.","in":"path","name":"serial","required":true,"schema":{"example":"latest","type":"string"}},{"description":"The purpose of the public key. Use `webhook` to get the public key for webhook verification.","in":"query","name":"purpose","required":false,"schema":{"default":"webhook","enum":["webhook","session_token"],"example":"webhook","type":"string"}},{"description":"The expected format of the public key. Defaults to raw base64 encoded.","in":"query","name":"format","required":false,"schema":{"default":"raw","enum":["raw","spki"],"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[],"summary":"Get the public key to verify the webhook signature.","tags":["Marketplace"],"description":"This route is deprecated. Please use /v2/public-keys/{serial} instead.","deprecated":true}},"/v2/public-keys/{serial}":{"get":{"operationId":"extension-get-public-key","parameters":[{"description":"The serial id of a specific public key. Use `latest` to get the latest public key.","in":"path","name":"serial","required":true,"schema":{"example":"latest","type":"string"}},{"description":"The purpose of the public key. Use `webhook` to get the public key for webhook verification.","in":"query","name":"purpose","required":false,"schema":{"default":"webhook","enum":["webhook","session_token"],"example":"webhook","type":"string"}},{"description":"The expected format of the public key. Defaults to raw base64 encoded.","in":"query","name":"format","required":false,"schema":{"default":"raw","enum":["raw","spki"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.PublicKey"}}},"description":"Use this public key to verify the webhook signature on your end."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get the public key to verify the webhook signature.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/secret/{extensionSecretId}":{"delete":{"operationId":"extension-invalidate-extension-secret","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"extensionSecretId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The Extension secret has been invalidated and cannot be used anymore."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Invalidate the given Extension secret immediately.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/webhook-executions":{"get":{"operationId":"extension-list-all-extension-instance-webhook-executions","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"query","name":"extensionId","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"extensionInstanceId","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"state","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstanceWebhookExecutionState"},"type":"array"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["attempts","nextScheduledExecution"]},"default":["nextScheduledExecution"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["desc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExtensionInstanceWebhookExecution"},"type":"array"}}},"description":"A list of webhook executions.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all Webhook Executions.","tags":["Marketplace"]}},"/v2/contributors":{"get":{"operationId":"extension-list-contributors","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Contributor"},"type":"array"}}},"description":"A List of Contributors within the mStudio.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List Contributors.","tags":["Marketplace"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["name"],"default":"name"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"required":false}]}},"/v2/extensions":{"get":{"operationId":"extension-list-extensions","parameters":[{"in":"query","name":"context","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"}},{"description":"A case-insensitive regular expression, matched anywhere in the extension's name, description, German or English subtitle and context. Escape special characters such as `.`, `+`, `(` or `[` with a backslash to match them literally, e.g. `\\(GmbH\\)`. A complete extension or contributor ID is matched exactly. A malformed expression is rejected with status 400.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeDeprecated","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"includeFree","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"includeChargeable","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["name","pricing.priceInCents","relevance"],"default":"name"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Extension"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"List Extensions.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions":{"get":{"operationId":"extension-list-own-extensions","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.OwnExtension"},"type":"array"}}},"description":"A list of extensions of the contributor.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Extensions of own contributor.","tags":["Marketplace"]},"post":{"operationId":"extension-register-extension","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"context":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.Context"},"description":{"type":"string"},"detailedDescriptions":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DetailedDescriptions"},"externalFrontend":{"deprecated":true,"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"externalFrontends":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.ExternalComponent"},"type":"array"},"frontendFragments":{"additionalProperties":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.FrontendFragment"},"type":"object"},"name":{"type":"string"},"scopes":{"items":{"type":"string"},"type":"array"},"subTitle":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SubTitle"},"support":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.SupportMeta"},"tags":{"items":{"type":"string"},"type":"array"},"webhookURLs":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrls"},{"deprecated":true,"type":"object"}]},"webhookUrls":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.WebhookUrls"}},"required":["name"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"The extension has been registered."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Register an Extension.","tags":["Marketplace"]}},"/v2/scopes":{"get":{"operationId":"extension-list-scopes","responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"name":{"example":"user:read","type":"string"}},"required":["name"],"type":"object"},"type":"array"}}},"description":"A list of possible scopes for the mStudio."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"List Scopes.","tags":["Marketplace"]}},"/v2/extensions/{extensionId}/order":{"post":{"operationId":"extension-order-extension","parameters":[{"example":"907a24e9-0723-4566-b584-86578419e983","in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"properties":{"consentedScopes":{"items":{"type":"string"},"type":"array"},"customerId":{"description":"The customer the extension should be booked for. Either customerId or projectId is required.","format":"uuid","type":"string"},"variantKey":{"description":"The Variant Key of the selected Variant of the Extension. This is only required if the Extension has multiple Variants.","example":"default","type":"string"}},"required":["consentedScopes","customerId"],"type":"object"},{"properties":{"consentedScopes":{"items":{"type":"string"},"type":"array"},"projectId":{"description":"The project the extension should be installed in. Either customerId or projectId is required.","format":"uuid","type":"string"},"variantKey":{"description":"The Variant Key of the selected Variant of the Extension. This is only required if the Extension has multiple Variants.","example":"default","type":"string"}},"required":["consentedScopes","projectId"],"type":"object"}]}}}},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"Order successful. Extension will be installed in the background."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Order Extension with saved payment method","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}":{"delete":{"operationId":"extension-remove-asset","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"assetRefId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The asset has been removed."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove an asset of an extension.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/logo":{"delete":{"operationId":"extension-remove-logo","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The Logo has been removed."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove the logo of an extension.","tags":["Marketplace"]},"post":{"operationId":"extension-request-logo-upload","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"logoRefId":{"description":"Use the logoRefId as updload token at `/v2/files/{logoRefId}`.","format":"uuid","type":"string"},"rules":{"description":"Constraints for the logo image upload.","properties":{"extensions":{"items":{"example":".png","type":"string"},"type":"array"},"fileTypes":{"items":{"properties":{"extensions":{"items":{"example":".png","type":"string"},"type":"array"},"mimeType":{"example":"image/png","type":"string"}},"required":["mimeType","extensions"],"type":"object"},"type":"array"},"maxSizeInBytes":{"type":"integer"},"mimeTypes":{"items":{"example":"image/png","type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"required":["min","max"],"type":"object"}},"type":"object"}},"required":["mimeTypes","extensions","fileTypes","maxSizeInBytes"],"type":"object"}},"required":["logoRefId","rules"],"type":"object"}}},"description":"The Upload of a logo for the extension has been requested."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Add a logo to an extension.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/assets":{"post":{"operationId":"extension-request-asset-upload","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"assetType":{"enum":["image","video"],"type":"string"}},"required":["assetType"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"assetRefId":{"description":"Use the ID as upload token at `/v2/files/{assetRefId}`. This ID will also be the ID of your asset in extension.","format":"uuid","type":"string"},"rules":{"description":"Constraints for the asset image or video upload, defers on the given assetType.","properties":{"extensions":{"items":{"example":".png","type":"string"},"type":"array"},"fileTypes":{"items":{"properties":{"extensions":{"items":{"example":".png","type":"string"},"type":"array"},"mimeType":{"example":"image/png","type":"string"}},"required":["mimeType","extensions"],"type":"object"},"type":"array"},"maxSizeInBytes":{"type":"integer"},"mimeTypes":{"items":{"example":"image/png","type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"required":["min","max"],"type":"object"}},"type":"object"}},"required":["mimeTypes","extensions","fileTypes","maxSizeInBytes"],"type":"object"}},"required":["assetRefId","rules"],"type":"object"}}},"description":"The Upload of an asset for the extension has been requested."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Add an asset to an extension.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process":{"post":{"operationId":"extension-request-extension-verification","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The verification has been requested."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Start the verification process of an Extension.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/resume-webhook-execution":{"post":{"operationId":"extension-resume-webhook-execution-for-extension-instance","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"in":"path","name":"extensionInstanceId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"Webhook execution has been resumed."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Resume the webhook execution of an ExtensionInstance.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/published":{"put":{"operationId":"extension-set-extension-published-state","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"disableAllInstances":{"default":false,"description":"When withdrawing an extension, whether all of its instances are disabled as well. Disabled instances can no longer authenticate; they are enabled again when the extension is published again.","type":"boolean"},"published":{"default":true,"description":"Whether the extension should be publicly visible.","type":"boolean"},"reason":{"description":"When withdrawing an extension a reason is required.","type":"string"}},"required":["published"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"},"published":{"type":"boolean"}},"required":["id","published"],"type":"object"}}},"description":"The Extension visibility has been adjusted."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Publish or withdraw an Extension.","tags":["Marketplace"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/pricing":{"put":{"operationId":"extension-update-extension-pricing","description":"The Pricing is needed to publish paid extensions.","parameters":[{"example":"907a24e9-0723-4566-b584-86578419e983","in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}},{"examples":{"shortId":{"value":"1900000"},"uuid":{"value":"72830cb2-b5b9-4f86-b6f5-e12e13787af6"}},"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"priceInCents":{"value":{"dryRun":true,"priceInCents":999}},"pricePlan":{"value":{"dryRun":true,"pricePlan":{"variants":[{"description":"Description of the Variant.","key":"variant-key","name":"Name of the Variant","priceInCents":999}]}}}},"schema":{"oneOf":[{"properties":{"dryRun":{"default":false,"description":"If set to true, the request will be validated but not executed.","type":"boolean"},"priceInCents":{"description":"Price in cents.","type":"number"}},"required":["priceInCents"],"type":"object"},{"properties":{"dryRun":{"default":false,"description":"If set to true, the request will be validated but not executed.","type":"boolean"},"pricePlan":{"$ref":"#/components/schemas/de.mittwald.v1.extension.PricePlan"}},"required":["pricePlan"],"type":"object"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"extensionId":{"description":"The ID of the Extension.","format":"uuid","type":"string"},"nextPossiblePriceChange":{"description":"The time until which the contributor is blocked from changing the price again.","format":"date-time","type":"string"},"priceChangeConsequence":{"properties":{"contributorConsequence":{"description":"Description of the consequence for the Extension from the perspective of the contributor. Values: * \"NONE\": No consequence. * \"EDIT_BLOCK\": The Extension will be blocked for editing by the contributor for 30 days.\n","enum":["NONE","EDIT_BLOCK"],"type":"string"},"globalCustomerConsequence":{"description":"Description of the consequence for all Customers of the Extension. Values: * \"NONE\": No consequence. * \"INFO\": Customers will be informed about the upcoming changes to their contracts. * \"CONFIRM_REQUIRED\": Customers will have to confirm or select the accepted changes to their contracts within 30 days or their contracts will be automatically cancelled.\n","enum":["NONE","INFO","CONFIRM_REQUIRED"],"type":"string"},"variantConsequences":{"items":{"properties":{"consequence":{"description":"The individual consequence for customers of a specific variant of the Extension. Values: * \"NONE\": No consequence. * \"INFO\": Customers will be informed about the upcoming changes to their contracts. * \"CONFIRM_REQUIRED\": Customers will have to confirm or select the accepted changes to their contracts within 30 days or their contracts will be automatically cancelled.\n","enum":["NONE","INFO","CONFIRM_REQUIRED"],"type":"string"},"deletionDeadline":{"description":"The date the variant will ne deleted","format":"date-time","type":"string"},"variantKey":{"description":"The key of the variant of the Extension.","type":"string"}},"type":"object"},"type":"array"}},"required":["contributorConsequence","globalCustomerConsequence","variantConsequences"],"type":"object"}},"required":["extensionId","priceChangeConsequence"],"type":"object"}}},"description":"The Pricing has been updated."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Creates or Updates Pricing for an Extension.","tags":["Marketplace"]}},"/v2/files":{"post":{"operationId":"file-create-file","parameters":[{"in":"header","name":"Token","required":true,"schema":{"example":"3fa85f64-5717-4562-b3fc-2c963f66afa6","format":"uuid","type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"example":"binary","format":"binary","type":"string"}},"required":["file"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileMeta"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"406":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"413":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"422":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Create a File.","tags":["File"]}},"/v2/files/{fileId}/meta":{"get":{"operationId":"file-get-file-meta","parameters":[{"description":"ID of the File to get the meta for.","examples":{"shortId":{"value":"file-123456"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"fileId","required":true,"schema":{"type":"string"}},{"description":"Only needed for protected Files.","in":"header","name":"Token","required":false,"schema":{"example":"jwt","type":"string"}},{"description":"Only needed for protected Files.","in":"query","name":"token","required":false,"schema":{"example":"jwt","type":"string"},"x-go-name":"QueryParameterToken"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileMeta"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"422":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a File's meta.","tags":["File"]}},"/v2/file-upload-tokens/{fileUploadToken}/rules":{"get":{"operationId":"file-get-file-upload-token-rules","parameters":[{"description":"FileUploadToken to retrieve rules for.","in":"path","name":"fileUploadToken","required":true,"schema":{"example":"3fa85f64-5717-4562-b3fc-2c963f66afa6","format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileUploadRules"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a FileUploadToken's rules.","tags":["File"]}},"/v2/file-upload-types/{fileUploadType}/rules":{"get":{"operationId":"file-get-file-upload-type-rules","parameters":[{"description":"FileUploadType to retrieve rules for.","in":"path","name":"fileUploadType","required":true,"schema":{"enum":["avatar","extensionAssetImage","extensionAssetVideo","anchorIcon","conversation"],"example":"avatar","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.file.FileUploadRules"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get a FileUploadType's rules.","tags":["File"]}},"/v2/files/{fileId}":{"get":{"operationId":"file-get-file","parameters":[{"description":"ID of the File to be retrieved.","examples":{"shortId":{"value":"file-123456"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"fileId","required":true,"schema":{"type":"string"}},{"in":"header","name":"Accept","schema":{"default":"application/octet-stream","enum":["application/octet-stream","text/plain;base64"],"example":"application/octet-stream","type":"string"}},{"in":"header","name":"Content-Disposition","schema":{"default":"inline","enum":["inline","attachment"],"example":"inline","type":"string"}},{"description":"Only needed for protected Files.","in":"header","name":"Token","required":false,"schema":{"example":"jwt","type":"string"}},{"in":"query","name":"accept","schema":{"default":"application/octet-stream","enum":["application/octet-stream","text/plain;base64"],"example":"application/octet-stream","type":"string","x-go-type":"FileGetFileParamsAccept"},"x-go-name":"QueryParameterAccept"},{"in":"query","name":"content-disposition","schema":{"default":"inline","enum":["inline","attachment"],"example":"inline","type":"string","x-go-type":"FileGetFileParamsContentDisposition"},"x-go-name":"QueryParameterContentDisposition"},{"description":"Only needed for protected Files.","in":"query","name":"token","required":false,"schema":{"example":"jwt","type":"string"},"x-go-name":"QueryParameterToken"}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}},"text/plain;base64":{"schema":{"type":"string"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"422":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a File.","tags":["File"]}},"/v2/files/{fileId}/{fileName}":{"get":{"operationId":"file-get-file-with-name","parameters":[{"description":"ID of the File to be retrieved.","examples":{"shortId":{"value":"file-123456"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"fileId","required":true,"schema":{"type":"string"}},{"description":"Name of the File to be retrieved.","in":"path","name":"fileName","required":true,"schema":{"example":"me.jpeg","type":"string"}},{"in":"header","name":"Accept","schema":{"default":"application/octet-stream","enum":["application/octet-stream","text/plain;base64"],"example":"application/octet-stream","type":"string"}},{"in":"header","name":"Content-Disposition","schema":{"default":"inline","enum":["inline","attachment"],"example":"inline","type":"string"}},{"description":"Only needed for protected Files.","in":"header","name":"Token","required":false,"schema":{"example":"jwt","type":"string"}},{"in":"query","name":"accept","schema":{"default":"application/octet-stream","enum":["application/octet-stream","text/plain;base64"],"example":"application/octet-stream","type":"string","x-go-type":"FileGetFileParamsAccept"},"x-go-name":"QueryParameterAccept"},{"in":"query","name":"content-disposition","schema":{"default":"inline","enum":["inline","attachment"],"example":"inline","type":"string","x-go-type":"FileGetFileParamsContentDisposition"},"x-go-name":"QueryParameterContentDisposition"},{"description":"Only needed for protected Files.","in":"query","name":"token","required":false,"schema":{"example":"jwt","type":"string"},"x-go-name":"QueryParameterToken"}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"type":"string"}},"text/plain;base64":{"schema":{"type":"string"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"422":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a File with user-friendly url.","tags":["File"]}},"/v2/compromised-password-hashes/ranges/{hashPrefix}":{"get":{"operationId":"hibp-get-compromised-password-hash-range","description":"Returns the suffixes of known leaked passwords whose SHA-1 hash starts with the given five hex characters, in the range format of Have I Been Pwned: one SUFFIX:COUNT line per entry, CRLF terminated, with 35 uppercase hex characters per suffix. Clients hash the password locally and send only the prefix, so neither the password nor its full hash leaves the client. Anyone may call it without authentication; the gateway rate limits it per IP address, or per user for authenticated callers. If the lookup cannot be completed, the route answers 200 with an empty body, X-Hibp-Upstream-Available: false and Cache-Control: no-store, so that standard HIBP clients do not block password entry.","parameters":[{"in":"path","name":"hashPrefix","required":true,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.hibp.HashPrefix"}}],"responses":{"200":{"content":{"text/plain":{"example":"1E4C9B93F3F0682250B6CF8331B7EE68FD8:9545623\r\nD09CA3762AF61E59520943DC26494F8941B:35184327\r\n","schema":{"type":"string"}}},"description":"The leaked-password suffixes for the prefix, one SUFFIX:COUNT line each, CRLF terminated. Empty when nothing is known for the prefix.","headers":{"Cache-Control":{"description":"`public, max-age=300` when the lookup answered, `no-store` on the fail-open answer.","schema":{"example":"public, max-age=300","type":"string"}},"X-Hibp-Upstream-Available":{"description":"`false` when the lookup could not be completed; the body is then empty.","schema":{"enum":["true","false"],"example":"true","type":"string"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Get the leaked-password suffixes of a SHA-1 prefix.","tags":["Hibp"]}},"/v2/ingresses":{"post":{"operationId":"ingress-create-ingress","description":"A root Ingress (e.g. `example.com`) is created with `senderLoginProtection` enabled.","requestBody":{"content":{"application/json":{"schema":{"properties":{"hostname":{"format":"idn-hostname","type":"string"},"paths":{"description":"A list of paths. The default path `/` is always present and cannot be removed.","items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Path"},"type":"array"},"projectId":{"format":"uuid","type":"string"}},"required":["hostname","projectId","paths"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"},"ownership":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Ownership"}},"required":["id","ownership"],"type":"object"}}},"description":"Created"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an Ingress.","tags":["Domain"]},"get":{"operationId":"ingress-list-ingresses","description":"Lists accessible ingresses and their configured routing targets.\nSet `projectId` to restrict the list to a project; the other filters\nfurther restrict the results.\n","parameters":[{"description":"ID of the Project to list Ingresses for.","examples":{"shortId":{"value":"p-XXXXXX"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"query","name":"projectId","required":false,"schema":{"type":"string"}},{"description":"ID of the Certificate to list Ingresses for.","in":"query","name":"certificateId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Substring of the hostnames to be retrieved.","in":"query","name":"hostnameSubstring","required":false,"schema":{"maxLength":253,"type":"string"}},{"description":"ID of the AppInstallation to list Ingresses for.","examples":{"shortId":{"value":"a-XXXXXX"},"uuid":{"value":"e1a72f92-004d-4688-a399-4639fcce1cdf"}},"in":"query","name":"appInstallationId","required":false,"schema":{"type":"string"}},{"description":"ID of the Container to list Ingresses for.","in":"query","name":"containerId","required":false,"schema":{"format":"uuid","type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Ingress"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Ingresses.","tags":["Domain"]}},"/v2/ingresses/{ingressId}":{"delete":{"operationId":"ingress-delete-ingress","parameters":[{"in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete an Ingress.","tags":["Domain"]},"get":{"operationId":"ingress-get-ingress","parameters":[{"description":"ID of the Ingress to be retrieved.","in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Ingress"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an Ingress.","tags":["Domain"]}},"/v2/ingresses/{ingressId}/actions/verify-ownership":{"post":{"operationId":"ingress-ingress-verify-ownership","parameters":[{"description":"UUID of the Ingress to verify the ownership for.","in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Verifiy the ownership of an Ingress.","tags":["Domain"]}},"/v2/actions/list-ingresses-compatible-with-certificate":{"post":{"operationId":"ingress-list-ingresses-compatible-with-certificate","description":"List Ingresses in a Project compatible with a certificate.","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ingress.ListIngressesCompatibleWithCertificateRequest"},{"$ref":"#/components/schemas/de.mittwald.v1.ingress.ListIngressesCompatibleWithCertificateIDRequest"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ingress.Ingress"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Ingresses compatible with a certificate.","tags":["Domain"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/ingresses/{ingressId}/actions/request-acme-certificate-issuance":{"post":{"operationId":"ingress-request-ingress-acme-certificate-issuance","parameters":[{"description":"UUID of the Ingress to request the issuance for.","in":"path","name":"ingressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request the ACME certificate issuance of an Ingress.","tags":["Domain"]}},"/v2/invoices/{invoiceId}":{"get":{"operationId":"invoice-detail","parameters":[{"examples":{"shortId":{"value":"RG200871"},"uuid":{"value":"6d70791c-78f5-4f6d-9c83-3dad18e95c66"}},"in":"path","name":"invoiceId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Invoice"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get details of an Invoice.","tags":["Contract"]}},"/v2/customers/{customerId}/invoice-settings":{"get":{"operationId":"invoice-get-detail-of-invoice-settings","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.InvoiceSettings"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get InvoiceSettings of a Customer.","tags":["Contract"]},"put":{"operationId":"invoice-update-invoice-settings","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"additionalEmailRecipients":{"example":["hallo@test.de"],"items":{"format":"email","type":"string"},"type":"array"},"invoicePeriod":{"example":1,"minimum":0,"type":"integer"},"paymentSettings":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.PaymentSettings"},"printedInvoices":{"type":"boolean"},"recipient":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Recipient"},"recipientSameAsOwner":{"type":"boolean"},"targetDay":{"deprecated":true,"description":"parameter is deprecated and will be ignored","example":15,"maximum":28,"minimum":0,"type":"integer"}},"required":["invoicePeriod","paymentSettings"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.InvoiceSettings"}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update InvoiceSettings of a Customer.","tags":["Contract"]}},"/v2/customers/{customerId}/invoices/{invoiceId}/file-access-token":{"get":{"operationId":"invoice-get-file-access-token","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"examples":{"shortId":{"value":"RG200871"},"uuid":{"value":"6d70791c-78f5-4f6d-9c83-3dad18e95c66"}},"in":"path","name":"invoiceId","required":true,"schema":{"type":"string"}},{"description":"Which file of the Invoice to request the Access Token for. XRECHNUNG is only available for recipients with a Leitweg-ID.","in":"query","name":"fileType","required":false,"schema":{"default":"PDF","enum":["PDF","XRECHNUNG"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"accessToken":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["accessToken","expiresAt"],"type":"object"}}},"description":"The File Access Token required to access the Invoice file."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request an Access Token for a file of the Invoice.","tags":["Contract"]}},"/v2/customers/{customerId}/invoices":{"get":{"operationId":"invoice-list-customer-invoices","description":"Lists the customer's invoices, including corrections, reissues and\ncancellation documents.\n\nSorted by invoiceNumber descending by default; sort without order sorts\nascending, so send order=desc for descending. Paged with limit and skip\nor page; pagination data is in the X-Pagination-* headers.\nX-Pagination-TotalCount counts all customer-visible invoices of the\nrequested types and ignores status and search.\n","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"description":"Filters by document type; omitted means all four. Repeat the\nparameter (invoiceTypes=REGULAR&invoiceTypes=CORRECTION); commas are\nnot split. A plain empty invoiceTypes= counts as omitted; empty\nentries in repeated or bracket form map like unknown values. Values\nare trimmed and case-insensitive; anything outside the enum maps to\nREGULAR. See Invoice.invoiceType for the meanings.\n","example":["REGULAR","CORRECTION"],"in":"query","name":"invoiceTypes","required":false,"schema":{"items":{"enum":["REGULAR","REISSUE","CORRECTION","CANCELLATION"],"type":"string"},"type":"array"}},{"description":"Filters by the status the response shows; omitted means all public statuses.\nRepeat the parameter (status=PAID&status=OVERPAID); commas are not\nsplit. A plain empty status= counts as omitted; empty entries in\nrepeated or bracket form map like unknown values. Values are trimmed\nand case-insensitive; anything outside the enum maps to CONFIRMED.\nSee Invoice.status for the meanings.\n","example":["PAID","OVERPAID"],"in":"query","name":"status","required":false,"schema":{"items":{"enum":["CONFIRMED","PAID","PARTIALLY_PAID","OVERPAID"],"type":"string"},"type":"array"}},{"example":"RG5457","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["invoiceNumber"]},"default":["invoiceNumber"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["desc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.invoice.Invoice"},"type":"array"}}},"description":"","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Invoices of a Customer.","tags":["Contract"]}},"/v2/licenses/{licenseId}":{"get":{"operationId":"license-get-license","parameters":[{"description":"ID of the license to be retrieved.","in":"path","name":"licenseId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.license.License"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a license.","tags":["License"]}},"/v2/projects/{projectId}/licenses":{"get":{"operationId":"license-list-licenses-for-project","parameters":[{"description":"ID of the Project to get Licenses for.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.license.License"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Licenses belonging to a Project.","tags":["License"]}},"/v2/licenses/{licenseId}/actions/rotate-key":{"post":{"operationId":"license-rotate-license-key","parameters":[{"description":"ID if the License to rotate the key of.","in":"path","name":"licenseId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Optional reference to a file containing the new key if it was not procured via mittwald.","properties":{"externalKey":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.license.KeyResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Rotate a License's key, i.e. revoke the old and generate a new one.","tags":["License"]}},"/v2/projects/{projectId}/actions/validate-license-key":{"post":{"operationId":"license-validate-license-key-for-project","parameters":[{"description":"ID if the Project to validate the License's key for.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"The License key to validate.","properties":{"key":{"type":"string"},"kind":{"$ref":"#/components/schemas/de.mittwald.v1.license.Kind"}},"required":["key","kind"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"valid":{"type":"boolean"}},"required":["valid"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Validate a License's key for a project.","tags":["License"]}},"/v2/projects/{projectId}/deliveryboxes":{"post":{"description":"This route is deprecated. Please use /v2/projects/{projectId}/delivery-boxes instead.","parameters":[{"description":"ID of the Project to create the DeliveryBox in.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"password":{"description":"Password of the Deliverybox. Write-only: it is never returned by any route.","type":"string"}},"required":["description","password"],"type":"object"}}},"description":"DeliveryBox","required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a DeliveryBox.","tags":["Mail"],"deprecated":true},"get":{"parameters":[{"description":"ID of the Project to list DeliveryBoxes for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to filter DeliveryBoxes for. The fields id, name and description are searchable. An exact match is performed for id, a partial match for name and description.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List DeliveryBoxes belonging to a Project.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/delivery-boxes instead.","deprecated":true}},"/v2/projects/{projectId}/delivery-boxes":{"post":{"operationId":"mail-create-deliverybox","description":"Where the stage has a leak check configured, a password that is known from a data leak is rejected with 400 (`ValidationError`, `context.invalid: password_leaked`); the check fails open when the leak service does not answer.","parameters":[{"description":"ID of the Project to create the DeliveryBox in.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"password":{"description":"Password of the Deliverybox. Write-only: it is never returned by any route.","type":"string"}},"required":["description","password"],"type":"object"}}},"description":"DeliveryBox","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a DeliveryBox.","tags":["Mail"]},"get":{"operationId":"mail-list-delivery-boxes","parameters":[{"description":"ID of the Project to list DeliveryBoxes for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to filter DeliveryBoxes for. The fields id, name and description are searchable. An exact match is performed for id, a partial match for name and description.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mail.Deliverybox"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List DeliveryBoxes belonging to a Project.","tags":["Mail"]}},"/v2/projects/{projectId}/mailaddresses":{"post":{"description":"This route is deprecated. Please use /v2/projects/{projectId}/mail-addresses instead.","parameters":[{"description":"ID of the project to create a MailAddress for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.mail.CreateForwardAddress"},{"$ref":"#/components/schemas/de.mittwald.v1.mail.CreateMailAddress"}]}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a MailAddress.","tags":["Mail"],"deprecated":true},"get":{"parameters":[{"description":"ID of the Project to list MailAddresses for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to filter MailAddresses for. The fields id, address and mailboxName are searchable. An exact match is performed for id, a partial match for address and mailboxName.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"Whether the MailAddress is a forward address.","in":"query","name":"forwardAddress","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress is a catch-all address.","in":"query","name":"catchAll","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress has an active auto responder.","in":"query","name":"autoResponder","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress has a mail-archive.","in":"query","name":"mailArchive","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["address.domain","address.local","updatedAt","projectId","mailbox.quota","mailbox.name","mailbox.storageInBytes.current","mailbox.storageInBytes.limit"]},"default":["address.domain","address.local"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["asc","asc"]},"required":false}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List MailAddresses belonging to a Project.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/mail-addresses instead.","deprecated":true}},"/v2/projects/{projectId}/mail-addresses":{"post":{"operationId":"mail-create-mail-address","description":"Where the stage has a leak check configured, a mailbox password that is known from a data leak is rejected with 400 (`ValidationError`, `context.invalid: password_leaked`); the check fails open when the leak service does not answer.","parameters":[{"description":"ID of the project to create a MailAddress for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.mail.CreateForwardAddress"},{"$ref":"#/components/schemas/de.mittwald.v1.mail.CreateMailAddress"}]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a MailAddress.","tags":["Mail"]},"get":{"operationId":"mail-list-mail-addresses","parameters":[{"description":"ID of the Project to list MailAddresses for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to filter MailAddresses for. The fields id, address and mailboxName are searchable. An exact match is performed for id, a partial match for address and mailboxName.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"Whether the MailAddress is a forward address.","in":"query","name":"forwardAddress","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress is a catch-all address.","in":"query","name":"catchAll","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress has an active auto responder.","in":"query","name":"autoResponder","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress has a mail-archive.","in":"query","name":"mailArchive","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["address.domain","address.local","updatedAt","projectId","mailbox.quota","mailbox.name","mailbox.storageInBytes.current","mailbox.storageInBytes.limit"]},"default":["address.domain","address.local"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["asc","asc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mail.MailAddress"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List MailAddresses belonging to a Project.","tags":["Mail"]}},"/v2/deliveryboxes/{deliveryBoxId}":{"delete":{"parameters":[{"description":"ID of the DeliveryBox to be deleted.","in":"path","name":"deliveryBoxId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a DeliveryBox.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/delivery-boxes/{deliveryBoxId} instead.","deprecated":true},"get":{"parameters":[{"description":"ID of the DeliveryBox to be retrieved.","in":"path","name":"deliveryBoxId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a DeliveryBox.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/delivery-boxes/{deliveryBoxId} instead.","deprecated":true}},"/v2/delivery-boxes/{deliveryBoxId}":{"delete":{"operationId":"mail-delete-delivery-box","parameters":[{"description":"ID of the DeliveryBox to be deleted.","in":"path","name":"deliveryBoxId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a DeliveryBox.","tags":["Mail"]},"get":{"operationId":"mail-get-delivery-box","parameters":[{"description":"ID of the DeliveryBox to be retrieved.","in":"path","name":"deliveryBoxId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.mail.Deliverybox"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a DeliveryBox.","tags":["Mail"]}},"/v2/mailaddresses/{mailAddressId}":{"delete":{"parameters":[{"description":"ID of the MailAddress to be deleted.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a MailAddress.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId} instead.","deprecated":true},"get":{"parameters":[{"description":"ID of the MailAddress to be retrieved.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a MailAddress.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/mail-addresses/{mailAddressId} instead.","deprecated":true}},"/v2/mail-addresses/{mailAddressId}":{"delete":{"operationId":"mail-delete-mail-address","parameters":[{"description":"ID of the MailAddress to be deleted.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a MailAddress.","tags":["Mail"]},"get":{"operationId":"mail-get-mail-address","parameters":[{"description":"ID of the MailAddress to be retrieved.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.mail.MailAddress"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/mail-archive":{"delete":{"operationId":"mail-disable-mail-archive","parameters":[{"description":"ID of the MailAddress to disable a mail-archive for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Disable the mail-archive of a MailAddress.","tags":["Mail"]}},"/v2/mail-rate-limits/{mailRateLimitId}":{"get":{"operationId":"mail-get-mail-rate-limit","parameters":[{"in":"path","name":"mailRateLimitId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.mailsystem.RateLimit"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Mail RateLimit.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/backups":{"get":{"operationId":"mail-list-backups-for-mail-address","parameters":[{"description":"ID of the MailAddress to retrieve backups for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mail.MailAddressBackup"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List backups belonging to a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/":{"get":{"operationId":"mail-list-mail-addresses-for-user","parameters":[{"description":"ID of the Project to list MailAddresses for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"query","name":"projectId","schema":{"type":"string"}},{"description":"Search term to filter MailAddresses for. The fields id, address and mailboxName are searchable. An exact match is performed for id, a partial match for address and mailboxName.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"Whether the MailAddress is a forward address.","in":"query","name":"forwardAddress","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress is a catch-all address.","in":"query","name":"catchAll","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress has an active auto responder.","in":"query","name":"autoResponder","required":false,"schema":{"type":"boolean"}},{"description":"Whether the MailAddress has a mail-archive.","in":"query","name":"mailArchive","required":false,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"List of fields how the result should be sorted.","schema":{"type":"array","items":{"type":"string","enum":["address.domain","address.local","updatedAt","projectId","mailbox.quota","mailbox.name","mailbox.storageInBytes.current","mailbox.storageInBytes.limit"]},"default":["address.domain","address.local"]},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? You can specify for each field another sorting: sort[0]=foo, order[0]=asc, sort[1]=bar, order[1]=desc.","schema":{"type":"array","items":{"type":"string","enum":["asc","desc"]},"default":["asc","asc"]},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mail.MailAddress"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List MailAddresses.","tags":["Mail"]}},"/v2/mail-rate-limits":{"get":{"operationId":"mail-list-mail-rate-limits","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.mailsystem.RateLimit"},"type":"array"}}},"description":"OK"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Mail RateLimits.","tags":["Mail"]}},"/v2/projects/{projectId}/mailsettings":{"get":{"parameters":[{"description":"ID of the Project to list mail settings for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List mail settings of a Project.","tags":["Mail"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/mail-settings instead.","deprecated":true}},"/v2/projects/{projectId}/mail-settings":{"get":{"operationId":"mail-list-project-mail-settings","parameters":[{"description":"ID of the Project to list mail settings for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"blacklist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"},"projectId":{"type":"string"},"whitelist":{"items":{"pattern":"^([a-zA-Z0-9.!#$%&'*\\/=?^_{|}~-]+@[a-zA-Z0-9-*]+(?:\\.([a-zA-Z0-9-]+|\\*))+)$","type":"string"},"type":"array"}},"required":["projectId","blacklist","whitelist"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List mail settings of a Project.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery":{"post":{"operationId":"mail-recover-mail-address-emails","parameters":[{"description":"ID of the MailAddress to recover emails for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the backup to recover from.","in":"path","name":"backupId","required":true,"schema":{"pattern":"^[0-9]{8}$","type":"string"}}],"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Recover emails for a MailAddress from a backup.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change":{"post":{"operationId":"mail-request-mail-address-rate-limit-change","description":"Creates a rate limit change request that has to be approved. If the new rate limit is a plain reduction of the current one, it is applied immediately instead.","parameters":[{"description":"ID of the MailAddress to request the rate limit change for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"rateLimitId":{"format":"uuid","type":"string"}},"required":["rateLimitId"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a rate limit change for a MailAddress.","tags":["Mail"]}},"/v2/delivery-boxes/{deliveryBoxId}/description":{"patch":{"operationId":"mail-update-delivery-box-description","parameters":[{"description":"ID of the DeliveryBox to update the description for.","in":"path","name":"deliveryBoxId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"}},"required":["description"]}}},"description":"Description of the DeliveryBox.","required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the description of a DeliveryBox.","tags":["Mail"]}},"/v2/delivery-boxes/{deliveryBoxId}/password":{"patch":{"operationId":"mail-update-delivery-box-password","description":"Where the stage has a leak check configured, a password that is known from a data leak is rejected with 400 (`ValidationError`, `context.invalid: password_leaked`); the check fails open when the leak service does not answer.","parameters":[{"description":"ID of the DeliveryBox to update the password for.","in":"path","name":"deliveryBoxId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"type":"string"}},"required":["password"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the password of a DeliveryBox.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/address":{"patch":{"operationId":"mail-update-mail-address-address","parameters":[{"description":"ID of the MailAddress to update the address for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"address":{"format":"idn-email","type":"string"}},"required":["address"]}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a MailAddress.","tags":["Mail"]}},"/v2/mail-addresses/{mailAddressId}/catch-all":{"patch":{"operationId":"mail-update-mail-address-catch-all","parameters":[{"description":"ID of the MailAddress to update the catch-all for.","in":"path","name":"mailAddressId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"active":{"type":"boolean"}},"required":["active"]}}},"description":"Catch-all of the MailAddress.","required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the catch-all of a MailAddress.","tags":["Mail"]}},"/v2/customers/{customerId}/payment-method":{"get":{"operationId":"marketplace-customer-get-payment-method","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"cardDetails":{"properties":{"brand":{"type":"string"},"last4":{"type":"string"}},"required":["brand","last4"],"type":"object"}},"type":"object"}}},"description":"The payment method details"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get payment method details","tags":["Marketplace"]},"put":{"operationId":"marketplace-customer-update-payment-method","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"customReturnUrl":{"example":"https://mittwald.studio/app/marketplace","format":"uri","type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"url":{"type":"string"}},"type":"object"}}},"description":"The generated link to the Stripe payment method setup"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the link to update the marketplace payment method","tags":["Marketplace"]}},"/v2/time-zones":{"get":{"operationId":"miscellaneous-list-time-zones","responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"OK"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List valid time zones.","tags":["Misc"]}},"/v2/newsletter-subscriptions/self":{"get":{"operationId":"newsletter-get-info","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"active":{"example":true,"type":"boolean"},"email":{"example":"a.lovelace@example.com","type":"string"},"registered":{"example":true,"type":"boolean"}},"required":["email","active","registered"],"type":"object"}}},"description":"Status information about the subscription."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Getting the subscription status of the subscription.","tags":["Notification"]},"delete":{"operationId":"newsletter-unsubscribe-user","responses":{"204":{"description":"User has been unsubscribed."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Unsubscribe a user from the mStudio newsletter.","tags":["Notification"]}},"/v2/notifications/unread-counts":{"get":{"description":"This route is deprecated. Please use /v2/notification-unread-counts instead.","parameters":[],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the counts for unread notifications of the user.","tags":["Notification"],"deprecated":true}},"/v2/notification-unread-counts":{"get":{"operationId":"notifications-count-unread-notifications","description":"The user is determined by the access token used.\nLighter weight route instead of getting all unread notifications and count yourself.\nThe counts are computed from at most 500 unread notifications.\n","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"error":{"minimum":0,"type":"integer"},"info":{"minimum":0,"type":"integer"},"success":{"minimum":0,"type":"integer"},"total":{"minimum":0,"type":"integer"},"warning":{"minimum":0,"type":"integer"}},"required":["total","success","info","warning","error"],"type":"object"}}},"description":"Counts of unread notifications"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the counts for unread notifications of the user.","tags":["Notification"]}},"/v2/notification-settings/overrides":{"delete":{"operationId":"notifications-delete-notification-settings-overrides","description":"Removes all of the executing user's adjusted channel settings, so every message type uses its default channels again.","responses":{"204":{"description":"No content"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete all notification settings overrides.","tags":["Notification"]},"get":{"operationId":"notifications-get-notification-settings-overrides","description":"Only channels the user explicitly chose a value for are listed, and every one of them is editable.\nMessage types and channels that are not listed follow the default from `GET /v2/notification-settings`.\n","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.UserSettingsOverrides"}}},"description":"Explicitly chosen channel settings per message type"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the notification settings the executing user adjusted.","tags":["Notification"]}},"/v2/notification-settings":{"get":{"operationId":"notifications-get-notification-settings","description":"Settings are provided for each message type: Channels for each message type can be active and editable.\n","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.UserSettings"}}},"description":"Channel settings per message type"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get notification settings for a user.","tags":["Notification"]}},"/v2/notifications":{"get":{"operationId":"notifications-list-notifications","description":"Sorted by creation date, descending, unless a different sort is requested.","parameters":[{"in":"query","name":"status","required":false,"schema":{"enum":["unread","read"],"type":"string"}},{"in":"query","name":"severity","required":false,"schema":{"items":{"enum":["success","info","warning","error"],"type":"string"},"type":"array"}},{"in":"query","name":"type","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"in":"query","name":"type-not","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Filter by referenced aggregate; only applied when referenceDomain and referenceAggregate are given as well.","in":"query","name":"referenceId","required":false,"schema":{"format":"uuid","type":"string"}},{"in":"query","name":"referenceDomain","required":false,"schema":{"type":"string"}},{"in":"query","name":"referenceAggregate","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":500,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["createdAt","severity"],"default":"createdAt"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.Notification"},"type":"array"}}},"description":"List of notifications","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all unread notifications.","tags":["Notification"]}},"/v2/notifications/actions/read-all":{"post":{"operationId":"notifications-read-all-notifications","description":"Mark all notifications for the authenticated user as read.","parameters":[{"in":"query","name":"severities","schema":{"items":{"enum":["success","info","warning","error"],"type":"string"},"type":"array"}},{"in":"query","name":"referenceId","schema":{"format":"uuid","type":"string"}},{"in":"query","name":"referenceAggregate","schema":{"type":"string"}},{"in":"query","name":"referenceDomain","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"","required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.NotificationStatus"},"updatedCount":{"description":"The number of notifications that have been updated.","format":"int32","type":"integer"}},"required":["status","updatedCount"],"type":"object"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Mark all notifications as read.","tags":["Notification"]}},"/v2/notification-settings/overrides/message-types/{messageType}":{"patch":{"operationId":"notifications-update-notification-settings-override-for-message-type","parameters":[{"in":"path","name":"messageType","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.Channels"}}},"description":"","required":true},"responses":{"204":{"description":"No content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update the notification settings override of a message type.","tags":["Notification"]}},"/v2/notifications/{notificationId}/status":{"put":{"operationId":"notifications-update-notification-status","parameters":[{"in":"path","name":"notificationId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.NotificationStatus"}},"required":["status"],"type":"object"}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/de.mittwald.v1.messaging.NotificationStatus"}},"required":["status"],"type":"object"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a notification's read status.","tags":["Notification"]}},"/v2/orders":{"post":{"operationId":"order-create-order","description":"","requestBody":{"content":{"application/json":{"examples":{"aiHosting":{"description":"orderData has to match the properties of an AI Hosting Article exactly. Reachable via the /articles endpoint.","summary":"AI Hosting","value":{"orderData":{"customerId":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","monthlyTokens":2000000,"requestsPerMinute":120},"orderType":"aiHosting"}},"domain":{"summary":"Domain","value":{"orderData":{"domain":"mittwald.example","handleData":{"ownerC":[{"name":"name","value":"Ada Lovelace"}]},"projectId":"190f3eec-8a71-42ed-94a5-c03e0d832c2a"},"orderType":"domain"}},"externalCertificate":{"summary":"External Certificate","value":{"orderData":{"certificateRequestId":"7ea73ca6-4de6-4dd8-b64a-ccc46623f237","projectId":"190f3eec-8a71-42ed-94a5-c03e0d832c2a"},"orderType":"externalCertificate"}},"leadFyndr":{"summary":"LeadFyndr","value":{"orderData":{"customerId":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","reservationLimit":8,"unlockLimit":100},"orderType":"leadFyndr"}},"mailArchive":{"summary":"Mail Archive","value":{"orderData":{"mailAddressId":"af279ce0-9aef-4fd6-9d0f-8c109038cfdf","syncExistingMails":true},"orderType":"mailArchive"}},"projectHosting":{"summary":"Webhosting","value":{"orderData":{"customerId":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","description":"My first project","diskspaceInGiB":20,"spec":{"machineType":"prospace.2cpu.4gb"},"useFreeTrial":true},"orderType":"projectHosting"}},"server":{"summary":"vServer","value":{"orderData":{"customerId":"0f5ec9cd-1b1b-4850-9061-fcebe765c62d","description":"My first server","diskspaceInGiB":100,"spec":{"machineType":"shared.xlarge"},"useFreeTrial":true},"orderType":"server"}},"typo3Elts":{"summary":"TYPO3 ELTS","value":{"orderData":{"description":"License for a-xxxxxx","licenseType":"typo3","majorVersion":12,"projectId":"190f3eec-8a71-42ed-94a5-c03e0d832c2a"},"orderType":"license"}}},"schema":{"properties":{"orderData":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.ProjectHostingOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ServerOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.DomainOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ExternalCertificateOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LeadFyndrOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.MailArchiveOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.AIHostingOrder"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LicenseOrder"}]},"orderType":{"enum":["domain","projectHosting","server","externalCertificate","leadFyndr","mailArchive","aiHosting","license"],"example":"projectHosting","type":"string"}},"type":"object"}}},"description":"The Order to create.","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"orderId":{"type":"string"}},"required":["orderId"]}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The order type is discontinued and can no longer be ordered (e.g. LeadFyndr)."},"422":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object"}}}}},"description":"Unprocessable Content"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an Order.","tags":["Contract"]},"get":{"operationId":"order-list-orders","description":"The list of Orders the User has access to.","parameters":[{"example":[],"in":"query","name":"includesStatus","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"type":"array"}},{"example":[],"in":"query","name":"excludesStatus","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"type":"array"}},{"example":["Webhosting"],"in":"query","name":"templateNames","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"in":"query","name":"types","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderType"},"type":"array"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.CustomerOrder"},"type":"array"}}},"description":"","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get list of Orders.","tags":["Contract"]}},"/v2/tariff-changes":{"post":{"operationId":"order-create-tariff-change","description":"","requestBody":{"content":{"application/json":{"schema":{"properties":{"tariffChangeData":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.ProjectHostingTariffChange"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ServerTariffChange"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LeadFyndrTariffChange"},{"$ref":"#/components/schemas/de.mittwald.v1.order.AIHostingTariffChange"}]},"tariffChangeType":{"enum":["projectHosting","server","leadFyndr","aiHosting"],"type":"string"}},"type":"object"}}},"description":"The Order to create.","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"orderId":{"type":"string"}},"required":["orderId"]}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The tariff change type is discontinued and can no longer be ordered (e.g. LeadFyndr)."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create TariffChange Order.","tags":["Contract"]}},"/v2/orders/{orderId}":{"get":{"operationId":"order-get-order","description":"Get details of a single Order, User must have access to the Order/Customer.","parameters":[{"examples":{"shortId":{"value":"1234567"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"path","name":"orderId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.order.CustomerOrder"}}},"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get Order for Customer.","tags":["Contract"]}},"/v2/customers/{customerId}/orders":{"get":{"operationId":"order-list-customer-orders","description":"The list of Orders of a Customer the User has access to, can be filtered by orderStatus, articleTemplate and count.","parameters":[{"examples":{"shortId":{"value":"1000026"},"uuid":{"value":"13eac206-ada6-4ac8-a4c0-21b263df6cbf"}},"in":"path","name":"customerId","required":true,"schema":{"type":"string"}},{"example":1000,"in":"query","name":"limit","required":false,"schema":{"minimum":0,"type":"integer"}},{"example":0,"in":"query","name":"skip","required":false,"schema":{"minimum":0,"type":"integer"}},{"example":1,"in":"query","name":"page","required":false,"schema":{"minimum":0,"type":"integer"}},{"example":[],"in":"query","name":"includesStatus","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"type":"array"}},{"example":[],"in":"query","name":"excludesStatus","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"type":"array"}},{"example":["Webhosting"],"in":"query","name":"templateNames","required":false,"schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.CustomerOrder"},"type":"array"}}},"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get list of Orders of a Customer.","tags":["Contract"]}},"/v2/projects/{projectId}/orders":{"get":{"operationId":"order-list-project-orders","description":"The list of Order of a Project the User has access to, can be filtered by orderStatus, articleTemplate and count.","parameters":[{"examples":{"shortId":{"value":"p-pkrjw1"},"uuid":{"value":"95e64f67-a49e-4446-968c-f74da2df3a9d"}},"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"example":1000,"in":"query","name":"limit","required":false,"schema":{"minimum":0,"type":"integer"}},{"example":0,"in":"query","name":"skip","required":false,"schema":{"minimum":0,"type":"integer"}},{"example":1,"in":"query","name":"page","required":false,"schema":{"minimum":0,"type":"integer"}},{"example":[],"in":"query","name":"includesStatus","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"type":"array"}},{"example":[],"in":"query","name":"excludesStatus","required":false,"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.OrderStatus"},"type":"array"}},{"example":["Webhosting"],"in":"query","name":"templateNames","required":false,"schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.order.CustomerOrder"},"type":"array"}}},"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get list of Orders of a Project.","tags":["Contract"]}},"/v2/order-previews":{"post":{"operationId":"order-preview-order","requestBody":{"content":{"application/json":{"schema":{"properties":{"orderData":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.ProjectHostingOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ServerOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.DomainOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ExternalCertificateOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LeadFyndrOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.MailArchiveOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.AIHostingOrderPreview"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LicenseOrderPreview"}]},"orderType":{"enum":["domain","projectHosting","server","externalCertificate","leadFyndr","mailArchive","aiHosting","license"],"type":"string"}},"type":"object"}}},"description":"Your order information","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.HostingOrderPreviewResponse"},{"$ref":"#/components/schemas/de.mittwald.v1.order.DomainOrderPreviewResponse"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ExternalCertificateOrderPreviewResponse"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LeadFyndrOrderPreviewResponse"},{"$ref":"#/components/schemas/de.mittwald.v1.order.MailArchiveOrderPreviewResponse"},{"$ref":"#/components/schemas/de.mittwald.v1.order.AIHostingOrderPreviewResponse"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LicenseOrderPreviewResponse"}]}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The order type is discontinued and can no longer be ordered (e.g. LeadFyndr)."},"422":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object"}}}}},"description":"Unprocessable Content"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Preview Order.","tags":["Contract"]}},"/v2/tariff-change-previews":{"post":{"operationId":"order-preview-tariff-change","description":"","requestBody":{"content":{"application/json":{"schema":{"properties":{"tariffChangeData":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.order.ProjectHostingTariffChange"},{"$ref":"#/components/schemas/de.mittwald.v1.order.ServerTariffChange"},{"$ref":"#/components/schemas/de.mittwald.v1.order.LeadFyndrTariffChange"},{"$ref":"#/components/schemas/de.mittwald.v1.order.AIHostingTariffChange"}]},"tariffChangeType":{"enum":["projectHosting","server","leadFyndr","aiHosting"],"type":"string"}},"type":"object"}}},"description":"Your order information","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"machineTypePrice":{"example":100,"type":"number"},"storagePrice":{"example":900,"type":"number"},"totalPrice":{"example":1000,"type":"number"}},"required":["totalPrice","storagePrice","machineTypePrice"]}}},"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The tariff change type is discontinued and can no longer be ordered (e.g. LeadFyndr)."},"422":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object"}}}}},"description":"Unprocessable Content"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Preview TariffChange.","tags":["Contract"]}},"/v2/pageinsights":{"get":{"parameters":[{"description":"A domain or subdomain.","example":"mittwald.de","in":"query","name":"domain","required":true,"schema":{"type":"string"}},{"description":"A path of the domain.","example":"/","in":"query","name":"path","required":true,"schema":{"type":"string"}},{"description":"Query data for a specific date, defaults to date today.","example":"2017-07-21","in":"query","name":"date","required":false,"schema":{"format":"date","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get detailed performance data for a given domain and path.","tags":["Page Insights"],"description":"This route is deprecated. Please use /v2/page-insights instead.","deprecated":true}},"/v2/page-insights":{"get":{"operationId":"pageinsights-get-performance-data","parameters":[{"description":"A domain or subdomain.","example":"mittwald.de","in":"query","name":"domain","required":true,"schema":{"type":"string"}},{"description":"A path of the domain.","example":"/","in":"query","name":"path","required":true,"schema":{"type":"string"}},{"description":"Query data for a specific date, defaults to date today.","example":"2017-07-21","in":"query","name":"date","required":false,"schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"createdAt":{"format":"date-time","type":"string"},"domain":{"type":"string"},"metrics":{"items":{"properties":{"createdAt":{"format":"date-time","type":"string"},"name":{"type":"string"},"score":{"format":"double","nullable":true,"type":"number"},"value":{"format":"double","type":"number"}},"required":["name","value","createdAt"],"type":"object"},"type":"array"},"moreDataAvailable":{"items":{"format":"date","type":"string"},"type":"array"},"path":{"type":"string"},"performanceScore":{"format":"double","type":"number"},"screenshot":{"properties":{"createdAt":{"format":"date-time","type":"string"},"fileRef":{"type":"string"}},"required":["fileRef","createdAt"],"type":"object"}},"required":["domain","path","performanceScore"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get detailed performance data for a given domain and path.","tags":["Page Insights"]}},"/v2/projects/{projectId}/straces/{straceId}":{"get":{"operationId":"pageinsights-get-strace-data","parameters":[{"description":"ID of the strace to get the data for.","in":"path","name":"straceId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"ID of the project the strace belongs to.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"executedAt":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"result":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.strace.Error"},{"$ref":"#/components/schemas/de.mittwald.v1.strace.Data"}]}},"required":["id","executedAt","result"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all data for a given strace.","tags":["Page Insights"]}},"/v2/projects/{projectId}/pageinsights":{"get":{"parameters":[{"description":"ID of the Project to list domains for.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Filter for a specific domain.","example":"mittwald.de","in":"query","name":"domain","required":false,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List websites (specified as domain and path) from a project where performance data is available.","tags":["Page Insights"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/page-insights instead.","deprecated":true}},"/v2/projects/{projectId}/page-insights":{"get":{"operationId":"pageinsights-list-performance-data-for-project","parameters":[{"description":"ID of the Project to list domains for.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Filter for a specific domain.","example":"mittwald.de","in":"query","name":"domain","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"domain":{"type":"string"},"paths":{"items":{"properties":{"createdAt":{"format":"date-time","type":"string"},"path":{"type":"string"},"performanceScore":{"type":"integer"},"screenshotFileRef":{"type":"string"}},"required":["path","performanceScore","createdAt"],"type":"object"},"type":"array"}},"required":["domain","paths"],"type":"object"},"type":"array"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List websites (specified as domain and path) from a project where performance data is available.","tags":["Page Insights"]}},"/v2/projects/{projectId}/straces":{"post":{"operationId":"pageinsights-schedule-strace","parameters":[{"description":"ID of a project to own the created strace. It must exist a ingress with the same hostname as in the url to be measured.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"url":{"description":"A call to this URL is measured via strace.","example":"https://example.com","type":"string"}},"required":["url"],"type":"object"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"Scheduled"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Schedule a strace measurement for a single http request.","tags":["Page Insights"]}},"/v2/password-policies/{passwordPolicy}":{"get":{"operationId":"password-validation-get-password-policy","parameters":[{"description":"The name of the PasswordPolicy to be retrieved.","examples":{"default":{"description":"The default PasswordPolicy of mittwald.","value":"mittwald"},"example":{"description":"An example policy showcasing possible rule definitions.","value":"examplePolicy"}},"in":"path","name":"passwordPolicy","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.policy.Policy"}}},"description":"The PasswordPolicy to be retrieved."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get a PasswordPolicy.","tags":["User"]}},"/v2/password/policies/{path}":{"get":{"operationId":"password-validation-get-password-policy-v2-deprecated","deprecated":true,"parameters":[{"in":"path","name":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.policy.Policy"}}},"description":"The requested password policy"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"DEPRECAED. Use `GET` `/v2/password-policies/{passwordPolicy}` instead.","tags":["User"]}},"/v2/project-invites/{projectInviteId}/actions/accept":{"post":{"operationId":"project-accept-project-invite","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); accepting an expired invite fails with 404, as it does once the invite is removed.","parameters":[{"description":"ID of the ProjectInvite to be accepted.","in":"path","name":"projectInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"invitationToken":{"description":"Token contained in the invite for authentication.","type":"string"}},"type":"object"}}},"required":true},"responses":{"204":{"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Accept a ProjectInvite.","tags":["Project"]}},"/v2/project/{projectId}/invites":{"post":{"parameters":[{"description":"ID of the Project to create a ProjectInvite for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"mailAddress":{"description":"Mail-address of the person to be invited.","format":"email","type":"string"},"membershipExpiresAt":{"description":"Time the resulting ProjectMembership should expire at.","format":"date-time","type":"string"},"message":{"description":"Message contained in the ProjectInvite.","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"}},"required":["mailAddress","role"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a ProjectInvite.","tags":["Project"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/invites instead.","deprecated":true}},"/v2/projects/{projectId}/invites":{"post":{"operationId":"project-create-project-invite","parameters":[{"description":"ID of the Project to create a ProjectInvite for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"mailAddress":{"description":"Mail-address of the person to be invited.","format":"email","type":"string"},"membershipExpiresAt":{"description":"Time the resulting ProjectMembership should expire at.","format":"date-time","type":"string"},"message":{"description":"Message contained in the ProjectInvite.","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"}},"required":["mailAddress","role"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectInvite"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a ProjectInvite.","tags":["Project"]},"get":{"operationId":"project-list-invites-for-project","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); expired invites are not listed.","parameters":[{"description":"ID of the Project to list invites for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Search term to list Invites for. The field mailAddress is searchable","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectInvite"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Invites belonging to a Project.","tags":["Project"]}},"/v2/servers/{serverId}/projects":{"post":{"operationId":"project-create-project","parameters":[{"description":"ID of the Server to create the Project for.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Name of the Project as it is displayed in the mStudio.","example":"My first Project!","type":"string"}},"required":["description"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"}},"required":["id"],"type":"object"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a Project belonging to a Server.","tags":["Project"]}},"/v2/project-invites/{projectInviteId}/actions/decline":{"post":{"operationId":"project-decline-project-invite","parameters":[{"description":"ID of the ProjectInvite to be declined.","in":"path","name":"projectInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Decline a ProjectInvite.","tags":["Project"]}},"/v2/projects/{projectId}/avatar":{"delete":{"operationId":"project-delete-project-avatar","parameters":[{"description":"ID of the Project the avatar should be deleted for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Project's avatar.","tags":["Project"]},"post":{"operationId":"project-request-project-avatar-upload","parameters":[{"description":"ID of the Project you want to request an avatar upload for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"refId":{"format":"uuid","type":"string"},"rules":{"$ref":"#/components/schemas/de.mittwald.v1.project.AvatarRules"}},"required":["refId","rules"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a Project avatar upload.","tags":["Project"]}},"/v2/project-invites/{projectInviteId}":{"delete":{"operationId":"project-delete-project-invite","parameters":[{"description":"ID of the ProjectInvite to be deleted.","in":"path","name":"projectInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a ProjectInvite.","tags":["Project"]},"get":{"operationId":"project-get-project-invite","description":"A pending invite expires 30 days after its last invite mail (see `expiresAt`); an expired invite is not found.","parameters":[{"description":"ID of the ProjectInvite to be retrieved.","in":"path","name":"projectInviteId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectInvite"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a ProjectInvite.","tags":["Project"]}},"/v2/project-memberships/{projectMembershipId}":{"delete":{"operationId":"project-delete-project-membership","parameters":[{"description":"ID of the ProjectMembership to be deleted.","in":"path","name":"projectMembershipId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"OK"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a ProjectMembership.","tags":["Project"]},"get":{"operationId":"project-get-project-membership","parameters":[{"description":"ID of the ProjectMembership to be retrieved.","in":"path","name":"projectMembershipId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectMembership"}}},"description":""},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a ProjectMembership.","tags":["Project"]},"patch":{"operationId":"project-update-project-membership","parameters":[{"description":"ID of the ProjectMembership to be updated.","in":"path","name":"projectMembershipId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"description":"Time the ProjectMembership should expire at.","format":"date-time","type":"string"},"role":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"}},"required":["role"],"type":"object"}}},"required":true},"responses":{"204":{"description":""},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a ProjectMembership.","tags":["Project"]}},"/v2/projects/{projectId}":{"delete":{"operationId":"project-delete-project","parameters":[{"description":"The ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Project.","tags":["Project"]},"get":{"operationId":"project-get-project","parameters":[{"description":"ID of the Project to be retrieved.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.project.Project"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project.","tags":["Project"]},"patch":{"operationId":"project-update-project","parameters":[{"description":"ID of the Project to be updated.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"My new description!","type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Project.","tags":["Project"]}},"/v2/servers/{serverId}/avatar":{"delete":{"operationId":"project-delete-server-avatar","parameters":[{"description":"ID of the Server to delete the avatar for.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Server's avatar.","tags":["Project"]},"post":{"operationId":"project-request-server-avatar-upload","parameters":[{"description":"ID of the Server to request an avatar upload for.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"refId":{"format":"uuid","type":"string"},"rules":{"$ref":"#/components/schemas/de.mittwald.v1.project.AvatarRules"}},"required":["refId","rules"],"type":"object"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a Server avatar upload.","tags":["Project"]}},"/v2/projects/{projectId}/filesystem/directories":{"get":{"parameters":[{"description":"ID of the Project to list the directories for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"The directory to start listing subdirectories from.","in":"query","name":"directory","required":false,"schema":{"type":"string"}},{"description":"Search for specific filenames, only. The name may be a glob expression.","in":"query","name":"name","required":false,"schema":{"type":"string"}},{"description":"The nesting depth for recursively listing directory contents.","in":"query","name":"max_depth","required":false,"schema":{"type":"integer"}},{"description":"One of file or directory (may be specified multiple times), to restrict results to directory items of this specific type.","in":"query","name":"type","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set to true to constrain search results to executable files.","in":"query","name":"executable","required":false,"schema":{"type":"boolean"}},{"description":"Set to true to include hidden files. (with . prefix in the search results).","in":"query","name":"hidden","required":false,"schema":{"type":"boolean"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List directories belonging to a Project.","tags":["Project File System"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/filesystem-directories instead.","deprecated":true}},"/v2/projects/{projectId}/filesystem-directories":{"get":{"operationId":"project-file-system-get-directories","parameters":[{"description":"ID of the Project to list the directories for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"The directory to start listing subdirectories from.","in":"query","name":"directory","required":false,"schema":{"type":"string"}},{"description":"Search for specific filenames, only. The name may be a glob expression.","in":"query","name":"name","required":false,"schema":{"type":"string"}},{"description":"The nesting depth for recursively listing directory contents.","in":"query","name":"max_depth","required":false,"schema":{"type":"integer"}},{"description":"One of file or directory (may be specified multiple times), to restrict results to directory items of this specific type.","in":"query","name":"type","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Set to true to constrain search results to executable files.","in":"query","name":"executable","required":false,"schema":{"type":"boolean"}},{"description":"Set to true to include hidden files. (with . prefix in the search results).","in":"query","name":"hidden","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.project.FilesystemDirectoryListing"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List directories belonging to a Project.","tags":["Project File System"]}},"/v2/projects/{projectId}/filesystem/usages/disk":{"get":{"parameters":[{"description":"ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Starting directory for the disk usage calculation.","in":"query","name":"directory","required":false,"schema":{"example":"/home/example.log","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project directory filesystem usage.","tags":["Project File System"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/filesystem-disk-usage instead.","deprecated":true}},"/v2/projects/{projectId}/filesystem-disk-usage":{"get":{"operationId":"project-file-system-get-disk-usage","parameters":[{"description":"ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Starting directory for the disk usage calculation.","in":"query","name":"directory","required":false,"schema":{"example":"/home/example.log","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.project.FilesystemUsagesDisk"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project directory filesystem usage.","tags":["Project File System"]}},"/v2/projects/{projectId}/filesystem/files/raw":{"get":{"parameters":[{"description":"ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Name of the file.","in":"query","name":"file","required":false,"schema":{"example":"/home/example.log","type":"string"}},{"description":"Set to true to serve the file with Content-Disposition: inline. Otherwise, it will be served with Content-Disposition: attachment. filename=...","in":"query","name":"inline","required":false,"schema":{"type":"boolean"}},{"description":"Byte range to request a partial file content.","in":"header","name":"Range","required":false,"schema":{"example":"bytes=0-1023","type":"string"}},{"description":"Only serve the requested byte range if the file is unchanged; otherwise, the whole file is served.","in":"header","name":"If-Range","required":false,"schema":{"type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project file's content.","tags":["Project File System"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/filesystem-file-content instead.","deprecated":true}},"/v2/projects/{projectId}/filesystem-file-content":{"get":{"operationId":"project-file-system-get-file-content","parameters":[{"description":"ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Name of the file.","in":"query","name":"file","required":false,"schema":{"example":"/home/example.log","type":"string"}},{"description":"Set to true to serve the file with Content-Disposition: inline. Otherwise, it will be served with Content-Disposition: attachment. filename=...","in":"query","name":"inline","required":false,"schema":{"type":"boolean"}},{"description":"Byte range to request a partial file content.","in":"header","name":"Range","required":false,"schema":{"example":"bytes=0-1023","type":"string"}},{"description":"Only serve the requested byte range if the file is unchanged; otherwise, the whole file is served.","in":"header","name":"If-Range","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"OK"},"206":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"Partial Content"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"416":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project file's content.","tags":["Project File System"]}},"/v2/projects/{projectId}/jwt":{"get":{"operationId":"project-file-system-get-jwt","parameters":[{"description":"ID of the Project to retrieve an authorization token for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.project.FsApiJwt"}}},"description":"OK"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project's file/filesystem authorization token.","tags":["Project File System"]}},"/v2/projects/{projectId}/filesystem/files":{"get":{"parameters":[{"description":"ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Name of the file to retrieve.","in":"query","name":"file","required":false,"schema":{"example":"/home/example.log","type":"string"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project file's information.","tags":["Project File System"],"description":"This route is deprecated. Please use /v2/projects/{projectId}/filesystem-files instead.","deprecated":true}},"/v2/projects/{projectId}/filesystem-files":{"get":{"operationId":"project-file-system-list-files","parameters":[{"description":"ID of the Project.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Name of the file to retrieve.","in":"query","name":"file","required":false,"schema":{"example":"/home/example.log","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.project.FilesystemDirectoryListing"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"502":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Project file's information.","tags":["Project File System"]}},"/v2/project-token-invite":{"get":{"operationId":"project-get-project-token-invite","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); an expired invite is not found.","parameters":[{"description":"Token of the ProjectInvite to be retrieved.","in":"header","name":"token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectInvite"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a ProjectInvite by token.","tags":["Project"]}},"/v2/projects/{projectId}/memberships/self":{"get":{"operationId":"project-get-self-membership-for-project","parameters":[{"description":"ID of the Project to get the membership for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectMembership"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get the executing user's membership in a Project.","tags":["Project"]}},"/v2/servers/{serverId}/usage-metrics/breakdown":{"get":{"operationId":"project-get-server-usage-metrics-breakdown","parameters":[{"description":"ID of the server whose usage-metrics breakdown is retrieved.","in":"path","name":"serverId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Resource metric to retrieve.","in":"query","name":"metric","required":true,"schema":{"enum":["cpu","memory"],"type":"string"}},{"description":"Start of the time range.","in":"query","name":"from","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"End of the time range.","in":"query","name":"to","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.GetServerUsageBreakdownResponse"}}},"description":"Usage-metrics breakdown for the server"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a usage-metrics breakdown for a server.","tags":["Project"]}},"/v2/servers/{serverId}/usage-metrics":{"get":{"operationId":"project-get-server-usage-metrics","parameters":[{"description":"ID of the server whose usage metrics are retrieved.","in":"path","name":"serverId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Resource metric to retrieve.","in":"query","name":"metric","required":true,"schema":{"enum":["cpu","memory"],"type":"string"}},{"description":"Start of the time range.","in":"query","name":"from","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"End of the time range.","in":"query","name":"to","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.GetUsageResponse"}}},"description":"Usage metrics for the server"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get usage metrics for a server.","tags":["Project"]}},"/v2/servers/{serverId}":{"get":{"operationId":"project-get-server","parameters":[{"description":"ID of the Server to be retrieved.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.project.Server"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Server.","tags":["Project"]},"patch":{"operationId":"project-update-server","parameters":[{"description":"ID of the Server to be updated.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"My first Server!","type":"string"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Server.","tags":["Project"]}},"/v2/projects/{projectId}/usage-metrics/breakdown":{"get":{"operationId":"project-get-usage-metrics-breakdown","parameters":[{"description":"ID of the project whose usage-metrics breakdown is retrieved.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Resource metric to retrieve.","in":"query","name":"metric","required":true,"schema":{"enum":["cpu","memory"],"type":"string"}},{"description":"Start of the time range.","in":"query","name":"from","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"End of the time range.","in":"query","name":"to","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.GetProjectUsageBreakdownResponse"}}},"description":"Usage-metrics breakdown for the project"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a usage-metrics breakdown for a project.","tags":["Project"]}},"/v2/projects/{projectId}/usage-metrics":{"get":{"operationId":"project-get-usage-metrics","parameters":[{"description":"ID of the project whose usage metrics are retrieved.","in":"path","name":"projectId","required":true,"schema":{"format":"uuid","type":"string"}},{"description":"Resource metric to retrieve.","in":"query","name":"metric","required":true,"schema":{"enum":["cpu","memory"],"type":"string"}},{"description":"Start of the time range.","in":"query","name":"from","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"End of the time range.","in":"query","name":"to","required":false,"schema":{"format":"date-time","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.usagemetrics.GetUsageResponse"}}},"description":"Usage metrics for the project"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get usage metrics for a project.","tags":["Project"]}},"/v2/customers/{customerId}/projects":{"get":{"operationId":"project-list-customer-projects","parameters":[{"description":"ID of the Organization to list Projects for.","in":"path","name":"customerId","required":true,"schema":{"example":"15b8a787-8d46-43b0-907e-01af35032c0a","type":"string"}},{"description":"Search term to list Projects for. The fields id, shortId, and description are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["createdAt","description"],"default":"createdAt"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectListItem"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Projects belonging to a Customer.","tags":["Project"]}},"/v2/projects/{projectId}/memberships":{"get":{"operationId":"project-list-memberships-for-project","parameters":[{"description":"ID of the Project to list memberships for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"in":"query","name":"hasExpiry","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"isInherited","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"role","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"}},{"description":"Only applied for owners of the project; ignored for other callers.","in":"query","name":"hasMfa","required":false,"schema":{"type":"boolean"}},{"description":"Search term to list Memberships for. The fields firstName and lastName are searchable for every caller; mailAddress is only searched if the caller can see the mail addresses of the members (owners of the project and mittwald employees).","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectMembership"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Memberships belonging to a Project.","tags":["Project"]}},"/v2/projects/{projectId}/activities":{"get":{"operationId":"project-list-project-activities","parameters":[{"in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Filter for a aggregate name\n","in":"query","name":"aggregateName","required":false,"schema":{"type":"string"}},{"description":"Filter for a aggregate domain\n","in":"query","name":"aggregateDomain","required":false,"schema":{"type":"string"}},{"description":"Filter for a aggregate id\n","in":"query","name":"aggregateId","required":false,"schema":{"type":"string"}},{"description":"Filter for a start time\n","in":"query","name":"startTime","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"Filter for a end time\n","in":"query","name":"endTime","required":false,"schema":{"format":"date-time","type":"string"}},{"description":"Filter for a fulltext search\n","in":"query","name":"fulltextSearch","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":30,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["dateTime"],"default":"dateTime"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.activitylog.LogEntry"},"type":"array"}}},"description":"List of all activities.\n","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get the activities of a project.","tags":["Project"]}},"/v2/project-invites":{"get":{"operationId":"project-list-project-invites","description":"An invite expires 30 days after its last invite mail (see `expiresAt`); expired invites are not listed.","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectInvite"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List ProjectInvites belonging to the executing user.","tags":["Project"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/project-memberships":{"get":{"operationId":"project-list-project-memberships","parameters":[{"in":"query","name":"hasExpiry","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"isInherited","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"role","required":false,"schema":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectRoles"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.membership.ProjectMembership"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List ProjectMemberships belonging to the executing user.","tags":["Project"]}},"/v2/projects":{"get":{"operationId":"project-list-projects","parameters":[{"description":"ID of the Organization to list Projects for.","in":"query","name":"customerId","required":false,"schema":{"example":"15b8a787-8d46-43b0-907e-01af35032c0a","type":"string"}},{"description":"ID of the Server to list Projects for.","in":"query","name":"serverId","required":false,"schema":{"format":"uuid","type":"string"}},{"description":"Search term to list Projects for. The fields id, shortId, and description are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["createdAt","description"],"default":"createdAt"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.project.ProjectListItem"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Projects belonging to the executing user.","tags":["Project"]}},"/v2/servers":{"get":{"operationId":"project-list-servers","parameters":[{"description":"ID of the Organization to list Servers for. If no ID is provided, the ID of the executing User is used instead.","in":"query","name":"customerId","required":false,"schema":{"type":"string"}},{"description":"Search term to list Servers for. The fields id, shortId, and description are searchable.","in":"query","name":"searchTerm","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":10000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false},{"name":"sort","in":"query","description":"Sort the result by this field.","schema":{"type":"string","enum":["createdAt","description"],"default":"createdAt"},"required":false},{"name":"order","in":"query","description":"Should the result be sorted ascending or descending? Default ascending.","schema":{"type":"string","enum":["asc","desc"],"default":"asc"},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.project.Server"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Servers belonging to the executing user.","tags":["Project"]}},"/v2/project-invites/{projectInviteId}/actions/resend":{"post":{"operationId":"project-resend-project-invite-mail","parameters":[{"description":"ID of the ProjectInvite to resend the mail for.","in":"path","name":"projectInviteId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Resend the mail for a ProjectInvite.","tags":["Project"]}},"/v2/relocation":{"post":{"operationId":"relocation-create-relocation","description":"Give mittwald access to your Provider and let them move your Project to mittwald.","requestBody":{"content":{"application/json":{"schema":{"properties":{"additionalServices":{"properties":{"dataCompare":{"enum":["default","additionalCompare"],"type":"string"}},"required":["dataCompare"],"type":"object"},"allDomains":{"description":"Should all project releated domains should be transferred to mittwald?","type":"boolean"},"allowPasswordChange":{"description":"Has to be true. Do you accept that our mittwald team can change and get password from your current provider?","type":"boolean"},"articleType":{"description":"Type of the article you want to relocate.","enum":["cms-hosting","cms-hosting-express","onlineshop","onlineshop-express"],"type":"string"},"contact":{"properties":{"email":{"format":"email","minLength":1,"type":"string"},"firstName":{"minLength":1,"type":"string"},"lastName":{"minLength":1,"type":"string"},"phoneNumber":{"type":"string"}},"required":["firstName","lastName","email"],"type":"object"},"domains":{"description":"List of domains which should be transferred (when allDomains is not checked).","items":{"$ref":"#/components/schemas/de.mittwald.v1.redirectus.Domain"},"type":"array"},"emailInboxes":{"description":"List of email inboxes which should be transferred.","items":{"$ref":"#/components/schemas/de.mittwald.v1.redirectus.EmailInbox"},"type":"array"},"notes":{"description":"Anything our customer service needs to know for the relocation process.","type":"string"},"prices":{"properties":{"positions":{"items":{"properties":{"name":{"minLength":1,"type":"string"},"price":{"minimum":0,"type":"number"}},"required":["name","price"],"type":"object"},"type":"array"},"total":{"minimum":0,"type":"number"}},"required":["positions","total"],"type":"object"},"provider":{"properties":{"loginUrl":{"description":"Url to the control panel of the provider","minLength":1,"type":"string"},"name":{"description":"Name of your provider","oneOf":[{"minLength":1,"type":"string"},{"enum":["1und1","strato"],"type":"string"}]},"password":{"minLength":1,"type":"string"},"sourceAccount":{"description":"Which account of your provider should be moved?","minLength":1,"type":"string"},"userName":{"description":"Login name to your provider","minLength":1,"type":"string"}},"required":["name","loginUrl","userName","password","sourceAccount"],"type":"object"},"target":{"properties":{"organisation":{"description":"Your customer or organisation number","minLength":1,"type":"string"},"product":{"description":"Help our customer service finding your target account","oneOf":[{"minLength":1,"type":"string"},{"enum":["Space-Server","proSpace","Agentur-Server","CMS-Hosting","Shop-Hosting"],"type":"string"}],"type":"string"},"projectName":{"description":"In which p-account or short project id your project should be moved.","minLength":1,"type":"string"},"system":{"description":"Which mittwald system does the targetProject use?","enum":["kc","mstudio"],"type":"string"}},"required":["organisation","projectName","system","product"],"type":"object"},"userId":{"oneOf":[{"format":"uuid","minLength":1,"type":"string"},{"maxLength":0,"type":"string"}]}},"required":["articleType","additionalServices","prices","provider","contact","target","allowPasswordChange"],"type":"object"}}},"description":"","required":true},"responses":{"204":{"description":"No content"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Relocate an external Project to mittwald.","tags":["Relocation"]}},"/v2/projects/{projectId}/sftp-users":{"post":{"operationId":"sftp-user-create-sftp-user","parameters":[{"description":"ID of the Project to create an SFTPUser for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"accessLevel":{"enum":["read","full"],"type":"string"},"authentication":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.Authentication"},"description":{"type":"string"},"directories":{"items":{"type":"string"},"minItems":1,"type":"array"},"expiresAt":{"format":"date-time","type":"string"}},"required":["description","authentication","directories"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.SftpUser"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an SFTPUser for a Project.","tags":["SSH/SFTP User"]},"get":{"operationId":"sftp-user-list-sftp-users","description":"Lists the project's SFTP users. A client connects on port 22 with `sftp <userName>@<projectShortId>@ssh.<clusterId>.<clusterDomain>`: take `userName` from the returned user and `shortId`, `clusterId` and `clusterDomain` from `GET /v2/projects/{projectId}` (`project-get-project`). Example: `sftp sftp-a1b2c3@p-d4e5f6@ssh.espelkamp.project.host`.","parameters":[{"description":"ID of the Project to request SFTPUsers for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.SftpUser"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all SFTPUsers for a Project.","tags":["SSH/SFTP User"]}},"/v2/sftp-users/{sftpUserId}":{"delete":{"operationId":"sftp-user-delete-sftp-user","parameters":[{"description":"ID of the SFTPUser to be deleted.","in":"path","name":"sftpUserId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete an SFTPUser.","tags":["SSH/SFTP User"]},"get":{"operationId":"sftp-user-get-sftp-user","parameters":[{"description":"ID of the SFTPUser to get.","in":"path","name":"sftpUserId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.SftpUser"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an SFTPUser.","tags":["SSH/SFTP User"]},"patch":{"operationId":"sftp-user-update-sftp-user","parameters":[{"description":"ID of the SFTPUser to be updated.","in":"path","name":"sftpUserId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"accessLevel":{"enum":["read","full"],"type":"string"},"active":{"type":"boolean"},"description":{"type":"string"},"directories":{"items":{"type":"string"},"minItems":1,"type":"array"},"expiresAt":{"format":"date-time","type":"string"},"password":{"maxLength":72,"type":"string"},"publicKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKey"},"type":"array"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an SFTPUser.","tags":["SSH/SFTP User"]}},"/v2/project/{projectId}/sftp-users":{"get":{"description":"This route is deprecated. Please use /v2/projects/{projectId}/sftp-users instead.","parameters":[{"description":"ID of the Project to request SFTPUsers for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all SFTPUsers for a Project.","tags":["SSH/SFTP User"],"deprecated":true}},"/v2/projects/{projectId}/ssh-users":{"post":{"operationId":"ssh-user-create-ssh-user","parameters":[{"description":"ID of the Project to create an SSHUser for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"authentication":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.Authentication"},"description":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["description","authentication"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.SshUser"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create an SSHUser for a Project.","tags":["SSH/SFTP User"]},"get":{"operationId":"ssh-user-list-ssh-users","description":"Lists the project's SSH users. A client connects on port 22 with `ssh <userName>@<targetShortId>@ssh.<clusterId>.<clusterDomain>`: take `userName` from the returned user and `clusterId` and `clusterDomain` from `GET /v2/projects/{projectId}` (`project-get-project`). `<targetShortId>` selects where the session lands: the short ID of an app installation from `GET /v2/projects/{projectId}/app-installations` opens the project host, the `shortId` of a running container service from `GET /v2/projects/{projectId}/stacks` (`services[].shortId`) opens that container. Example: `ssh ssh-a1b2c3@a-d4e5f6@ssh.espelkamp.project.host`.","parameters":[{"description":"ID of the Project to retrieve SSHUsers for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","default":1000,"minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.SshUser"},"type":"array"}}},"description":"OK","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get all SSHUsers for a Project.","tags":["SSH/SFTP User"]}},"/v2/ssh-users/{sshUserId}":{"delete":{"operationId":"ssh-user-delete-ssh-user","parameters":[{"description":"ID of the SSHUser to be deleted.","in":"path","name":"sshUserId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete an SSHUser.","tags":["SSH/SFTP User"]},"get":{"operationId":"ssh-user-get-ssh-user","parameters":[{"description":"ID of the SSHUser to be retrieved.","in":"path","name":"sshUserId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.SshUser"}}},"description":"OK"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get an SSHUser.","tags":["SSH/SFTP User"]},"patch":{"operationId":"ssh-user-update-ssh-user","parameters":[{"description":"ID of the SSHUser to be updated.","in":"path","name":"sshUserId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"active":{"type":"boolean"},"description":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"password":{"maxLength":72,"type":"string"},"publicKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKey"},"type":"array"}},"type":"object"}}},"required":false},"responses":{"204":{"description":"NoContent"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an SSHUser.","tags":["SSH/SFTP User"]}},"/v2/sshusers/{sshUserId}":{"patch":{"parameters":[{"description":"ID of the SSHUser to be updated.","in":"path","name":"sshUserId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"active":{"type":"boolean"},"description":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"password":{"maxLength":72,"type":"string"},"publicKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.sshuser.PublicKey"},"type":"array"}},"type":"object"}}},"required":false},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an SSHUser.","tags":["SSH/SFTP User"],"description":"This route is deprecated. Please use /v2/ssh-users/{sshUserId} instead.","deprecated":true}},"/v2/certificates/{certificateId}/actions/check-replace-certificate":{"post":{"operationId":"ssl-check-replace-certificate","description":"Checks the replacement of a Certificate and shows differences between the current and the new Certificate.","parameters":[{"in":"path","name":"certificateId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"certificate":{"type":"string"},"privateKey":{"type":"string"}},"required":["certificate"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CheckReplaceCertificateResponse"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check the replacement of a Certificate.","tags":["Domain"]}},"/v2/certificate-requests":{"post":{"operationId":"ssl-create-certificate-request","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateRequestCreateRequest"},{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateRequestCreateWithCSRRequest"},{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateRequestCreateWithDNSRequest"}]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateRequestCreateResponse"}}},"description":"Created"},"400":{"$ref":"#/components/responses/de.mittwald.v1.ssl.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a CertificateRequest.","tags":["Domain"]},"get":{"operationId":"ssl-list-certificate-requests","parameters":[{"description":"ID of the Project to list Certificate Requests for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"query","name":"projectId","required":false,"schema":{"type":"string"}},{"description":"ID of the Ingress to list Certificate Requests for.","in":"query","name":"ingressId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateRequest"},"type":"array"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List CertificateRequests belonging to a Project or an Ingress.","tags":["Domain"]}},"/v2/certificate-request/{certificateRequestId}":{"delete":{"operationId":"ssl-delete-certificate-request","parameters":[{"in":"path","name":"certificateRequestId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a CertificateRequest.","tags":["Domain"]}},"/v2/certificate/{certificateId}":{"delete":{"operationId":"ssl-delete-certificate","parameters":[{"in":"path","name":"certificateId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"No Content"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a Certificate.","tags":["Domain"]}},"/v2/certificate-requests/{certificateRequestId}":{"get":{"operationId":"ssl-get-certificate-request","parameters":[{"description":"ID of the CertificateRequest to be retrieved.","in":"path","name":"certificateRequestId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.CertificateRequest"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a CertificateRequest.","tags":["Domain"]}},"/v2/certificates/{certificateId}":{"get":{"operationId":"ssl-get-certificate","parameters":[{"description":"ID of the SSL Certificate to be retrieved.","in":"path","name":"certificateId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.Certificate"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a Certificate.","tags":["Domain"]},"put":{"operationId":"ssl-replace-certificate","parameters":[{"in":"path","name":"certificateId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"certificate":{"type":"string"},"privateKey":{"type":"string"}},"required":["certificate"],"type":"object"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.ssl.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Certificate.","tags":["Domain"]}},"/v2/certificates":{"get":{"operationId":"ssl-list-certificates","parameters":[{"description":"ID of the Project to list Certificates for.","examples":{"shortId":{"value":"p-ab1cd2"},"uuid":{"value":"0b15641e-26e2-4e56-9b83-96a995c8bf05"}},"in":"query","name":"projectId","required":false,"schema":{"type":"string"}},{"description":"ID of the Ingress to list Certificates for.","in":"query","name":"ingressId","required":false,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.ssl.Certificate"},"type":"array"}}},"description":"OK"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List Certificates belonging to a Project or an Ingress.","tags":["Domain"]}},"/v2/projects/{projectId}/storage-space-statistics":{"get":{"operationId":"storagespace-get-project-statistics","parameters":[{"description":"ID of the Project to retrieve storage space Statistics for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.Statistics"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get storage space Statistics belonging to a Project.","tags":["Project"]},"patch":{"operationId":"storagespace-update-project-statistics","parameters":[{"description":"ID of the Project to update the storage space statistics for.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"notificationThresholdInBytes":{"example":10000,"format":"int64","nullable":true,"type":"integer"}}}}},"required":false},"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Project's storage space statistics.","tags":["Project"]}},"/v2/servers/{serverId}/storage-space-statistics":{"get":{"operationId":"storagespace-get-server-statistics","parameters":[{"description":"ID of the Server to retrieve storage space Statistics for.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.storagespace.Statistics"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get storage space Statistics belonging to a Server.","tags":["Project"]},"patch":{"operationId":"storagespace-update-server-statistics","parameters":[{"description":"ID of the Server to update the storage space statistics for.","in":"path","name":"serverId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"notificationThresholdInBytes":{"example":10000,"format":"int64","nullable":true,"type":"integer"}}}}},"required":false},"responses":{"204":{"description":"NoContent"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update a Server's storage space statistics.","tags":["Project"]}},"/v2/users/{userId}/phone":{"post":{"operationId":"user-add-phone-number","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"phoneNumber":{"example":"+491701234567","type":"string"}},"required":["phoneNumber"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Phone number was added successfully. Now, it can be verified via /v2/users/:userId/actions/verify-phone."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Add phone number and start verification process.","tags":["User"]},"delete":{"operationId":"user-remove-phone-number","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"PhoneNumber removal was successful"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove phone number.","tags":["User"]}},"/v2/signup/authentication/mfa":{"post":{"description":"This route is deprecated. Please use /v2/authenticate-mfa instead.","parameters":[{"description":"Only set the cookie and do not return cookie data.","in":"query","name":"cookieOnly","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge. Not needed for a short while after a\n`POST /authenticate` that answered `202`; otherwise a missing, unsolved or already used token is\nrejected with `CaptchaVerificationFailed` (400).\n","maxLength":2048,"minLength":1,"type":"string"},"email":{"description":"The email of the user.","example":"a.lovelace@example.com","format":"email","type":"string"},"multiFactorCode":{"description":"The second factor - otp code, recovery code or the confirmation code mailed at login.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"},"password":{"description":"The password of the user.","type":"string"}},"required":["email","password"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[],"summary":"Validate your second factor.","tags":["User"],"deprecated":true}},"/v2/authenticate-mfa":{"post":{"operationId":"user-authenticate-mfa","description":"Provide either `multiFactorCode` or `passkeyCredential` as second factor.\n","parameters":[{"description":"Only set the cookie and do not return cookie data.","in":"query","name":"cookieOnly","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge. Not needed for a short while after a\n`POST /authenticate` that answered `202`; otherwise a missing, unsolved or already used token is\nrejected with `CaptchaVerificationFailed` (400).\n","maxLength":2048,"minLength":1,"type":"string"},"email":{"description":"The email of the user.","example":"a.lovelace@example.com","format":"email","type":"string"},"multiFactorCode":{"description":"The second factor - otp code, recovery code or the confirmation code mailed at login.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"},"password":{"description":"The password of the user.","type":"string"}},"required":["email","password"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expires":{"description":"The expiration date of the token.","format":"date-time","type":"string"},"refreshToken":{"description":"Refresh token to refresh your access token even after it has expired.","type":"string"},"token":{"description":"Public token to identify yourself against the api gateway.","type":"string"}},"required":["token","refreshToken","expires"],"type":"object"}}},"description":"Your authentication request was successful and you've got an access token."},"204":{"description":"`cookieOnly=true` has been used and the cookie has been set.\n"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}}},"description":"Some of the specified values do not meet our requirements. Possibly your second factor is not valid,\nor the captcha token is missing, unsolved or already used (`CaptchaVerificationFailed`).\n"},"408":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/de.mittwald.v1.signup.DomainError"},{"properties":{"name":{"enum":["FirstAuthenticationFactorExpired"],"type":"string"}},"type":"object"}]}}},"description":"Your first factor has been expired. Please call '/authenticate' again.\n"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"Too many failed logins from your address. Wait until the lockout ends and try again.\n"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The captcha could not be verified because the verification service did not answer\n(`CaptchaVerificationUnavailable`). Retry with a new challenge.\n"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Validate your second factor.","tags":["User"]}},"/v2/authenticate-passkey":{"post":{"operationId":"user-authenticate-passkey","description":"Create the challenge with `POST /passkey-challenges` first.\n","parameters":[{"description":"Only set the cookie and do not return cookie data.","in":"query","name":"cookieOnly","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge, as issued by the captcha widget of the login\nform. A missing, unsolved or already used token is rejected with `CaptchaVerificationFailed` (400).\n","maxLength":2048,"minLength":1,"type":"string"},"challengeId":{"format":"uuid","type":"string"},"credential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyAuthenticationResponse"}},"required":["challengeId","credential"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expires":{"description":"The expiration date of the token.","format":"date-time","type":"string"},"refreshToken":{"description":"Refresh token to refresh your access token even after it has expired.","type":"string"},"token":{"description":"Public token to identify yourself against the api gateway.","type":"string"}},"required":["token","refreshToken","expires"],"type":"object"}}},"description":"Your authentication request was successful and you've got an access token."},"204":{"description":"`cookieOnly=true` has been used and the cookie has been set.\n"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}}},"description":"Authentication failed. Every failure of a well-formed request reports the same `type`:\n  * WrongEmailOrPassword\n\nA request that does not match the schema (e.g. a `challengeId` that is no UUID) is answered with\n`ValidationError` instead, and a missing, unsolved or already used captcha token with\n`CaptchaVerificationFailed`; both are decided before the credential is looked at.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The captcha could not be verified because the verification service did not answer\n(`CaptchaVerificationUnavailable`). Retry with a new challenge.\n"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Authenticate yourself with a passkey to get an access token.","tags":["User"]}},"/v2/signup/authentication":{"post":{"parameters":[{"description":"Only set the cookie and do not return cookie data.","in":"query","name":"cookieOnly","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge, as issued by the captcha widget of the login\nform. A missing, unsolved or already used token is rejected with `CaptchaVerificationFailed` (400).\n","maxLength":2048,"minLength":1,"type":"string"},"email":{"description":"The users Email-Address.","example":"a.lovelace@example.com","type":"string"},"password":{"description":"Password of the User.","type":"string"}},"required":["email","password"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[],"summary":"Authenticate yourself to get an access token.","tags":["User"],"description":"This route is deprecated. Please use /v2/authenticate instead.","deprecated":true}},"/v2/authenticate":{"post":{"operationId":"user-authenticate","parameters":[{"description":"Only set the cookie and do not return cookie data.","in":"query","name":"cookieOnly","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge, as issued by the captcha widget of the login\nform. A missing, unsolved or already used token is rejected with `CaptchaVerificationFailed` (400).\n","maxLength":2048,"minLength":1,"type":"string"},"email":{"description":"The users Email-Address.","example":"a.lovelace@example.com","type":"string"},"password":{"description":"Password of the User.","type":"string"}},"required":["email","password"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expires":{"description":"The expiration date of the token.","format":"date-time","type":"string"},"refreshToken":{"description":"Refresh token to refresh your access token even after it has expired.","type":"string"},"token":{"description":"Public token to identify yourself against the api gateway.","type":"string"}},"required":["token","refreshToken","expires"],"type":"object"}}},"description":"Your authentication request was successful and you've got an access token."},"202":{"content":{"application/json":{"schema":{"properties":{"availableSecondFactors":{"description":"More values may be added in the future; clients must ignore values they do not know.","items":{"enum":["totp","passkey","email"],"type":"string"},"type":"array"},"name":{"enum":["SecondFactorRequired"],"type":"string"},"passkeyChallenge":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyChallenge"}},"required":["availableSecondFactors"],"type":"object"}}},"description":"A second factor is required. Call `/authenticate-mfa` with a valid multi factor code or passkey assertion.\n`availableSecondFactors` lists the factors that can be used; it is empty if only a recovery code works.\n`passkeyChallenge` is only set if `passkey` is available.\n`email` is the only factor of a user without TOTP and passkeys: a confirmation code was mailed to the\nuser and has to be sent as `multiFactorCode`.\n"},"204":{"description":"`cookieOnly=true` has been used and the cookie has been set.\n"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}}},"description":"Authentication failed because of wrong credentials, or the captcha token is missing, unsolved or\nalready used (`CaptchaVerificationFailed`).\n"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}}},"description":"Authentication failed because of wrong credentials."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"Too many failed logins from your address. Wait until the lockout ends and try again.\n"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The captcha could not be verified because the verification service did not answer\n(`CaptchaVerificationUnavailable`). Retry with a new challenge.\n"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Authenticate yourself to get an access token.","tags":["User"]}},"/v2/authenticate-token-retrieval-key":{"post":{"operationId":"user-authenticate-with-access-token-retrieval-key","requestBody":{"content":{"application/json":{"schema":{"properties":{"accessTokenRetrievalKey":{"maxLength":37,"minLength":37,"type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["userId","accessTokenRetrievalKey"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"description":"The expiration date of the token.","format":"date-time","type":"string"},"refreshToken":{"description":"Refresh token to refresh your access token even after it has expired.","type":"string"},"token":{"description":"Public token to identify yourself against the public api.","type":"string"}},"required":["token","refreshToken","expiresAt"],"type":"object"}}},"description":"Your authentication request was successful and you've got an access token."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Authenticate an user with an access token retrieval key.","tags":["User"]}},"/v2/users/self/credentials/email":{"put":{"operationId":"user-change-email","requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"The new Email-Address","example":"ada.lovelace@example.com","format":"email","type":"string"}},"required":["email"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Your email has been added, but needs to be verfied. Check your mails and\ncall /email/verify with the verification code sent with the mail.\n"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * EmailInUse\n  * EmailBlacklisted\n  * EmailMXInvalid\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change your Email-Address.","tags":["User"]},"get":{"operationId":"user-get-own-email","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"email":{"example":"a.lovelace@example.com","format":"email","type":"string"}},"required":["email"],"type":"object"}}},"description":"Your Email-Address."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your verified Email-Address.","tags":["User"]}},"/v2/signup/password":{"put":{"description":"This route is deprecated. Please use /v2/users/self/credentials/password instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"newPassword":{"description":"The new password.","type":"string"},"oldPassword":{"description":"The old password.","type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"}},"required":["oldPassword","newPassword"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change your password.","tags":["User"],"deprecated":true},"get":{"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"The timestamp of your latest password change.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/credentials/password-updated-at instead.","deprecated":true}},"/v2/users/self/credentials/password":{"put":{"operationId":"user-change-password","description":"If a second factor is set up, provide either `multiFactorCode` or `passkeyCredential`.\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"newPassword":{"description":"The new password.","type":"string"},"oldPassword":{"description":"The old password.","type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"}},"required":["oldPassword","newPassword"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expires":{"description":"The expiration date of the token.","format":"date-time","type":"string"},"refreshToken":{"description":"Refresh token to refresh your access token even after it has expired.","type":"string"},"token":{"description":"Public token to identify yourself against the api gateway.","type":"string"}},"required":["token","refreshToken","expires"],"type":"object"}}},"description":"Your password has been changed."},"202":{"$ref":"#/components/responses/de.mittwald.v1.signup.SecondFactorRequiredError"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * EmailAddressNotVerified\n  * WrongPassword\n  * SamePassword\n  * PasswordIsLeaked\n  * MfaCodeNotValid\n  * PasswordEqualsEmail\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change your password.","tags":["User"]}},"/v2/signup/mfa/confirm":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"Multi Factor Code to confirm MFA.","example":"123456","maxLength":16,"minLength":6,"type":"string"}},"required":["multiFactorCode"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Confirm Multi Factor Authentication.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/credentials/mfa instead.","deprecated":true}},"/v2/users/self/credentials/mfa":{"post":{"operationId":"user-confirm-mfa","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"Multi Factor Code to confirm MFA.","example":"123456","maxLength":16,"minLength":6,"type":"string"}},"required":["multiFactorCode"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"recoveryCodesList":{"items":{"example":"1234123412341234","maxLength":16,"minLength":16,"type":"string"},"maxItems":20,"minItems":20,"type":"array"}},"required":["recoveryCodesList"],"type":"object"}}},"description":"Mfa is now activated and recovery codes are in the response body."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * EmailAddressNotVerified\n  * MfaNotInitialized\n  * MfaAlreadyConfirmed\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Confirm Multi Factor Authentication.","tags":["User"]},"delete":{"operationId":"user-disable-mfa","description":"Provide either `multiFactorCode` or `passkeyCredential` as proof.\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"}},"type":"object"}}},"required":true},"responses":{"204":{"description":"Multi Factor Authentication was disabled."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * MfaCodeNotValid\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Disable Multi Factor Authentication.","tags":["User"]},"get":{"operationId":"user-get-mfa-status","description":"Describes TOTP only. Passkeys are a second factor as well; `GET /v2/users/self/passkeys` lists them, so\n`confirmed: false` does not mean that you have no second factor.\n","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"confirmed":{"description":"TOTP has been confirmed and is active.","type":"boolean"},"initialized":{"description":"TOTP has been initialized.","type":"boolean"}},"required":["initialized","confirmed"],"type":"object"}}},"description":"Multi factor auth status"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your current multi factor auth status.","tags":["User"]},"put":{"operationId":"user-reset-recoverycodes","description":"Provide either `multiFactorCode` or `passkeyCredential` as proof.\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"recoveryCodesList":{"items":{"example":"1234123412341234","maxLength":16,"minLength":16,"type":"string"},"maxItems":20,"minItems":20,"type":"array"}},"required":["recoveryCodesList"],"type":"object"}}},"description":"Recovery-Codes are reset now. The new Recovery-Codes are in the response body."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * MfaCodeNotValid\n  * MfaNotInitialized\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Reset RecoveryCodes for MFA.","tags":["User"]}},"/v2/users/self/credentials/password/confirm-reset":{"post":{"operationId":"user-confirm-password-reset","requestBody":{"content":{"application/json":{"schema":{"properties":{"password":{"description":"The new password.","type":"string"},"token":{"description":"Password reset token","maxLength":20,"minLength":20,"type":"string"},"userId":{"description":"UserId of the user to reset the password for.","format":"uuid","type":"string"}},"required":["userId","token","password"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Password reset was successful."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\nPossible domain specific `type` values are:\n  * WrongPasswordResetToken\n  * EmailAddressNotVerified\n  * PasswordIsLeaked\n  * ValidationError\n  * PasswordEqualsEmail\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Confirm password reset.","tags":["User"]}},"/v2/signup/token/api":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"Api Token - read","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"roles":{"description":"Determines the access rights of the ApiToken.","example":["api_read"],"items":{"enum":["api_read","api_write"],"type":"string"},"minItems":1,"type":"array","uniqueItems":true}},"required":["roles","description"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a new ApiToken.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/api-tokens instead.","deprecated":true},"get":{"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all of your ApiTokens.","tags":["User"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"description":"This route is deprecated. Please use /v2/users/self/api-tokens instead.","deprecated":true}},"/v2/users/self/api-tokens":{"post":{"operationId":"user-create-api-token","requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"Api Token - read","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"roles":{"description":"Determines the access rights of the ApiToken.","example":["api_read"],"items":{"enum":["api_read","api_write"],"type":"string"},"minItems":1,"type":"array","uniqueItems":true}},"required":["roles","description"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"token":{"description":"The `ApiToken`.","example":"00000000-0000-4000-0000-000000000000:foobar:mittwald_a","type":"string"}},"required":["token"],"type":"object"}}},"description":"ApiToken was added."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a new ApiToken.","tags":["User"]},"get":{"operationId":"user-list-api-tokens","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.signup.ApiToken"},"type":"array"}}},"description":"A list of ApiTokens.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all of your ApiTokens.","tags":["User"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/users/self/feedback":{"post":{"operationId":"user-create-feedback","requestBody":{"content":{"application/json":{"schema":{"properties":{"message":{"description":"Personal feedback message.","maxLength":5000,"type":"string"},"origin":{"description":"Origin of the feedback.","example":"https://studio.mittwald.de/app/dashboard","maxLength":1000,"type":"string"},"subject":{"description":"Descriptive subject.","maxLength":100,"type":"string"},"type":{"description":"Type of feedback.","enum":["feedback","bug"],"type":"string"},"vote":{"description":"Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.","maximum":10,"minimum":0,"type":"number"}},"required":["subject"],"type":"object"}}},"description":"The feedback to give."},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Feedback successfully submitted."},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Submit your user feedback.","tags":["User"]}},"/v2/passkey-challenges":{"post":{"operationId":"user-create-passkey-challenge","description":"The challenge is bound to the `Origin` header of the request.\n","responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyChallenge"}}},"description":"The challenge has been created."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The origin matches no relying party. Possible domain specific `type` values are:\n  * PasskeyVerificationFailed\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Create a challenge for a passkey login.","tags":["User"]}},"/v2/users/self/passkey-challenges":{"post":{"operationId":"user-create-passkey-confirmation-challenge","description":"The challenge is bound to the `Origin` header of the request and can be used once as `passkeyCredential`.\n","responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyChallenge"}}},"description":"The challenge has been created."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The origin matches no relying party, or you have no passkey for its relying party.\nPossible domain specific `type` values are:\n  * PasskeyVerificationFailed\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a challenge to confirm an action with a passkey.","tags":["User"]}},"/v2/users/self/passkey-registration-challenges":{"post":{"operationId":"user-create-passkey-registration-challenge","description":"Confirm your identity with the password and, if a second factor is set up, with `multiFactorCode` or `passkeyCredential`.\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"},"password":{"description":"The password of the user.","type":"string"}},"required":["password"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyRegistrationChallenge"}}},"description":"The challenge has been created."},"202":{"$ref":"#/components/responses/de.mittwald.v1.signup.SecondFactorRequiredError"},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}}},"description":"Some of the specified values do not meet our requirements.\nA wrong password or second factor and an unverified email address are answered with\n`ValidationError`, identified by its `message`: `WrongPassword`, `MfaCodeNotValid` or\n`EmailAddressNotVerified`.\nPossible domain specific `type` values are:\n  * PasskeyVerificationFailed\n"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The user already has the maximum of 20 passkeys. Possible domain specific `type` values are:\n  * TooManyPasskeys\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Create a challenge to register a new passkey.","tags":["User"]}},"/v2/users/self/passkeys":{"post":{"operationId":"user-create-passkey","description":"Create the challenge with `POST /users/self/passkey-registration-challenges` first.\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"challengeId":{"format":"uuid","type":"string"},"credential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyRegistrationResponse"},"name":{"description":"The display name of the passkey.","maxLength":64,"minLength":1,"type":"string"}},"required":["challengeId","credential","name"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"id":{"format":"uuid","type":"string"},"recoveryCodes":{"description":"Only set if the passkey is the first second factor of the user.","items":{"example":"1234123412341234","maxLength":16,"minLength":16,"type":"string"},"type":"array"}},"required":["id"],"type":"object"}}},"description":"The passkey has been registered."},"400":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"},{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}]}}},"description":"Some of the specified values do not meet our requirements; a request that does not match the schema is\nanswered with `ValidationError`.\nPossible domain specific `type` values are:\n  * PasskeyVerificationFailed\n"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The user already has the maximum of 20 passkeys. Possible domain specific `type` values are:\n  * TooManyPasskeys\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Register a new passkey.","tags":["User"]},"get":{"operationId":"user-list-passkeys","responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"aaguid":{"description":"The authenticator model identifier.","type":"string"},"backupEligible":{"description":"Whether the authenticator can back up (sync) the passkey, as reported at registration.","type":"boolean"},"backupState":{"description":"Whether the passkey was backed up (synced) at registration. Not updated afterwards.","type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"credentialId":{"description":"The base64url encoded WebAuthn credential id.","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"rpId":{"type":"string"}},"required":["id","credentialId","rpId","name","aaguid","backupEligible","backupState","createdAt"],"type":"object"},"type":"array"}}},"description":"The registered passkeys, oldest first."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your registered passkeys.","tags":["User"]}},"/v2/signup/ssh":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"format":"date-time","type":"string"},"publicKey":{"example":"ssh-rsa ...","type":"string"}},"required":["publicKey"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Store a new ssh-key.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/ssh-keys instead.","deprecated":true},"get":{"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your stored ssh-keys.","tags":["User"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}],"description":"This route is deprecated. Please use /v2/users/self/ssh-keys instead.","deprecated":true}},"/v2/users/self/ssh-keys":{"post":{"operationId":"user-create-ssh-key","requestBody":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"format":"date-time","type":"string"},"publicKey":{"example":"ssh-rsa ...","type":"string"}},"required":["publicKey"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"The ssh-key was stored."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Store a new ssh-key.","tags":["User"]},"get":{"operationId":"user-list-ssh-keys","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"sshKeys":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.signup.SshKey"},"type":"array"}},"type":"object"}}},"description":"The list of stored ssh-keys.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get your stored ssh-keys.","tags":["User"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]}},"/v2/users/self/api-tokens/{apiTokenId}":{"delete":{"operationId":"user-delete-api-token","parameters":[{"description":"The uuid of an ApiToken.","in":"path","name":"apiTokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The `ApiToken` has been deleted."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Deletes an ApiToken.","tags":["User"]},"put":{"operationId":"user-edit-api-token","parameters":[{"in":"path","name":"apiTokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"example":"Api Token for ...","type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["description"],"type":"object"}}},"required":true},"responses":{"204":{"description":"ApiToken was updated."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update an existing `ApiToken`.","tags":["User"]},"get":{"operationId":"user-get-api-token","parameters":[{"description":"The id of an ApiToken.","in":"path","name":"apiTokenId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.signup.ApiToken"}}},"description":"The ApiToken."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific ApiToken.","tags":["User"]}},"/v2/users/self/passkeys/{passkeyId}":{"delete":{"operationId":"user-delete-passkey","description":"Provide either `multiFactorCode` or `passkeyCredential` as proof.\n","parameters":[{"in":"path","name":"passkeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"}},"type":"object"}}},"required":true},"responses":{"204":{"description":"The passkey has been deleted."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements. A missing or wrong proof is answered with\n`ValidationError`, message `MfaCodeNotValid`.\n"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The passkey does not exist; this is checked before the proof. Possible domain specific `type` values are:\n  * PasskeyNotFound\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete a passkey.","tags":["User"]},"patch":{"operationId":"user-update-passkey","parameters":[{"in":"path","name":"passkeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"maxLength":64,"minLength":1,"type":"string"}},"required":["name"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The passkey has been renamed."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The passkey does not exist. Possible domain specific `type` values are:\n  * PasskeyNotFound\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Rename a passkey.","tags":["User"]}},"/v2/users/self/ssh-keys/{sshKeyId}":{"delete":{"operationId":"user-delete-ssh-key","parameters":[{"in":"path","name":"sshKeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":"The ssh-key has been removed."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove a ssh-key.","tags":["User"]},"put":{"operationId":"user-edit-ssh-key","parameters":[{"in":"path","name":"sshKeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"example":"a.lovelace@example.com","type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["comment"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The ssh-key has been edited."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Edit a stored ssh-key.","tags":["User"]},"get":{"operationId":"user-get-ssh-key","parameters":[{"in":"path","name":"sshKeyId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"sshKey":{"$ref":"#/components/schemas/de.mittwald.v1.signup.SshKey"}},"required":["sshKey"],"type":"object"}}},"description":"The requested ssh-key."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific stored ssh-key.","tags":["User"]}},"/v2/users/self":{"delete":{"operationId":"user-delete-user","description":"If a second factor is set up, provide either `multiFactorCode` or `passkeyCredential`.\n","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"},"password":{"description":"The password of the user.","type":"string"}},"required":["password"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Your user has been deleted."},"202":{"$ref":"#/components/responses/de.mittwald.v1.signup.SecondFactorRequiredError"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * WrongPassword\n  * MfaCodeNotValid\n"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"Possible domain specific `type` values are:\n           * RemovingLastOwnerNotAllowed\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Delete your account and all your personal data.","tags":["User"]}},"/v2/users/self/sessions/current/status":{"get":{"operationId":"user-get-current-session-status","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"isEmployee":{"description":"Whether the executing user is an employee.","type":"boolean"},"isImpersonated":{"description":"Whether the current session is an impersonation.","type":"boolean"},"tokenId":{"description":"The ID of the token currently in use.","format":"uuid","type":"string"},"userId":{"description":"ID of the executing user.","format":"uuid","type":"string"}},"required":["userId","tokenId","isImpersonated","isEmployee"],"type":"object"}}},"description":"Status of the current session."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check status of the current session.","tags":["User"]}},"/v2/users/self/credentials/password-updated-at":{"get":{"operationId":"user-get-password-updated-at","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"passwordUpdatedAt":{"format":"date-time","type":"string"}},"required":["passwordUpdatedAt"],"type":"object"}}},"description":"Timestamp of latest password change."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"The timestamp of your latest password change.","tags":["User"]}},"/v2/users/{userId}/settings":{"get":{"operationId":"user-get-personalized-settings","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"settingsString":{"example":"eyJvbmJvYXJkaW5nIjp7ImNvbXBsZXRlZCI6W119LCJyZWNlbnRWaXNpdHMiOnsicmVjZW50VmlzaXRzIjp7fSwicmVjZW50VmlzaXRlZFBhdGhzIjp7fX0sImNoYW5nZWxvZ3MiOnsicmVhZElkcyI6WzIsMSwzLDQsNSw2LDgsNyw5XX19","format":"base64","type":"string"}},"type":"object"}}},"description":"Personal settings of the user."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get personalized settings.","tags":["User"]},"put":{"operationId":"user-update-personalized-settings","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"settingsString":{"example":"eyJvbmJvYXJkaW5nIjp7ImNvbXBsZXRlZCI6W119LCJyZWNlbnRWaXNpdHMiOnsicmVjZW50VmlzaXRzIjp7fSwicmVjZW50VmlzaXRlZFBhdGhzIjp7fX0sImNoYW5nZWxvZ3MiOnsicmVhZElkcyI6WzIsMSwzLDQsNSw2LDgsNyw5XX19","format":"base64","type":"string"}},"required":["settingsString"],"type":"object"}}},"required":true},"responses":{"204":{"description":"PersonalSettings have been updated"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Update personalized GUI settings.","tags":["User"]}},"/v2/poll-settings/{userId}":{"get":{"operationId":"user-get-poll-status","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.poll.UserPollSettings"}}},"description":""},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Get poll settings for the specified user.","tags":["User"]},"post":{"operationId":"user-post-poll-status","parameters":[{"in":"path","name":"userId","required":true,"schema":{"format":"uuid","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"status":{"enum":["completed","muted","ignored"],"type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["userId","status"],"type":"object"}}},"description":"","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.poll.UserPollSettings"}}},"description":"The updated poll settings."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"500":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Store new or update poll settings.","tags":["User"]}},"/v2/users/self/sessions/{tokenId}":{"get":{"operationId":"user-get-session","parameters":[{"description":"TokenId to identify a specific session.","in":"path","name":"tokenId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.signup.UserSession"}}},"description":"The session."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get a specific session.","tags":["User"]},"delete":{"operationId":"user-terminate-session","parameters":[{"description":"The sessionId is the id of the token used to create the session.","in":"path","name":"tokenId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Session terminated."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Terminate a specific Session.","tags":["User"]}},"/v2/users/self/spotlights/{spotlightId}":{"get":{"operationId":"user-get-spotlight-info","parameters":[{"in":"path","name":"spotlightId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"acknowledged":{"type":"boolean"},"decision":{"$ref":"#/components/schemas/de.mittwald.v1.user.UserFeedbackSpotlightDecision"},"spotlightId":{"type":"string"},"used":{"type":"boolean"}},"required":["spotlightId","used","acknowledged"],"type":"object"}}},"description":"Feedback submitted by the user."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Submitted feedback of the given user.","tags":["User"]},"post":{"operationId":"user-spotlight-usage","parameters":[{"in":"path","name":"spotlightId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"acknowledged":{"type":"boolean"},"owner":{"deprecated":true,"description":"The Owner of the Feature the spotlight is highlighting.","type":"string"},"used":{"type":"boolean"}},"required":[],"type":"object"}}},"required":true},"responses":{"204":{"description":"Usage recorded successfully"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Submit your usage of the spotlight.","tags":["User"]}},"/v2/users/{userId}":{"get":{"operationId":"user-get-user","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.user.User"}}},"description":"The user profile."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"401":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"403":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"412":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get profile information for a user.","tags":["User"]},"put":{"operationId":"user-update-personal-information","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"}},"required":["person"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Your personal information has been changed"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Change personal information.","tags":["User"]}},"/v2/users/self/credentials/init-mfa":{"post":{"operationId":"user-init-mfa","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"barcode":{"description":"base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You\ncan display it with `<img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUh..\" />`\n","type":"string"},"url":{"description":"Same as barcode,  but in URL form.\n","example":"otpauth://totp/mStudio:test@gmail.com?algorithm=SHA1&digits=6&issuer=mStudio&period=30&secret=HTXT7KJFVNAJUPYWQRWMNVQE5AF5YZI2","type":"string"}},"required":["barcode","url"],"type":"object"}}},"description":"The process of activating Multi Factor Authentication is initialized."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n  * EmailAddressNotVerified\n  * MfaAlreadyConfirmed\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa.","tags":["User"]}},"/v2/users/self/credentials/actions/init-password-reset":{"post":{"operationId":"user-init-password-reset","requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"Email address to reset the password for.","example":"a.lovelace@example.com","format":"email","type":"string"}},"required":["email"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"The password reset process has been initialized. The email with the confirmation code is\nsent asynchronously, so a successful response does not guarantee that it has been\ndelivered yet.\n"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Initialize password reset process.","tags":["User"]}},"/v2/users/{userId}/feedback":{"get":{"operationId":"user-list-feedback","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}},{"description":"Filter for subject content.","in":"query","name":"subject","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.user.UserFeedback"},"type":"array"}}},"description":"Feedback submitted by the user."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Submitted feedback of the given user.","tags":["User"]}},"/v2/users/self/sessions":{"get":{"operationId":"user-list-sessions","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/de.mittwald.v1.signup.UserSession"},"type":"array"}}},"description":"List of all sessions.","headers":{"X-Pagination-Limit":{"description":"The limit used to select the resources for the response","schema":{"type":"integer"}},"X-Pagination-Skip":{"description":"The number of skipped items","schema":{"type":"integer"}},"X-Pagination-Page":{"description":"The calculate page of the list response. Refer to parameters to learn more.","schema":{"type":"number"}},"X-Pagination-TotalCount":{"description":"The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"List all sessions.","tags":["User"],"parameters":[{"name":"limit","in":"query","description":"The max count of resources to return in the list response.","schema":{"type":"integer","minimum":0},"required":false},{"name":"skip","in":"query","description":"Number of items to skip. Should be multiple of `limit`.","schema":{"type":"integer","default":0},"required":false},{"name":"page","in":"query","description":"Page to display. `skip` and `page` end up doing the same. If both `page` and `skip` are set, skip is used.","schema":{"type":"integer","minimum":0},"required":false}]},"put":{"operationId":"user-refresh-session","requestBody":{"content":{"application/json":{"schema":{"properties":{"refreshToken":{"type":"string"}},"required":["refreshToken"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"description":"The expiration date of the token.","format":"date-time","type":"string"},"refreshToken":{"description":"Refresh token to refresh your access token even after it has expired.","type":"string"},"token":{"description":"Public token to identify yourself against the public api.","type":"string"}},"required":["token","refreshToken","expiresAt"],"type":"object"}}},"description":"Your token refresh was successful and you've got new a new access token. The used one in this call is no longer valid."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Refresh a session.","tags":["User"]},"delete":{"operationId":"user-terminate-all-sessions","responses":{"204":{"description":"All sessions terminated."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Terminate all sessions, except the current session.","tags":["User"]}},"/v2/logout":{"put":{"operationId":"user-logout","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"204":{"description":"You've been logged out. The access token has been removed and invalidated."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Terminate session and invalidate access token.","tags":["User"]}},"/v2/oauth2/authorize":{"get":{"operationId":"user-oauth-get-authorization","description":"The OAuth 2.0 client requests authorization from the resource owner according to\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749). The\nauthorization request is made indirectly via the authorization\nserver as an intermediary.\n","parameters":[{"description":"Access Token of the Resource Owner.\n","in":"cookie","name":"x-access-token","required":false,"schema":{"type":"string"}},{"description":"Used by the mStudio consent page, only together with `consent_challenge`.\nWith a matching `consent_challenge`, `true` marks the stored scopes as consented and the authorization\nserver redirects the user-agent back to the client with an authorization code; `false` redirects it\nback with an access denied error.\nWithout a matching `consent_challenge` the parameter is ignored: if consent for the requested scopes\nalready exists, the user-agent is redirected back to the client with an authorization code; otherwise\nthe authorization server asks for consent first.\n","in":"query","name":"grant_consent","required":false,"schema":{"type":"boolean"}},{"description":"Opaque value the authorization server hands to the consent page. It is bound to the user, the client\nand the requested authorization and can be used once.\n","in":"query","name":"consent_challenge","required":false,"schema":{"type":"string"}},{"description":"The grant type. Must be set to `authorization_code` if supplied.\n","in":"query","name":"grant_type","required":false,"schema":{"enum":["authorization_code"],"type":"string"}},{"description":"The response type. Must be set to `code` for this endpoint.\n","in":"query","name":"response_type","required":true,"schema":{"enum":["code"],"type":"string"}},{"description":"The client identifier as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-2.2).\n","in":"query","name":"client_id","required":true,"schema":{"type":"string"}},{"description":"The redirection URI to which the authorization server\ndirects the user-agent back after the authorization\nendpoint. Must be a valid absolute URI of the form `scheme://host`, using\n`https` (with any host) or `http` only on `localhost`, `127.0.0.1` or\n`[::1]`. URIs with userinfo or a fragment are rejected.\n","in":"query","name":"redirect_uri","required":false,"schema":{"format":"uri","type":"string"}},{"description":"The scope of the access request as described by\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).\n","in":"query","name":"scope","required":false,"schema":{"type":"string"}},{"description":"An opaque value used by the client to maintain state\nbetween the request and callback. The authorization server\nincludes this value when redirecting the user-agent back to\nthe client. The parameter SHOULD be used for preventing\ncross-site request forgery as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-10.12).\n","in":"query","name":"state","required":true,"schema":{"minLength":1,"type":"string"}},{"description":"The code challenge as described by\n[RFC7636](https://datatracker.ietf.org/doc/html/rfc7636#section-4.2).\nMust be exactly 43 characters of the base64url alphabet\n(`A-Z`, `a-z`, `0-9`, `-`, `_`).\nRequired for public clients (clients without an active client secret); optional for\nconfidential clients. With Proof Key for Code Exchange (PKCE), the code\nverifier has to be given to the token endpoint.\n","in":"query","name":"code_challenge","required":false,"schema":{"maxLength":43,"minLength":43,"pattern":"^[A-Za-z0-9_-]{43}$","type":"string"}},{"description":"The code challenge method as described in\n[RFC7636](https://datatracker.ietf.org/doc/html/rfc7636#section-4.3).\nOnly `S256` is accepted and requires the code_challenge to be set as well.\nThe code verifier has to be given to the token endpoint.\n","in":"query","name":"code_challenge_method","required":false,"schema":{"enum":["S256"],"type":"string"}}],"responses":{"302":{"description":"The authorization server redirects the user-agent by\nsending the HTTP response with status code 302 and the HTTP\n`Location`-Header field containing the authorization endpoint URI\nwith either the query parameters `code` added, if successful or `error`\nand `error_description` added, if not. Fore more Information see\n[Authorization Response](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2).\n"},"400":{"content":{"application/json":{"schema":{"properties":{"error":{"enum":["invalid_request","invalid_grant"],"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"}}},"description":"The request is missing a required parameter, includes an\ninvalid parameter value, includes a parameter more than\nonce, or is otherwise malformed.\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Obtain authorization from the resource owner.","tags":["User"]}},"/v2/oauth2/token":{"post":{"operationId":"user-oauth-retrieve-access-token","description":"Exchange an authorization code or refresh token for an access token according to\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749). A successful exchange also rotates the refresh token.\n","parameters":[{"description":"The client credentials (`client_id` and `client_secret`), separated with a colon\nand base64 encoded as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1).\nSubmitting the `client_id` and `client_secret` in the request body is forbidden.\n","in":"header","name":"Authorization","required":false,"schema":{"example":"Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"oneOf":[{"properties":{"grant_type":{"enum":["authorization_code"]}},"required":["grant_type","redirect_uri","code"]},{"properties":{"grant_type":{"enum":["refresh_token"]}},"required":["grant_type","refresh_token"]}],"properties":{"code":{"description":"The authorization code received from the authorization server.\n","type":"string"},"code_verifier":{"description":"The code verifier used to generate the code challenge as described in\n[RFC7636](https://datatracker.ietf.org/doc/html/rfc7636#section-4.1).\nIf the authorization flow was initiated with a code challenge, this parameter is required.\n","type":"string"},"grant_type":{"description":"The grant type as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3).\n","enum":["authorization_code","refresh_token"],"type":"string"},"redirect_uri":{"description":"The redirection URI used in the authorization request.\nMust be a valid URI.\n","format":"uri","type":"string"},"refresh_token":{"description":"The refresh token issued to the client to request additional access tokens as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-6).\n","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"access_token":{"description":"The access token issued by the authorization server.\n","type":"string"},"expires_in":{"description":"The lifetime in seconds of the access token. For\nexample, the value \"3600\" denotes that the access\ntoken will expire in one hour from the time the\nresponse was generated.\n","type":"integer"},"refresh_token":{"description":"The refresh token issued by the authorization server.\n","type":"string"},"scope":{"description":"The scope of the access token as described by\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).\n","type":"string"},"token_type":{"description":"The type of the token issued as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).\n","enum":["bearer"],"type":"string"}},"required":["access_token","refresh_token","token_type","expires_in"],"type":"object"}}},"description":"The authorization server issues an access token as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-5.1).\n"},"400":{"content":{"application/json":{"schema":{"properties":{"error":{"enum":["invalid_request","invalid_client","invalid_grant","unauthorized_client","unsupported_grant_type","invalid_scope"],"type":"string"},"error_description":{"type":"string"}},"required":["error"],"type":"object"}}},"description":"The request of an access token is invalid as described in\n[RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2).\n"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Retrieve an OAuth access token.","tags":["User"]}},"/v2/signup/registration":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge, as issued by the captcha widget of the\nregistration form. An unsolved or already used token is rejected with `CaptchaVerificationFailed`.\n","maxLength":2048,"minLength":1,"type":"string"},"email":{"description":"The users email address","format":"email","type":"string"},"password":{"description":"The users password.","type":"string"},"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"}},"required":["email","password","person"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Register with email and password.","tags":["User"],"description":"This route is deprecated. Please use /v2/register instead.","deprecated":true}},"/v2/register":{"post":{"operationId":"user-register","requestBody":{"content":{"application/json":{"schema":{"properties":{"captchaToken":{"description":"The response token of a solved captcha challenge, as issued by the captcha widget of the\nregistration form. An unsolved or already used token is rejected with `CaptchaVerificationFailed`.\n","maxLength":2048,"minLength":1,"type":"string"},"email":{"description":"The users email address","format":"email","type":"string"},"password":{"description":"The users password.","type":"string"},"person":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Person"}},"required":["email","password","person"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"userId":{"format":"uuid","type":"string"}},"required":["userId"],"type":"object"}}},"description":"Registration was successfull. A verification email will be sent to the specified email address.\nThe users can be used as soon as the verification link was opened\n"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values does not meet our requirements.\nPossible domain specific `type` values are:\n    * EmailInUse\n    * PasswordIsLeaked\n    * ValidationError\n    * PasswordEqualsEmail\n    * CaptchaVerificationFailed\n"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"New registrations are disabled (`RegistrationDisabled`)."},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"Too many failed registration attempts from your address. Wait until the lockout ends and try again.\n"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"The CAPTCHA could not be verified because the verification service did not answer\n(`CaptchaVerificationUnavailable`). Retry with a new challenge.\n"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Register with email and password.","tags":["User"]}},"/v2/users/{userId}/avatar":{"delete":{"operationId":"user-remove-avatar","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Avatar removal was successful."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Remove Avatar.","tags":["User"]},"post":{"operationId":"user-request-avatar-upload","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"refId":{"description":"The `refId` to be used to upload your avatar to the /v2/files/:refId route.","format":"uuid","type":"string"},"rules":{"description":"Contstraints for the avatar image upload.","properties":{"maxSizeInBytes":{"description":"Maximum size in Bytes of the avatar image.","example":4096,"type":"integer"},"maxSizeInKB":{"deprecated":true,"description":"Deprecated. Maximum size in kilobytes of the avatar image.","example":3000,"type":"integer"},"mimeTypes":{"description":"List of supported mime types.","items":{"example":"image/png","type":"string"},"type":"array"},"properties":{"properties":{"imageDimensions":{"description":"Supported range of dimensions for the avatar image.","properties":{"max":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"},"min":{"properties":{"height":{"type":"integer"},"width":{"type":"integer"}},"type":"object"}},"type":"object"}},"type":"object"}},"required":["mimeTypes","maxSizeInKB","maxSizeInBytes"],"type":"object"}},"required":["refId","rules"],"type":"object"}}},"description":"Avatar upload request was successful."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a new avatar image upload.","tags":["User"]}},"/v2/users/self/credentials/email/actions/resend-email":{"post":{"operationId":"user-resend-verification-email","requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"example":"ada.lovelace@example.com","format":"email","type":"string"},"userId":{"format":"uuid","type":"string"}},"required":["userId","email"],"type":"object"}}},"required":true},"responses":{"204":{"description":"New Email-Address verification email was sent."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\n"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"No Email-Address verification was requested"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.Error"}}},"description":"A verification email was sent too recently. Possible domain specific `type` values are:\n  * VerificationEmailRecentlySent\n"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Resend the Email-Address verification email.","tags":["User"]}},"/v2/signup/mfa/reset-recoverycodes":{"put":{"description":"This route is deprecated. Please use /v2/users/self/credentials/mfa instead.","requestBody":{"content":{"application/json":{"schema":{"properties":{"multiFactorCode":{"description":"A TOTP code or recovery code.","example":"123456","maxLength":16,"minLength":6,"type":"string"},"passkeyCredential":{"$ref":"#/components/schemas/de.mittwald.v1.signup.PasskeyCredential"}},"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Reset RecoveryCodes for MFA.","tags":["User"],"deprecated":true}},"/v2/leaked-passwords/{passwordHashPrefix}":{"get":{"operationId":"user-searched-leaked-passwords-by-range","deprecated":true,"description":"Deprecated in favor of `GET` `/v2/compromised-password-hashes/ranges/{hashPrefix}`.\nThe replacement answers `text/plain` with `SUFFIX:COUNT` lines separated by CRLF instead of a\nJSON array, and requires the path parameter to be exactly five hex characters. When the lookup\ncannot be served, the replacement answers `200` with an empty body (fail open), while this\noperation answers with an error.\n","parameters":[{"description":"First 5 characters of the SHA1 hash of a password.","in":"path","name":"passwordHashPrefix","required":true,"schema":{"example":"0018A","maxLength":5,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"example":["0018A45C4D1DEF81644B54AB7F969B88D65","00D4F6E8FA6EECAD2A3AA415EEC418D38EC","011053FD0102E94D6AE2F8B83D76FAF94F6","012A7CA357541F0AC487871FEEC1891C49C","0136E006E24E7D152139815FB0FC6A50B15"],"items":{"type":"string"},"type":"array"}}},"description":"All 35-character SHA-1 hash suffixes whose full hashes begin with the searched prefix."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Check if a password is leaked. Replaced by `GET` `/v2/compromised-password-hashes/ranges/{hashPrefix}`.\n","tags":["User"]}},"/v2/users/self/spotlights/{spotlightId}/feedback":{"post":{"operationId":"user-spotlight-feedback","parameters":[{"in":"path","name":"spotlightId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"decision":{"$ref":"#/components/schemas/de.mittwald.v1.user.UserFeedbackSpotlightDecision"},"message":{"description":"Personal feedback message.","maxLength":5000,"type":"string"},"owner":{"deprecated":true,"description":"The Owner of the spotlight is no longer writable.","type":"string"}},"required":["decision"],"type":"object"}}},"description":"The feedback to give.","required":true},"responses":{"204":{"description":"Feedback successfully submitted."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Submit your spotlight usage.","tags":["User"]}},"/v2/signup/supportcode":{"get":{"parameters":[{"in":"query","name":"forceRecreate","required":false,"schema":{"type":"boolean"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a support code.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/credentials/support-code instead.","deprecated":true}},"/v2/signup/supportcodes":{"get":{"parameters":[{"in":"query","name":"forceRecreate","required":false,"schema":{"type":"boolean"}}],"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a support code.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/self/credentials/support-code instead.","deprecated":true}},"/v2/users/self/credentials/support-code":{"get":{"operationId":"user-support-code-request","parameters":[{"in":"query","name":"forceRecreate","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expiresAt":{"description":"Expiration of the support code","format":"date-time","type":"string"},"supportCode":{"description":"support code to authenticate yourself against the mittwald support via telephone","example":"123456","type":"string"}},"required":["supportCode","expiresAt"],"type":"object"}}},"description":"The requested support code and the expiry."},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Request a support code.","tags":["User"]}},"/v2/users/self/credentials/email/actions/verify-email":{"post":{"operationId":"user-verify-email","requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"The Email-Address to verify.","example":"ada.lovelace@example.com","format":"email","type":"string"},"token":{"description":"The token found in the verification email.","example":"123456","type":"string"}},"required":["email"],"type":"object"}}},"required":true},"responses":{"204":{"description":"Email has been verified."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\nPossible domain specific `type` values are:\n  * WrongVerificationToken\n  * EmailNotFound\n  * WrongVerificationToken\n  * EmailAddressAlreadyVerified\n"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Verify an added Email-Address.","tags":["User"]}},"/v2/users/{userId}/phone/verify":{"post":{"parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"code":{"example":"123456","maxLength":6,"minLength":6,"type":"string"},"phoneNumber":{"example":"+491701234567","type":"string"}},"required":["phoneNumber","code"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Verify phone number.","tags":["User"],"description":"This route is deprecated. Please use /v2/users/{userId}/actions/verify-phone instead.","deprecated":true}},"/v2/users/{userId}/actions/verify-phone":{"post":{"operationId":"user-verify-phone-number","parameters":[{"description":"`self` or the id of a user.","examples":{"self":{"summary":"You","value":"self"},"userId":{"summary":"ID of a user.","value":"10203040-1234-5678-abcd-badc0de01234"}},"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"code":{"example":"123456","maxLength":6,"minLength":6,"type":"string"},"phoneNumber":{"example":"+491701234567","type":"string"}},"required":["phoneNumber","code"],"type":"object"}}},"required":true},"responses":{"204":{"description":"The phone number has been verified."},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"409":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Verify phone number.","tags":["User"]}},"/v2/signup/registration/verification":{"post":{"requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"The users email address.","format":"email","type":"string"},"token":{"description":"The token that was send to your email address","example":"123456","maxLength":16,"minLength":6,"type":"string"},"userId":{"description":"UUID of the registered user.","format":"uuid","type":"string"}},"required":["email","token","userId"],"type":"object"}}},"required":true},"responses":{"308":{"description":"This route is deprecated, and will redirect you to another URL.","headers":{"location":{"description":"The new URL to use; clients should redirect their request to this URL, using the same request method and body as the original request.","schema":{"type":"string"}}}}},"summary":"Verify your registration.","tags":["User"],"description":"This route is deprecated. Please use /v2/verify-registration instead.","deprecated":true}},"/v2/verify-registration":{"post":{"operationId":"user-verify-registration","requestBody":{"content":{"application/json":{"schema":{"properties":{"email":{"description":"The users email address.","format":"email","type":"string"},"token":{"description":"The token that was send to your email address","example":"123456","maxLength":16,"minLength":6,"type":"string"},"userId":{"description":"UUID of the registered user.","format":"uuid","type":"string"}},"required":["email","token","userId"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"User is verified and you can now login to your user account.\n"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.commons.ValidationErrors"}}},"description":"Some of the specified values do not meet our requirements.\nPossible domain specific `type` values are:\n  * UserRegistrationAlreadyVerified\n  * WrongVerificationToken\n"},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"summary":"Verify your registration.","tags":["User"]}},"/v2/actions/detect-phishing-email":{"post":{"operationId":"verification-detect-phishing-email","description":"Parses the eml-file of an email to check if it is a phishing mail or a valid email from mittwald. In some cases we can't confirm the validity of an email.","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"emailEml":{"format":"binary","type":"string"}},"required":["emailEml"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.verification.EmailDetectPhishingMailResponse"}}},"description":"OK"},"400":{"$ref":"#/components/responses/de.mittwald.v1.commons.ValidationError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Check if an email is from mittwald.","tags":["Misc"]}},"/v2/actions/verify-address":{"post":{"operationId":"verification-verify-address","requestBody":{"content":{"application/json":{"schema":{"properties":{"city":{"example":"Bremen","type":"string"},"country":{"description":"Accepts the whole English or German name as well as the ISO 3166-2 country codes.","example":"DE","type":"string"},"street":{"description":"Includes the house number.","example":"Bremer Straße 1","type":"string"},"zip":{"example":"28203","type":"string"}},"required":["street","zip","city","country"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"exists":{"type":"boolean"}},"required":["exists"],"type":"object"}}},"description":"Success"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[],"summary":"Check if an address exists.","tags":["Misc"]}},"/v2/actions/verify-company":{"post":{"operationId":"verification-verify-company","description":"Only companies registered in the German company register are currently supported.","requestBody":{"content":{"application/json":{"schema":{"properties":{"name":{"example":"Mittwald CM Service GmbH & Co. KG","type":"string"}},"required":["name"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"exists":{"type":"boolean"}},"required":["exists"],"type":"object"}}},"description":"Success"},"412":{"description":"Precondition Failed"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Check if a company exists.","tags":["Misc"]}},"/v2/contributors/{contributorId}/extensions/{extensionId}/statistics":{"get":{"operationId":"extension-get-own-extension-statistics","parameters":[{"in":"path","name":"contributorId","required":true,"schema":{"type":"string"}},{"in":"path","name":"extensionId","required":true,"schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/de.mittwald.v1.marketplace.DetailedExtensionStatistics"}}},"description":"Detailed statistics of your own extension."},"404":{"$ref":"#/components/responses/de.mittwald.v1.commons.NotFoundError"},"429":{"$ref":"#/components/responses/de.mittwald.v1.commons.RateLimitError"},"default":{"$ref":"#/components/responses/de.mittwald.v1.commons.DefaultError"}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}],"summary":"Get detailed statistics of an own Extension.","tags":["Marketplace"]}}},"security":[{"de.mittwald.v1.commons.AccessToken":[]}]}