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

Add cancel functionality to the REST API #14

Open
Baguage opened this issue Mar 27, 2015 · 1 comment
Open

Add cancel functionality to the REST API #14

Baguage opened this issue Mar 27, 2015 · 1 comment

Comments

@Baguage
Copy link
Member

Baguage commented Mar 27, 2015

Moved from redmine, ticket 6364
How to implement as URL? Possible options are:

  • PATCH with body = { action : cancel }
  • POST to /api/v1/sim-groups/{id}/cancel/
  • DELETE HTTP method
    ** This may not be appropriate because we don't want to delete the simulation or group resource. We just want to stop its execution.
@ghost
Copy link

ghost commented Jun 25, 2015

Travis CI's API uses:

Cancel Job
POST /jobs/{job.id}/cancel
This request always needs to be authenticated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant