Ganjoor

delete a category (Auth policies: ganjoor:modify)

delete/api/ganjoor/cat/{id}

Path parameters

idinteger required

Response

OK

idinteger

id

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

Ganjoor Page Type

titlestring nullable

title

fullTitlestring nullable

cat + parent cats title + title

urlSlugstring nullable

url => slug

fullUrlstring nullable

sample: /hafez/ghazal/sh1

htmlTextstring nullable

Html Text

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

Changes

Changed in 3 of the 15 revisions of this API.14

    • ●

      added the new 4.00 enum value to the /// response property for the response status

      response-property-enum-value-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added