API reference · Terminal

Take cards out of their folder

POST /api/v1/terminal/unfile

Takes cards out of their folders, back onto Terminal itself. 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

ids list Required
Cards’ IDs, from List your Terminal.

Example

curl -X POST https://roterminal.co/api/v1/terminal/unfile \ -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. unfile ([ 'undefined' ]) from roterminal import RoTerminal rt = RoTerminal () # reads ROTERMINAL_API_KEY data = rt.terminal. unfile ([ "undefined" ])[ "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.

unfiled list of strings
The cards taken out.
now_in list of object
Where each one is now. 2 fields
id string
folder string