mirror of
https://github.com/immich-app/immich.git
synced 2025-12-12 15:50:43 -08:00
feat: pending sync reset flag (#19861)
This commit is contained in:
@@ -6024,6 +6024,56 @@
|
||||
"tags": [
|
||||
"Sessions"
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"operationId": "updateSession",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SessionUpdateDto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SessionResponseDto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"bearer": []
|
||||
},
|
||||
{
|
||||
"cookie": []
|
||||
},
|
||||
{
|
||||
"api_key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Sessions"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/sessions/{id}/lock": {
|
||||
@@ -12790,6 +12840,9 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"isPendingSyncReset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -12803,6 +12856,7 @@
|
||||
"deviceOS",
|
||||
"deviceType",
|
||||
"id",
|
||||
"isPendingSyncReset",
|
||||
"token",
|
||||
"updatedAt"
|
||||
],
|
||||
@@ -12828,6 +12882,9 @@
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"isPendingSyncReset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -12838,6 +12895,7 @@
|
||||
"deviceOS",
|
||||
"deviceType",
|
||||
"id",
|
||||
"isPendingSyncReset",
|
||||
"updatedAt"
|
||||
],
|
||||
"type": "object"
|
||||
@@ -12854,6 +12912,14 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SessionUpdateDto": {
|
||||
"properties": {
|
||||
"isPendingSyncReset": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SharedLinkCreateDto": {
|
||||
"properties": {
|
||||
"albumId": {
|
||||
@@ -13836,7 +13902,8 @@
|
||||
"StackDeleteV1",
|
||||
"PersonV1",
|
||||
"PersonDeleteV1",
|
||||
"SyncAckV1"
|
||||
"SyncAckV1",
|
||||
"SyncResetV1"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -14074,6 +14141,10 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"SyncResetV1": {
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"SyncStackDeleteV1": {
|
||||
"properties": {
|
||||
"stackId": {
|
||||
@@ -14116,6 +14187,9 @@
|
||||
},
|
||||
"SyncStreamDto": {
|
||||
"properties": {
|
||||
"reset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"types": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SyncRequestType"
|
||||
|
||||
Reference in New Issue
Block a user