_Blog.getAuthors(params)

Function to get the list of blog authors.

Example Usage

{% set blogAuthors = _Blog.getAuthors({'blogGuid': 'uhte765n-9e2e-4c27-8420-d45sbnkjs652nj'}) %}

Parameters

ParameterDescription
paramsAn associative array

Params Details

ElementDescription
blogGuidGUID of the blog

Response Example

[
  {
    "id": "80",
    "guid": "ec3e8f14-9e2e-4c27-8420-d47958f451fb",
    "firstname": "Cognitives",
    "lastname": "Author",
    "username": "cogauthor",
    "profileImage": null,
    "cloudinary_public_id": null,
    "cloudinary_cloud_name": null,
    "profileUrl": "http://cognitives.io/profile/cogauthor"
  }
]

Response Description

An associative array of all the authors

AttributeDescription
idID of the user
guidGUID of the user
firstnameFirstname
lastnameLastname
usernameUsername
profileImageProfile image of the user
cloudinary_public_idCloudinary ID of the image
cloudinary_cloud_nameCloudinary Cloud name
profileUrlProfile absolute url of the user