You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, trying to request /events/ seems to always return an HTTP 500:
$ curl https://gamesdonequick.com/tracker/api/v2/events/ -H "Accept: application/json" -vv
< HTTP/2 500
< date: Sat, 15 May 2021 12:03:19 GMT
< content-type: text/html; charset=utf-8
< vary: Accept-Language, Cookie
< content-language: en
Server done blowed up
Varying the "Accept" header doesn't seem to matter either.
I get the same for just about any /events endpoint, /runs/ times out and some of the /run/ endpoints seem to also just 500 across the board.
I tried it with a local copy of donation-tracker, and in that case doing a request like curl http://localhost:8000/tracker/api/v2/events/ -vv doesn't blow up:
* Trying ::1:8000...
* connect to ::1 port 8000 failed: Connection refused
* Trying 127.0.0.1:8000...
* Connected to localhost (127.0.0.1) port 8000 (#0)
> GET /tracker/api/v2/events/ HTTP/1.1
> Host: localhost:8000
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json
< Vary: Accept, Cookie
< Allow: GET, HEAD, OPTIONS
< X-Frame-Options: SAMEORIGIN
< Content-Length: 2
<
* Connection #0 to host localhost left intact
[]
Once I add an event to the database, things start to blow up locally too:
Hi, sorry I didn't respond to this earlier. v2 is still not in a generally-usable state at this time. What I'm probably going to do is add a setting so that you have to explicitly turn it on until it can be made more production ready. Sorry for the confusion!
Looking at the endpoints for v2, I get the following patterns:
However, trying to request
/events/
seems to always return an HTTP 500:Varying the "Accept" header doesn't seem to matter either.
I get the same for just about any
/events
endpoint,/runs/
times out and some of the/run/
endpoints seem to also just 500 across the board.I tried it with a local copy of donation-tracker, and in that case doing a request like
curl http://localhost:8000/tracker/api/v2/events/ -vv
doesn't blow up:Once I add an event to the database, things start to blow up locally too:
/events/
returns:/events.json
or/events.json/
returns:Based on what I'm seeing, is the v2 API in a state where it's expected to work and be used?
The text was updated successfully, but these errors were encountered: