v1

OpenAPI 3.0.42026-07-14475158859.0 KB
Ganjoor

get old version of page (Auth policies: ganjoor:modify)

get/api/ganjoor/oldversion/{id}

Path parameters

idinteger required

Response

OK

titlestring nullable

title

urlSlugstring nullable

url => slug

htmlTextstring nullable

Html Text

rhythmstring nullable

Poem Rhythm

rhythm2string nullable

Second Poem Rhythm

rhythm3string nullable

Third Poem Rhythm

rhymeLettersstring nullable

rhyme letters

sourceNamestring nullable

source name

sourceUrlSlugstring nullable

source url slug

oldTagstring nullable

old collection or book name for Saadi's ghazalyiat (طیبات، خواتیم و ....)

oldTagPageUrlstring nullable

old collection page url e.g /saadi/tayyebat

noIndexboolean

no index (search engines are blocked to index the page)

redirectFromFullUrlstring nullable

if a page url is changed, store the old URL here to be redirected automatically

mixedModeOrderinteger

order when mixed with categories

publishedboolean

published

languagestring nullable

language (this is intended to affect html page encodings and not determine actuallly accents and ....)

tableOfContentsStyle0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12

ganjoor TOC options

catType0 | 1 | 2

Ganjoor Category Type

descriptionstring nullable

additional description or note

descriptionHtmlstring nullable

html mode of additional description or note

notestring nullable

a description of the modfication