Allows the execution of the Process event, of the modules configured in the storage unit, for content that is already stored in a storage unit. Execution is scheduled by key(s) or by storage unit.

Note: for the key to be executed, the reprocessing queue needs to be enabled on the storage unit (see here) and the reprocessing job needs to be running (see here).


On this page:

Reprocess Single Key


Puts the specified scope of the key in the reprocess queue to execute the Process events of the configured modules for that scope. 

Request

The reprocess single key GET/POST request requires the storage unit name, the key and the scope to put in the reprocess queue.

POST reprocess/key/<storage-unit-name>/<key>/<scope>

Response

If the scope of the key is added correctly to the reprocess queue, a 200 response code and an OK message are returned.

 {"message":"OK"}

 

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.

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.

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.

 {"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.

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.

 {"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.

POST reprocess/reset/<storage-unit-name>

Response

A 200 response code and an OK message are returned when the items have been unassigned.

 {"message":"OK"}
  • No labels