From 642f5230e68b08fdcb993a92e9fda119892d5ccf Mon Sep 17 00:00:00 2001 From: Patrycja Date: Sun, 8 Dec 2024 13:47:07 +0100 Subject: [chore] stub /api/v1/accounts/{id}/featured_tags endpoint (#3598) * [chore] stub /api/v1/accounts/{id}/featured_tags endpoint * fix swagger parsing issue --------- Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com> Co-authored-by: tobi --- docs/api/swagger.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'docs/api') diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index c2e5c5fc3..d10aa5daa 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -3648,6 +3648,41 @@ paths: summary: Block account with id. tags: - accounts + /api/v1/accounts/{id}/featured_tags: + get: + description: 'THIS ENDPOINT IS CURRENTLY NOT FULLY IMPLEMENTED: it will always return an empty array.' + operationId: accountsFeaturedTags + parameters: + - description: The id of the account. + in: path + name: id + required: true + type: string + produces: + - application/json + responses: + "200": + description: "" + schema: + items: + type: object + type: array + "400": + description: bad request + "401": + description: unauthorized + "404": + description: not found + "406": + description: not acceptable + "500": + description: internal server error + security: + - OAuth2 Bearer: + - read:accounts + summary: Get an array of target account's featured tags. + tags: + - accounts /api/v1/accounts/{id}/follow: post: consumes: -- cgit v1.2.3