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>",
    "ban": "<string>",
    "body": "<string>",
    "files": [
      "<string>"
    ],
    "videos": [
      "<string>"
    ],
    "workspace": "<string>",
    "author": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

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

Default Response

The response is of type object[].