refactor(server): /user profile endpoint (#9669)

* refactor(server): user profile endpoint

* chore: open api
This commit is contained in:
Jason Rasmussen
2024-05-22 14:31:12 -04:00
committed by GitHub
parent ecd018a826
commit 8f37784eae
8 changed files with 60 additions and 60 deletions
+43 -43
View File
@@ -6327,49 +6327,6 @@
]
}
},
"/users/profile-image/{id}": {
"get": {
"operationId": "getProfileImage",
"parameters": [
{
"name": "id",
"required": true,
"in": "path",
"schema": {
"format": "uuid",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/octet-stream": {
"schema": {
"format": "binary",
"type": "string"
}
}
},
"description": ""
}
},
"security": [
{
"bearer": []
},
{
"cookie": []
},
{
"api_key": []
}
],
"tags": [
"User"
]
}
},
"/users/{id}": {
"delete": {
"operationId": "deleteUser",
@@ -6462,6 +6419,49 @@
]
}
},
"/users/{id}/profile-image": {
"get": {
"operationId": "getProfileImage",
"parameters": [
{
"name": "id",
"required": true,
"in": "path",
"schema": {
"format": "uuid",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/octet-stream": {
"schema": {
"format": "binary",
"type": "string"
}
}
},
"description": ""
}
},
"security": [
{
"bearer": []
},
{
"cookie": []
},
{
"api_key": []
}
],
"tags": [
"User"
]
}
},
"/users/{id}/restore": {
"post": {
"operationId": "restoreUser",