v1

OpenAPI 3.0.42026-07-14475158859.0 KB
Ganjoor

add new page (Auth policies: ganjoor:modify)

post/api/ganjoor/page

Request body

idinteger

id

ganjoorPageType0 | 1 | 2 | 3 | 4 | 5 | 6 | 7

Ganjoor Page Type

publishedboolean

Published

pageOrderinteger

page order

titlestring nullable

title

fullTitlestring nullable

cat + parent cats title + title

urlSlugstring nullable

url => slug

fullUrlstring nullable

sample: /hafez/ghazal/sh1

htmlTextstring nullable

Html Text

parentIdinteger nullable

parent id

poetIdinteger nullable

related poet id

catIdinteger nullable

related category id

poemIdinteger nullable

related poem id

secondPoetIdinteger nullable

second poet id

postDatestring date-time

post date

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

Response

OK

idinteger

id

ganjoorPageType0 | 1 | 2 | 3 | 4 | 5 | 6 | 7

Ganjoor Page Type

publishedboolean

Published

pageOrderinteger

page order

titlestring nullable

title

fullTitlestring nullable

cat + parent cats title + title

urlSlugstring nullable

url => slug

fullUrlstring nullable

sample: /hafez/ghazal/sh1

htmlTextstring nullable

Html Text

parentIdinteger nullable

parent id

poetIdinteger nullable

related poet id

catIdinteger nullable

related category id

poemIdinteger nullable

related poem id

secondPoetIdinteger nullable

second poet id

postDatestring date-time

post date

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