revise

Start an import: a presigned URL to upload an .apkg, .colpkg, AlgoApp or text deck file

post/revise/imports/upload-url

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

file_namestring required

The file's name; must end in .apkg, .colpkg, .zip, .xml, .csv, .tsv, .txt

file_sizenumber required

Bytes

deck_idstring uuid

One of the user's live decks to put every card in, whatever decks the file names; no decks are created. Omit to make decks from the file

Response

upload_urlstring required

PUT the raw file here, with exactly upload_headers and no Authorization header

upload_headersobject required
expires_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.