Create Blog Author
This mutation is used to create a new blog author. { permissions: ['*', 'create'], collectionName: 'Blogs', } Requires a signed-in staff user. Needs the `Blogs` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
createBlogAuthor(body: CreateBlogAuthorInput!, tenant: String): CommonMutationResponse!This mutation is used to create a new blog author. { permissions: ['*', 'create'], collectionName: 'Blogs', } Requires a signed-in staff user. Needs the Blogs create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*tenant?StringReturns
mutation CreateBlogAuthor($body: CreateBlogAuthorInput!) { createBlogAuthor(body: $body) { _id }}{ "body": { "name": "string" }}{ "data": { "createBlogAuthor": { "_id": "1" } }}Create Blog MUTATION
Authenticated · x-tenant · Auth rules: @storeos/rbac-catalog Requires a signed-in staff user. Needs the `Blogs` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Create Blog Category MUTATION
This mutation is used to create a new blog category. { permissions: ['*', 'create'], collectionName: 'Blogs', } Requires a signed-in staff user. Needs the `Blogs` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).