API reference · Terminal
Refresh cards
POST
/api/v1/terminal/refreshReads cards again now: the ones in ids, or every card without it. 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
idslist- Cards’ IDs, from List your Terminal.
Example
curl -X POST https://roterminal.co/api/v1/terminal/refresh \
-H "Authorization: Bearer $ROTERMINAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import RoTerminal from 'roterminal'
const rt = new RoTerminal({ apiKey: process.env.ROTERMINAL_API_KEY })
const { data } = await rt.terminal.refresh()from roterminal import RoTerminal
rt = RoTerminal() # reads ROTERMINAL_API_KEY
data = rt.terminal.refresh()["data"]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.
refreshedlist of object- The cards, read again.
7 fields
idstringtitlestringnowstringaboutstringchangestringmovenumberupdatedstring