summaryrefslogtreecommitdiff
path: root/docs/api/swagger.yaml
diff options
context:
space:
mode:
authorLibravatar Patrycja <github@ptrcnull.me>2024-12-08 13:47:07 +0100
committerLibravatar GitHub <noreply@github.com>2024-12-08 13:47:07 +0100
commit642f5230e68b08fdcb993a92e9fda119892d5ccf (patch)
tree7dfb21a27d38260060bb301bf7b64b91d253b927 /docs/api/swagger.yaml
parent[feature] add support for receiving federated status edits (#3597) (diff)
downloadgotosocial-642f5230e68b08fdcb993a92e9fda119892d5ccf.tar.xz
[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 <tobi.smethurst@protonmail.com>
Diffstat (limited to 'docs/api/swagger.yaml')
-rw-r--r--docs/api/swagger.yaml35
1 files changed, 35 insertions, 0 deletions
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: