v1

latestOpenAPI 3.1.12026-07-1711423400.3 KB
characters

Get character people.

This endpoint will retrieve the people of a specific character.

get/characters/{characterID}/people

Path parameters

characterIDinteger required

ID of the character.

Query parameters

limitstring

The limit on the number of objects, or number of objects in the specified relationship, that are returned. The default value is 25 and the maximum value is 100.

pagestring

The next page or group of objects to fetch. The default value is 1.

Response

Successful GET Characters People JSON response

object required

Example response

{
  "data": [
    {
      "id": 1,
      "type": "people",
      "href": "/v1/people/1",
      "attributes": {
        "firstName": "Aniyah",
        "lastName": "Waelchi",
        "occupation": "Government Property Inspector",
        "imageURL": "https://lorempixel.com/640/480/?66477"
      }
    }
  ]
}