Jump to content

Community

REST API Documentation

/blog/entrycategories


Get list of entry categories

Parameters

Name Type Description
blog int ID of blog. Null for all.
sortBy string What to sort by. Can be 'position' for category position or do not specify for ID
sortDir string Sort direction. Can be 'asc' or 'desc' - defaults to 'asc'
page int Page number
perPage int Number of results per page - defaults to 25

Exceptions

This endpoint doesn't throw any exceptions.

Response

Name Type Description
page int The page number for the results being shown
perPage int The number of results that will be on each page
totalResults int The total number of results
totalPages int The number of pages of results
results array of category objects The results for this page

category object

Name Type Description
id int ID number
name string Name
url string URL
class string Node class
position int Node order
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy