rename stuff

This commit is contained in:
mgabor
2024-04-16 18:14:08 +02:00
parent 38bab135af
commit 9677d6108a
34 changed files with 471 additions and 487 deletions
+36 -36
View File
@@ -591,7 +591,7 @@
},
"/album/{id}/permission/{userId}": {
"put": {
"operationId": "setAlbumPermission",
"operationId": "updateAlbumUser",
"parameters": [
{
"name": "id",
@@ -615,7 +615,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SetAlbumPermissionDto"
"$ref": "#/components/schemas/UpdateAlbumUserDto"
}
}
},
@@ -7118,32 +7118,11 @@
],
"type": "object"
},
"AlbumPermissionResponseDto": {
"properties": {
"readonly": {
"type": "boolean"
},
"user": {
"$ref": "#/components/schemas/UserResponseDto"
}
},
"required": [
"readonly",
"user"
],
"type": "object"
},
"AlbumResponseDto": {
"properties": {
"albumName": {
"type": "string"
},
"albumPermissions": {
"items": {
"$ref": "#/components/schemas/AlbumPermissionResponseDto"
},
"type": "array"
},
"albumThumbnailAssetId": {
"nullable": true,
"type": "string"
@@ -7195,12 +7174,18 @@
},
"sharedUsers": {
"deprecated": true,
"description": "Deprecated in favor of albumPermissions",
"description": "Deprecated in favor of users",
"items": {
"$ref": "#/components/schemas/UserResponseDto"
},
"type": "array"
},
"sharedUsersV2": {
"items": {
"$ref": "#/components/schemas/AlbumUserResponseDto"
},
"type": "array"
},
"startDate": {
"format": "date-time",
"type": "string"
@@ -7212,7 +7197,6 @@
},
"required": [
"albumName",
"albumPermissions",
"albumThumbnailAssetId",
"assetCount",
"assets",
@@ -7225,10 +7209,26 @@
"ownerId",
"shared",
"sharedUsers",
"sharedUsersV2",
"updatedAt"
],
"type": "object"
},
"AlbumUserResponseDto": {
"properties": {
"readonly": {
"type": "boolean"
},
"user": {
"$ref": "#/components/schemas/UserResponseDto"
}
},
"required": [
"readonly",
"user"
],
"type": "object"
},
"AllJobStatusResponseDto": {
"properties": {
"backgroundTask": {
@@ -9967,17 +9967,6 @@
],
"type": "object"
},
"SetAlbumPermissionDto": {
"properties": {
"readonly": {
"type": "boolean"
}
},
"required": [
"readonly"
],
"type": "object"
},
"SharedLinkCreateDto": {
"properties": {
"albumId": {
@@ -10971,6 +10960,17 @@
},
"type": "object"
},
"UpdateAlbumUserDto": {
"properties": {
"readonly": {
"type": "boolean"
}
},
"required": [
"readonly"
],
"type": "object"
},
"UpdateAssetDto": {
"properties": {
"dateTimeOriginal": {