diff options
Diffstat (limited to 'internal/api/client/status/statuscontext.go')
-rw-r--r-- | internal/api/client/status/statuscontext.go | 65 |
1 files changed, 33 insertions, 32 deletions
diff --git a/internal/api/client/status/statuscontext.go b/internal/api/client/status/statuscontext.go index 0daefaec1..632a151d5 100644 --- a/internal/api/client/status/statuscontext.go +++ b/internal/api/client/status/statuscontext.go @@ -34,42 +34,43 @@ import ( // // The returned statuses will be ordered in a thread structure, so they are suitable to be displayed in the order in which they were returned. // -// --- -// tags: -// - statuses +// --- +// tags: +// - statuses // -// produces: -// - application/json +// produces: +// - application/json // -// parameters: -// - name: id -// type: string -// description: Target status ID. -// in: path -// required: true +// parameters: +// - +// name: id +// type: string +// description: Target status ID. +// in: path +// required: true // -// security: -// - OAuth2 Bearer: -// - read:statuses +// security: +// - OAuth2 Bearer: +// - read:statuses // -// responses: -// '200': -// name: statuses -// description: Status context object. -// schema: -// "$ref": "#/definitions/statusContext" -// '400': -// description: bad request -// '401': -// description: unauthorized -// '403': -// description: forbidden -// '404': -// description: not found -// '406': -// description: not acceptable -// '500': -// description: internal server error +// responses: +// '200': +// name: statuses +// description: Status context object. +// schema: +// "$ref": "#/definitions/statusContext" +// '400': +// description: bad request +// '401': +// description: unauthorized +// '403': +// description: forbidden +// '404': +// description: not found +// '406': +// description: not acceptable +// '500': +// description: internal server error func (m *Module) StatusContextGETHandler(c *gin.Context) { authed, err := oauth.Authed(c, true, true, true, true) if err != nil { |