Refactor #17483
closed
Async HTTP API calls should return code 202 Accepted instead of 201 Created
Added by Ewoud Kohl van Wijngaarden about 8 years ago.
Updated over 6 years ago.
Description
In #15779 several API calls were changed to async processing. In the HTTP protocol there is a special return code to indicate this. Return a 202 provides clients with a way to know if their call completed or is queued. Bonus points if the result includes an URL where the client can check if the task has completed.
- Related to Feature #15779: Make report, puppet classes and environments importing asynchronous using foreman-tasks added
- Assignee set to Marek Hulán
- Target version set to 1.4.4
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4051 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 189
- Translation missing: en.field_release changed from 189 to 209
Also available in: Atom
PDF