esi-issues icon indicating copy to clipboard operation
esi-issues copied to clipboard

Clone names no longer appear in the 'character clones' endpoint.

Open evanova opened this issue 3 years ago • 0 comments

Bug

While the swagger schema specifies it, the character clone endpoint no longer returns clone names. I cannot tell exactly when they stopped appearing unfortunately.

"name": {
        "description": "name string",
        "title": "get_characters_character_id_clones_name",
        "type": "string"
      }

Note that "name" is not included n the list of required fields for this endpoint:

"required": [
      "jump_clone_id",
      "location_id",
      "location_type",
      "implants"
    ]

Request

GET https://esi.evetech.net/latest/characters/XXXXXXX/clones/?datasource=tranquility

As of writing, it also happens on v3 and v4 versions of the endpoint.

Response

Status Code

200

Headers

(cache control headers omitted)

content-type: application/json; charset=UTF-8
vary: Accept-Encoding
date: Sun, 05 Dec 2021 14:27:19 GMT
allow: GET,HEAD,OPTIONS
etag: "e8951e0406b120bf42d49c06e2a10f6ac87f921cea03a0969db00d9b"
expires: Sun, 05 Dec 2021 14:29:19 GMT
last-modified: Sun, 05 Dec 2021 14:27:19 GMT
strict-transport-security: max-age=31536000
x-esi-error-limit-remain: 100
x-esi-error-limit-reset: 41

Body

(truncated to show only one clone)

{
  "home_location": {
    "location_id": "XXXX",
    "location_type": "station"
  },
  "jump_clones": [
    {
      "implants": [
        27117,
        27127
      ],
      "jump_clone_id": "XXXX",
      "location_id": "XXXX",
      "location_type": "station"
    }
  ],
  "last_clone_jump_date": "2021-11-28T21:36:51Z",
  "last_station_change_date": "2019-05-10T20:40:25Z"
}

Expected

The clone name is expected to be present in the JSON body for each clone (at least when they have one in-game).

{
  "home_location": {
    "location_id": "XXXX",
    "location_type": "station"
  },
  "jump_clones": [
    {
      "implants": [
        27117,
        27127
      ],
      "jump_clone_id": "XXXX",
      "location_id": "XXXX",
      "location_type": "station",
      "name": "Not A Tea Pot"
    }
  ],
  "last_clone_jump_date": "2021-11-28T21:36:51Z",
  "last_station_change_date": "2019-05-10T20:40:25Z"
}

Checklist

Check all boxes that apply to this issue:

  • [X] Bug description is provided
  • [X] Request path is provided
  • [X] Response status code is provided
  • [X] Response headers are provided
  • [X] Response body is provided
  • [X] Expected response is provided

evanova avatar Dec 05 '21 15:12 evanova