1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

chore: regen open-api

This commit is contained in:
Eli Gao 2024-12-25 04:52:57 +08:00
parent fe65c44cbc
commit 9426b4c1dd
6 changed files with 244 additions and 51 deletions

BIN
mobile/openapi/README.md generated

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1424,7 +1424,6 @@
},
"/assets/bulk-upload-check": {
"post": {
"description": "Checks if assets exist by checksums",
"operationId": "checkBulkUpload",
"parameters": [],
"requestBody": {
@ -1460,6 +1459,7 @@
"api_key": []
}
],
"summary": "Checks if assets exist by checksums",
"tags": [
"Assets"
]
@ -1467,7 +1467,6 @@
},
"/assets/device/{deviceId}": {
"get": {
"description": "Get all asset of a device that are in the database, ID only.",
"operationId": "getAllUserAssetsByDeviceId",
"parameters": [
{
@ -1505,6 +1504,7 @@
"api_key": []
}
],
"summary": "Get all asset of a device that are in the database, ID only.",
"tags": [
"Assets"
]
@ -1512,7 +1512,6 @@
},
"/assets/exist": {
"post": {
"description": "Checks if multiple assets exist on the server and returns all existing - used by background backup",
"operationId": "checkExistingAssets",
"parameters": [],
"requestBody": {
@ -1548,6 +1547,7 @@
"api_key": []
}
],
"summary": "Checks if multiple assets exist on the server and returns all existing - used by background backup",
"tags": [
"Assets"
]
@ -1903,7 +1903,6 @@
]
},
"put": {
"description": "Replace the asset with new file, without changing its id",
"operationId": "replaceAsset",
"parameters": [
{
@ -1957,6 +1956,7 @@
"api_key": []
}
],
"summary": "Replace the asset with new file, without changing its id",
"tags": [
"Assets"
],
@ -7492,6 +7492,7 @@
"items": {
"$ref": "#/components/schemas/Permission"
},
"minItems": 1,
"type": "array"
}
},
@ -7572,7 +7573,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/ReactionType"
"allOf": [
{
"$ref": "#/components/schemas/ReactionType"
}
]
}
},
"required": [
@ -7599,7 +7604,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/ReactionType"
"allOf": [
{
"$ref": "#/components/schemas/ReactionType"
}
]
},
"user": {
"$ref": "#/components/schemas/UserResponseDto"
@ -7631,6 +7640,7 @@
"items": {
"$ref": "#/components/schemas/AlbumUserAddDto"
},
"minItems": 1,
"type": "array"
}
},
@ -7699,7 +7709,11 @@
"type": "string"
},
"order": {
"$ref": "#/components/schemas/AssetOrder"
"allOf": [
{
"$ref": "#/components/schemas/AssetOrder"
}
]
},
"owner": {
"$ref": "#/components/schemas/UserResponseDto"
@ -7759,7 +7773,12 @@
"AlbumUserAddDto": {
"properties": {
"role": {
"$ref": "#/components/schemas/AlbumUserRole"
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
],
"default": "editor"
},
"userId": {
"format": "uuid",
@ -7774,7 +7793,11 @@
"AlbumUserCreateDto": {
"properties": {
"role": {
"$ref": "#/components/schemas/AlbumUserRole"
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
]
},
"userId": {
"format": "uuid",
@ -7790,7 +7813,11 @@
"AlbumUserResponseDto": {
"properties": {
"role": {
"$ref": "#/components/schemas/AlbumUserRole"
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
]
},
"user": {
"$ref": "#/components/schemas/UserResponseDto"
@ -8087,7 +8114,11 @@
"nullable": true
},
"sourceType": {
"$ref": "#/components/schemas/SourceType"
"allOf": [
{
"$ref": "#/components/schemas/SourceType"
}
]
}
},
"required": [
@ -8158,7 +8189,11 @@
"type": "integer"
},
"sourceType": {
"$ref": "#/components/schemas/SourceType"
"allOf": [
{
"$ref": "#/components/schemas/SourceType"
}
]
}
},
"required": [
@ -8254,7 +8289,11 @@
"type": "array"
},
"name": {
"$ref": "#/components/schemas/AssetJobName"
"allOf": [
{
"$ref": "#/components/schemas/AssetJobName"
}
]
}
},
"required": [
@ -8352,7 +8391,11 @@
"type": "string"
},
"status": {
"$ref": "#/components/schemas/AssetMediaStatus"
"allOf": [
{
"$ref": "#/components/schemas/AssetMediaStatus"
}
]
}
},
"required": [
@ -8491,7 +8534,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/AssetTypeEnum"
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"unassignedFaces": {
"items": {
@ -8604,7 +8651,11 @@
"AvatarResponse": {
"properties": {
"color": {
"$ref": "#/components/schemas/UserAvatarColor"
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
}
},
"required": [
@ -8615,7 +8666,11 @@
"AvatarUpdate": {
"properties": {
"color": {
"$ref": "#/components/schemas/UserAvatarColor"
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
}
},
"type": "object"
@ -8706,6 +8761,7 @@
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
"deviceId": {
@ -8772,13 +8828,17 @@
"items": {
"type": "string"
},
"type": "array"
"maxItems": 128,
"type": "array",
"uniqueItems": true
},
"importPaths": {
"items": {
"type": "string"
},
"type": "array"
"maxItems": 128,
"type": "array",
"uniqueItems": true
},
"name": {
"type": "string"
@ -9247,10 +9307,18 @@
"type": "string"
},
"entityType": {
"$ref": "#/components/schemas/PathEntityType"
"allOf": [
{
"$ref": "#/components/schemas/PathEntityType"
}
]
},
"pathType": {
"$ref": "#/components/schemas/PathType"
"allOf": [
{
"$ref": "#/components/schemas/PathType"
}
]
},
"pathValue": {
"type": "string"
@ -9312,7 +9380,11 @@
"JobCommandDto": {
"properties": {
"command": {
"$ref": "#/components/schemas/JobCommand"
"allOf": [
{
"$ref": "#/components/schemas/JobCommand"
}
]
},
"force": {
"type": "boolean"
@ -9357,7 +9429,11 @@
"JobCreateDto": {
"properties": {
"name": {
"$ref": "#/components/schemas/ManualJobName"
"allOf": [
{
"$ref": "#/components/schemas/ManualJobName"
}
]
}
},
"required": [
@ -9545,6 +9621,7 @@
"properties": {
"email": {
"example": "testuser@email.com",
"format": "email",
"type": "string"
},
"password": {
@ -9718,7 +9795,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/MemoryType"
"allOf": [
{
"$ref": "#/components/schemas/MemoryType"
}
]
}
},
"required": [
@ -9783,7 +9864,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/MemoryType"
"allOf": [
{
"$ref": "#/components/schemas/MemoryType"
}
]
},
"updatedAt": {
"format": "date-time",
@ -9912,7 +9997,11 @@
"type": "string"
},
"order": {
"$ref": "#/components/schemas/AssetOrder"
"allOf": [
{
"$ref": "#/components/schemas/AssetOrder"
}
]
},
"originalFileName": {
"type": "string"
@ -9963,7 +10052,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/AssetTypeEnum"
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"updatedAfter": {
"format": "date-time",
@ -10047,7 +10140,11 @@
"PartnerResponseDto": {
"properties": {
"avatarColor": {
"$ref": "#/components/schemas/UserAvatarColor"
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
},
"email": {
"type": "string"
@ -10566,7 +10663,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/AssetTypeEnum"
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"updatedAfter": {
"format": "date-time",
@ -11234,7 +11335,11 @@
"type": "boolean"
},
"type": {
"$ref": "#/components/schemas/SharedLinkType"
"allOf": [
{
"$ref": "#/components/schemas/SharedLinkType"
}
]
}
},
"required": [
@ -11319,7 +11424,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/SharedLinkType"
"allOf": [
{
"$ref": "#/components/schemas/SharedLinkType"
}
]
},
"userId": {
"type": "string"
@ -11352,6 +11461,7 @@
"properties": {
"email": {
"example": "testuser@email.com",
"format": "email",
"type": "string"
},
"name": {
@ -11468,7 +11578,11 @@
"type": "string"
},
"type": {
"$ref": "#/components/schemas/AssetTypeEnum"
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"updatedAfter": {
"format": "date-time",
@ -11509,6 +11623,7 @@
"format": "uuid",
"type": "string"
},
"minItems": 2,
"type": "array"
}
},
@ -11649,7 +11764,11 @@
"SystemConfigFFmpegDto": {
"properties": {
"accel": {
"$ref": "#/components/schemas/TranscodeHWAccel"
"allOf": [
{
"$ref": "#/components/schemas/TranscodeHWAccel"
}
]
},
"accelDecode": {
"type": "boolean"
@ -11678,7 +11797,11 @@
"type": "integer"
},
"cqMode": {
"$ref": "#/components/schemas/CQMode"
"allOf": [
{
"$ref": "#/components/schemas/CQMode"
}
]
},
"crf": {
"maximum": 51,
@ -11704,13 +11827,21 @@
"type": "integer"
},
"targetAudioCodec": {
"$ref": "#/components/schemas/AudioCodec"
"allOf": [
{
"$ref": "#/components/schemas/AudioCodec"
}
]
},
"targetResolution": {
"type": "string"
},
"targetVideoCodec": {
"$ref": "#/components/schemas/VideoCodec"
"allOf": [
{
"$ref": "#/components/schemas/VideoCodec"
}
]
},
"temporalAQ": {
"type": "boolean"
@ -11720,10 +11851,18 @@
"type": "integer"
},
"tonemap": {
"$ref": "#/components/schemas/ToneMapping"
"allOf": [
{
"$ref": "#/components/schemas/ToneMapping"
}
]
},
"transcode": {
"$ref": "#/components/schemas/TranscodePolicy"
"allOf": [
{
"$ref": "#/components/schemas/TranscodePolicy"
}
]
},
"twoPass": {
"type": "boolean"
@ -11771,7 +11910,11 @@
"type": "boolean"
},
"format": {
"$ref": "#/components/schemas/ImageFormat"
"allOf": [
{
"$ref": "#/components/schemas/ImageFormat"
}
]
},
"quality": {
"maximum": 100,
@ -11789,7 +11932,11 @@
"SystemConfigGeneratedImageDto": {
"properties": {
"format": {
"$ref": "#/components/schemas/ImageFormat"
"allOf": [
{
"$ref": "#/components/schemas/ImageFormat"
}
]
},
"quality": {
"maximum": 100,
@ -11811,7 +11958,11 @@
"SystemConfigImageDto": {
"properties": {
"colorspace": {
"$ref": "#/components/schemas/Colorspace"
"allOf": [
{
"$ref": "#/components/schemas/Colorspace"
}
]
},
"extractEmbedded": {
"type": "boolean"
@ -11933,7 +12084,11 @@
"type": "boolean"
},
"level": {
"$ref": "#/components/schemas/LogLevel"
"allOf": [
{
"$ref": "#/components/schemas/LogLevel"
}
]
}
},
"required": [
@ -11962,6 +12117,7 @@
"type": "string"
},
"urls": {
"format": "uri",
"items": {
"format": "uri",
"type": "string"
@ -11982,12 +12138,14 @@
"SystemConfigMapDto": {
"properties": {
"darkStyle": {
"format": "uri",
"type": "string"
},
"enabled": {
"type": "boolean"
},
"lightStyle": {
"format": "uri",
"type": "string"
}
},
@ -12062,6 +12220,7 @@
"type": "boolean"
},
"mobileRedirectUri": {
"format": "uri",
"type": "string"
},
"profileSigningAlgorithm": {
@ -12124,6 +12283,7 @@
"SystemConfigServerDto": {
"properties": {
"externalDomain": {
"format": "uri",
"type": "string"
},
"loginPageMessage": {
@ -12380,6 +12540,7 @@
"TagCreateDto": {
"properties": {
"color": {
"pattern": "^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$",
"type": "string"
},
"name": {
@ -12435,6 +12596,7 @@
"properties": {
"color": {
"nullable": true,
"pattern": "^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$",
"type": "string"
}
},
@ -12597,7 +12759,11 @@
"type": "boolean"
},
"order": {
"$ref": "#/components/schemas/AssetOrder"
"allOf": [
{
"$ref": "#/components/schemas/AssetOrder"
}
]
}
},
"type": "object"
@ -12605,7 +12771,11 @@
"UpdateAlbumUserDto": {
"properties": {
"role": {
"$ref": "#/components/schemas/AlbumUserRole"
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
]
}
},
"required": [
@ -12652,13 +12822,17 @@
"items": {
"type": "string"
},
"type": "array"
"maxItems": 128,
"type": "array",
"uniqueItems": true
},
"importPaths": {
"items": {
"type": "string"
},
"type": "array"
"maxItems": 128,
"type": "array",
"uniqueItems": true
},
"name": {
"type": "string"
@ -12724,6 +12898,7 @@
"UserAdminCreateDto": {
"properties": {
"email": {
"format": "email",
"type": "string"
},
"name": {
@ -12767,7 +12942,11 @@
"UserAdminResponseDto": {
"properties": {
"avatarColor": {
"$ref": "#/components/schemas/UserAvatarColor"
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
},
"createdAt": {
"format": "date-time",
@ -12822,7 +13001,11 @@
"type": "boolean"
},
"status": {
"$ref": "#/components/schemas/UserStatus"
"allOf": [
{
"$ref": "#/components/schemas/UserStatus"
}
]
},
"storageLabel": {
"nullable": true,
@ -12857,6 +13040,7 @@
"UserAdminUpdateDto": {
"properties": {
"email": {
"format": "email",
"type": "string"
},
"name": {
@ -12994,7 +13178,11 @@
"UserResponseDto": {
"properties": {
"avatarColor": {
"$ref": "#/components/schemas/UserAvatarColor"
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
},
"email": {
"type": "string"
@ -13034,6 +13222,7 @@
"UserUpdateMeDto": {
"properties": {
"email": {
"format": "email",
"type": "string"
},
"name": {
@ -13062,13 +13251,17 @@
"items": {
"type": "string"
},
"type": "array"
"maxItems": 128,
"type": "array",
"uniqueItems": true
},
"importPaths": {
"items": {
"type": "string"
},
"type": "array"
"maxItems": 128,
"type": "array",
"uniqueItems": true
}
},
"type": "object"