Authors
List Authors
Changed onRetrieve all author profiles registered in the blog.
get/authors
Request
- Base URLhttps://inblog.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Example:1
Page number (starting from 1) JSON:API style page[number] is also accepted.
limitinteger
Example:10
Items per page JSON:API style page[size] is also accepted.
filter[assignable]boolean
When true, returns verified owner, admin, editor, and author members who can be assigned as post authors, including members without a post yet. When omitted, returns profiles that already have a byline on this blog's posts.
Response
Author list retrieved successfully
Example response
{
"jsonapi": {
"version": "1.0"
},
"data": [
{
"type": "authors",
"attributes": {
"author_name": "John",
"avatar_url": "https://source.inblog.dev/avatar/user-123.jpg"
}
}
]
}Changes
- info
added the new optional
queryrequest parameterfilter[assignable]
- info