Split Superset OpenAPI into indexed sections
This commit is contained in:
33
.ai/openapi/superset/paths/user.json
Normal file
33
.ai/openapi/superset/paths/user.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"/api/v1/user/{user_id}/avatar.png": {
|
||||
"get": {
|
||||
"description": "Gets the avatar URL for the user with the given ID, or returns a 401 error if the user is unauthenticated.",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "The ID of the user",
|
||||
"in": "path",
|
||||
"name": "user_id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"301": {
|
||||
"description": "A redirect to the user's avatar URL"
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/components/responses/401"
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/components/responses/404"
|
||||
}
|
||||
},
|
||||
"summary": "Get the user avatar",
|
||||
"tags": [
|
||||
"User"
|
||||
]
|
||||
}
|
||||
}
|
||||
}\n
|
||||
Reference in New Issue
Block a user