fix(server): album statistics endpoint (#11924)

This commit is contained in:
Jason Rasmussen
2024-08-20 07:50:36 -04:00
committed by GitHub
parent cde0458dc8
commit ef9a06be5c
14 changed files with 111 additions and 111 deletions

View File

@@ -660,16 +660,16 @@
]
}
},
"/albums/count": {
"/albums/statistics": {
"get": {
"operationId": "getAlbumCount",
"operationId": "getAlbumStatistics",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlbumCountResponseDto"
"$ref": "#/components/schemas/AlbumStatisticsResponseDto"
}
}
},
@@ -7505,25 +7505,6 @@
],
"type": "object"
},
"AlbumCountResponseDto": {
"properties": {
"notShared": {
"type": "integer"
},
"owned": {
"type": "integer"
},
"shared": {
"type": "integer"
}
},
"required": [
"notShared",
"owned",
"shared"
],
"type": "object"
},
"AlbumResponseDto": {
"properties": {
"albumName": {
@@ -7611,6 +7592,25 @@
],
"type": "object"
},
"AlbumStatisticsResponseDto": {
"properties": {
"notShared": {
"type": "integer"
},
"owned": {
"type": "integer"
},
"shared": {
"type": "integer"
}
},
"required": [
"notShared",
"owned",
"shared"
],
"type": "object"
},
"AlbumUserAddDto": {
"properties": {
"role": {