Rone Arena API
v1.9.5 GitHub

Use Swagger UI

Try any endpoint in Swagger UI, read its answer and authorize with your sign-in token.

5 min read · Start here · Updated

1 Open Swagger UI

Select Swagger UI in the docs tabs, or open /api/docs. It lists the same endpoints as the docs pages, in the standard OpenAPI layout that many developers already know.

The top of Swagger UI with four numbered marks
Select the picture to open it full size.
  1. Name and version. The API's name and the release you are reading.
  2. Authorize. Where you paste your sign-in token. Only the player endpoints need it.
  3. Group. Endpoints are grouped. Select a group name to fold or unfold it.
  4. Endpoint row. Method, path and name. Select the row to open it.

2 Try it out

Open GET /api/heroes/{hero_identifier}/counters and select Try it out. The fields become editable.

An opened Swagger UI endpoint with editable fields and three numbered marks
Select the picture to open it full size.
  1. Hero identifier. Type a hero name or number, for example miya.
  2. Rank. Pick the rank tier, for example mythic.
  3. Execute. Sends the request.

3 Read the response

Scroll down to Server response. Swagger UI shows the exact request it sent as well as the answer.

A Swagger UI server response with four numbered marks
Select the picture to open it full size.
  1. Curl. The same request as a command you can paste into a terminal.
  2. Request URL. The full address, with your values in it.
  3. Code. 200 means success.
  4. Response body. The JSON answer. The icons in its corner copy or download it.

The Responses list further down shows example answers, not your live answer. Your answer is under Server response.

4 Authorize for player endpoints

Player endpoints answer only for the signed-in player. Sign in on the website (see the sign-in guide), open your name in the top bar and select Copy JWT. Then select Authorize in Swagger UI and paste it.

The Authorize window of Swagger UI with two numbered marks
Select the picture to open it full size.
  1. Value. Paste the token here, without the word Bearer.
  2. Authorize. Keeps the token for every request you send from this page.

A token gives access to your player data. Do not share it or post a screenshot of it. It expires after about a day.

All guides Next: Make your first request

Up and down to move, Enter to open, Esc to close