1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
This commit is contained in:
Alex Tran 2023-07-11 21:17:59 -05:00
parent 54669fe49e
commit dc58702923

View File

@ -2693,6 +2693,61 @@
] ]
} }
}, },
"/person/{id}/merge": {
"post": {
"operationId": "mergePerson",
"parameters": [
{
"name": "id",
"required": true,
"in": "path",
"schema": {
"format": "uuid",
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MergePersonDto"
}
}
}
},
"responses": {
"201": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BulkIdResponseDto"
}
}
}
}
}
},
"tags": [
"Person"
],
"security": [
{
"bearer": []
},
{
"cookie": []
},
{
"api_key": []
}
]
}
},
"/person/{id}/thumbnail": { "/person/{id}/thumbnail": {
"get": { "get": {
"operationId": "getPersonThumbnail", "operationId": "getPersonThumbnail",
@ -4963,6 +5018,30 @@
"deviceOS" "deviceOS"
] ]
}, },
"BulkIdResponseDto": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"success": {
"type": "boolean"
},
"error": {
"type": "string",
"enum": [
"duplicate",
"no_permission",
"not_found",
"unknown"
]
}
},
"required": [
"id",
"success"
]
},
"ChangePasswordDto": { "ChangePasswordDto": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -5069,6 +5148,9 @@
"CreateAssetDto": { "CreateAssetDto": {
"type": "object", "type": "object",
"properties": { "properties": {
"assetType": {
"$ref": "#/components/schemas/AssetTypeEnum"
},
"assetData": { "assetData": {
"type": "string", "type": "string",
"format": "binary" "format": "binary"
@ -5085,6 +5167,9 @@
"type": "boolean", "type": "boolean",
"default": false "default": false
}, },
"fileExtension": {
"type": "string"
},
"deviceAssetId": { "deviceAssetId": {
"type": "string" "type": "string"
}, },
@ -5113,7 +5198,9 @@
} }
}, },
"required": [ "required": [
"assetType",
"assetData", "assetData",
"fileExtension",
"deviceAssetId", "deviceAssetId",
"deviceId", "deviceId",
"fileCreatedAt", "fileCreatedAt",
@ -5484,6 +5571,9 @@
"ImportAssetDto": { "ImportAssetDto": {
"type": "object", "type": "object",
"properties": { "properties": {
"assetType": {
"$ref": "#/components/schemas/AssetTypeEnum"
},
"isReadOnly": { "isReadOnly": {
"type": "boolean", "type": "boolean",
"default": true "default": true
@ -5522,6 +5612,7 @@
} }
}, },
"required": [ "required": [
"assetType",
"assetPath", "assetPath",
"deviceAssetId", "deviceAssetId",
"deviceId", "deviceId",
@ -5744,6 +5835,21 @@
"assets" "assets"
] ]
}, },
"MergePersonDto": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"required": [
"ids"
]
},
"OAuthCallbackDto": { "OAuthCallbackDto": {
"type": "object", "type": "object",
"properties": { "properties": {