Frontend | Backend | Api

Documentation routes (Backend)

Name Request Response variables Description
addPage

GET /cdna-admin/documentation/add-page/{parent.id}

parent.id \d+
Name Type Description
page Page Single (empty) Page record
Add a new record. Assigns an empty record to the template.
addGlobalPage

GET /cdna-admin/documentation/add-global-page/{parent.id}

parent.id \d+
Name Type Description
globalPage GlobalPage Single (empty) GlobalPage record
Add a new record. Assigns an empty record to the template.
editPage

GET /cdna-admin/documentation/page/{id}/{revision.id}

id \d+
revision.id \d+
Name Type Description
page Page Retrieved Page record
Retrieve a single record and display the edit page for the record
editGlobalPage

GET /cdna-admin/documentation/global-page/{id}/{revision.id}

id \d+
revision.id \d+
Name Type Description
globalPage GlobalPage Retrieved GlobalPage record
Retrieve a single record and display the edit page for the record
managePages

GET /cdna-admin/documentation/pages

Name Type Description
pages Collection (Page) Collection of Pages
Retrieve available records and assign them to the template for editing.
manageGlobalPages

GET /cdna-admin/documentation/global-pages

Name Type Description
globalPages Collection (GlobalPage) Collection of GlobalPages
Retrieve available records and assign them to the template for editing.
addComment

GET /cdna-admin/documentation/add-comment/{page.id}/{parent.id}

page.id \d+
parent.id \d+
Name Type Description
comment Comment Single (empty) Comment record
Add a new record. Assigns an empty record to the template.
editComment

GET /cdna-admin/documentation/comment/{id}

id \d+
Name Type Description
comment Comment Retrieved Comment record
Retrieve a single record and display the edit page for the record
manageComments

GET /cdna-admin/documentation/comments/{page.id}

page.id \d+
Name Type Description
comments Collection (Comment) Collection of Comments
Retrieve available records and assign them to the template for editing.
addGlobalComment

GET /cdna-admin/documentation/add-global-comment/{page.id}/{parent.id}

page.id \d+
parent.id \d+
Name Type Description
globalComment GlobalComment Single (empty) GlobalComment record
Add a new record. Assigns an empty record to the template.
editGlobalComment

GET /cdna-admin/documentation/global-comment/{id}

id \d+
Name Type Description
globalComment GlobalComment Retrieved GlobalComment record
Retrieve a single record and display the edit page for the record
manageGlobalComments

GET /cdna-admin/documentation/global-comments/{page.id}

page.id \d+
Name Type Description
globalComments Collection (GlobalComment) Collection of GlobalComments
Retrieve available records and assign them to the template for editing.