Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar event summaries endpoint retrieving past events #1395

Open
6 tasks done
joaomlneto opened this issue Oct 20, 2024 · 0 comments
Open
6 tasks done

Calendar event summaries endpoint retrieving past events #1395

joaomlneto opened this issue Oct 20, 2024 · 0 comments

Comments

@joaomlneto
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants