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
ProjectData returned from WS GET /api/projects/{PROJECT_ID} gives timeout and deadline in units of seconds, but project creation with WS PUT /api/projects/{PROJECT_ID} expects these fields in days
#20
This appears to apply as you'd expect when performing a PUT to the WS at /api/projects/{PROJECT_ID} to create a new PROJECT by providing a ProjectData object, but performing a GET to the WS at the same API point will give back a ProjectData that has these fields in seconds instead.
The text was updated successfully, but these errors were encountered:
Our model for
ProjectData
hastimeout
anddeadline
in units of days, and this is consistent with the documented model the WS API provides: https://docs.foldingathome.org/ws/api.html#projectdataThis appears to apply as you'd expect when performing a
PUT
to the WS at/api/projects/{PROJECT_ID}
to create a new PROJECT by providing aProjectData
object, but performing aGET
to the WS at the same API point will give back aProjectData
that has these fields in seconds instead.The text was updated successfully, but these errors were encountered: