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
@@ -130,6 +130,20 @@ _OPERATIONS = {
|
||||
"404": {"description": "Not found, not listed, or deleted"},
|
||||
},
|
||||
),
|
||||
"federation.actor_avatar": (
|
||||
"get",
|
||||
"Profile image",
|
||||
"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.",
|
||||
[_USERNAME],
|
||||
{
|
||||
"200": {
|
||||
"description": "A JPEG, PNG or WebP image",
|
||||
"content": {"image/*": {"schema": {"type": "string", "format": "binary"}}},
|
||||
},
|
||||
"404": _NOT_FOUND,
|
||||
},
|
||||
),
|
||||
"federation.followers": (
|
||||
"get",
|
||||
"Followers",
|
||||
|
||||
Reference in new issue
Block a user