API reference · Terminal

Change how a card is shown

POST/api/v1/terminal/set

How a card or a folder is shown, sending only what changes: view (list, chart, map, table, stat or own), size (like small or wide), range (1D, 1W, 1M, 3M, 1Y or All), rank (players, growth, new, robux or own), filter (all, rising, new or a genre), games (names or IDs, or ["all"]), compare (last period, last year or none) and measure (robux, players, visits, daily, new or hours). Needs an API key. Terminal and routines open with the new RoTerminal: on an account it isn’t open on yet, the answer is permission_denied.

This endpoint needs an API key. See Authentication.

Parameters

idstring
A card’s ID (12 characters, from List your Terminal). Send this or folder.
folderstring
A folder’s name or ID. Send this or id.
setobject
What changes, like {"view": "chart", "range": "1M"}.
positioninteger
Where it goes too: 1 is first.1 to 500

Example

curl -X POST https://roterminal.co/api/v1/terminal/set \
  -H "Authorization: Bearer $ROTERMINAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id":"a1b2c3d4e5f6"}'

Response

Every response is { data, link, as_of }. The fields of data are below.

Fields

The fields in data. A field with nothing to say is left out.

cardstring
The card’s ID.
titlestring
Its title.
settingsobject
How it’s shown now.
notestring
What the answer means, in a sentence, when there’s something to say.