Skip to content

Calendar event summaries endpoint retrieving past events #1395

Open
@joaomlneto

Description

@joaomlneto

Bug

When querying the calendar endpoint without specifying from_event, the response returns event summaries from the past, instead of the expected upcoming events in chronological order from the current date as per the spec:

If no from_event ID is given, the resource will return the next 50 chronological event summaries from now.

Request

Be sure to include the HTTP method, path (including version), and any relevant parameters. Please do not include auth tokens. E.g.:

GET https://esi.evetech.net/latest/characters/401563624/calendar/?datasource=tranquility

Response

Status Code

200

Headers

Include relevant headers received. Timestamps and request ID is nice, you may not have all these values, fill out what you received (don't worry about headers not listed here, unless pertinent to your issue). E.g.:

Date: Sun, 20 Oct 2024 11:21:46 GMT
Expires: Sun, 20 Oct 2024 11:21:51 GMT
Last-Modified: Sun, 20 Oct 2024 11:21:46 GMT
X-ESI-Request-ID: 405b190e-3219-4ecc-950b-b7761bc3ac9e
ETag: "ec5d967d9cdc953f6005cc9b51ec8c66ed8829a31de306c9414e7cf3"

Body

[{
    "event_date": "2010-05-27T19:00:00Z",
    "event_id": 2695,
    "event_response": "not_responded",
    "importance": 0,
    "title": "REDACTED"
}, {
    "event_date": "2010-05-27T22:00:00Z",
    "event_id": 2687,
    "event_response": "tentative",
    "importance": 0,
    "title": "REDACTED"
},

]

Expected

Entries returned should be in the future.

Checklist

Check all boxes that apply to this issue:

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Calendar event summaries endpoint retrieving past events · Issue #1395 · esi/esi-issues