Skip to main content

Add or update preference‚Äč

Add or update one user preferences group like favorite Tafsirs or translations.

Query Parameters
    mushafId integer required

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

    The id of the Mushaf being used.

    1 = QCFV2

    2 = QCFV1

    3 = Indopak

    4 = UthmaniHafs

    5 = KFGQPCHAFS

    6 = Indopak15Lines

    7 = Indopak16Lines

    11 = Tajweeed

Request Body
    anyOf

    key string

    Possible values: [type]

    group string required

    Possible values: [tafsirs, translations, audio, theme, quranReaderStyles, reading, language]

    The preference group to be added or updated.

    key string required

    The preference key to be added or updated.

    value required

    The preference value to be added or updated.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    message

    Possible values: [preference updated]

Loading...