|
@@ -473,147 +473,6 @@
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/share": {
|
|
|
|
- "get": {
|
|
|
|
- "operationId": "getAllSharedLinks",
|
|
|
|
- "parameters": [],
|
|
|
|
- "responses": {
|
|
|
|
- "200": {
|
|
|
|
- "description": "",
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "tags": [
|
|
|
|
- "share"
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "/share/me": {
|
|
|
|
- "get": {
|
|
|
|
- "operationId": "getMySharedLink",
|
|
|
|
- "parameters": [],
|
|
|
|
- "responses": {
|
|
|
|
- "200": {
|
|
|
|
- "description": "",
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "tags": [
|
|
|
|
- "share"
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "/share/{id}": {
|
|
|
|
- "get": {
|
|
|
|
- "operationId": "getSharedLinkById",
|
|
|
|
- "parameters": [
|
|
|
|
- {
|
|
|
|
- "name": "id",
|
|
|
|
- "required": true,
|
|
|
|
- "in": "path",
|
|
|
|
- "schema": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "responses": {
|
|
|
|
- "200": {
|
|
|
|
- "description": "",
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "tags": [
|
|
|
|
- "share"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "delete": {
|
|
|
|
- "operationId": "removeSharedLink",
|
|
|
|
- "parameters": [
|
|
|
|
- {
|
|
|
|
- "name": "id",
|
|
|
|
- "required": true,
|
|
|
|
- "in": "path",
|
|
|
|
- "schema": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "responses": {
|
|
|
|
- "200": {
|
|
|
|
- "description": "",
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "tags": [
|
|
|
|
- "share"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "patch": {
|
|
|
|
- "operationId": "editSharedLink",
|
|
|
|
- "parameters": [
|
|
|
|
- {
|
|
|
|
- "name": "id",
|
|
|
|
- "required": true,
|
|
|
|
- "in": "path",
|
|
|
|
- "schema": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "requestBody": {
|
|
|
|
- "required": true,
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/components/schemas/EditSharedLinkDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "responses": {
|
|
|
|
- "200": {
|
|
|
|
- "description": "",
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "tags": [
|
|
|
|
- "share"
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
"/asset/upload": {
|
|
"/asset/upload": {
|
|
"post": {
|
|
"post": {
|
|
"operationId": "uploadFile",
|
|
"operationId": "uploadFile",
|
|
@@ -1370,9 +1229,9 @@
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/album/count-by-user-id": {
|
|
|
|
|
|
+ "/share": {
|
|
"get": {
|
|
"get": {
|
|
- "operationId": "getAlbumCountByUserId",
|
|
|
|
|
|
+ "operationId": "getAllSharedLinks",
|
|
"parameters": [],
|
|
"parameters": [],
|
|
"responses": {
|
|
"responses": {
|
|
"200": {
|
|
"200": {
|
|
@@ -1380,73 +1239,49 @@
|
|
"content": {
|
|
"content": {
|
|
"application/json": {
|
|
"application/json": {
|
|
"schema": {
|
|
"schema": {
|
|
- "$ref": "#/components/schemas/AlbumCountResponseDto"
|
|
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"tags": [
|
|
"tags": [
|
|
- "Album"
|
|
|
|
- ],
|
|
|
|
- "security": [
|
|
|
|
- {
|
|
|
|
- "bearer": []
|
|
|
|
- }
|
|
|
|
|
|
+ "share"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- "/album": {
|
|
|
|
- "post": {
|
|
|
|
- "operationId": "createAlbum",
|
|
|
|
|
|
+ "/share/me": {
|
|
|
|
+ "get": {
|
|
|
|
+ "operationId": "getMySharedLink",
|
|
"parameters": [],
|
|
"parameters": [],
|
|
- "requestBody": {
|
|
|
|
- "required": true,
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/components/schemas/CreateAlbumDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
"responses": {
|
|
"responses": {
|
|
- "201": {
|
|
|
|
|
|
+ "200": {
|
|
"description": "",
|
|
"description": "",
|
|
"content": {
|
|
"content": {
|
|
"application/json": {
|
|
"application/json": {
|
|
"schema": {
|
|
"schema": {
|
|
- "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
|
|
+ "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"tags": [
|
|
"tags": [
|
|
- "Album"
|
|
|
|
- ],
|
|
|
|
- "security": [
|
|
|
|
- {
|
|
|
|
- "bearer": []
|
|
|
|
- }
|
|
|
|
|
|
+ "share"
|
|
]
|
|
]
|
|
- },
|
|
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "/share/{id}": {
|
|
"get": {
|
|
"get": {
|
|
- "operationId": "getAllAlbums",
|
|
|
|
|
|
+ "operationId": "getSharedLinkById",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
- "name": "shared",
|
|
|
|
- "required": false,
|
|
|
|
- "in": "query",
|
|
|
|
- "schema": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "name": "assetId",
|
|
|
|
- "required": false,
|
|
|
|
- "in": "query",
|
|
|
|
- "description": "Only returns albums that contain the asset\nIgnores the shared parameter\nundefined: get all albums",
|
|
|
|
|
|
+ "name": "id",
|
|
|
|
+ "required": true,
|
|
|
|
+ "in": "path",
|
|
"schema": {
|
|
"schema": {
|
|
"type": "string"
|
|
"type": "string"
|
|
}
|
|
}
|
|
@@ -1458,31 +1293,21 @@
|
|
"content": {
|
|
"content": {
|
|
"application/json": {
|
|
"application/json": {
|
|
"schema": {
|
|
"schema": {
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
- }
|
|
|
|
|
|
+ "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"tags": [
|
|
"tags": [
|
|
- "Album"
|
|
|
|
- ],
|
|
|
|
- "security": [
|
|
|
|
- {
|
|
|
|
- "bearer": []
|
|
|
|
- }
|
|
|
|
|
|
+ "share"
|
|
]
|
|
]
|
|
- }
|
|
|
|
- },
|
|
|
|
- "/album/{albumId}/users": {
|
|
|
|
- "put": {
|
|
|
|
- "operationId": "addUsersToAlbum",
|
|
|
|
|
|
+ },
|
|
|
|
+ "delete": {
|
|
|
|
+ "operationId": "removeSharedLink",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
- "name": "albumId",
|
|
|
|
|
|
+ "name": "id",
|
|
"required": true,
|
|
"required": true,
|
|
"in": "path",
|
|
"in": "path",
|
|
"schema": {
|
|
"schema": {
|
|
@@ -1490,44 +1315,219 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- "requestBody": {
|
|
|
|
- "required": true,
|
|
|
|
- "content": {
|
|
|
|
- "application/json": {
|
|
|
|
- "schema": {
|
|
|
|
- "$ref": "#/components/schemas/AddUsersDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
"responses": {
|
|
"responses": {
|
|
"200": {
|
|
"200": {
|
|
"description": "",
|
|
"description": "",
|
|
"content": {
|
|
"content": {
|
|
"application/json": {
|
|
"application/json": {
|
|
"schema": {
|
|
"schema": {
|
|
- "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
|
|
+ "type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
"tags": [
|
|
"tags": [
|
|
- "Album"
|
|
|
|
- ],
|
|
|
|
- "security": [
|
|
|
|
- {
|
|
|
|
- "bearer": []
|
|
|
|
- }
|
|
|
|
|
|
+ "share"
|
|
]
|
|
]
|
|
- }
|
|
|
|
- },
|
|
|
|
- "/album/{albumId}/assets": {
|
|
|
|
- "put": {
|
|
|
|
- "operationId": "addAssetsToAlbum",
|
|
|
|
|
|
+ },
|
|
|
|
+ "patch": {
|
|
|
|
+ "operationId": "editSharedLink",
|
|
"parameters": [
|
|
"parameters": [
|
|
{
|
|
{
|
|
- "name": "albumId",
|
|
|
|
|
|
+ "name": "id",
|
|
|
|
+ "required": true,
|
|
|
|
+ "in": "path",
|
|
|
|
+ "schema": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
|
|
+ "requestBody": {
|
|
|
|
+ "required": true,
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/EditSharedLinkDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "responses": {
|
|
|
|
+ "200": {
|
|
|
|
+ "description": "",
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/SharedLinkResponseDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tags": [
|
|
|
|
+ "share"
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "/album/count-by-user-id": {
|
|
|
|
+ "get": {
|
|
|
|
+ "operationId": "getAlbumCountByUserId",
|
|
|
|
+ "parameters": [],
|
|
|
|
+ "responses": {
|
|
|
|
+ "200": {
|
|
|
|
+ "description": "",
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/AlbumCountResponseDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tags": [
|
|
|
|
+ "Album"
|
|
|
|
+ ],
|
|
|
|
+ "security": [
|
|
|
|
+ {
|
|
|
|
+ "bearer": []
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "/album": {
|
|
|
|
+ "post": {
|
|
|
|
+ "operationId": "createAlbum",
|
|
|
|
+ "parameters": [],
|
|
|
|
+ "requestBody": {
|
|
|
|
+ "required": true,
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/CreateAlbumDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "responses": {
|
|
|
|
+ "201": {
|
|
|
|
+ "description": "",
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tags": [
|
|
|
|
+ "Album"
|
|
|
|
+ ],
|
|
|
|
+ "security": [
|
|
|
|
+ {
|
|
|
|
+ "bearer": []
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "get": {
|
|
|
|
+ "operationId": "getAllAlbums",
|
|
|
|
+ "parameters": [
|
|
|
|
+ {
|
|
|
|
+ "name": "shared",
|
|
|
|
+ "required": false,
|
|
|
|
+ "in": "query",
|
|
|
|
+ "schema": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "name": "assetId",
|
|
|
|
+ "required": false,
|
|
|
|
+ "in": "query",
|
|
|
|
+ "description": "Only returns albums that contain the asset\nIgnores the shared parameter\nundefined: get all albums",
|
|
|
|
+ "schema": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
|
|
+ "responses": {
|
|
|
|
+ "200": {
|
|
|
|
+ "description": "",
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tags": [
|
|
|
|
+ "Album"
|
|
|
|
+ ],
|
|
|
|
+ "security": [
|
|
|
|
+ {
|
|
|
|
+ "bearer": []
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "/album/{albumId}/users": {
|
|
|
|
+ "put": {
|
|
|
|
+ "operationId": "addUsersToAlbum",
|
|
|
|
+ "parameters": [
|
|
|
|
+ {
|
|
|
|
+ "name": "albumId",
|
|
|
|
+ "required": true,
|
|
|
|
+ "in": "path",
|
|
|
|
+ "schema": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
|
|
+ "requestBody": {
|
|
|
|
+ "required": true,
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/AddUsersDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "responses": {
|
|
|
|
+ "200": {
|
|
|
|
+ "description": "",
|
|
|
|
+ "content": {
|
|
|
|
+ "application/json": {
|
|
|
|
+ "schema": {
|
|
|
|
+ "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "tags": [
|
|
|
|
+ "Album"
|
|
|
|
+ ],
|
|
|
|
+ "security": [
|
|
|
|
+ {
|
|
|
|
+ "bearer": []
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "/album/{albumId}/assets": {
|
|
|
|
+ "put": {
|
|
|
|
+ "operationId": "addAssetsToAlbum",
|
|
|
|
+ "parameters": [
|
|
|
|
+ {
|
|
|
|
+ "name": "albumId",
|
|
"required": true,
|
|
"required": true,
|
|
"in": "path",
|
|
"in": "path",
|
|
"schema": {
|
|
"schema": {
|
|
@@ -2879,38 +2879,141 @@
|
|
"name"
|
|
"name"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- "SharedLinkType": {
|
|
|
|
- "type": "string",
|
|
|
|
- "enum": [
|
|
|
|
- "ALBUM",
|
|
|
|
- "INDIVIDUAL"
|
|
|
|
|
|
+ "AssetFileUploadDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "assetData": {
|
|
|
|
+ "type": "string",
|
|
|
|
+ "format": "binary"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "assetData"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- "AssetTypeEnum": {
|
|
|
|
|
|
+ "AssetFileUploadResponseDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "id"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "DownloadFilesDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "assetIds": {
|
|
|
|
+ "title": "Array of asset ids to be downloaded",
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "assetIds"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "ThumbnailFormat": {
|
|
"type": "string",
|
|
"type": "string",
|
|
"enum": [
|
|
"enum": [
|
|
- "IMAGE",
|
|
|
|
- "VIDEO",
|
|
|
|
- "AUDIO",
|
|
|
|
- "OTHER"
|
|
|
|
|
|
+ "JPEG",
|
|
|
|
+ "WEBP"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- "ExifResponseDto": {
|
|
|
|
|
|
+ "CuratedObjectsResponseDto": {
|
|
"type": "object",
|
|
"type": "object",
|
|
"properties": {
|
|
"properties": {
|
|
"id": {
|
|
"id": {
|
|
- "type": "integer",
|
|
|
|
- "nullable": true,
|
|
|
|
- "default": null,
|
|
|
|
- "format": "int64"
|
|
|
|
|
|
+ "type": "string"
|
|
},
|
|
},
|
|
- "fileSizeInByte": {
|
|
|
|
- "type": "integer",
|
|
|
|
- "nullable": true,
|
|
|
|
- "default": null,
|
|
|
|
- "format": "int64"
|
|
|
|
|
|
+ "object": {
|
|
|
|
+ "type": "string"
|
|
},
|
|
},
|
|
- "make": {
|
|
|
|
|
|
+ "resizePath": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "deviceAssetId": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "deviceId": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "id",
|
|
|
|
+ "object",
|
|
|
|
+ "resizePath",
|
|
|
|
+ "deviceAssetId",
|
|
|
|
+ "deviceId"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "CuratedLocationsResponseDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "city": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "resizePath": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "deviceAssetId": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "deviceId": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "id",
|
|
|
|
+ "city",
|
|
|
|
+ "resizePath",
|
|
|
|
+ "deviceAssetId",
|
|
|
|
+ "deviceId"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "SearchAssetDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "searchTerm": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "searchTerm"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "AssetTypeEnum": {
|
|
|
|
+ "type": "string",
|
|
|
|
+ "enum": [
|
|
|
|
+ "IMAGE",
|
|
|
|
+ "VIDEO",
|
|
|
|
+ "AUDIO",
|
|
|
|
+ "OTHER"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "ExifResponseDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "integer",
|
|
|
|
+ "nullable": true,
|
|
|
|
+ "default": null,
|
|
|
|
+ "format": "int64"
|
|
|
|
+ },
|
|
|
|
+ "fileSizeInByte": {
|
|
|
|
+ "type": "integer",
|
|
|
|
+ "nullable": true,
|
|
|
|
+ "default": null,
|
|
|
|
+ "format": "int64"
|
|
|
|
+ },
|
|
|
|
+ "make": {
|
|
"type": "string",
|
|
"type": "string",
|
|
"nullable": true,
|
|
"nullable": true,
|
|
"default": null
|
|
"default": null
|
|
@@ -3144,232 +3247,6 @@
|
|
"tags"
|
|
"tags"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- "AlbumResponseDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "assetCount": {
|
|
|
|
- "type": "integer"
|
|
|
|
- },
|
|
|
|
- "id": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "ownerId": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "albumName": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "createdAt": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "albumThumbnailAssetId": {
|
|
|
|
- "type": "string",
|
|
|
|
- "nullable": true
|
|
|
|
- },
|
|
|
|
- "shared": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- },
|
|
|
|
- "sharedUsers": {
|
|
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/components/schemas/UserResponseDto"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "assets": {
|
|
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/components/schemas/AssetResponseDto"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "assetCount",
|
|
|
|
- "id",
|
|
|
|
- "ownerId",
|
|
|
|
- "albumName",
|
|
|
|
- "createdAt",
|
|
|
|
- "albumThumbnailAssetId",
|
|
|
|
- "shared",
|
|
|
|
- "sharedUsers",
|
|
|
|
- "assets"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "SharedLinkResponseDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "type": {
|
|
|
|
- "$ref": "#/components/schemas/SharedLinkType"
|
|
|
|
- },
|
|
|
|
- "id": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "description": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "userId": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "key": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "createdAt": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "expiresAt": {
|
|
|
|
- "type": "string",
|
|
|
|
- "nullable": true
|
|
|
|
- },
|
|
|
|
- "assets": {
|
|
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "$ref": "#/components/schemas/AssetResponseDto"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "album": {
|
|
|
|
- "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
- },
|
|
|
|
- "allowUpload": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "type",
|
|
|
|
- "id",
|
|
|
|
- "userId",
|
|
|
|
- "key",
|
|
|
|
- "createdAt",
|
|
|
|
- "expiresAt",
|
|
|
|
- "assets",
|
|
|
|
- "allowUpload"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "EditSharedLinkDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "description": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "expiredAt": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "allowUpload": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- },
|
|
|
|
- "isEditExpireTime": {
|
|
|
|
- "type": "boolean"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "AssetFileUploadDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "assetData": {
|
|
|
|
- "type": "string",
|
|
|
|
- "format": "binary"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "assetData"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "AssetFileUploadResponseDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "id": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "id"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "DownloadFilesDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "assetIds": {
|
|
|
|
- "title": "Array of asset ids to be downloaded",
|
|
|
|
- "type": "array",
|
|
|
|
- "items": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "assetIds"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "ThumbnailFormat": {
|
|
|
|
- "type": "string",
|
|
|
|
- "enum": [
|
|
|
|
- "JPEG",
|
|
|
|
- "WEBP"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "CuratedObjectsResponseDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "id": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "object": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "resizePath": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "deviceAssetId": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "deviceId": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "id",
|
|
|
|
- "object",
|
|
|
|
- "resizePath",
|
|
|
|
- "deviceAssetId",
|
|
|
|
- "deviceId"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "CuratedLocationsResponseDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "id": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "city": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "resizePath": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "deviceAssetId": {
|
|
|
|
- "type": "string"
|
|
|
|
- },
|
|
|
|
- "deviceId": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "id",
|
|
|
|
- "city",
|
|
|
|
- "resizePath",
|
|
|
|
- "deviceAssetId",
|
|
|
|
- "deviceId"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- "SearchAssetDto": {
|
|
|
|
- "type": "object",
|
|
|
|
- "properties": {
|
|
|
|
- "searchTerm": {
|
|
|
|
- "type": "string"
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- "required": [
|
|
|
|
- "searchTerm"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
"TimeGroupEnum": {
|
|
"TimeGroupEnum": {
|
|
"type": "string",
|
|
"type": "string",
|
|
"enum": [
|
|
"enum": [
|
|
@@ -3596,6 +3473,129 @@
|
|
"existingIds"
|
|
"existingIds"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ "SharedLinkType": {
|
|
|
|
+ "type": "string",
|
|
|
|
+ "enum": [
|
|
|
|
+ "ALBUM",
|
|
|
|
+ "INDIVIDUAL"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "AlbumResponseDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "assetCount": {
|
|
|
|
+ "type": "integer"
|
|
|
|
+ },
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "ownerId": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "albumName": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "createdAt": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "albumThumbnailAssetId": {
|
|
|
|
+ "type": "string",
|
|
|
|
+ "nullable": true
|
|
|
|
+ },
|
|
|
|
+ "shared": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ },
|
|
|
|
+ "sharedUsers": {
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "$ref": "#/components/schemas/UserResponseDto"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "assets": {
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "$ref": "#/components/schemas/AssetResponseDto"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "assetCount",
|
|
|
|
+ "id",
|
|
|
|
+ "ownerId",
|
|
|
|
+ "albumName",
|
|
|
|
+ "createdAt",
|
|
|
|
+ "albumThumbnailAssetId",
|
|
|
|
+ "shared",
|
|
|
|
+ "sharedUsers",
|
|
|
|
+ "assets"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "SharedLinkResponseDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "type": {
|
|
|
|
+ "$ref": "#/components/schemas/SharedLinkType"
|
|
|
|
+ },
|
|
|
|
+ "id": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "description": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "userId": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "key": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "createdAt": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "expiresAt": {
|
|
|
|
+ "type": "string",
|
|
|
|
+ "nullable": true
|
|
|
|
+ },
|
|
|
|
+ "assets": {
|
|
|
|
+ "type": "array",
|
|
|
|
+ "items": {
|
|
|
|
+ "$ref": "#/components/schemas/AssetResponseDto"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "album": {
|
|
|
|
+ "$ref": "#/components/schemas/AlbumResponseDto"
|
|
|
|
+ },
|
|
|
|
+ "allowUpload": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "required": [
|
|
|
|
+ "type",
|
|
|
|
+ "id",
|
|
|
|
+ "userId",
|
|
|
|
+ "key",
|
|
|
|
+ "createdAt",
|
|
|
|
+ "expiresAt",
|
|
|
|
+ "assets",
|
|
|
|
+ "allowUpload"
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+ "EditSharedLinkDto": {
|
|
|
|
+ "type": "object",
|
|
|
|
+ "properties": {
|
|
|
|
+ "description": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "expiredAt": {
|
|
|
|
+ "type": "string"
|
|
|
|
+ },
|
|
|
|
+ "allowUpload": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ },
|
|
|
|
+ "isEditExpireTime": {
|
|
|
|
+ "type": "boolean"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
"AlbumCountResponseDto": {
|
|
"AlbumCountResponseDto": {
|
|
"type": "object",
|
|
"type": "object",
|
|
"properties": {
|
|
"properties": {
|