Category Object


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

Properties
idstringmaxLength 38

Category ID.


labelstringmaxLength 35

Category label. Displayed in the Category Menu.


postCountintegerRead-only

Number of posts in the category.


urlUrlRead-only

Category URL.


descriptionstringmaxLength 500

Category description.


titlestringmaxLength 200

Category title.


rankintegerdeprecated - use displayPosition insteadformat int32

Category position in sequence.


displayPositionintegerminimum 0format int32

Category position in sequence. Categories with a lower display position are displayed first. 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.


languagestring

Category language.

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


slugstringmaxLength 100

Category slug. For example, 'category-slug'.


internalIdstringRead-onlymaxLength 24

Reserved for internal use.


seoDataSeoData

SEO data.


coverImageCoverImage

Category cover image.


updatedDatestringRead-onlyformat date-time

Date and time the Category was last updated.

Category
JSON
{ "category": { "id": "5f2bcaa0879ad500173577f3", "label": "Summer", "postCount": 1, "url": { "base": "https://some-user.wixsite.com/my-site", "path": "/blog/categories/summer-slug" }, "description": "Posts about my summer", "title": "Summer", "coverMedia": { "displayed": true }, "displayPosition": 1, "language": "en", "slug": "summer-slug" } }
Did this help?