Reprocess Multiple Keys
Puts the specified scope of all given keys in the reprocess queue to execute the Process events of the configured modules for that scope.
Request
The reprocess multiple keys GET request requires the storage unit name and the scope of the keys to put in the reprocess queue. A list of comma-separated keys is pass in the keys parameter.
Code Block |
---|
|
GET reprocess/keys/<storage-unit-name>/<scope>?keys=key1,key2,key3 |
The reprocess multiple keys POST request requires the storage unit name and the scope of the keys to put in the reprocess queue. An keys array is passed in the body.
Code Block |
---|
|
POST reprocess/keys/<storage-unit-name>/<scope>
{
"keys": [
"key1",
"key2",
"key3"
]
} |
Response
If the scope of the keys are added correctly to the reprocess queue, a 200 response code and an OK message are returned.
Code Block |
---|
|
{"message":"OK"} |
Reprocess All Keys
Puts the specified scope of all keys of the storage unit in the reprocess queue to execute the Process events of the configured modules for that scope.
Request
The reprocess all keys GET/POST request requires the storage unit name and the scope to put in the reprocess queue.
Code Block |
---|
|
POST reprocess/all/<storage-unit-name>/<scope> |
Response
If the scope of all keys of the storage unit are added correctly to the reprocess queue, a 200 response code and an OK message are returned.
Code Block |
---|
|
{"message":"OK"} |
Reprocess Reset Queue
Items in the reprocessing queue are assigned to specific background task workers to be executed. Reset queue will unassign any items that were assigned to a worker and puts them back in the queue for a different worker to pick up the execution
Request
The reprocess reset queue GET/POST request requires the storage unit name to reset the assignment of all its records in the reprocessing queue.
Code Block |
---|
|
POST reprocess/reset/<storage-unit-name> |
Response
A 200 response code and an OK message are returned when the items have been unassigned.
Code Block |
---|
|
{"message":"OK"} |