1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +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,8 +7573,12 @@
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/ReactionType"
}
]
}
},
"required": [
"albumId",
@ -7599,7 +7604,11 @@
"type": "string"
},
"type": {
"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": {
"allOf": [
{
"$ref": "#/components/schemas/AssetOrder"
}
]
},
"owner": {
"$ref": "#/components/schemas/UserResponseDto"
@ -7759,7 +7773,12 @@
"AlbumUserAddDto": {
"properties": {
"role": {
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
],
"default": "editor"
},
"userId": {
"format": "uuid",
@ -7774,7 +7793,11 @@
"AlbumUserCreateDto": {
"properties": {
"role": {
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
]
},
"userId": {
"format": "uuid",
@ -7790,7 +7813,11 @@
"AlbumUserResponseDto": {
"properties": {
"role": {
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
]
},
"user": {
"$ref": "#/components/schemas/UserResponseDto"
@ -8087,8 +8114,12 @@
"nullable": true
},
"sourceType": {
"allOf": [
{
"$ref": "#/components/schemas/SourceType"
}
]
}
},
"required": [
"boundingBoxX1",
@ -8158,8 +8189,12 @@
"type": "integer"
},
"sourceType": {
"allOf": [
{
"$ref": "#/components/schemas/SourceType"
}
]
}
},
"required": [
"boundingBoxX1",
@ -8254,8 +8289,12 @@
"type": "array"
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/AssetJobName"
}
]
}
},
"required": [
"assetIds",
@ -8352,8 +8391,12 @@
"type": "string"
},
"status": {
"allOf": [
{
"$ref": "#/components/schemas/AssetMediaStatus"
}
]
}
},
"required": [
"id",
@ -8491,7 +8534,11 @@
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"unassignedFaces": {
"items": {
@ -8604,8 +8651,12 @@
"AvatarResponse": {
"properties": {
"color": {
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
}
},
"required": [
"color"
@ -8615,8 +8666,12 @@
"AvatarUpdate": {
"properties": {
"color": {
"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": {
"allOf": [
{
"$ref": "#/components/schemas/PathEntityType"
}
]
},
"pathType": {
"allOf": [
{
"$ref": "#/components/schemas/PathType"
}
]
},
"pathValue": {
"type": "string"
@ -9312,7 +9380,11 @@
"JobCommandDto": {
"properties": {
"command": {
"allOf": [
{
"$ref": "#/components/schemas/JobCommand"
}
]
},
"force": {
"type": "boolean"
@ -9357,8 +9429,12 @@
"JobCreateDto": {
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/ManualJobName"
}
]
}
},
"required": [
"name"
@ -9545,6 +9621,7 @@
"properties": {
"email": {
"example": "testuser@email.com",
"format": "email",
"type": "string"
},
"password": {
@ -9718,8 +9795,12 @@
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/MemoryType"
}
]
}
},
"required": [
"data",
@ -9783,7 +9864,11 @@
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/MemoryType"
}
]
},
"updatedAt": {
"format": "date-time",
@ -9912,7 +9997,11 @@
"type": "string"
},
"order": {
"allOf": [
{
"$ref": "#/components/schemas/AssetOrder"
}
]
},
"originalFileName": {
"type": "string"
@ -9963,7 +10052,11 @@
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"updatedAfter": {
"format": "date-time",
@ -10047,7 +10140,11 @@
"PartnerResponseDto": {
"properties": {
"avatarColor": {
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
},
"email": {
"type": "string"
@ -10566,7 +10663,11 @@
"type": "string"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/AssetTypeEnum"
}
]
},
"updatedAfter": {
"format": "date-time",
@ -11234,8 +11335,12 @@
"type": "boolean"
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SharedLinkType"
}
]
}
},
"required": [
"type"
@ -11319,7 +11424,11 @@
"type": "string"
},
"type": {
"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": {
"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": {
"allOf": [
{
"$ref": "#/components/schemas/TranscodeHWAccel"
}
]
},
"accelDecode": {
"type": "boolean"
@ -11678,7 +11797,11 @@
"type": "integer"
},
"cqMode": {
"allOf": [
{
"$ref": "#/components/schemas/CQMode"
}
]
},
"crf": {
"maximum": 51,
@ -11704,13 +11827,21 @@
"type": "integer"
},
"targetAudioCodec": {
"allOf": [
{
"$ref": "#/components/schemas/AudioCodec"
}
]
},
"targetResolution": {
"type": "string"
},
"targetVideoCodec": {
"allOf": [
{
"$ref": "#/components/schemas/VideoCodec"
}
]
},
"temporalAQ": {
"type": "boolean"
@ -11720,10 +11851,18 @@
"type": "integer"
},
"tonemap": {
"allOf": [
{
"$ref": "#/components/schemas/ToneMapping"
}
]
},
"transcode": {
"allOf": [
{
"$ref": "#/components/schemas/TranscodePolicy"
}
]
},
"twoPass": {
"type": "boolean"
@ -11771,7 +11910,11 @@
"type": "boolean"
},
"format": {
"allOf": [
{
"$ref": "#/components/schemas/ImageFormat"
}
]
},
"quality": {
"maximum": 100,
@ -11789,7 +11932,11 @@
"SystemConfigGeneratedImageDto": {
"properties": {
"format": {
"allOf": [
{
"$ref": "#/components/schemas/ImageFormat"
}
]
},
"quality": {
"maximum": 100,
@ -11811,7 +11958,11 @@
"SystemConfigImageDto": {
"properties": {
"colorspace": {
"allOf": [
{
"$ref": "#/components/schemas/Colorspace"
}
]
},
"extractEmbedded": {
"type": "boolean"
@ -11933,8 +12084,12 @@
"type": "boolean"
},
"level": {
"allOf": [
{
"$ref": "#/components/schemas/LogLevel"
}
]
}
},
"required": [
"enabled",
@ -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,16 +12759,24 @@
"type": "boolean"
},
"order": {
"allOf": [
{
"$ref": "#/components/schemas/AssetOrder"
}
]
}
},
"type": "object"
},
"UpdateAlbumUserDto": {
"properties": {
"role": {
"allOf": [
{
"$ref": "#/components/schemas/AlbumUserRole"
}
]
}
},
"required": [
"role"
@ -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": {
"allOf": [
{
"$ref": "#/components/schemas/UserAvatarColor"
}
]
},
"createdAt": {
"format": "date-time",
@ -12822,7 +13001,11 @@
"type": "boolean"
},
"status": {
"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": {
"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"