GET /api/planets/34/?format=api
HTTP 200 OK
Content-Type: application/json
Vary: Accept
Allow: GET, HEAD, OPTIONS
{
"name": "Toydaria",
"rotation_period": "21",
"orbital_period": "184",
"diameter": "7900",
"climate": "temperate",
"gravity": "1",
"terrain": "swamps, lakes",
"surface_water": "unknown",
"population": "11000000",
"residents": [
"https://swapi.dev/api/people/40/"
],
"films": [],
"created": "2014-12-19T17:47:54.403000Z",
"edited": "2014-12-20T20:58:18.476000Z",
"url": "https://swapi.dev/api/planets/34/"
}