revise

Check the uploaded file and queue the import. Safe to repeat

post/revise/imports/{id}/complete

Request

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

Path parameters

idstring required

Response

idstring required
file_namestring required
status'awaiting_upload' | 'queued' | 'processing' | 'completed' | 'failed' required
source'anki' | 'algoapp' | 'file' nullable required
format'anki2' | 'anki21' | 'anki21b' | 'algoapp' | 'csv' | 'tsv' nullable required
progress_includedboolean required

False when the file had no scheduling, so every card arrived new

decks_importednumber required
deck_idsstring[] required
cards_importednumber required

New cards

cards_updatednumber required

Cards already imported, updated to the file (progress kept)

cards_unchangednumber required

Cards already imported and identical to the file

cards_with_progressnumber required
reviews_importednumber required
images_importednumber required

Images stored on the imported cards

total_cardsnumber nullable required

Cards in the file; null until it has been read

processed_cardsnumber nullable required

Cards ready to be written so far, while processing

total_imagesnumber nullable required

Images to store; null until the file has been read

processed_imagesnumber nullable required

Images stored or skipped so far, while processing

skippedobject required

Counts by reason: already_imported, suspended, empty_front, empty_back, unsupported_note_type, missing_note_type, card_limit, deck_limit, malformed_row

warningsobject required

Counts by warning: media_not_imported, text_truncated, history_not_stored

error_codestring nullable required
error_messagestring nullable required
created_atstring required
updated_atstring required
finished_atstring nullable required

Changes

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