note-audio

Confirm an uploaded recording: verifies the bytes and makes it embeddable

post/note/{note_id}/audio/{audio_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

note_idstring uuid required
audio_idstring uuid required

Request body

file_namestring

Original file name, for display and "save image"

Response

idstring required
note_idstring nullable required

Set for an image in a personal note, otherwise null

project_note_idstring nullable required

Set for an image in a project note, otherwise null

kind'image' | 'audio' | 'pdf' required

image, audio or pdf; matches the endpoints it was uploaded to

referencestring required

Embed reference used in the note body: fb-note-image://<id>, fb-note-audio://<id> or fb-note-pdf://<id>

file_namestring nullable required
content_typestring required

Detected from the file signature: image/png, image/jpeg, image/gif or image/webp for images; audio/mp4, audio/mpeg, audio/webm, audio/ogg or audio/wav for audio; application/pdf for PDFs

file_sizenumber required

Size in bytes

uploaded_bystring nullable required

Null when the uploader has since deleted their account

urlstring required

Short-lived signed GET URL for the file bytes

url_expires_atstring required

When url stops working (ISO 8601)

created_atstring required

Changes

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