_Blog.getAuthors(params)
Function to get the list of blog authors.
Example Usage
{% set blogAuthors = _Blog.getAuthors({'blogGuid': 'uhte765n-9e2e-4c27-8420-d45sbnkjs652nj'}) %}
Parameters
Parameter | Description |
---|---|
params | An associative array |
Params Details
Element | Description |
---|---|
blogGuid | GUID 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
Attribute | Description |
---|---|
id | ID of the user |
guid | GUID of the user |
firstname | Firstname |
lastname | Lastname |
username | Username |
profileImage | Profile image of the user |
cloudinary_public_id | Cloudinary ID of the image |
cloudinary_cloud_name | Cloudinary Cloud name |
profileUrl | Profile absolute url of the user |
Updated almost 5 years ago