Skip to content

Process

This APIs is for starting various processes such as reloading the graphQL server or syncing assets from OCM

POST /api/admin/process/:config_id

Params

config_id - ID of the repository you with to start a process in

Request Body

One of the following:

{ "syncAssets": true} - 'used to start a sync of assets from an OCM repository'
{ "syncDocs": true } - 'used to start a sync of documents from an OCM repository'
{ "reloadGraph": true } - used to reload the graphQL server

Response

200 - OK on success

Example Response

{
"message": "Sync Process Started"
}