Core GraphQL APIReferenceQueries
Blog Author
Requires a signed-in staff user. Needs the `Blogs` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
QUERY
blogAuthor(where: CommonFindDocumentDto!): BlogAuthorRequires 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
Example Request
query BlogAuthor($where: CommonFindDocumentDto!) { blogAuthor(where: $where) { _id avatar { alt external fileAssetId key provider } createdAt email isActive name phoneNumber tenant updatedAt }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "blogAuthor": { "_id": "1", "avatar": { "alt": "string", "external": "string", "fileAssetId": "1", "key": "string", "provider": "CLOUDINARY" }, "createdAt": "<DateTime>", "email": "string", "isActive": true, "name": "string", "phoneNumber": "string", "tenant": "string", "updatedAt": "<DateTime>" } }}Blog 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).
Blog Authors QUERY
Only blog authors 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).