Authorizations
Path Parameters
Example:
"{{objectId}}"
Response
OK
The response is of type any.
Get Author by ID.
curl --request GET \
--url https://api.octaviatech.app/cms/authors/getById/{id} \
--header 'x-api-key: <api-key>'{
"success": true,
"statusCode": 200,
"message": "OK",
"data": {
"id": "{{objectId}}",
"name": {
"en": "John Carter",
"es": "Juan Carter"
},
"slug": "john-carter",
"bio": {
"en": "<p>Editor and writer focused on AI topics.</p>",
"es": "<p>Editor y escritor enfocado en temas de IA.</p>"
},
"avatar": "https://cdn.example.com/avatars/john.jpg",
"role": "Editor",
"socials": {
"website": "https://john.example.com",
"twitter": "https://twitter.com/john"
},
"email": "john@example.com",
"isActive": true
}
}"{{objectId}}"
OK
The response is of type any.
Was this page helpful?
curl --request GET \
--url https://api.octaviatech.app/cms/authors/getById/{id} \
--header 'x-api-key: <api-key>'{
"success": true,
"statusCode": 200,
"message": "OK",
"data": {
"id": "{{objectId}}",
"name": {
"en": "John Carter",
"es": "Juan Carter"
},
"slug": "john-carter",
"bio": {
"en": "<p>Editor and writer focused on AI topics.</p>",
"es": "<p>Editor y escritor enfocado en temas de IA.</p>"
},
"avatar": "https://cdn.example.com/avatars/john.jpg",
"role": "Editor",
"socials": {
"website": "https://john.example.com",
"twitter": "https://twitter.com/john"
},
"email": "john@example.com",
"isActive": true
}
}