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 webhook status asynchronusly #205

Open
Benoss opened this issue Nov 26, 2017 · 0 comments
Open

Add webhook status asynchronusly #205

Benoss opened this issue Nov 26, 2017 · 0 comments

Comments

@Benoss
Copy link

Benoss commented Nov 26, 2017

When launching a webhook return a job ID in the 200 http response
then allow to check if the command is:

  • Running: maybe return {"started": "date_started", "status":"running"}
  • Success: return {"started": "date_started", "finished":"date_finished", ""status":"success"}
  • Fail: return {"started": "date_started", "finished":"date_finished", ""status":"fail", "return_code":"code"}

Maybe add the ability to get the string result of the command?
Keep the result of the jobs for x time as a launch parameter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants