Skip to main content

Add collection Bookmark​

Add a bookmark to an existing collection.

Path Parameters
    collectionId string required

    The Id of the collection to be added.

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
    anyOf

    key integer required

    The Surah number.

    type string

    Possible values: [ayah]

    Default value: ayah

    The bookmark type.

    verseNumber integer required
    mushaf integer required

    Possible values: [1, 2, 3, 4, 5, 6, 7, 11, 19]

    The id of the Mushaf being used.

    1 = QCFV2

    2 = QCFV1

    3 = Indopak

    4 = UthmaniHafs

    5 = KFGQPCHAFS

    6 = Indopak15Lines

    7 = Indopak16Lines

    11 = Tajweeed

    19 = QCFTajweedV4

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
    message

    Possible values: [collection bookmark added]

Loading...