Post Authors

Add Authors to Post

Add one or more authors to a post. Already connected authors are automatically skipped.

post/posts/{id}/authors

Request

Path parameters

idinteger required

Post ID

Request body

Example request

{
  "jsonapi": {
    "version": "1.0"
  },
  "data": {
    "type": "tags",
    "id": "123"
  }
}

Response

Authors added 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

No recorded changes to this operation across all 4 revisions of this API.