-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unable to retrieve single Activity records via the REST API #1060
Comments
I think this is probably because the The controller uses a slightly weird pattern in that it calls a separate function to get the Activity record before processing the I suspect if you used the value from the actual |
As a side note, /activities appears to be currently broken in test/production 😬 |
I actually tried this, and I'm not sure it does, but worth investigating further.
|
Closing. Fixed by #1063 |
Describe the bug
It should be possible to retrieve single Activity records via the REST API based on the
id
listed in theactivities
endpoints for a given Activity. However, attempting to retrieve an activity using itsid
at/activities/[id]
returns a 404.Expected Behaviour
Retrieving an Activity based on its
id
in the REST API returns an individual Activity record.Current Behaviour
Retrieving an Activity based on its
id
in the REST API returns a 404.Steps to Reproduce
Retrieve a list of activities at the
/activities
endpoint or another relevant endpoint like/dois/[doi]/activities
. Attempt to retrieve a single activity using itsid
in the REST API at/activities/[id]
.Context (Environment)
Screenshots
Further details
Proposal
Hypothesis
Possible Implementation
The text was updated successfully, but these errors were encountered: