Skip to content

Commit

Permalink
Update backend-api-docs.json (#2480)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 19, 2023
1 parent a3a5355 commit 4fd857b
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions save-backend/backend-api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,57 @@
}
],
"paths": {
"/api/v1/avatar/avatar-update": {
"get": {
"description": "This endpoint can only be used in case of setting avatar for user from existing resources",
"operationId": "updateAvatarFromResources",
"parameters": [
{
"description": "static resource for avatar",
"in": "query",
"name": "resource",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "type of avatar",
"in": "query",
"name": "type",
"required": true,
"schema": {
"type": "string",
"enum": [
"ORGANIZATION",
"USER"
]
}
}
],
"responses": {
"401": {
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
},
"description": "Unauthorized"
}
},
"security": [
{
"basic": []
}
],
"summary": "Set avatar from existing avatar packages",
"tags": [
"avatars"
]
}
},
"/api/v1/avatar/upload": {
"post": {
"description": "Upload an avatar for user or organization.",
Expand Down

0 comments on commit 4fd857b

Please sign in to comment.