Add account schema foundation

This commit is contained in:
diyaa 2026-06-24 07:30:45 +02:00
parent fa794d23ad
commit 538d259b63

View File

@ -1,6 +1,32 @@
{
"openapi": "3.0.0",
"paths": {
"/api/v1/me": {
"get": {
"operationId": "AccountController_getMe_v1",
"parameters": [],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CurrentAccountResponseDto"
}
}
}
}
},
"security": [
{
"bearer": []
}
],
"tags": [
"account"
]
}
},
"/api/v1/assets/{assetId}/download": {
"get": {
"operationId": "AssetsController_download_v1",
@ -484,6 +510,48 @@
}
},
"schemas": {
"CurrentAccountResponseDto": {
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid"
},
"accountKind": {
"type": "string",
"enum": [
"LEGACY_DEFAULT",
"GUEST",
"REGISTERED"
],
"example": "LEGACY_DEFAULT"
},
"accountStatus": {
"type": "string",
"enum": [
"ACTIVE",
"LOCKED",
"DELETED"
],
"example": "ACTIVE"
},
"libraryNamespace": {
"type": "string",
"format": "uuid"
},
"currentDeviceId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"accountId",
"accountKind",
"accountStatus",
"libraryNamespace",
"currentDeviceId"
]
},
"HealthDependencyDto": {
"type": "object",
"properties": {