[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>
This commit is contained in:
Patrycja
2024-12-08 13:47:07 +01:00
committed by GitHub
parent 23fc70f4e6
commit 642f5230e6
3 changed files with 122 additions and 0 deletions

View File

@@ -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: