/inventory/repository/update
POST
adds or updates configuration objects in JOC with configurations from the local repository
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
configurations |
required, array | An array of configuration objects from the local repository to update in JOC. | ||
configuration |
required, object | A configuration specified by its path and objectType . If the objectType FOLDER is specified, all configurations from the folder will be updated in JOC. |
"configuration" : {
"path" : "/myWorkflows/ifElseWorkflow/workflow_12",
"objectType" : "WORKFLOW",
}
|
|
category |
required, string | Categorize the repository nature. Possible values are LOCAL or ROLLOUT. | ||
auditLog |
optional, object | Object that contains comment , timeSpent and ticketLink . |
{ "comment": "Operational requirement!", "timeSpent": 2 } |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, integer | Field in auditLog to enter the time spent in minutes. |
||
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request