Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceQueries

Blog Authors

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).

QUERYblogAuthors(where: CommonPaginationDto): BlogAuthorWithPagination!

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).

Arguments

where?

Returns

  1. blogAuthors
meta?
nodes?
Example Request
query BlogAuthors {  blogAuthors {    meta {      currentPage      hasNextPage      totalCount      totalPages    }    nodes {      _id      avatar {        alt        external        fileAssetId        key        provider      }      createdAt      email      isActive      name      phoneNumber      tenant      updatedAt    }  }}
Example Response
{  "data": {    "blogAuthors": {      "meta": {        "currentPage": 10.5,        "hasNextPage": true,        "totalCount": 10.5,        "totalPages": 10.5      },      "nodes": [        {          "_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>"        }      ]    }  }}