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
Let's say we created a job via a curl request that had a payload (env and stdin etc.) and in response we ended up with JOB_ID=aaa
To take the feature set further, how about adding an endpoint like: POST /api/jobs/<JOB_ID>/replay
which will automatically create another job and return a new JOB_ID=bbb
The merit is that we don't post the request data again and therefore we don't make a human error when trying to replay something from the past.
The text was updated successfully, but these errors were encountered:
pulkitsinghal
changed the title
add a replay api endpoint
add a replay endpoint to the API
Sep 13, 2016
Let's say we created a job via a curl request that had a payload (
env
andstdin
etc.) and in response we ended up withJOB_ID=aaa
To take the feature set further, how about adding an endpoint like:
POST /api/jobs/<JOB_ID>/replay
which will automatically create another job and return a new
JOB_ID=bbb
The merit is that we don't post the request data again and therefore we don't make a human error when trying to replay something from the past.
The text was updated successfully, but these errors were encountered: