Skip to main content

Publish note​

Publish a note to QR.

Path Parameters
    noteId string required

    The unique identifier of the note to be retrieved or manipulated.

Query Parameters
    lastMutationAt float required

    The timestamp of the last mutation that was applied on the server. Required for any data modification operation to ensure concurrency control.

Request Body
    body string required

    Possible values: >= 6 characters and <= 10000 characters

    The main content of the note, must be between the specified minimum and maximum length.

    ranges string[]

    Possible values: Value must match regular expression ^(\d+):(\d+)-(\d+):(\d+)$

    An array of verse ranges associated with the note.

Responses

Request has been handled successfully.

Response Headers
  • X-Mutation-At string

    Unix timestamp (milliseconds) of the latest mutation for the user. Clients should store this value and include it in subsequent mutation requests for optimistic concurrency control.


Schema
    success boolean
    data object

    Response object indicating the success of the note publishing operation and the optional post ID if successful.

    success boolean required
    postId float
Loading...