200 |
The response contains subfolders and deployable objects. Each deployable object contains the following fields depends on the requested parameters
- id
- folder
- objectName
- objectType
- valid
- deleted
- deployed
- deployablesVersions
- syncState if controllerId is specified in the request
It is an array where the first item is the draft if the draft is valid and withoutDrafts == false The draft item has the fields
If withoutDeployed == false then further items from previous deployments are included If latest == true then only the last deployments is included The deployed items have the fields
- id
- commitId
- deploymentId
- deploymentPath
- deploymentOperation
- versionDate
- versions - It is an array with the controllerIds where this iten was deployed
A subfolder contains the following fields
- id
- folder
- objectName
- objectType
- deleted
|
|
application/json
model |
example
{
"title": "ResponseDeployables",
"$schema": "http://json-schema.org/draft-04/schema#",
"javaType": "com.sos.joc.model.inventory.deploy.ResponseDeployables",
"type": "object",
"properties": {
"deliveryDate": {
"description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
"type": "string",
"format": "date-time"
},
"name": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"path": {
"description": "absolute path of an object.",
"type": "string",
"pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
"maxLength": 255,
"minLength": 1
},
"folders": {
"type": "array",
"items": {
"description": "response-deployables-schema.json"
}
},
"deployables": {
"type": "array",
"items": {
"javaType": "com.sos.joc.model.inventory.deploy.ResponseDeployableTreeItem",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"folder": {
"description": "absolute path of an object.",
"type": "string",
"pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
"maxLength": 255,
"minLength": 1
},
"objectName": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"account": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 100
},
"objectType": {
"javaType": "com.sos.joc.model.inventory.common.ConfigurationType",
"type": "string",
"enum": [
"FOLDER",
"WORKFLOW",
"JOBCLASS",
"JOBRESOURCE",
"LOCK",
"NOTICEBOARD",
"FILEORDERSOURCE",
"WORKINGDAYSCALENDAR",
"NONWORKINGDAYSCALENDAR",
"SCHEDULE",
"INCLUDESCRIPT",
"JOB"
]
},
"valid": {
"type": "boolean"
},
"deleted": {
"type": "boolean"
},
"syncState": {
"javaType": "com.sos.controller.model.common.SyncState",
"type": "object",
"required": [
"severity",
"_text"
],
"properties": {
"severity": {
"type": "integer"
},
"_text": {
"javaType": "com.sos.controller.model.common.SyncStateText",
"type": "string",
"enum": [
"IN_SYNC",
"NOT_IN_SYNC",
"NOT_DEPLOYED",
"UNKNOWN"
]
}
}
},
"deployed": {
"type": "boolean"
},
"deployablesVersions": {
"type": "array",
"items": {
"javaType": "com.sos.joc.model.inventory.deploy.ResponseDeployableVersion",
"type": "object",
"properties": {
"id": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"commitId": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"deploymentId": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"deploymentPath": {
"description": "absolute path of an object.",
"type": "string",
"pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
"maxLength": 255,
"minLength": 1
},
"deploymentOperation": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"versionDate": {
"description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
"type": "string",
"format": "date-time"
},
"versions": {
"type": "array",
"items": {
"javaType": "com.sos.joc.model.inventory.common.ResponseItemDeployment",
"type": "object",
"properties": {
"deploymentId": {
"type": "number",
"format": "utc-millisec",
"minimum": 0
},
"path": {
"description": "absolute path of an object.",
"type": "string",
"pattern": "^(/|(/[^/\\\\<>?:\"|*]+)+)$",
"maxLength": 255,
"minLength": 1
},
"controllerId": {
"type": "string",
"pattern": "^[^/\\<>?:\"|*]*$",
"maxLength": 100
},
"version": {
"type": "string",
"pattern": "^[^<>]*$",
"maxLength": 255
},
"deploymentDate": {
"description": "Value is UTC timestamp in ISO 8601 YYYY-MM-DDThh:mm:ss.sZ or empty",
"type": "string",
"format": "date-time"
}
}
},
"uniqueItems": true
}
}
},
"uniqueItems": true
}
}
},
"uniqueItems": true
}
},
"additionalProperties": false
}
{ "deliveryDate": "2021-12-14T01:39:55.7Z", "deployables": [{ "deleted": false, "deployablesVersions": [{ "commitId": "2369b498-312f-413f-82bc-149c9dda6328", "deploymentId": 26750, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog", "id": 1533, "versionDate": "2021-12-10T20:36:25Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "d07dfa23-5992-4bc8-8140-edf1be2bfda2", "deploymentId": 26520, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog", "id": 1533, "versionDate": "2021-12-10T18:39:20Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "92e0d370-532e-49a5-b82c-d4c2712c2ee9", "deploymentId": 26070, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog", "id": 1533, "versionDate": "2021-12-10T18:27:17Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "04e9c51b-ef2f-41e8-ae1f-39d475747ae9", "deploymentId": 23854, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog", "id": 1533, "versionDate": "2021-12-09T14:16:32Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "8341c9e7-fd0b-4d96-a649-25c6041a3e44", "deploymentId": 22971, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog", "id": 1533, "versionDate": "2021-11-26T20:59:40Z", "versions": [{ "controllerId": "testsuite" }] }], "deployed": true, "folder": "/JS7Demo/01_HelloWorld", "id": 1533, "objectName": "jdHelloRunningLog", "objectType": "WORKFLOW", "valid": true }, { "deleted": false, "deployablesVersions": [{ "commitId": "2369b498-312f-413f-82bc-149c9dda6328", "deploymentId": 26705, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld", "id": 1400, "versionDate": "2021-12-10T20:36:25Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "d07dfa23-5992-4bc8-8140-edf1be2bfda2", "deploymentId": 26523, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld", "id": 1400, "versionDate": "2021-12-10T18:39:20Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "92e0d370-532e-49a5-b82c-d4c2712c2ee9", "deploymentId": 26032, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld", "id": 1400, "versionDate": "2021-12-10T18:27:17Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "04e9c51b-ef2f-41e8-ae1f-39d475747ae9", "deploymentId": 23810, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld", "id": 1400, "versionDate": "2021-12-09T14:16:32Z", "versions": [{ "controllerId": "testsuite" }] }, { "commitId": "7062957a-b251-4061-ba1c-69dc710391b0", "deploymentId": 23168, "deploymentOperation": "update", "deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld", "id": 1400, "versionDate": "2021-11-28T08:57:15Z", "versions": [{ "controllerId": "testsuite" }] }], "deployed": true, "folder": "/JS7Demo/01_HelloWorld", "id": 1400, "objectName": "jdHelloWorld", "objectType": "WORKFLOW", "valid": true }], "folders": [], "name": "01_HelloWorld", "path": "/JS7Demo/01_HelloWorld" }
{
"deliveryDate": "2021-12-14T01:39:55.7Z",
"deployables": [{
"deleted": false,
"deployablesVersions": [{
"commitId": "2369b498-312f-413f-82bc-149c9dda6328",
"deploymentId": 26750,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog",
"id": 1533,
"versionDate": "2021-12-10T20:36:25Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "d07dfa23-5992-4bc8-8140-edf1be2bfda2",
"deploymentId": 26520,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog",
"id": 1533,
"versionDate": "2021-12-10T18:39:20Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "92e0d370-532e-49a5-b82c-d4c2712c2ee9",
"deploymentId": 26070,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog",
"id": 1533,
"versionDate": "2021-12-10T18:27:17Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "04e9c51b-ef2f-41e8-ae1f-39d475747ae9",
"deploymentId": 23854,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog",
"id": 1533,
"versionDate": "2021-12-09T14:16:32Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "8341c9e7-fd0b-4d96-a649-25c6041a3e44",
"deploymentId": 22971,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloRunningLog",
"id": 1533,
"versionDate": "2021-11-26T20:59:40Z",
"versions": [{
"controllerId": "testsuite"
}]
}],
"deployed": true,
"folder": "/JS7Demo/01_HelloWorld",
"id": 1533,
"objectName": "jdHelloRunningLog",
"objectType": "WORKFLOW",
"valid": true
}, {
"deleted": false,
"deployablesVersions": [{
"commitId": "2369b498-312f-413f-82bc-149c9dda6328",
"deploymentId": 26705,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld",
"id": 1400,
"versionDate": "2021-12-10T20:36:25Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "d07dfa23-5992-4bc8-8140-edf1be2bfda2",
"deploymentId": 26523,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld",
"id": 1400,
"versionDate": "2021-12-10T18:39:20Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "92e0d370-532e-49a5-b82c-d4c2712c2ee9",
"deploymentId": 26032,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld",
"id": 1400,
"versionDate": "2021-12-10T18:27:17Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "04e9c51b-ef2f-41e8-ae1f-39d475747ae9",
"deploymentId": 23810,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld",
"id": 1400,
"versionDate": "2021-12-09T14:16:32Z",
"versions": [{
"controllerId": "testsuite"
}]
}, {
"commitId": "7062957a-b251-4061-ba1c-69dc710391b0",
"deploymentId": 23168,
"deploymentOperation": "update",
"deploymentPath": "/JS7Demo/01_HelloWorld/jdHelloWorld",
"id": 1400,
"versionDate": "2021-11-28T08:57:15Z",
"versions": [{
"controllerId": "testsuite"
}]
}],
"deployed": true,
"folder": "/JS7Demo/01_HelloWorld",
"id": 1400,
"objectName": "jdHelloWorld",
"objectType": "WORKFLOW",
"valid": true
}],
"folders": [],
"name": "01_HelloWorld",
"path": "/JS7Demo/01_HelloWorld"
}
|