Blog Category
Requires a signed-in staff user. Needs the `Blogs` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
blogCategory(where: CommonFindDocumentDto!): BlogCategoryRequires a signed-in staff user. Needs the Blogs read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
- blogCategory
_id*ID!createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
description?StringisActive?Booleanname*String!slug?Stringtenant?StringupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
query BlogCategory($where: CommonFindDocumentDto!) { blogCategory(where: $where) { _id createdAt description isActive name slug tenant updatedAt }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "blogCategory": { "_id": "1", "createdAt": "<DateTime>", "description": "string", "isActive": true, "name": "string", "slug": "string", "tenant": "string", "updatedAt": "<DateTime>" } }}Blog Categories QUERY
Only blog categories that the user has access to will be returned. Requires a signed-in staff user. Needs the `Blogs` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Blogs QUERY
Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the `Blogs` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).