Imports API

Mark imports as completed (admin only)

PUT /api/imports

Parameters

Name Description
id[] Ids of imports to cancel
success 'true' to mark imports as succeeded, 'false' to mark them as failed
message Error message to display (only if marking them as failed)

Request

Headers

Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: _session_id=Slc3NmFPUmZIZE52d1YycmZpL0RkOE56Tm5ESzhYWUpjVXJPL1ZGeU13S2IvTGhZQ2lpTHZBWTNmMHljTHdheDJxYjFIVVVIT0VxTnB4RTFRUVZMS2pjTitjNGpVdE9VVWZoNHhVWWkyS0ZqOTltZjFYUU8vdkVDbGd4c1hhRCtLemJPVFNzbkNJMHdpeXp5NUZPWVZoRTlGYzlZZkVrWFBvU04zNFMwWEFHdzJNM245SjZoMDlOSmZmL0FFQkZKRXNISXZMaW4rdUFaR0c0Z1JsaU1ob2Q2OUx0b20vejNFRWJYNzBFbDQzVGNQQmEwcFd0dTg1cVpyWm5pNE9QTlJwaXIvRitWUS9qYWtmYnRNZTNuMEg3SkVDZEZydDM5ZDNadW5saURpQTNnOHNpcWhER2FoNTU3MjBZZXd3cytwZmFLSVc2eTZTZTQ2V0gwSGlmOTJRZmlBOHVEVDgvdzUydWdiUDFabzRUUW13RkVod1BhRytyWnJuYk5qSHU3b0Fia25KQnAvS1llRjdVUVBNYWgwWkdnakVDTElQS05GWnBnN0o5T0hrVT0tLXRhdHIwdGxhaG1WUkZvalJsby9mNmc9PQ%3D%3D--028fb1b770255699093ecc76707c32e7a55e54e7

Route

PUT /api/imports

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"99914b932bd37a50b983c5e7c90ae93b"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=M3hCalVvY1lZU2ZENElyNjhjRFBrbnQyTmYrQ2EzMFNNTXBWeFdWTVlES2Q0SWlNcE9WZy94ODR1Vmwycm56WElIY0s2OHkxTGJhbHNMLzFwN1B0YUxIUUl2NmlCNzVWK1prbTM1YkNXTHNQdktIa2JJam9vTDVrWndjd2JnYXF3RkVucW40UXFISGpycVFYM0hFdmIrTHd2UVpXK2w5ck1qNlowbmFYajZkbHFnallhVlZjN0dHTXFzT0JCSHYrTFFGT2hybGpBRDRJUXNJc0g3MjRnYzN4NlhnVjNwRjVaT1NsZHRnNFBKb2NxQmhUdDNMY2w4bFRnTjFaY05SekJJVGxUTnFkbzRrckNtSTVPTGRsZ0pacDUwYkd2aTBnS2ducDR4K0FVNGRHVmJzQmNRT0I1MUZSMHpTZHFpeTBFc0l3ZkNuSGY4aE44MHFqWjl3SXFlNElVdU9yOFdsQ2tjSFJsd2ZieFpjVkswaWtzNUdod084VE95TDg4QTBsUmRZaDhSUDh4Y3l1RWtnTjRGM0IrZFRjZ0tTNjNjMkhLK0Zsb2ZLV2VHTllENzZwVU1yVHhyNXRiQ0hkSllHci0tUklpRGtIdVpMODhsMmIrMW5yZ1U5QT09--acae06f3cc939c4787e2b885b70e55625346e97c; path=/; HttpOnly
X-Request-Id: ce804082-3e30-4ca6-b097-240c97aef84f
X-Runtime: 0.050362
Content-Length: 2

Status

200 OK

Body