GET
/
players
/
bans
/
{workspaceId}
/
{banId}
/
comments
curl --request GET \
  --url https://api.hyra.io/players/bans/{workspaceId}/{banId}/comments \
  --header 'Authorization: Bearer <token>'
[
  {
    "_id": "<string>",
    "author": "<string>",
    "ban": "<string>",
    "body": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "files": [
      "<string>"
    ],
    "updatedAt": "2023-11-07T05:31:56Z",
    "videos": [
      "<string>"
    ],
    "workspace": "<string>"
  }
]

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
banId
number
required

Response

200 - application/json
_id
string
required
author
string
required
ban
string
required
body
string
createdAt
string
required
files
string[]
required
updatedAt
string
required
videos
string[]
required
workspace
string
required