Category Object


The Category object represents the information for different categories that a blog post might have.

Properties
idstringimmutablemaxLength 38

Category ID.


labelstringmaxLength 35

Category label. Displayed in the Category Menu.


postCountintegerRead-only

Number of posts in the category.


urlUrlRead-only

The url of the page that lists every post with the specified category.


descriptionstringmaxLength 500

Category description.


titlestringdeprecatedmaxLength 200

Category title.


displayPositionintegerminimum 0format int32

Position of the category in the Category Menu. Categories are displayed in ascending order. Categories with a position of -1 appear at the end of the sequence.

Default: -1


translationIdstringformat GUID

ID of the category's translations. All translations of a single category share the same translationId.


languagestringimmutable

Category language.

2-or-4-letter language code in IETF BCP 47 language tag format.


slugstringmaxLength 100

Part of a category's URL that refers to a specific category. For example, the slug of https:/example.com/blog/category/famous-cats is famous-cats.


seoDataSeoData

SEO data.


coverImageCoverImage

Category cover image.


updatedDatestringRead-onlyformat date-time

Date and time the Category was last updated.

Did this help?