Add 'Cancel all imports' button when importing projects from GitHub - backend
This is backend issue for Add 'Cancel all imports' button and confirmatio... (#385874).
Technical details
Based on questions here:
- What is the expected response for the endpoint?
Same API as for "cancel" controller endpoint will work - when it's ok having 200 OK
is sufficient, when there are errors - we're looking into errors
field in JSON response for human-readable error.
- Should it be a controller endpoint (for cancel one import endpoint was added in both controller and Grape api)?
Just a controller endpoint, we usually do not expose such stuff via grape api.