Read an author
Read one author by the ID list authors returns, which is also the authorId a page is credited with.
GET https://sitepaste.com/api/v1/public/sites/{siteId}/authors/{authorId}
Requires the content scope.
Usage
curl "https://sitepaste.com/api/v1/public/sites/default/authors/a7xkq3mz9r2t" \
-H "Authorization: Bearer $TOKEN"
Authorizations
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token (Authorization: Bearer sp_...). Created in the dashboard under Account > Tokens. See authentication. |
Response
The author record, in the shape list authors returns each entry in.
400 when {authorId} is malformed; 404 when it is well formed but names no author on the site.