Document the ActivityPub avatar route in the OpenAPI spec (SCR-1)
CI / validate-monitoring (push) Successful in 9s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m42s
CI / test (push) Successful in 7m4s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 9s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m42s
CI / test (push) Successful in 7m4s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
The previous commit left test_openapi failing; the route needed a federation OpenAPI entry and the public-endpoint allowance. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
016fc707d1
commit
b878523d51
3 files changed
+62
No files matched your search
@@ -3692,6 +3692,53 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"/users/{username}/avatar": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"ActivityPub"
|
||||
],
|
||||
"summary": "Profile image",
|
||||
"description": "The user's profile image, which their actor document names as its `icon`. Only served when the user shares and has chosen to share their image.",
|
||||
"operationId": "federation_actor_avatar",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A JPEG, PNG or WebP image",
|
||||
"content": {
|
||||
"image/*": {
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"format": "binary"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Unknown, or not sharing (the two are indistinguishable)"
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "username",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "username",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"/users/{username}/followers": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
||||
Reference in new issue
Block a user