esi-issues
esi-issues copied to clipboard
`/characters/{character_id}/calendar/` returns incorrect `event_response`
Bug
The field event_response in each entry returned by the /characters/{character_id}/calendar/ endpoint should indicate whether the character has accepted/declined/tentative/not yet responded to each event.
However, its value appears to be completely random/nonsense. For example, an event where I haven't responded it can show any value. It also doesn't match the "majority of attendees", as an event with 2/3 declined shows as tentative.
Querying the response from the individual event endpoint (/characters/{character_id}/calendar/{event_id}/) yields the correct value, which matches the one from the EVE client.
As a concrete example, event with ID 2766948 in the EVE client shows as not_responded:
The "list events" endpoint returns:
[
{
"event_id": 2766948,
"event_response": "tentative",
…
}
…
]
But querying the specific event endpoint yields the correct result:
{
"event_id": 2766948,
"response": "not_responded",
}
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
- [ ] Response headers are provided
- [x] Response body is provided
- [x] Expected response is provided