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
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
ban
string
required
body
string
files
string[]
required
videos
string[]
required
workspace
string
required
author
string
required
createdAt
string
required
updatedAt
string
required