Download OpenAPI specification:Download
OpsChain is an orchestration and change automation platform based in GitOps principles with a core objective to Unify Change. Connect, automate, and orchestrate people, processes, and tools across your on-premise and cloud platforms.
Endpoints to interact with projects.
Notes:
show
and list
response payloads include links to the project's assets, changes, automated change rules, bookmarks and MintModels endpoints. These endpoints act like
the assets, changes, automated changes, bookmarks and MintModels endpoints respectively./<path/to/asset/owner>/assets
path. The example endpoints in this section reflect assets owned by a project.Lists all projects (including archived projects).
Each project in the response includes a link to:
changes
endpoint for managing changes belonging to this project. It acts like the changes endpoint.automation_rules
endpoint for managing automation rules belonging to this project. It acts like an automation rules endpoint.bookmarks
endpoint for managing the bookmarks belonging to this project. It acts like a bookmarks endpoint.mintmodels
endpoint for managing the MintModels belonging to this project. It acts like a MintModels endpoint.mintmodel_history
endpoint for viewing this project's MintModel history. It acts like a MintModel history endpoint.workflows
endpoint for viewing this project's workflows. It acts like a Workflows endpoint.
.filter[<query/sort filter>]= | |
download | string Example: download=projects.csv Download the projects in CSV format with the specified file name. The projects will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
required | Array of objects |
object |
{- "data": [
- {
- "id": "fa34ac0a-5bf6-4036-a6bb-e6c3e18638e7",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "ae5b21d6-9c4a-43bf-8106-f6cfb5b81b20",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/ae5b21d6-9c4a-43bf-8106-f6cfb5b81b20"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "b4afd44e-6ca4-4e14-920f-ae7bb3c6f77d",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/b4afd44e-6ca4-4e14-920f-ae7bb3c6f77d"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
], - "meta": {
- "authorisations": {
- "update": true
}
}
}
Creates a project.
required | object |
{- "data": {
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "project_type": "Enterprise"
}
}
}
{- "data": {
- "id": "0b13381f-70fe-42c1-83c3-66f55f82b438",
- "type": "project",
- "attributes": {
- "code": "mc0i8",
- "name": "consequatur302",
- "description": "In iusto nam odio.",
- "archived": false,
- "project_type": "Standard"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "dcaddbf7-3094-4c77-9c14-62a4f93a90e5",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/dcaddbf7-3094-4c77-9c14-62a4f93a90e5"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "0c2de4a7-7264-484f-849a-e18b2cccc296",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/0c2de4a7-7264-484f-849a-e18b2cccc296"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/mc0i8",
- "bookmarks": "/api/projects/mc0i8/bookmarks",
- "git_remotes": "/api/projects/mc0i8/git_remotes",
- "environments": "/api/projects/mc0i8/environments"
}, - "meta": {
- "can_have_changes": false,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "environment"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "environments": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
}
Shows a project, including any direct children.
The response includes a link to:
changes
endpoint for managing changes belonging to this project. It acts like the changes endpoint.automation_rules
endpoint for managing automation rules belonging to this project. It acts like an automation rules endpoint.bookmarks
endpoint for managing the bookmarks belonging to this project. It acts like a bookmarks endpoint.mintmodels
endpoint for managing the MintModels belonging to this project. It acts like a MintModels endpoint.mintmodel_history
endpoint for viewing this project's MintModel history. It acts like a MintModel history endpoint.workflows
endpoint for viewing this project's workflows. It acts like a Workflows endpoint.
.project_code required | string Example: opc project code |
required | object |
Array of objects or objects or objects |
{- "data": {
- "id": "f841e1b0-15d3-4734-8cbc-171b40e1332a",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "4f4f16d2-f654-40eb-b2c6-7b24f43b2f57",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/4f4f16d2-f654-40eb-b2c6-7b24f43b2f57"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "89726194-0403-4086-91b9-cfc9389a2ce5",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/89726194-0403-4086-91b9-cfc9389a2ce5"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - "included": [ ]
}
Updates a project.
project_code required | string Example: opc project code |
required | object |
required | object |
Array of objects or objects or objects |
{- "data": {
- "attributes": {
- "name": "Modified",
- "description": "The updated project",
- "archived": false
}
}
}
{- "data": {
- "id": "416c76b8-3e66-471e-81ee-536ac7f14e18",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "eum311",
- "description": "Aut perspiciatis ullam ut.",
- "archived": true,
- "project_type": "Standard"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "a80275de-f5ed-4a21-a43c-1b3b07aff2ca",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/a80275de-f5ed-4a21-a43c-1b3b07aff2ca"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "95a00cfa-03b5-40b8-b1b7-858b874e020f",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/95a00cfa-03b5-40b8-b1b7-858b874e020f"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "git_remotes": "/api/projects/opc/git_remotes",
- "environments": "/api/projects/opc/environments"
}, - "meta": {
- "can_have_changes": false,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "environment"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "environments": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
}
Endpoints to interact with environments.
Notes:
show
and list
response payloads include links to the environment's assets, changes, automated change rules, bookmarks and MintModels endpoints. These endpoints act like
the assets, changes, automated changes, bookmarks and MintModels endpoints respectively./<path/to/asset/owner>/assets
path. The example endpoints in this section reflect assets owned by a project.Lists all project environments (including archived environments).
Each environment in the response includes a link to:
changes
endpoint for managing changes belonging to this environment. It acts like the changes endpoint.automation_rules
endpoint for managing automation rules belonging to this environment. It acts like an automation rules endpoint.bookmarks
endpoint for managing the bookmarks belonging to this environment. It acts like a bookmarks endpoint.mintmodels
endpoint for managing the MintModels belonging to this environment. It acts like a MintModels endpoint.mintmodel_history
endpoint for viewing this environment's MintModel history. It acts like a MintModel history endpoint.workflows
endpoint for viewing this environment's workflows. It acts like a Workflows endpoint.
.project_code required | string Example: opc project code |
filter[<query/sort filter>]= | |
download | string Example: download=environments.csv Download the project environments in CSV format with the specified file name. The environments will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
required | Array of objects |
{- "data": [
- {
- "id": "6cd99c5b-f5bf-4137-a56e-71607d9171b7",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "2ded8b3d-aa66-4107-8d92-ed12d8848d69",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/2ded8b3d-aa66-4107-8d92-ed12d8848d69"
}
}, - "parents": {
- "data": [
- {
- "id": "7e78cd4d-4164-4917-9a9a-fa21a2deb5c6",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "d75b7d6c-222b-4213-a882-17fc7f6d6a8d",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/d75b7d6c-222b-4213-a882-17fc7f6d6a8d"
}
}, - "project": {
- "data": {
- "id": "7e78cd4d-4164-4917-9a9a-fa21a2deb5c6",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
]
}
Creates an environment.
project_code required | string Example: opc project code |
required | object |
{- "data": {
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment"
}
}
}
{- "data": {
- "id": "2139d8a6-4d8f-4f73-878e-b39d12dee374",
- "type": "environment",
- "attributes": {
- "code": "tiwkj",
- "name": "quae276",
- "description": "Natus quo est sed.",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "43c2161c-c660-4b2d-9aba-5f4edc7190b4",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/43c2161c-c660-4b2d-9aba-5f4edc7190b4"
}
}, - "parents": {
- "data": [
- {
- "id": "a0e3e32a-f1ee-4346-971a-fd3c6eeeb5db",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "dfd8f02f-1a27-43e0-9ef4-5f8c91bc5895",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/dfd8f02f-1a27-43e0-9ef4-5f8c91bc5895"
}
}, - "project": {
- "data": {
- "id": "a0e3e32a-f1ee-4346-971a-fd3c6eeeb5db",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/tiwkj",
- "bookmarks": "/api/projects/opc/environments/tiwkj/bookmarks",
- "changes": "/api/projects/opc/environments/tiwkj/changes",
- "automation_rules": "/api/projects/opc/environments/tiwkj/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/tiwkj/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
}
Shows an environment.
The response includes a link to:
changes
endpoint for managing changes belonging to this environment. It acts like the changes endpoint.automation_rules
endpoint for managing automation rules belonging to this environment. It acts like an automation rules endpoint.bookmarks
endpoint for managing the bookmarks belonging to this environment. It acts like a bookmarks endpoint.mintmodels
endpoint for managing the MintModels belonging to this environment. It acts like a MintModels endpoint.mintmodel_history
endpoint for viewing this environment's MintModel history. It acts like a MintModel history endpoint.workflows
endpoint for viewing this environment's workflows. It acts like a Workflows endpoint.
.project_code required | string Example: opc project code |
environment_code required | string Example: dev environment code |
required | object |
Array of objects or objects or objects |
{- "data": {
- "id": "a99947c0-7e6f-46a7-b0d7-19c2b0b37452",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "fd82cac3-72f4-4886-aa09-a681e9775f6e",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/fd82cac3-72f4-4886-aa09-a681e9775f6e"
}
}, - "parents": {
- "data": [
- {
- "id": "239c32cf-a948-4ae8-95c9-5ef9fd3281bb",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "7e637de6-de74-4fdd-a7de-975fec396afb",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/7e637de6-de74-4fdd-a7de-975fec396afb"
}
}, - "project": {
- "data": {
- "id": "239c32cf-a948-4ae8-95c9-5ef9fd3281bb",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - "included": [
- {
- "id": "239c32cf-a948-4ae8-95c9-5ef9fd3281bb",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "5c234bf3-cd5b-40ee-b4d3-2da694db0e68",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/5c234bf3-cd5b-40ee-b4d3-2da694db0e68"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "257cee68-1c3a-4f6a-af90-c415d732bc1b",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/257cee68-1c3a-4f6a-af90-c415d732bc1b"
}
}, - "children": {
- "data": [
- {
- "id": "a99947c0-7e6f-46a7-b0d7-19c2b0b37452",
- "type": "environment"
}
]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
]
}
Updates an environment.
project_code required | string Example: opc project code |
environment_code required | string Example: dev environment code |
required | object |
required | object |
Array of objects or objects or objects |
{- "data": {
- "attributes": {
- "name": "Modified",
- "description": "The updated environment",
- "archived": false
}
}
}
{- "data": {
- "id": "92bbc530-5188-4a88-a3c9-10b9d25390b9",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "quaerat286",
- "description": "Sit eaque eligendi nam.",
- "archived": true
}, - "relationships": {
- "properties": {
- "data": {
- "id": "9be48f5c-f16f-47be-b21d-099f9b53fa1b",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/9be48f5c-f16f-47be-b21d-099f9b53fa1b"
}
}, - "parents": {
- "data": [
- {
- "id": "86fbf4cb-6530-49cd-9ee1-3b81aeb63a8a",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "270db9f8-15e9-4e54-82f5-c0f98b802942",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/270db9f8-15e9-4e54-82f5-c0f98b802942"
}
}, - "project": {
- "data": {
- "id": "86fbf4cb-6530-49cd-9ee1-3b81aeb63a8a",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
}
Endpoints to interact with assets.
Notes:
show
and list
response payloads include links to the asset's changes, automated change rules, bookmarks and MintModels endpoints. These endpoints act like
the changes, automated changes, bookmarks and MintModels endpoints respectively./<path/to/asset/owner>/assets
path. The example endpoints in this section reflect assets owned by a project.Lists all assets (including archived assets) that belong to the project.
Each asset in the response includes a link to:
changes
endpoint for managing changes belonging to this asset. It acts like the changes endpoint.automation_rules
endpoint for managing automation rules belonging to this asset. It acts like an automation rules endpoint.bookmarks
endpoint for managing the bookmarks belonging to this asset. It acts like a bookmarks endpoint.mintmodels
endpoint for managing the MintModels belonging to this asset. It acts like a MintModels endpoint.mintmodel_history
endpoint for viewing this asset's MintModel history. It acts like a MintModel history endpoint.workflows
endpoint for viewing this asset's workflows. It acts like a Workflows endpoint.
.project_code required | string Example: opc project code |
filter[<query/sort filter>]= | |
download | string Example: download=assets.csv Download the project assets in CSV format with the specified file name. The assets will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
required | Array of objects |
{- "data": [
- {
- "id": "dbe7ecae-408d-4485-af62-1de313b666aa",
- "type": "asset",
- "attributes": {
- "code": "prj_soa",
- "name": "Project asset",
- "description": "Project asset description",
- "archived": false,
- "actions": [
- {
- "name": "copy",
- "description": "Non molestias aut ut."
}, - {
- "name": "generate",
- "description": "Odio voluptas reiciendis dolores."
}, - {
- "name": "provision",
- "description": "Provision resource on existing hardware"
}
], - "mintmodel_valid": true
}, - "relationships": {
- "properties": {
- "data": {
- "id": "4569d7fe-c08c-4b62-bff3-baffb2797ce0",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/4569d7fe-c08c-4b62-bff3-baffb2797ce0"
}
}, - "parents": {
- "data": [
- {
- "id": "2629aada-a180-47e7-8ac2-5213c5ae4dfc",
- "type": "project"
}
]
}, - "project": {
- "data": {
- "id": "2629aada-a180-47e7-8ac2-5213c5ae4dfc",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "template_version": {
- "data": {
- "id": "b4fabc74-3da9-48d1-9b43-d255bd033374",
- "type": "template_version"
}, - "links": {
- "related": "/api/projects/opc/templates/soa/versions/2023_Q4_2"
}
}, - "bookmarks": {
- "data": [
- {
- "id": "ae398ea9-72ce-4e1d-8912-807fe217c274",
- "type": "bookmark"
}
]
}, - "template": {
- "data": {
- "id": "148339e2-da99-4f8d-a803-c40403a2bb97",
- "type": "template"
}, - "links": {
- "related": "/api/projects/opc/templates/soa"
}
}, - "mintmodel_history": {
- "data": [
- {
- "id": "fa180843-ac4b-4679-bfc0-c6826efd3606",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa",
- "bookmarks": "/api/projects/opc/assets/prj_soa/bookmarks",
- "changes": "/api/projects/opc/assets/prj_soa/changes",
- "automation_rules": "/api/projects/opc/assets/prj_soa/automation_rules",
- "converged_properties": "/api/projects/opc/assets/prj_soa/converged_properties",
- "mintmodels": "/api/projects/opc/assets/prj_soa/mintmodels",
- "mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history",
- "parent": "/api/projects/opc",
- "version_history": "/api/projects/opc/assets/prj_soa/version_history"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": false,
- "can_have_properties": true,
- "can_have_settings": false,
- "can_have_templates": false,
- "requires_template": true,
- "child_node_types": [ ],
- "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "self": {
- "update": true
}
}
}
}
]
}
Creates an asset belonging to the project.
project_code required | string Example: opc project code |
required | object |
{- "data": {
- "attributes": {
- "code": "prj_soa",
- "name": "Project asset",
- "description": "Project asset description",
- "template_name": "Oracle SOA template",
- "template_version": "2023_Q4_2"
}
}
}
{- "data": {
- "id": "ac6ab3ab-22a0-4e0e-b1f0-51613be7f060",
- "type": "asset",
- "attributes": {
- "code": "pzj9w",
- "name": "placeat248",
- "description": "Eos optio maiores tempore.",
- "archived": false,
- "actions": [
- {
- "name": "hack",
- "description": "Exercitationem quia qui non."
}, - {
- "name": "provision",
- "description": "Provision resource on existing hardware"
}, - {
- "name": "synthesize",
- "description": "Et corporis beatae doloribus."
}
], - "mintmodel_valid": true
}, - "relationships": {
- "properties": {
- "data": {
- "id": "fbdf0d54-d6e5-42e6-b9ad-9874a371a1cb",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/fbdf0d54-d6e5-42e6-b9ad-9874a371a1cb"
}
}, - "parents": {
- "data": [
- {
- "id": "7cea8ef0-8566-48c0-8caa-3d021235d6cc",
- "type": "project"
}
]
}, - "project": {
- "data": {
- "id": "7cea8ef0-8566-48c0-8caa-3d021235d6cc",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "template_version": {
- "data": {
- "id": "8de38a83-c133-4ea9-bce2-1ca82dd992ec",
- "type": "template_version"
}, - "links": {
- "related": "/api/projects/opc/templates/soa/versions/2023_Q4_2"
}
}, - "bookmarks": {
- "data": [ ]
}, - "template": {
- "data": {
- "id": "16e4a1bb-192c-431a-af85-a2279fb9c2b4",
- "type": "template"
}, - "links": {
- "related": "/api/projects/opc/templates/soa"
}
}, - "mintmodel_history": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/assets/pzj9w",
- "bookmarks": "/api/projects/opc/assets/pzj9w/bookmarks",
- "changes": "/api/projects/opc/assets/pzj9w/changes",
- "automation_rules": "/api/projects/opc/assets/pzj9w/automation_rules",
- "converged_properties": "/api/projects/opc/assets/pzj9w/converged_properties",
- "mintmodels": "/api/projects/opc/assets/pzj9w/mintmodels",
- "mintmodel_history": "/api/projects/opc/assets/pzj9w/mintmodel_history",
- "parent": "/api/projects/opc",
- "version_history": "/api/projects/opc/assets/pzj9w/version_history"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": false,
- "can_have_properties": true,
- "can_have_settings": false,
- "can_have_templates": false,
- "requires_template": true,
- "child_node_types": [ ],
- "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "self": {
- "update": true
}
}
}
}
}
Shows an asset belonging to a project.
The response includes a link to:
changes
endpoint for managing changes belonging to this asset. It acts like the changes endpoint.automation_rules
endpoint for managing automation rules belonging to this asset. It acts like an automation rules endpoint.bookmarks
endpoint for managing the bookmarks belonging to this asset. It acts like a bookmarks endpoint.mintmodels
endpoint for managing the MintModels belonging to this asset. It acts like a MintModels endpoint.mintmodel_history
endpoint for viewing this asset's MintModel history. It acts like a MintModel history endpoint.workflows
endpoint for viewing this asset's workflows. It acts like a Workflows endpoint.
.project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | object |
Array of objects or objects or objects or objects or objects |
{- "data": {
- "id": "1c6b71fd-662a-4a36-8f74-42709d23f274",
- "type": "asset",
- "attributes": {
- "code": "prj_soa",
- "name": "Project asset",
- "description": "Project asset description",
- "archived": false,
- "actions": [
- {
- "name": "compress",
- "description": "Aliquid inventore in qui."
}, - {
- "name": "program",
- "description": "Explicabo delectus et earum."
}, - {
- "name": "provision",
- "description": "Provision resource on existing hardware"
}
], - "mintmodel_valid": true
}, - "relationships": {
- "properties": {
- "data": {
- "id": "ec9b6abc-efa4-421b-95f2-f75b9cdc8a4c",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/ec9b6abc-efa4-421b-95f2-f75b9cdc8a4c"
}
}, - "parents": {
- "data": [
- {
- "id": "b65e8baf-1b74-49b3-adfb-935e920f4e92",
- "type": "project"
}
]
}, - "project": {
- "data": {
- "id": "b65e8baf-1b74-49b3-adfb-935e920f4e92",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "template_version": {
- "data": {
- "id": "1d85c1cc-4e2a-4ca6-a33f-b9be494dcee6",
- "type": "template_version"
}, - "links": {
- "related": "/api/projects/opc/templates/soa/versions/2023_Q4_2"
}
}, - "bookmarks": {
- "data": [
- {
- "id": "b188686f-342f-4755-ae85-87510ada6968",
- "type": "bookmark"
}
]
}, - "template": {
- "data": {
- "id": "e7c3d235-2499-4ed4-be7b-959cd30f545a",
- "type": "template"
}, - "links": {
- "related": "/api/projects/opc/templates/soa"
}
}, - "mintmodel_history": {
- "data": [
- {
- "id": "e2a8ad51-5ffe-457c-b9b4-4e9621ed320c",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa",
- "bookmarks": "/api/projects/opc/assets/prj_soa/bookmarks",
- "changes": "/api/projects/opc/assets/prj_soa/changes",
- "automation_rules": "/api/projects/opc/assets/prj_soa/automation_rules",
- "converged_properties": "/api/projects/opc/assets/prj_soa/converged_properties",
- "mintmodels": "/api/projects/opc/assets/prj_soa/mintmodels",
- "mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history",
- "parent": "/api/projects/opc",
- "version_history": "/api/projects/opc/assets/prj_soa/version_history"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": false,
- "can_have_properties": true,
- "can_have_settings": false,
- "can_have_templates": false,
- "requires_template": true,
- "child_node_types": [ ],
- "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "self": {
- "update": true
}
}
}
}, - "included": [
- {
- "id": "b65e8baf-1b74-49b3-adfb-935e920f4e92",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "e938c54f-14e3-4eb5-9d15-f4bead384a61",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/e938c54f-14e3-4eb5-9d15-f4bead384a61"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "6529e150-0d39-4f0a-9361-91b791e69af8",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/6529e150-0d39-4f0a-9361-91b791e69af8"
}
}, - "children": {
- "data": [
- {
- "id": "1c6b71fd-662a-4a36-8f74-42709d23f274",
- "type": "asset"
}
]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - {
- "id": "e2a8ad51-5ffe-457c-b9b4-4e9621ed320c",
- "type": "mintmodel_history",
- "attributes": {
- "created_at": "2025-02-13T04:18:56.406008Z",
- "updated_at": "2025-02-13T04:18:56.406008Z"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "b65e8baf-1b74-49b3-adfb-935e920f4e92",
- "type": "project"
}, - {
- "id": "1c6b71fd-662a-4a36-8f74-42709d23f274",
- "type": "asset"
}
]
}, - "mintmodel": {
- "data": {
- "id": "58d94950-dc96-4222-90fd-242069318c1d",
- "type": "mintmodel"
}, - "links": {
- "related": "/api/projects/opc/assets/prj_soa/mintmodels/58d94950-dc96-4222-90fd-242069318c1d"
}
}, - "opschain_changes": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodel_history/e2a8ad51-5ffe-457c-b9b4-4e9621ed320c"
}
}, - {
- "id": "b188686f-342f-4755-ae85-87510ada6968",
- "type": "bookmark",
- "attributes": {
- "description": "SOA administration console",
- "created_by": "merry",
- "created_at": "2025-02-13T04:18:56.396436Z",
- "updated_at": "2025-02-13T04:18:56.396436Z"
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/bookmarks/b188686f-342f-4755-ae85-87510ada6968",
- "parent": "/api/projects/opc/assets/prj_soa"
}
}, - {
- "id": "e7c3d235-2499-4ed4-be7b-959cd30f545a",
- "type": "template",
- "attributes": {
- "name": "Oracle SOA template",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:18:56.338030Z",
- "updated_at": "2025-02-13T04:18:56.338030Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}",
- "code": "soa",
- "description": "Oracle SOA Suite 12c (12.2.1.4.0)"
}, - "relationships": {
- "template_versions": {
- "data": [
- {
- "id": "1d85c1cc-4e2a-4ca6-a33f-b9be494dcee6",
- "type": "template_version"
}
], - "links": {
- "related": "/api/projects/opc/templates/soa/versions"
}
}
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/templates/soa",
- "template_versions": "/api/projects/opc/templates/soa/versions"
}, - "meta": null
}, - {
- "id": "1d85c1cc-4e2a-4ca6-a33f-b9be494dcee6",
- "type": "template_version",
- "attributes": {
- "version": "2023_Q4_2",
- "description": "Added additional configuration options",
- "state": "ready",
- "created_by": "christeen",
- "archived": false,
- "has_mintmodel": true,
- "created_at": "2025-02-13T04:18:56.350680Z",
- "updated_at": "2025-02-13T04:18:56.350680Z",
- "git_rev": "bluetooth",
- "commit_sha": "d30f7c3ac0aca723778e6152dd69454fb738034a",
- "actions": [
- {
- "name": "compress",
- "description": "Aliquid inventore in qui."
}, - {
- "name": "program",
- "description": "Explicabo delectus et earum."
}
]
}, - "links": {
- "self": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "template": "/api/projects/opc/templates/soa"
}
}
]
}
Updates an asset belonging to a project.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | object |
required | object |
Array of objects or objects or objects or objects or objects |
{- "data": {
- "attributes": {
- "name": "Modified",
- "description": "The updated asset",
- "archived": false
}
}
}
{- "data": {
- "id": "6edcbde9-af06-4f35-b60d-ca303b90cc99",
- "type": "asset",
- "attributes": {
- "code": "prj_soa",
- "name": "doloribus258",
- "description": "Ullam voluptas ut quas.",
- "archived": true,
- "actions": [
- {
- "name": "connect",
- "description": "Voluptatem est dolor quasi."
}, - {
- "name": "index",
- "description": "Iste cumque enim ut."
}, - {
- "name": "provision",
- "description": "Provision resource on existing hardware"
}
], - "mintmodel_valid": true
}, - "relationships": {
- "properties": {
- "data": {
- "id": "3b1836e0-d3c3-4feb-8455-7b88808c1fe4",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/3b1836e0-d3c3-4feb-8455-7b88808c1fe4"
}
}, - "parents": {
- "data": [
- {
- "id": "c37cbf05-5a69-44d9-8094-1e7dc72d2aa0",
- "type": "project"
}
]
}, - "project": {
- "data": {
- "id": "c37cbf05-5a69-44d9-8094-1e7dc72d2aa0",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "template_version": {
- "data": {
- "id": "deb1635c-1243-4746-8fb5-0d3b5e953813",
- "type": "template_version"
}, - "links": {
- "related": "/api/projects/opc/templates/soa/versions/2023_Q4_2"
}
}, - "bookmarks": {
- "data": [
- {
- "id": "a871d3ec-5096-4bae-8b74-fef0391e15d4",
- "type": "bookmark"
}
]
}, - "template": {
- "data": {
- "id": "0c08bb0a-ce39-40f0-ab86-4da702322fa7",
- "type": "template"
}, - "links": {
- "related": "/api/projects/opc/templates/soa"
}
}, - "mintmodel_history": {
- "data": [
- {
- "id": "4545f297-14cd-4113-8ed1-bf27c2ad2f34",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa",
- "bookmarks": "/api/projects/opc/assets/prj_soa/bookmarks",
- "changes": "/api/projects/opc/assets/prj_soa/changes",
- "automation_rules": "/api/projects/opc/assets/prj_soa/automation_rules",
- "converged_properties": "/api/projects/opc/assets/prj_soa/converged_properties",
- "mintmodels": "/api/projects/opc/assets/prj_soa/mintmodels",
- "mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history",
- "parent": "/api/projects/opc",
- "version_history": "/api/projects/opc/assets/prj_soa/version_history"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": false,
- "can_have_properties": true,
- "can_have_settings": false,
- "can_have_templates": false,
- "requires_template": true,
- "child_node_types": [ ],
- "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "self": {
- "update": true
}
}
}
}
}
Show the converged properties as they will appear to actions run on this asset. i.e. the endpoint will
The API response will also include all the individual repository and database properties that were included in the result.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
filter[<query/sort filter>]= |
required | object |
Array of objects or objects |
{- "data": {
- "id": "prj_soa",
- "type": "converged_properties",
- "attributes": {
- "data": {
- "repo": "project_properties",
- "common": "property",
- "project": "property",
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}
}, - "relationships": {
- "repository_properties": {
- "data": [
- {
- "id": "properties.yaml",
- "type": "repository_properties"
}, - {
- "id": "projects/opc.yaml",
- "type": "repository_properties"
}
]
}, - "properties": {
- "data": [
- {
- "id": "3072eb43-0275-4390-b338-4be3243f426c",
- "type": "properties"
}, - {
- "id": "791d4278-f084-4709-afae-0b39d5032608",
- "type": "properties"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/converged_properties"
}
}, - "included": [
- {
- "id": "3072eb43-0275-4390-b338-4be3243f426c",
- "type": "properties",
- "attributes": {
- "data": {
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1,
- "created_at": "2025-02-13T04:18:58.070139Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/properties/3072eb43-0275-4390-b338-4be3243f426c",
- "current_version": "/api/properties/3072eb43-0275-4390-b338-4be3243f426c/versions/1",
- "versions": "/api/properties/3072eb43-0275-4390-b338-4be3243f426c/versions"
}
}, - {
- "id": "791d4278-f084-4709-afae-0b39d5032608",
- "type": "properties",
- "attributes": {
- "data": { },
- "version": 1,
- "created_at": "2025-02-13T04:18:58.121577Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc/assets/prj_soa"
}
}
}, - "links": {
- "self": "/api/properties/791d4278-f084-4709-afae-0b39d5032608",
- "current_version": "/api/properties/791d4278-f084-4709-afae-0b39d5032608/versions/1",
- "versions": "/api/properties/791d4278-f084-4709-afae-0b39d5032608/versions"
}
}, - {
- "id": "properties.yaml",
- "type": "repository_properties",
- "attributes": {
- "content": {
- "repo": "base_properties",
- "common": "property"
}
}, - "links": {
- "repository_path": ".opschain/properties.yaml"
}
}, - {
- "id": "projects/opc.yaml",
- "type": "repository_properties",
- "attributes": {
- "content": {
- "repo": "project_properties",
- "project": "property"
}
}, - "links": {
- "repository_path": ".opschain/projects/opc.yaml"
}
}
]
}
Lists the template versions that have been assigned to the asset.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
filter[<query/sort filter>]= |
required | Array of objects |
{- "data": [
- {
- "id": "45fde666-7ea9-4e12-9387-a2f8c2bee6c2",
- "type": "template_version_history",
- "attributes": {
- "active_from": "2025-02-13T04:19:10.066749Z",
- "active_to": null
}, - "relationships": {
- "owner": {
- "data": {
- "id": "4f536df1-a24d-4f36-8ffb-2ad0dd0e0a07",
- "type": "asset"
}
}, - "template_version": {
- "data": {
- "id": "183cd057-f86f-406e-9cf1-3ac868db2f7f",
- "type": "template_version"
}
}
}, - "links": {
- "template_version": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "self": "/api/projects/opc/assets/prj_soa/version_history/45fde666-7ea9-4e12-9387-a2f8c2bee6c2",
- "asset": "/api/projects/opc/assets/prj_soa"
}
}
]
}
Shows a specific project asset's template version history record.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
id required | string Example: 1fb2fdd0-c184-47d9-b5cf-e3e548bfbd45 version history id |
required | object |
Array of objects or objects |
{- "data": {
- "id": "7a4619c1-33cd-4026-be95-b3c2ed9d0d3c",
- "type": "template_version_history",
- "attributes": {
- "active_from": "2025-02-13T04:19:10.260907Z",
- "active_to": null
}, - "relationships": {
- "owner": {
- "data": {
- "id": "00760629-43ed-4c4d-b190-4e21bb8dbd88",
- "type": "asset"
}
}, - "template_version": {
- "data": {
- "id": "d266af59-9955-43d8-80ca-1c9a6bdf2fd6",
- "type": "template_version"
}
}
}, - "links": {
- "template_version": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "self": "/api/projects/opc/assets/prj_soa/version_history/7a4619c1-33cd-4026-be95-b3c2ed9d0d3c",
- "asset": "/api/projects/opc/assets/prj_soa"
}
}, - "included": [
- {
- "id": "00760629-43ed-4c4d-b190-4e21bb8dbd88",
- "type": "asset",
- "attributes": {
- "code": "prj_soa",
- "name": "Project asset",
- "description": "Project asset description",
- "archived": false,
- "actions": [
- {
- "name": "connect",
- "description": "Provident officia quibusdam porro."
}, - {
- "name": "generate",
- "description": "Corporis nam quisquam quibusdam."
}, - {
- "name": "provision",
- "description": "Provision resource on existing hardware"
}
], - "mintmodel_valid": true
}, - "relationships": {
- "properties": {
- "data": {
- "id": "1cc6ccee-d0f5-429c-925e-fef83821cd1d",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/1cc6ccee-d0f5-429c-925e-fef83821cd1d"
}
}, - "parents": {
- "data": [
- {
- "id": "00117e8a-d15b-4bd9-a81f-e847d04d65bf",
- "type": "project"
}
]
}, - "project": {
- "data": {
- "id": "00117e8a-d15b-4bd9-a81f-e847d04d65bf",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "template_version": {
- "data": {
- "id": "d266af59-9955-43d8-80ca-1c9a6bdf2fd6",
- "type": "template_version"
}, - "links": {
- "related": "/api/projects/opc/templates/soa/versions/2023_Q4_2"
}
}, - "bookmarks": {
- "data": [
- {
- "id": "c008cf1c-89fb-49e1-abe7-59fe4ba7d35f",
- "type": "bookmark"
}
]
}, - "template": {
- "data": {
- "id": "bdeee400-fa3b-4bd7-8811-d15fd2738b10",
- "type": "template"
}, - "links": {
- "related": "/api/projects/opc/templates/soa"
}
}, - "mintmodel_history": {
- "data": [
- {
- "id": "e682a40b-5be3-45d9-be8e-0b15984bd4cb",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa",
- "bookmarks": "/api/projects/opc/assets/prj_soa/bookmarks",
- "changes": "/api/projects/opc/assets/prj_soa/changes",
- "automation_rules": "/api/projects/opc/assets/prj_soa/automation_rules",
- "converged_properties": "/api/projects/opc/assets/prj_soa/converged_properties",
- "mintmodels": "/api/projects/opc/assets/prj_soa/mintmodels",
- "mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history",
- "parent": "/api/projects/opc",
- "version_history": "/api/projects/opc/assets/prj_soa/version_history"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": false,
- "can_have_properties": true,
- "can_have_settings": false,
- "can_have_templates": false,
- "requires_template": true,
- "child_node_types": [ ],
- "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "self": {
- "update": true
}
}
}
}, - {
- "id": "d266af59-9955-43d8-80ca-1c9a6bdf2fd6",
- "type": "template_version",
- "attributes": {
- "version": "2023_Q4_2",
- "description": "Added additional configuration options",
- "state": "ready",
- "created_by": "almeda",
- "archived": false,
- "has_mintmodel": true,
- "created_at": "2025-02-13T04:19:10.226023Z",
- "updated_at": "2025-02-13T04:19:10.226023Z",
- "git_rev": "bluetooth",
- "commit_sha": "4d21cce1d8a6d3a80b787142a54217263452dc3c",
- "actions": [
- {
- "name": "program",
- "description": "Libero delectus voluptas nihil."
}, - {
- "name": "quantify",
- "description": "Eius nihil quia libero."
}
]
}, - "links": {
- "self": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "template": "/api/projects/opc/templates/soa"
}
}
]
}
Templates provide the available actions and a base set of repository properties that will be used to configure the asset.
Lists all versions of a specific template.
project_code required | string Example: opc project code |
template_code required | string Example: soa template code |
required | Array of objects |
{- "data": [
- {
- "id": "8d780159-5907-4319-86bb-4d45cd910245",
- "type": "template_version",
- "attributes": {
- "version": "2023_Q4_2",
- "description": "Added additional configuration options",
- "state": "ready",
- "created_by": "aracely.kertzmann",
- "archived": false,
- "has_mintmodel": true,
- "created_at": "2025-02-13T04:19:10.439783Z",
- "updated_at": "2025-02-13T04:19:10.439783Z",
- "git_rev": "wireless",
- "commit_sha": "3912f60e78f44a4abfb41a4691a4d42e7ea53529",
- "actions": [
- {
- "name": "transmit",
- "description": "Quis aut ipsa pariatur."
}, - {
- "name": "connect",
- "description": "Laudantium numquam aut ut."
}
]
}, - "links": {
- "self": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "template": "/api/projects/opc/templates/soa"
}
}
]
}
Create or update a template version.
project_code required | string Example: opc project code |
template_code required | string Example: soa template code |
version required | string Example: 2023_Q4_2 template version |
required | object |
required | object |
Array of objects |
{- "data": {
- "attributes": {
- "description": "Added additional configuration options",
- "git_rev": "auxiliary",
- "archived": false
}
}
}
{- "data": {
- "id": "18864c56-b525-4f84-9a27-e580fc6d16e3",
- "type": "template_version",
- "attributes": {
- "version": "2023_Q4_2",
- "description": "Atque porro iure nesciunt quod soluta sunt rerum nobis natus",
- "state": "initializing",
- "created_by": "ismael",
- "archived": false,
- "has_mintmodel": false,
- "created_at": "2025-02-13T04:19:10.835039Z",
- "updated_at": "2025-02-13T04:19:10.835039Z",
- "git_rev": "optical",
- "commit_sha": null
}, - "links": {
- "self": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "template": "/api/projects/opc/templates/soa"
}
}
}
Shows a specific template version.
project_code required | string Example: opc project code |
template_code required | string Example: soa template code |
version required | string Example: 2023_Q4_2 template version |
required | object |
Array of objects |
{- "data": {
- "id": "ec440c2f-5864-4b51-a674-fab318da2ddc",
- "type": "template_version",
- "attributes": {
- "version": "2023_Q4_2",
- "description": "Added additional configuration options",
- "state": "ready",
- "created_by": "arlie.stamm",
- "archived": false,
- "has_mintmodel": true,
- "created_at": "2025-02-13T04:19:11.546020Z",
- "updated_at": "2025-02-13T04:19:11.546020Z",
- "git_rev": "auxiliary",
- "commit_sha": "8a2f233f0c73b6e01f50172793c711e0c3824465",
- "actions": [
- {
- "name": "program",
- "description": "Qui debitis minima sapiente."
}, - {
- "name": "back up",
- "description": "Ut quo distinctio cumque."
}
]
}, - "links": {
- "self": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "template": "/api/projects/opc/templates/soa"
}
}
}
Assign assets to the template version.
project_code required | string Example: opc project code |
template_code required | string Example: soa template code |
version required | string Example: 2023_Q4_2 template version |
required | object |
required | object |
Array of objects |
{- "data": {
- "attributes": {
- "asset_paths": [
- "/projects/opc/assets/prj_soa"
]
}
}
}
{- "data": {
- "id": "e8691a42-f5c2-46bd-ab15-fd799fb50b29",
- "type": "template_version",
- "attributes": {
- "version": "2023_Q4_2",
- "description": "Added additional configuration options",
- "state": "ready",
- "created_by": "marguerita_schimmel",
- "archived": false,
- "has_mintmodel": true,
- "created_at": "2025-02-13T04:19:11.870922Z",
- "updated_at": "2025-02-13T04:19:11.870922Z",
- "git_rev": "bluetooth",
- "commit_sha": "1a5de932ced046a627e3e89fb353090cefc47989",
- "actions": [
- {
- "name": "transmit",
- "description": "Rem sit ea aliquam."
}, - {
- "name": "connect",
- "description": "Tenetur occaecati nisi illum."
}
]
}, - "links": {
- "self": "/api/projects/opc/templates/soa/versions/2023_Q4_2",
- "template": "/api/projects/opc/templates/soa"
}
}
}
Create a template.
project_code required | string Example: opc project code |
required | object |
{- "data": {
- "attributes": {
- "code": "soa",
- "name": "Oracle SOA template",
- "description": "Oracle SOA Suite 12c (12.2.1.4.0)",
- "user": "limepoint",
- "password": "password",
- "ssh_key_data": "-----BEGIN OPENSSH PRIVATE KEY-----\n...\n-----END OPENSSH PRIVATE KEY-----\n"
}
}
}
{- "data": {
- "id": "e419d5d6-7b57-413b-a2ad-b9e73655e643",
- "type": "template",
- "attributes": {
- "name": "kraig_koss",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:19:12.567116Z",
- "updated_at": "2025-02-13T04:19:12.567116Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}",
- "code": "pstig",
- "description": "Sit ut ea voluptates."
}, - "relationships": {
- "template_versions": {
- "data": [ ],
- "links": {
- "related": "/api/projects/opc/templates/pstig/versions"
}
}
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/templates/pstig",
- "template_versions": "/api/projects/opc/templates/pstig/versions"
}, - "meta": null
}
}
Lists all templates for a project.
project_code required | string Example: opc project code |
required | Array of objects |
{- "data": [
- {
- "id": "91ac77d0-d3e4-4bae-b623-23dd17315171",
- "type": "template",
- "attributes": {
- "name": "Oracle SOA template",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:19:13.034002Z",
- "updated_at": "2025-02-13T04:19:13.034002Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}",
- "code": "soa",
- "description": "Oracle SOA Suite 12c (12.2.1.4.0)"
}, - "relationships": {
- "template_versions": {
- "data": [ ],
- "links": {
- "related": "/api/projects/opc/templates/soa/versions"
}
}
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/templates/soa",
- "template_versions": "/api/projects/opc/templates/soa/versions"
}, - "meta": null
}
]
}
Shows a project template.
project_code required | string Example: opc project code |
template_code required | string Example: soa template code |
required | object |
{- "data": {
- "id": "62a86588-e637-4c9f-a921-0f608db8dd1e",
- "type": "template",
- "attributes": {
- "name": "Oracle SOA template",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:19:13.264353Z",
- "updated_at": "2025-02-13T04:19:13.264353Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}",
- "code": "soa",
- "description": "Oracle SOA Suite 12c (12.2.1.4.0)"
}, - "relationships": {
- "template_versions": {
- "data": [ ],
- "links": {
- "related": "/api/projects/opc/templates/soa/versions"
}
}
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/templates/soa",
- "template_versions": "/api/projects/opc/templates/soa/versions"
}, - "meta": null
}
}
Archives/unarchives a template.
project_code required | string Example: opc project code |
code_to_archive required | string Example: soa template code |
required | object |
required | object |
{- "data": {
- "attributes": {
- "archived": true
}
}
}
{- "data": {
- "id": "35e7c506-b6b7-41c2-88dc-6c78f6e20331",
- "type": "template",
- "attributes": {
- "name": "Oracle SOA template",
- "archived": true,
- "disabled": false,
- "created_at": "2025-02-13T04:19:13.520963Z",
- "updated_at": "2025-02-13T04:19:13.555229Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}",
- "code": "soa",
- "description": "Oracle SOA Suite 12c (12.2.1.4.0)"
}, - "relationships": {
- "template_versions": {
- "data": [ ],
- "links": {
- "related": "/api/projects/opc/templates/soa/versions"
}
}
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/templates/soa",
- "template_versions": "/api/projects/opc/templates/soa/versions"
}, - "meta": null
}
}
Update the credentials of a template.
project_code required | string Example: opc project code |
code_to_update required | string Example: soa template code |
required | object |
required | object |
{- "data": {
- "attributes": {
- "user": "limepoint",
- "password": "password",
- "ssh_key_data": "-----BEGIN OPENSSH PRIVATE KEY-----\n...\n-----END OPENSSH PRIVATE KEY-----\n"
}
}
}
{- "data": {
- "id": "68814ff6-15a3-4649-94da-7527fa2a7501",
- "type": "template",
- "attributes": {
- "name": "Oracle SOA template",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:19:13.916322Z",
- "updated_at": "2025-02-13T04:19:13.948173Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}",
- "code": "soa",
- "description": "Oracle SOA Suite 12c (12.2.1.4.0)"
}, - "relationships": {
- "template_versions": {
- "data": [ ],
- "links": {
- "related": "/api/projects/opc/templates/soa/versions"
}
}
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/templates/soa",
- "template_versions": "/api/projects/opc/templates/soa/versions"
}, - "meta": null
}
}
Endpoints to interact with git remotes.
Create a project Git remote.
project_code required | string Example: opc project code |
required | object |
{- "data": {
- "attributes": {
- "name": "github",
- "user": "limepoint",
- "password": "password",
- "ssh_key_data": "-----BEGIN OPENSSH PRIVATE KEY-----\n...\n-----END OPENSSH PRIVATE KEY-----\n"
}
}
}
{- "data": {
- "id": "69d818e5-b485-4d63-9c2a-3b9650b837c9",
- "type": "git_remote",
- "attributes": {
- "name": "github",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:18:49.318137Z",
- "updated_at": "2025-02-13T04:18:49.318137Z",
- "user": null,
- "password": null,
- "ssh_key_data": null
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/git_remotes/69d818e5-b485-4d63-9c2a-3b9650b837c9"
}, - "meta": null
}
}
Lists all Git remotes for a project.
project_code required | string Example: opc project code |
required | Array of objects |
{- "data": [
- {
- "id": "94d22fa3-7955-4f2f-a80d-cbf16b3a922f",
- "type": "git_remote",
- "attributes": {
- "name": "github",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:18:49.978897Z",
- "updated_at": "2025-02-13T04:18:49.978897Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}"
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/git_remotes/94d22fa3-7955-4f2f-a80d-cbf16b3a922f"
}, - "meta": null
}
]
}
Shows a project Git remote.
Note: Git remote credentials are obfuscated for security reasons.
project_code required | string Example: opc project code |
remote_id required | string Example: 298e0cbc-8857-487a-b902-27c6fc702e54 remote id |
required | object |
{- "data": {
- "id": "23464f98-a0f6-416d-abe6-5838cd8269a4",
- "type": "git_remote",
- "attributes": {
- "name": "github",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:18:50.250443Z",
- "updated_at": "2025-02-13T04:18:50.250443Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}"
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/git_remotes/23464f98-a0f6-416d-abe6-5838cd8269a4"
}, - "meta": null
}
}
Archives/unarchives a project Git remote.
project_code required | string Example: opc project code |
id_to_archive required | string Example: 298e0cbc-8857-487a-b902-27c6fc702e54 remote id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "archived": true
}
}
}
{- "data": {
- "id": "65615923-a987-40a3-ab51-12d824274d44",
- "type": "git_remote",
- "attributes": {
- "name": "github",
- "archived": true,
- "disabled": false,
- "created_at": "2025-02-13T04:18:50.564038Z",
- "updated_at": "2025-02-13T04:18:50.608584Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}"
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/git_remotes/65615923-a987-40a3-ab51-12d824274d44"
}, - "meta": null
}
}
Update the credentials of a project Git remote.
project_code required | string Example: opc project code |
id_to_update required | string Example: 298e0cbc-8857-487a-b902-27c6fc702e54 remote id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "user": "limepoint",
- "password": "password",
- "ssh_key_data": "-----BEGIN OPENSSH PRIVATE KEY-----\n...\n-----END OPENSSH PRIVATE KEY-----\n"
}
}
}
{- "data": {
- "id": "a613ff15-0aa8-48e9-868e-7b53afb3ebcc",
- "type": "git_remote",
- "attributes": {
- "name": "github",
- "archived": false,
- "disabled": false,
- "created_at": "2025-02-13T04:18:51.059732Z",
- "updated_at": "2025-02-13T04:18:51.095213Z",
- "user": "{{hidden}}",
- "password": "{{hidden}}",
- "ssh_key_data": "{{hidden}}"
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/git_remotes/a613ff15-0aa8-48e9-868e-7b53afb3ebcc"
}, - "meta": null
}
}
Deletes a project Git remote if it has no changes, otherwise it removes the credentials.
project_code required | string Example: opc project code |
id_to_delete required | string Example: 298e0cbc-8857-487a-b902-27c6fc702e54 remote id |
{- "data": {
- "id": "26ccafe5-fa11-48df-b78a-dc0b50587a14",
- "type": "git_remote",
- "attributes": {
- "name": "github",
- "archived": true,
- "disabled": false,
- "created_at": "2025-02-13T04:18:51.704336Z",
- "updated_at": "2025-02-13T04:18:51.870109Z",
- "user": null,
- "password": null,
- "ssh_key_data": null
}, - "links": {
- "project": "/api/projects/opc",
- "self": "/api/projects/opc/git_remotes/26ccafe5-fa11-48df-b78a-dc0b50587a14"
}, - "meta": {
- "credentials_removed": true,
- "messages": [
- "This Git remote cannot be deleted as it is used by a change. Its credentials have been removed."
]
}
}
}
Endpoints to interact with bookmarks.
Notes:
/<path/to/bookmark/owner>/bookmarks
path. The example endpoints in this section reflect bookmarks owned
by a project asset.Create an asset bookmark.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | object |
{- "data": {
- "attributes": {
- "description": "SOA administration console",
- "created_by": "kelsi.welch"
}
}
}
{- "data": {
- "id": "92abad99-6a75-4ca7-bdda-d84fd210ed6c",
- "type": "bookmark",
- "attributes": {
- "description": "Et consequatur consequatur adipisci.",
- "created_by": "sol",
- "created_at": "2025-02-13T04:18:43.773707Z",
- "updated_at": "2025-02-13T04:18:43.773707Z"
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/bookmarks/92abad99-6a75-4ca7-bdda-d84fd210ed6c",
- "parent": "/api/projects/opc/assets/prj_soa"
}
}
}
Lists all bookmarks for an asset.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | Array of objects |
{- "data": [
- {
- "id": "3ef96855-dc1b-48bc-957d-1e59232fa6c8",
- "type": "bookmark",
- "attributes": {
- "description": "SOA administration console",
- "created_by": "milton.donnelly",
- "created_at": "2025-02-13T04:18:44.421296Z",
- "updated_at": "2025-02-13T04:18:44.421296Z"
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/bookmarks/3ef96855-dc1b-48bc-957d-1e59232fa6c8",
- "parent": "/api/projects/opc/assets/prj_soa"
}
}
]
}
Shows an asset bookmark.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
bookmark_id required | string Example: 481edb5f-f5ec-41a3-a506-d53c6833c3af bookmark id |
required | object |
{- "data": {
- "id": "b08988e4-2d69-44a3-8dd4-d75e488729b0",
- "type": "bookmark",
- "attributes": {
- "description": "SOA administration console",
- "created_by": "randy",
- "created_at": "2025-02-13T04:18:44.642850Z",
- "updated_at": "2025-02-13T04:18:44.642850Z"
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/bookmarks/b08988e4-2d69-44a3-8dd4-d75e488729b0",
- "parent": "/api/projects/opc/assets/prj_soa"
}
}
}
Update an asset bookmark.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
bookmark_id required | string Example: 481edb5f-f5ec-41a3-a506-d53c6833c3af bookmark id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "description": "Updated server console path"
}
}
}
{- "data": {
- "id": "4af7ff37-05a1-4619-b6bd-33ad3e84e3d7",
- "type": "bookmark",
- "attributes": {
- "description": "Updated server console path",
- "created_by": "margherita_gislason",
- "created_at": "2025-02-13T04:18:45.141812Z",
- "updated_at": "2025-02-13T04:18:45.181372Z"
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/bookmarks/4af7ff37-05a1-4619-b6bd-33ad3e84e3d7",
- "parent": "/api/projects/opc/assets/prj_soa"
}
}
}
Delete an asset bookmark.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
bookmark_id required | string Example: 481edb5f-f5ec-41a3-a506-d53c6833c3af bookmark id |
{ }
Endpoints to query and generate MintModels for assets.
Notes:
parent_mintmodel_history
link in the API response to access the
asset's MintModel history.Lists the asset's MintModel history.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | Array of objects |
Array of objects |
{- "data": [
- {
- "id": "1e69e166-7cd3-4e89-8081-c6b8ed089c88",
- "type": "mintmodel_history",
- "attributes": {
- "created_at": "2025-02-13T04:18:53.946360Z",
- "updated_at": "2025-02-13T04:18:53.946360Z"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "78bb995e-d645-4754-9a05-e5a7eff8e052",
- "type": "project"
}, - {
- "id": "b99972c4-667e-4f49-afc3-65deee3c0a26",
- "type": "asset"
}
]
}, - "mintmodel": {
- "data": {
- "id": "ed250783-39db-4bc0-98b0-5261dabdb20f",
- "type": "mintmodel"
}, - "links": {
- "related": "/api/projects/opc/assets/prj_soa/mintmodels/ed250783-39db-4bc0-98b0-5261dabdb20f"
}
}, - "opschain_changes": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodel_history/1e69e166-7cd3-4e89-8081-c6b8ed089c88"
}
}
]
}
Shows an asset's MintModel history record.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
id required | string Example: 832f388b-db82-46b0-aec4-ffbebd7445b6 MintModel history id |
required | object |
Array of objects |
{- "data": {
- "id": "6c5465fd-362f-42ac-a557-09e018126ea0",
- "type": "mintmodel_history",
- "attributes": {
- "created_at": "2025-02-13T04:18:54.160327Z",
- "updated_at": "2025-02-13T04:18:54.160327Z"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "cd607e66-43e6-41b8-acc1-3b0e82279aff",
- "type": "project"
}, - {
- "id": "81470963-bde6-4bf3-830c-c74f7cfa5f87",
- "type": "asset"
}
]
}, - "mintmodel": {
- "data": {
- "id": "1b3e56b1-2cf1-4c8b-ba2e-415b9a811846",
- "type": "mintmodel"
}, - "links": {
- "related": "/api/projects/opc/assets/prj_soa/mintmodels/1b3e56b1-2cf1-4c8b-ba2e-415b9a811846"
}
}, - "opschain_changes": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodel_history/6c5465fd-362f-42ac-a557-09e018126ea0"
}
}, - "included": [
- {
- "id": "1b3e56b1-2cf1-4c8b-ba2e-415b9a811846",
- "type": "mintmodel",
- "attributes": {
- "data": {
- "complex": {
- "json": {
- "mintmodel": "data"
}
}
}, - "sha256": "77526a9ef926aee8c98f90ec845f5bd12f58cd7afb29fb2db5ef8f95deec44f8",
- "created_at": "2025-02-13T04:18:54.154301Z",
- "updated_at": "2025-02-13T04:18:54.154301Z"
}, - "relationships": {
- "mintmodel_history": {
- "data": [
- {
- "id": "6c5465fd-362f-42ac-a557-09e018126ea0",
- "type": "mintmodel_history"
}, - {
- "id": "147de273-4ee5-4835-ad62-bafbc730cd9f",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodels/1b3e56b1-2cf1-4c8b-ba2e-415b9a811846",
- "parent_mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history"
}
}
]
}
List all MintModels for an asset.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | Array of objects |
{- "data": [
- {
- "id": "8b59a4ef-9be0-48e2-9f41-f974c2043e53",
- "type": "mintmodel",
- "attributes": {
- "data": {
- "complex": {
- "json": {
- "mintmodel": "data"
}
}
}, - "sha256": "77526a9ef926aee8c98f90ec845f5bd12f58cd7afb29fb2db5ef8f95deec44f8",
- "created_at": "2025-02-13T04:18:54.263770Z",
- "updated_at": "2025-02-13T04:18:54.263770Z"
}, - "relationships": {
- "mintmodel_history": {
- "data": [
- {
- "id": "61e7f265-7948-4df8-88fe-bd8498e699a0",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodels/8b59a4ef-9be0-48e2-9f41-f974c2043e53",
- "parent_mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history"
}
}
]
}
Shows an asset MintModel.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
mintmodel_id required | string Example: e7e6ef31-02e5-4b26-8fba-6248b15f6c7d MintModel id |
required | object |
{- "data": {
- "id": "95d40e2c-0a84-4fe5-911e-3b39243196da",
- "type": "mintmodel",
- "attributes": {
- "data": {
- "complex": {
- "json": {
- "mintmodel": "data"
}
}
}, - "sha256": "77526a9ef926aee8c98f90ec845f5bd12f58cd7afb29fb2db5ef8f95deec44f8",
- "created_at": "2025-02-13T04:18:54.919400Z",
- "updated_at": "2025-02-13T04:18:54.919400Z"
}, - "relationships": {
- "mintmodel_history": {
- "data": [
- {
- "id": "319d69d0-7853-42db-a2b6-41095b45acd9",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodels/95d40e2c-0a84-4fe5-911e-3b39243196da",
- "parent_mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history"
}
}
}
Generate the MintModel for this asset, using the latest properties and template version.
Note: The endpoint does not store the MintModel, rather it provides a point in time reference for the MintModel content that will be used by a change if one is executed for the asset.
project_code required | string Example: opc project code |
asset_code required | string Example: prj_soa asset code |
required | object |
{- "data": {
- "id": "3a1de378-4764-4d39-b66c-b85f77226a71",
- "type": "mintmodel",
- "attributes": {
- "data": {
- "complex": {
- "json": {
- "mintmodel": "data"
}
}
}, - "sha256": "77526a9ef926aee8c98f90ec845f5bd12f58cd7afb29fb2db5ef8f95deec44f8",
- "created_at": "2025-02-13T04:18:55.371052Z",
- "updated_at": "2025-02-13T04:18:55.371052Z"
}, - "relationships": {
- "mintmodel_history": {
- "data": [
- {
- "id": "8c52faa1-3318-4861-9050-e89b1ccd43f2",
- "type": "mintmodel_history"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/assets/prj_soa/mintmodels/3a1de378-4764-4d39-b66c-b85f77226a71",
- "parent_mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history"
}
}
}
Lists all workflows for a project.
project_code required | string Example: opc project code |
required | Array of objects |
object |
{- "data": [
- {
- "id": "370ccf60-be2c-4e6f-8208-de45c147c98f",
- "type": "workflow",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "archived": false,
- "version": 1,
- "draft": false,
- "created_by": "lakendra.daugherty",
- "created_at": "2025-02-13T04:19:44.062369Z",
- "updated_at": "2025-02-13T04:19:44.062410Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: lakendra.daugherty\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets",
- "versions": "/api/projects/opc/workflows/assets/versions",
- "latest_version": "/api/projects/opc/workflows/assets/versions/1",
- "current_published_version": "/api/projects/opc/workflows/assets/versions/1",
- "project": "/api/projects/opc",
- "runs": "/api/projects/opc/workflows/assets/runs"
}
}
], - "meta": {
- "partial_response": false
}
}
Create a workflow
project_code required | string Example: opc project code |
required | object |
object |
{- "data": {
- "attributes": {
- "code": "srmap",
- "name": "connect",
- "description": "Calculating the application won't do anything, we need to copy the optical gb bus!",
- "steps": [
- {
- "type": "change",
- "target": "/projects/xqilz/environments/dn5qe/assets/zav9j",
- "action": "generate",
- "template_version": "s3j7x",
- "name": "sit",
- "start_time": null
}, - {
- "type": "wait",
- "requires_approval_from": null,
- "name": "harum"
}, - {
- "type": "workflow",
- "target": "/projects/astth/workflows/rfyzy",
- "version": null,
- "name": "voluptatibus",
- "start_time": "2025-02-14T04:18:34Z"
}, - {
- "run_as": "parallel",
- "name": "repellat",
- "children": [
- {
- "type": "change",
- "target": "/projects/j9ism/environments/9rnn7/assets/tnpvr",
- "action": "bypass",
- "template_version": "sv3gp",
- "name": "deleniti",
- "start_time": null
}, - {
- "type": "wait",
- "requires_approval_from": "molestias",
- "name": "dolorem"
}, - {
- "type": "workflow",
- "target": "/projects/fkv3e/workflows/sjbd5",
- "version": null,
- "name": "hic",
- "start_time": null
}
]
}, - {
- "run_as": "sequential",
- "name": "rem",
- "children": [
- {
- "type": "change",
- "target": "/projects/u6lgu/environments/mjcza/assets/qy3th",
- "action": "transmit",
- "template_version": "ksaf5",
- "name": "delectus",
- "start_time": "2025-02-14T04:18:34Z"
}, - {
- "type": "wait",
- "requires_approval_from": null,
- "name": "ipsam"
}, - {
- "type": "workflow",
- "target": "/projects/5vuqe/workflows/c6yvv",
- "version": null,
- "name": "officiis",
- "start_time": null
}
]
}
], - "archived": false,
- "draft": false,
- "source_yaml": "---\ncode: srmap\nname: connect\ndescription: Calculating the application won't do anything, we need to copy the optical\n gb bus!\ncreated_by: sylvie\nsteps:\n- action: compress\n target: \"/projects/zlaws/assets/qulx9\"\n type: change\n"
}
}
}
{- "data": {
- "id": "779fd64c-e7ed-42af-92ef-cc7f3802fa4b",
- "type": "workflow",
- "attributes": {
- "code": "assets_new",
- "name": "assets workflow",
- "description": "workflow for assets",
- "archived": false,
- "version": 1,
- "draft": false,
- "created_by": "jillian",
- "created_at": "2025-02-13T04:19:44.673339Z",
- "updated_at": "2025-02-13T04:19:44.673339Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: wilfredo_brekke\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "type": "change",
- "name": "run asset action",
- "target": "/projects/opc/assets/prj_soa",
- "action": "run"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets_new",
- "versions": "/api/projects/opc/workflows/assets_new/versions",
- "latest_version": "/api/projects/opc/workflows/assets_new/versions/1",
- "current_published_version": "/api/projects/opc/workflows/assets_new/versions/1",
- "project": "/api/projects/opc",
- "runs": "/api/projects/opc/workflows/assets_new/runs"
}
}
}
Shows a workflow.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
required | object |
{- "data": {
- "id": "b863be20-2757-4b83-825b-24b472227510",
- "type": "workflow",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "archived": false,
- "version": 1,
- "draft": false,
- "created_by": "jannet.reynolds",
- "created_at": "2025-02-13T04:19:45.819645Z",
- "updated_at": "2025-02-13T04:19:45.819674Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: jannet.reynolds\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets",
- "versions": "/api/projects/opc/workflows/assets/versions",
- "latest_version": "/api/projects/opc/workflows/assets/versions/1",
- "current_published_version": "/api/projects/opc/workflows/assets/versions/1",
- "project": "/api/projects/opc",
- "runs": "/api/projects/opc/workflows/assets/runs"
}
}
}
Update a workflow.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
required | object |
object |
required | object |
{- "data": {
- "attributes": {
- "name": "new workflow name",
- "steps": [
- {
- "type": "change",
- "target": "/projects/xqilz/environments/dn5qe/assets/zav9j",
- "action": "generate",
- "template_version": "s3j7x",
- "name": "sit",
- "start_time": null
}, - {
- "type": "wait",
- "requires_approval_from": null,
- "name": "harum"
}, - {
- "type": "workflow",
- "target": "/projects/astth/workflows/rfyzy",
- "version": null,
- "name": "voluptatibus",
- "start_time": "2025-02-14T04:18:34Z"
}, - {
- "run_as": "parallel",
- "name": "repellat",
- "children": [
- {
- "type": "change",
- "target": "/projects/j9ism/environments/9rnn7/assets/tnpvr",
- "action": "bypass",
- "template_version": "sv3gp",
- "name": "deleniti",
- "start_time": null
}, - {
- "type": "wait",
- "requires_approval_from": "molestias",
- "name": "dolorem"
}, - {
- "type": "workflow",
- "target": "/projects/fkv3e/workflows/sjbd5",
- "version": null,
- "name": "hic",
- "start_time": null
}
]
}, - {
- "run_as": "sequential",
- "name": "rem",
- "children": [
- {
- "type": "change",
- "target": "/projects/u6lgu/environments/mjcza/assets/qy3th",
- "action": "transmit",
- "template_version": "ksaf5",
- "name": "delectus",
- "start_time": "2025-02-14T04:18:34Z"
}, - {
- "type": "wait",
- "requires_approval_from": null,
- "name": "ipsam"
}, - {
- "type": "workflow",
- "target": "/projects/5vuqe/workflows/c6yvv",
- "version": null,
- "name": "officiis",
- "start_time": null
}
]
}
], - "draft": true,
- "description": "new description",
- "archived": false,
- "source_yaml": "string"
}
}, - "meta": {
- "validate": true
}
}
{- "data": {
- "id": "f7217f2b-c067-45e1-b7ca-a8d3b3784a90",
- "type": "workflow",
- "attributes": {
- "code": "assets",
- "name": "new workflow name",
- "description": "new description",
- "archived": false,
- "version": 2,
- "draft": true,
- "created_by": "eden.koss",
- "created_at": "2025-02-13T04:19:46.631922Z",
- "updated_at": "2025-02-13T04:19:46.706768Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: eden.koss\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "type": "change",
- "target": "/projects/xqilz/environments/dn5qe/assets/zav9j",
- "action": "generate",
- "template_version": "s3j7x",
- "name": "sit",
- "start_time": null
}, - {
- "type": "wait",
- "requires_approval_from": null,
- "name": "harum"
}, - {
- "type": "workflow",
- "target": "/projects/astth/workflows/rfyzy",
- "version": null,
- "name": "voluptatibus",
- "start_time": "2025-02-14T04:18:34Z"
}, - {
- "run_as": "parallel",
- "name": "repellat",
- "children": [
- {
- "type": "change",
- "target": "/projects/j9ism/environments/9rnn7/assets/tnpvr",
- "action": "bypass",
- "template_version": "sv3gp",
- "name": "deleniti",
- "start_time": null
}, - {
- "type": "wait",
- "requires_approval_from": "molestias",
- "name": "dolorem"
}, - {
- "type": "workflow",
- "target": "/projects/fkv3e/workflows/sjbd5",
- "version": null,
- "name": "hic",
- "start_time": null
}
]
}, - {
- "run_as": "sequential",
- "name": "rem",
- "children": [
- {
- "type": "change",
- "target": "/projects/u6lgu/environments/mjcza/assets/qy3th",
- "action": "transmit",
- "template_version": "ksaf5",
- "name": "delectus",
- "start_time": "2025-02-14T04:18:34Z"
}, - {
- "type": "wait",
- "requires_approval_from": null,
- "name": "ipsam"
}, - {
- "type": "workflow",
- "target": "/projects/5vuqe/workflows/c6yvv",
- "version": null,
- "name": "officiis",
- "start_time": null
}
]
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets",
- "versions": "/api/projects/opc/workflows/assets/versions",
- "latest_version": "/api/projects/opc/workflows/assets/versions/2",
- "current_published_version": "/api/projects/opc/workflows/assets/versions/1",
- "project": "/api/projects/opc",
- "runs": "/api/projects/opc/workflows/assets/runs"
}
}
}
Lists all versions for a workflow.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
required | Array of objects |
{- "data": [
- {
- "id": "32fac2a8-3e09-4a02-9056-adad685d9783",
- "type": "workflow_version",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "draft": false,
- "archived": false,
- "version": 1,
- "created_by": "mauro_ziemann",
- "created_at": "2025-02-13T04:19:41.615915Z",
- "updated_at": "2025-02-13T04:19:41.615915Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: mauro_ziemann\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/versions/1",
- "runs": "/api/projects/opc/workflows/assets/versions/1/runs",
- "workflow": "/api/projects/opc/workflows/assets",
- "project": "/api/projects/opc"
}
}
]
}
Shows a workflow version.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
version required | string Example: 1 version |
required | object |
{- "data": {
- "id": "287a52f7-7f7e-4c62-a5c3-9a1d4c9c9050",
- "type": "workflow_version",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "draft": false,
- "archived": false,
- "version": 1,
- "created_by": "young_konopelski",
- "created_at": "2025-02-13T04:19:42.699305Z",
- "updated_at": "2025-02-13T04:19:42.699305Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: young_konopelski\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/versions/1",
- "runs": "/api/projects/opc/workflows/assets/versions/1/runs",
- "workflow": "/api/projects/opc/workflows/assets",
- "project": "/api/projects/opc"
}
}
}
Endpoints to interact with properties.
Shows the current properties JSON and its version.
properties_id required | string Example: 2db05b2b-52cd-4190-9132-6ac93c0517e0 properties id |
required | object |
{- "data": {
- "id": "b024e758-22d5-404e-b58e-4734a2d03fed",
- "type": "properties",
- "attributes": {
- "data": {
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1,
- "created_at": "2025-02-13T04:19:01.655992Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/properties/b024e758-22d5-404e-b58e-4734a2d03fed",
- "current_version": "/api/properties/b024e758-22d5-404e-b58e-4734a2d03fed/versions/1",
- "versions": "/api/properties/b024e758-22d5-404e-b58e-4734a2d03fed/versions"
}
}
}
Updates a properties JSON if the included version matches the current properties version.
id_to_update required | string Example: 2db05b2b-52cd-4190-9132-6ac93c0517e0 properties id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "data": {
- "any_key": "with updated value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1
}
}
}
{- "data": {
- "id": "69adf701-2727-4975-8e55-26b3d6c64d38",
- "type": "properties",
- "attributes": {
- "data": {
- "any_key": "with updated value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 2,
- "created_at": "2025-02-13T04:19:01.918390Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/properties/69adf701-2727-4975-8e55-26b3d6c64d38",
- "current_version": "/api/properties/69adf701-2727-4975-8e55-26b3d6c64d38/versions/2",
- "versions": "/api/properties/69adf701-2727-4975-8e55-26b3d6c64d38/versions"
}
}
}
Updates a properties JSON, without any version checking (always updates).
id_to_set required | string Example: 2db05b2b-52cd-4190-9132-6ac93c0517e0 properties id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "data": {
- "any_key": "with updated value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}
}
}
}
{- "data": {
- "id": "4b4e5b09-98b5-42aa-ad90-4812b63ffa4c",
- "type": "properties",
- "attributes": {
- "data": {
- "any_key": "with updated value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 2,
- "created_at": "2025-02-13T04:19:02.443649Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/properties/4b4e5b09-98b5-42aa-ad90-4812b63ffa4c",
- "current_version": "/api/properties/4b4e5b09-98b5-42aa-ad90-4812b63ffa4c/versions/2",
- "versions": "/api/properties/4b4e5b09-98b5-42aa-ad90-4812b63ffa4c/versions"
}
}
}
Endpoints to interact with the version history for properties.
Lists all versions of an OpsChain properties.
properties_id required | string Example: 2db05b2b-52cd-4190-9132-6ac93c0517e0 properties id |
required | Array of objects |
{- "data": [
- {
- "id": "78b92a11-b7ed-4fcd-b0d3-731080edb2fd",
- "type": "properties_version",
- "attributes": {
- "data": {
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1,
- "created_at": "2025-02-13T04:19:02.851525Z",
- "owner_type": "project"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "53507431-4019-4977-bc6e-ce6f153c0fcc",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/53507431-4019-4977-bc6e-ce6f153c0fcc"
}
}
}, - "links": {
- "versions": "/api/properties/53507431-4019-4977-bc6e-ce6f153c0fcc/versions",
- "owner": "/api/projects/opc",
- "self": "/api/properties/53507431-4019-4977-bc6e-ce6f153c0fcc/versions/1"
}
}
]
}
Shows the properties JSON for this properties version.
properties_id required | string Example: 2db05b2b-52cd-4190-9132-6ac93c0517e0 properties id |
version_number required | integer Example: 1 version number |
required | object |
{- "data": {
- "id": "350b5f1f-ab70-44f9-9845-d2f578fb6290",
- "type": "properties_version",
- "attributes": {
- "data": {
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1,
- "created_at": "2025-02-13T04:19:03.118836Z",
- "owner_type": "project"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "98f9edf4-5d86-4c4b-a738-8f9b8472cad6",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/98f9edf4-5d86-4c4b-a738-8f9b8472cad6"
}
}
}, - "links": {
- "versions": "/api/properties/98f9edf4-5d86-4c4b-a738-8f9b8472cad6/versions",
- "owner": "/api/projects/opc",
- "self": "/api/properties/98f9edf4-5d86-4c4b-a738-8f9b8472cad6/versions/1"
}
}
}
Endpoints to interact with changes.
Lists all changes.
filter[<query/sort filter>]= | |
download | string Example: download=changes.csv Download changes in CSV format with the specified file name. The changes will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
include | string Example: include=steps,parents Include the change steps and parents in the response |
required | Array of objects |
object | |
Array of objects or objects or objects or objects |
{- "data": [
- {
- "id": "36d5f208-5337-4db5-90de-4231c76a5146",
- "type": "change",
- "attributes": {
- "created_by": "cedric_toy",
- "name": "synthesize",
- "action": "synthesize",
- "initial_step_tree": null,
- "metadata": {
- "monitor": "overriding"
}, - "automated": true,
- "approved_by": [ ],
- "rejected_by": [ ],
- "status_code": "success",
- "created_at": "2025-02-13T04:18:46.240161Z",
- "started_at": "2025-02-13T04:11:51.988568Z",
- "finished_at": "2025-02-13T04:16:47.173037Z",
- "updated_at": "2025-02-13T04:18:46.245715Z",
- "asset_name": null,
- "environment_name": "Development",
- "project_name": "OpsChain",
- "git_remote_name": "github",
- "git_rev": "main",
- "commit_sha": "9df6ad59d0a68f3b6d391eb0cc1fffacbc89f908",
- "requires_approval_from": null
}, - "relationships": {
- "properties": {
- "data": {
- "id": "4a53d364-d951-48e2-9c99-c6a96eb97f2f",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/4a53d364-d951-48e2-9c99-c6a96eb97f2f"
}
}, - "parents": {
- "data": [
- {
- "id": "1c5cf677-d2ea-4413-bca1-3a1d2ff3325d",
- "type": "project"
}, - {
- "id": "5e209c70-be70-4018-8cdd-689bbe185da4",
- "type": "environment"
}
]
}, - "root_step": {
- "data": {
- "id": "e005a388-5a54-4a6f-9062-b1c9c3214faf",
- "type": "step"
}, - "links": {
- "related": "/api/steps/e005a388-5a54-4a6f-9062-b1c9c3214faf"
}
}, - "steps": {
- "data": [
- {
- "id": "e005a388-5a54-4a6f-9062-b1c9c3214faf",
- "type": "step"
}
]
}, - "workflow_run": {
- "data": null
}, - "workflow": {
- "data": null
}
}, - "links": {
- "git_remote": "/api/projects/opc/git_remotes/568332ed-9911-4240-bfb7-972f12272be6",
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc/environments/dev",
- "self": "/api/projects/opc/environments/dev/changes/36d5f208-5337-4db5-90de-4231c76a5146",
- "log_lines": "/api/changes/36d5f208-5337-4db5-90de-4231c76a5146/log_lines"
}, - "meta": { }
}
], - "included": [
- {
- "id": "e005a388-5a54-4a6f-9062-b1c9c3214faf",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "action": "synthesize",
- "name": "synthesize",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "36d5f208-5337-4db5-90de-4231c76a5146",
- "created_at": "2025-02-13T04:10:51.988568Z",
- "started_at": "2025-02-13T04:11:51.988568Z",
- "finished_at": "2025-02-13T04:16:47.173037Z",
- "updated_at": "2025-02-13T04:18:46.245715Z",
- "status_code": "success"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "4a53d364-d951-48e2-9c99-c6a96eb97f2f",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/4a53d364-d951-48e2-9c99-c6a96eb97f2f"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "36d5f208-5337-4db5-90de-4231c76a5146",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "4bb706f7-5978-43e6-b408-905741c33ed5",
- "type": "properties_version"
}, - {
- "id": "23c8843a-8c35-4b15-8f94-8f284a354448",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/36d5f208-5337-4db5-90de-4231c76a5146",
- "change": "/api/projects/opc/environments/dev/changes/36d5f208-5337-4db5-90de-4231c76a5146",
- "log_lines": "/api/steps/e005a388-5a54-4a6f-9062-b1c9c3214faf/log_lines",
- "self": "/api/steps/e005a388-5a54-4a6f-9062-b1c9c3214faf"
}
}, - {
- "id": "1c5cf677-d2ea-4413-bca1-3a1d2ff3325d",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "538c738c-e744-4d29-a522-214c99c4e27e",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/538c738c-e744-4d29-a522-214c99c4e27e"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "f984ea44-21b0-4bc6-be25-74b96e89cd32",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/f984ea44-21b0-4bc6-be25-74b96e89cd32"
}
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - {
- "id": "5e209c70-be70-4018-8cdd-689bbe185da4",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "0fe23369-3d92-4267-8065-4c48c94dcc16",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/0fe23369-3d92-4267-8065-4c48c94dcc16"
}
}, - "parents": {
- "data": [
- {
- "id": "1c5cf677-d2ea-4413-bca1-3a1d2ff3325d",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "7e502126-bc8b-4a26-9c41-a984a36b531e",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/7e502126-bc8b-4a26-9c41-a984a36b531e"
}
}, - "project": {
- "data": {
- "id": "1c5cf677-d2ea-4413-bca1-3a1d2ff3325d",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
], - "meta": {
- "partial_response": false,
- "has_any": true
}
}
Creates a change in a specific project, environment or asset.
Notes:
changes
path
(e.g. POST to /api/projects/{project_code}/changes
) the parent_path
request attributes must not be supplied
as the parent will be derived from the path./api/projects/{project_code}/assets/{asset_code}/changes
)
the git_remote_name
and git_rev
attributes must not be supplied as the Git remote and revision will be
derived from the asset's template.required | object |
{- "data": {
- "attributes": {
- "action": "parse",
- "parent_path": "/projects/opc/environments/dev",
- "git_remote_name": "github",
- "git_rev": "main",
- "metadata": {
- "panel": "quantifying"
}
}
}
}
{- "data": {
- "id": "0296dd30-44bf-4bd4-9da6-165a1af7aa0e",
- "type": "change",
- "attributes": {
- "created_by": "darell",
- "name": null,
- "action": "parse",
- "initial_step_tree": null,
- "metadata": {
- "matrix": "indexing"
}, - "automated": false,
- "approved_by": [ ],
- "rejected_by": [ ],
- "status_code": "initializing",
- "created_at": "2025-02-13T04:18:46.883285Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:18:46.886237Z",
- "asset_name": null,
- "environment_name": "Development",
- "project_name": "OpsChain",
- "git_remote_name": "github",
- "git_rev": "main",
- "commit_sha": null,
- "requires_approval_from": null
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "06bdb251-597d-4a53-8c67-9f485737615c",
- "type": "project"
}, - {
- "id": "a1bac869-f68c-4d3a-bb24-7e372f554df3",
- "type": "environment"
}
]
}, - "root_step": {
- "data": {
- "id": "2dca2da7-cf7a-4b67-b698-c37347d54870",
- "type": "step"
}, - "links": {
- "related": "/api/steps/2dca2da7-cf7a-4b67-b698-c37347d54870"
}
}, - "steps": {
- "data": [
- {
- "id": "2dca2da7-cf7a-4b67-b698-c37347d54870",
- "type": "step"
}
]
}, - "workflow_run": {
- "data": null
}, - "workflow": {
- "data": null
}
}, - "links": {
- "git_remote": "/api/projects/opc/git_remotes/5054721e-6413-4dd5-948c-301b336ea6d7",
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc/environments/dev",
- "self": "/api/projects/opc/environments/dev/changes/0296dd30-44bf-4bd4-9da6-165a1af7aa0e",
- "log_lines": "/api/changes/0296dd30-44bf-4bd4-9da6-165a1af7aa0e/log_lines"
}, - "meta": { }
}, - "included": [
- {
- "id": "2dca2da7-cf7a-4b67-b698-c37347d54870",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "action": "parse",
- "name": null,
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "0296dd30-44bf-4bd4-9da6-165a1af7aa0e",
- "created_at": "2025-02-13T04:18:46.886237Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:18:46.886237Z",
- "status_code": "initializing"
}, - "relationships": {
- "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "0296dd30-44bf-4bd4-9da6-165a1af7aa0e",
- "type": "change"
}
}, - "properties_versions": {
- "data": [ ]
}
}, - "links": {
- "parent": "/api/changes/0296dd30-44bf-4bd4-9da6-165a1af7aa0e",
- "change": "/api/projects/opc/environments/dev/changes/0296dd30-44bf-4bd4-9da6-165a1af7aa0e",
- "log_lines": "/api/steps/2dca2da7-cf7a-4b67-b698-c37347d54870/log_lines",
- "self": "/api/steps/2dca2da7-cf7a-4b67-b698-c37347d54870"
}
}
]
}
Shows a change, including it's parent nodes.
change_id required | string Example: 4da6cb56-64d1-4cf3-bad1-e0c103183f2a change id |
include | string Example: include=steps,parents Include the change steps and parents in the response |
required | object |
Array of objects or objects or objects or objects |
{- "data": {
- "id": "869f6943-4fd2-4ce9-a7e1-df32a6a47737",
- "type": "change",
- "attributes": {
- "created_by": "cleo",
- "name": "back_up",
- "action": "back_up",
- "initial_step_tree": null,
- "metadata": {
- "firewall": "bypassing"
}, - "automated": true,
- "approved_by": [ ],
- "rejected_by": [ ],
- "status_code": "success",
- "created_at": "2025-02-13T04:18:47.340479Z",
- "started_at": "2025-02-13T04:10:07.013374Z",
- "finished_at": "2025-02-13T04:13:32.724833Z",
- "updated_at": "2025-02-13T04:18:47.342774Z",
- "asset_name": null,
- "environment_name": "Development",
- "project_name": "OpsChain",
- "git_remote_name": "github",
- "git_rev": "main",
- "commit_sha": "d33bb3b20b7c6f1e54535cb876b1f33a329c07be",
- "requires_approval_from": null
}, - "relationships": {
- "properties": {
- "data": {
- "id": "b90b2a2c-16dd-478d-afe9-0d3f17692fe0",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/b90b2a2c-16dd-478d-afe9-0d3f17692fe0"
}
}, - "parents": {
- "data": [
- {
- "id": "e8ed8301-a3a0-4efe-94cf-35ea473fe9f2",
- "type": "project"
}, - {
- "id": "7c89d2bd-daf0-424f-908e-8cd2eb16d264",
- "type": "environment"
}
]
}, - "root_step": {
- "data": {
- "id": "dacbf483-f6b5-4893-be11-ff0282ae5c7c",
- "type": "step"
}, - "links": {
- "related": "/api/steps/dacbf483-f6b5-4893-be11-ff0282ae5c7c"
}
}, - "steps": {
- "data": [
- {
- "id": "dacbf483-f6b5-4893-be11-ff0282ae5c7c",
- "type": "step"
}
]
}, - "workflow_run": {
- "data": null
}, - "workflow": {
- "data": null
}
}, - "links": {
- "git_remote": "/api/projects/opc/git_remotes/d5ae6e49-a9a4-4ded-87f2-cf7850ed4397",
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc/environments/dev",
- "self": "/api/projects/opc/environments/dev/changes/869f6943-4fd2-4ce9-a7e1-df32a6a47737",
- "log_lines": "/api/changes/869f6943-4fd2-4ce9-a7e1-df32a6a47737/log_lines"
}, - "meta": {
- "parallel_changes_allowed": false,
- "blocked_by_change_in_same_parent": false,
- "blocked_by_queue": [ ]
}
}, - "included": [
- {
- "id": "dacbf483-f6b5-4893-be11-ff0282ae5c7c",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "action": "back_up",
- "name": "back_up",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "869f6943-4fd2-4ce9-a7e1-df32a6a47737",
- "created_at": "2025-02-13T04:09:07.013374Z",
- "started_at": "2025-02-13T04:10:07.013374Z",
- "finished_at": "2025-02-13T04:13:32.724833Z",
- "updated_at": "2025-02-13T04:18:47.342774Z",
- "status_code": "success"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "b90b2a2c-16dd-478d-afe9-0d3f17692fe0",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/b90b2a2c-16dd-478d-afe9-0d3f17692fe0"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "869f6943-4fd2-4ce9-a7e1-df32a6a47737",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "1d1da687-41e7-49b9-85e7-320d56c330df",
- "type": "properties_version"
}, - {
- "id": "9ef6d46a-22f8-4ea0-a561-3222fb3cedb8",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/869f6943-4fd2-4ce9-a7e1-df32a6a47737",
- "change": "/api/projects/opc/environments/dev/changes/869f6943-4fd2-4ce9-a7e1-df32a6a47737",
- "log_lines": "/api/steps/dacbf483-f6b5-4893-be11-ff0282ae5c7c/log_lines",
- "self": "/api/steps/dacbf483-f6b5-4893-be11-ff0282ae5c7c"
}
}, - {
- "id": "e8ed8301-a3a0-4efe-94cf-35ea473fe9f2",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "5731bf08-1698-4d79-b4d3-464957bcfd95",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/5731bf08-1698-4d79-b4d3-464957bcfd95"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "85654a17-51ca-438e-b93c-246ff075a347",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/85654a17-51ca-438e-b93c-246ff075a347"
}
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - {
- "id": "7c89d2bd-daf0-424f-908e-8cd2eb16d264",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "b805a725-72e1-496c-a890-ea6bf118991b",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/b805a725-72e1-496c-a890-ea6bf118991b"
}
}, - "parents": {
- "data": [
- {
- "id": "e8ed8301-a3a0-4efe-94cf-35ea473fe9f2",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "bd9bad16-e1d5-42d9-9285-b7a6ccf3b172",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/bd9bad16-e1d5-42d9-9285-b7a6ccf3b172"
}
}, - "project": {
- "data": {
- "id": "e8ed8301-a3a0-4efe-94cf-35ea473fe9f2",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
]
}
Lists all automation rules.
filter[<query/sort filter>]= | |
include | string Example: include=parents Include the automated change parents in the response |
required | Array of automated_change_rule_element (object) or automated_workflow_rule_element (object) |
Array of project_element (object) or environment_element (object) or asset_element (object) | |
object |
{- "data": [
- {
- "id": "e9d4e541-3192-4d13-8542-5ab42cc9c39b",
- "type": "automated_change_rule",
- "attributes": {
- "created_by": "keith_quigley",
- "cron_schedule": "27 17 7 9 *",
- "repeat": true,
- "metadata": {
- "pixel": "backing up"
}, - "enabled": true,
- "created_at": "2025-02-13T04:18:40.357717Z",
- "next_run_at": "2025-09-07T07:27:00.000000Z",
- "action": "calculate",
- "new_commits_only": true,
- "git_rev": "virtual",
- "project_name": "OpsChain",
- "project_code": "opc",
- "asset_code": null,
- "asset_name": null,
- "environment_code": "dev",
- "environment_name": "Development",
- "git_remote_name": "github"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "8f6e7312-5ba2-477e-8070-3bb772a37381",
- "type": "project"
}, - {
- "id": "5edae168-9990-4fdc-91b0-529aebef2f78",
- "type": "environment"
}
]
}
}, - "links": {
- "git_remote": "/api/projects/opc/git_remotes/46c621c9-0630-4658-a149-e00fefd9733a",
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc/environments/dev",
- "self": "/api/automation_rules/e9d4e541-3192-4d13-8542-5ab42cc9c39b"
}
}, - {
- "id": "888963ef-ca33-43d6-ad8b-0d7dccc8a3d2",
- "type": "automated_workflow_rule",
- "attributes": {
- "created_by": "shavonne",
- "cron_schedule": "46 2 8 8 *",
- "repeat": true,
- "metadata": {
- "feed": "hacking"
}, - "enabled": true,
- "created_at": "2025-02-13T04:18:40.618329Z",
- "next_run_at": "2025-08-07T16:46:00.000000Z",
- "workflow_code": "assets",
- "version": 1,
- "project_name": "OpsChain",
- "project_code": "opc"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "8f6e7312-5ba2-477e-8070-3bb772a37381",
- "type": "project"
}
]
}
}, - "links": {
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc",
- "self": "/api/automation_rules/888963ef-ca33-43d6-ad8b-0d7dccc8a3d2",
- "workflow": "/api/projects/opc/workflows/assets",
- "workflow_version": "/api/projects/opc/workflows/assets/versions/1"
}
}
], - "included": [
- {
- "id": "8f6e7312-5ba2-477e-8070-3bb772a37381",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "e248a61a-7b8f-4733-953c-8a6e8bfab70b",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/e248a61a-7b8f-4733-953c-8a6e8bfab70b"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "eb93f3a8-aa37-41b4-ba63-c7d9de6035f5",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/eb93f3a8-aa37-41b4-ba63-c7d9de6035f5"
}
}, - "children": {
- "data": [
- {
- "id": "5edae168-9990-4fdc-91b0-529aebef2f78",
- "type": "environment"
}, - {
- "id": "b6ed01f3-a7d3-4975-8b21-eb7f1eb404df",
- "type": "asset"
}, - {
- "id": "cb770814-9969-4255-a47e-c9329b242ce0",
- "type": "asset"
}
]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - {
- "id": "5edae168-9990-4fdc-91b0-529aebef2f78",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "30f6e1c0-7ce1-4561-8088-b7951db463eb",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/30f6e1c0-7ce1-4561-8088-b7951db463eb"
}
}, - "parents": {
- "data": [
- {
- "id": "8f6e7312-5ba2-477e-8070-3bb772a37381",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "755b8904-1397-4dbf-aa06-6fa22419ccb3",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/755b8904-1397-4dbf-aa06-6fa22419ccb3"
}
}, - "project": {
- "data": {
- "id": "8f6e7312-5ba2-477e-8070-3bb772a37381",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
], - "meta": {
- "has_any": true
}
}
Creates an automation rule in a specific project, environment or asset.
Notes:
When creating automation rules via a project, environment or asset automation_rules
path
(e.g. POST to /api/projects/{project_code}/automation_rules
) the parent_path
request attributes must not be supplied
as the parent will be derived from the path.
When creating automation rules for assets (e.g. POST to /api/projects/{project_code}/assets/{asset_code}/automation_rules
)
the git_remote_name
and git_rev
attributes must not be supplied as the Git remote and revision will be
derived from the asset's template.
See the various payload examples to understand the required fields for each possible request to this endpoint.
required | object |
{- "data": {
- "attributes": {
- "git_rev": "master",
- "action": "install_os",
- "cron_schedule": "1 22 23 3 *",
- "new_commits_only": true,
- "repeat": false,
- "metadata": {
- "panel": "overriding"
}, - "parent_path": "/projects/opc/environments/dev",
- "git_remote_name": "github"
}
}
}
{- "data": {
- "id": "47bf9f6a-66e4-43ed-b80c-c5ddd766f66c",
- "type": "automated_change_rule",
- "attributes": {
- "created_by": "bryon.mills",
- "cron_schedule": "11 23 21 7 *",
- "repeat": false,
- "metadata": {
- "bus": "indexing"
}, - "enabled": true,
- "created_at": "2025-02-13T04:18:41.349132Z",
- "next_run_at": "2025-07-21T13:11:00.000000Z",
- "action": "different_action",
- "new_commits_only": false,
- "git_rev": "primary",
- "project_name": "OpsChain",
- "project_code": "opc",
- "asset_code": null,
- "asset_name": null,
- "environment_code": "dev",
- "environment_name": "Development",
- "git_remote_name": "github"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "38a51465-1c0f-41a2-b3bd-36f61a55eee8",
- "type": "project"
}, - {
- "id": "8ebe6d64-79e0-480d-8f60-e8e008430489",
- "type": "environment"
}
]
}
}, - "links": {
- "git_remote": "/api/projects/opc/git_remotes/ab235f9b-33dc-4fb4-b807-abc95a1c2333",
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc/environments/dev",
- "self": "/api/automation_rules/47bf9f6a-66e4-43ed-b80c-c5ddd766f66c"
}
}
}
Shows an automation rule.
automated_change_id required | string Example: 42a2e6e5-80c6-4591-abcd-e6fd0ba0059d automated change id |
include | string Example: include=parents Include the automated change parents in the response |
required | automated_change_rule_element (object) or automated_workflow_rule_element (object) |
Array of project_element (object) or environment_element (object) or asset_element (object) |
{- "data": {
- "id": "80dd34af-3f9b-4284-9534-0244fcd6a3cd",
- "type": "automated_change_rule",
- "attributes": {
- "created_by": "stephanie",
- "cron_schedule": "3 11 8 12 *",
- "repeat": true,
- "metadata": {
- "feed": "hacking"
}, - "enabled": true,
- "created_at": "2025-02-13T04:18:41.962156Z",
- "next_run_at": "2025-12-08T00:03:00.000000Z",
- "action": "copy",
- "new_commits_only": true,
- "git_rev": "redundant",
- "project_name": "OpsChain",
- "project_code": "opc",
- "asset_code": null,
- "asset_name": null,
- "environment_code": "dev",
- "environment_name": "Development",
- "git_remote_name": "github"
}, - "relationships": {
- "parents": {
- "data": [
- {
- "id": "b40d1a55-a33e-4041-ae8e-e3e1df112f4d",
- "type": "project"
}, - {
- "id": "5e94fdc3-44ee-4243-aaa7-601b702e3789",
- "type": "environment"
}
]
}
}, - "links": {
- "git_remote": "/api/projects/opc/git_remotes/ca329efc-d37a-4e67-ba56-eeaeee7f49d7",
- "project": "/api/projects/opc",
- "parent": "/api/projects/opc/environments/dev",
- "self": "/api/automation_rules/80dd34af-3f9b-4284-9534-0244fcd6a3cd"
}
}, - "included": [
- {
- "id": "b40d1a55-a33e-4041-ae8e-e3e1df112f4d",
- "type": "project",
- "attributes": {
- "code": "opc",
- "name": "OpsChain",
- "description": "OpsChain project",
- "archived": false,
- "project_type": "Enterprise"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "0c9a2b8a-44ea-429f-81b5-5217fc78c4e8",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/0c9a2b8a-44ea-429f-81b5-5217fc78c4e8"
}
}, - "parents": {
- "data": [ ]
}, - "settings": {
- "data": {
- "id": "bbdfd89f-9daa-4fd9-bb5d-8e320af82f74",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/bbdfd89f-9daa-4fd9-bb5d-8e320af82f74"
}
}, - "children": {
- "data": [
- {
- "id": "5e94fdc3-44ee-4243-aaa7-601b702e3789",
- "type": "environment"
}, - {
- "id": "8cad6bd2-7d4c-4e3a-a57f-85925e6afd8f",
- "type": "asset"
}, - {
- "id": "2a343ec4-0b2b-470a-8d48-34b7020a1c51",
- "type": "asset"
}
]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc",
- "bookmarks": "/api/projects/opc/bookmarks",
- "changes": "/api/projects/opc/changes",
- "automation_rules": "/api/projects/opc/automation_rules",
- "git_remotes": "/api/projects/opc/git_remotes",
- "workflows": "/api/projects/opc/workflows",
- "workflow_runs": "/api/projects/opc/workflow_runs",
- "templates": "/api/projects/opc/templates",
- "environments": "/api/projects/opc/environments",
- "assets": "/api/projects/opc/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": true,
- "requires_template": false,
- "child_node_types": [
- "environment",
- "asset"
], - "can_have_workflows": true,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "git_remotes": {
- "read": true,
- "update": true
}, - "templates": {
- "read": true,
- "update": true
}, - "workflows": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "workflow_runs": {
- "read": true,
- "execute": true
}, - "environments": {
- "read": true,
- "update": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}, - {
- "id": "5e94fdc3-44ee-4243-aaa7-601b702e3789",
- "type": "environment",
- "attributes": {
- "code": "dev",
- "name": "Development",
- "description": "OpsChain development environment",
- "archived": false
}, - "relationships": {
- "properties": {
- "data": {
- "id": "cdcbd947-664b-4d28-8811-23825dfe3f67",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/cdcbd947-664b-4d28-8811-23825dfe3f67"
}
}, - "parents": {
- "data": [
- {
- "id": "b40d1a55-a33e-4041-ae8e-e3e1df112f4d",
- "type": "project"
}
]
}, - "settings": {
- "data": {
- "id": "f6fdc42c-24dc-4682-974a-f8dd4ea70ebe",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/f6fdc42c-24dc-4682-974a-f8dd4ea70ebe"
}
}, - "project": {
- "data": {
- "id": "b40d1a55-a33e-4041-ae8e-e3e1df112f4d",
- "type": "project"
}, - "links": {
- "related": "/api/projects/opc"
}
}, - "children": {
- "data": [ ]
}, - "bookmarks": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/environments/dev",
- "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
- "changes": "/api/projects/opc/environments/dev/changes",
- "automation_rules": "/api/projects/opc/environments/dev/automation_rules",
- "parent": "/api/projects/opc",
- "assets": "/api/projects/opc/environments/dev/assets"
}, - "meta": {
- "can_have_changes": true,
- "can_have_children": true,
- "can_have_properties": true,
- "can_have_settings": true,
- "can_have_templates": false,
- "requires_template": false,
- "child_node_types": [
- "asset"
], - "can_have_workflows": false,
- "authorisations": {
- "properties": {
- "read": true,
- "update": true
}, - "settings": {
- "read": true,
- "update": true
}, - "automation_rules": {
- "read": true,
- "update": true
}, - "changes": {
- "read": true,
- "execute": true
}, - "assets": {
- "read": true,
- "update": true
}, - "self": {
- "update": true
}
}
}
}
]
}
Endpoints to interact with change steps.
Lists all steps.
filter[<query/sort filter>]= |
required | Array of objects |
{- "data": [
- {
- "id": "867d7677-e19c-4738-80e9-dd6d8ea0fdd0",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "action": "program",
- "name": "program",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "fbe44355-7461-4945-87ee-02bf3e00c072",
- "created_at": "2025-02-13T04:08:38.466018Z",
- "started_at": "2025-02-13T04:09:38.466018Z",
- "finished_at": "2025-02-13T04:15:48.954533Z",
- "updated_at": "2025-02-13T04:19:05.587568Z",
- "status_code": "success"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "6b033f83-fe16-4349-9b29-09309c62ebec",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/6b033f83-fe16-4349-9b29-09309c62ebec"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "fbe44355-7461-4945-87ee-02bf3e00c072",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "cd329dc4-88d5-4572-af04-c11d5e577e6a",
- "type": "properties_version"
}, - {
- "id": "f1f21d5e-b897-42da-9a30-53df02c61abd",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/fbe44355-7461-4945-87ee-02bf3e00c072",
- "change": "/api/projects/opc/environments/dev/changes/fbe44355-7461-4945-87ee-02bf3e00c072",
- "log_lines": "/api/steps/867d7677-e19c-4738-80e9-dd6d8ea0fdd0/log_lines",
- "self": "/api/steps/867d7677-e19c-4738-80e9-dd6d8ea0fdd0"
}
}
]
}
Shows a change step.
step_id required | string Example: 793fc072-e40e-4327-b001-40c13e8896d0 step id |
required | object |
Array of objects or objects |
{- "data": {
- "id": "945eb6f1-2807-438d-a76c-9a292c145cfa",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "action": "hack",
- "name": "hack",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "dc0ca097-17ae-4b49-a871-092252cdcf6e",
- "created_at": "2025-02-13T04:09:15.000191Z",
- "started_at": "2025-02-13T04:10:15.000191Z",
- "finished_at": "2025-02-13T04:12:18.268089Z",
- "updated_at": "2025-02-13T04:19:05.845270Z",
- "status_code": "success"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "436b585b-4052-4dd3-9d9a-fca51b5334a0",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/436b585b-4052-4dd3-9d9a-fca51b5334a0"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "dc0ca097-17ae-4b49-a871-092252cdcf6e",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "d8a54627-a978-4694-8f53-8b4a6498b6db",
- "type": "properties_version"
}, - {
- "id": "14c71a31-f25d-4a08-bb4a-c55371ea8162",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/dc0ca097-17ae-4b49-a871-092252cdcf6e",
- "change": "/api/projects/opc/environments/dev/changes/dc0ca097-17ae-4b49-a871-092252cdcf6e",
- "log_lines": "/api/steps/945eb6f1-2807-438d-a76c-9a292c145cfa/log_lines",
- "self": "/api/steps/945eb6f1-2807-438d-a76c-9a292c145cfa"
}
}, - "included": [
- {
- "id": "d8a54627-a978-4694-8f53-8b4a6498b6db",
- "type": "properties_version",
- "attributes": {
- "data": {
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1,
- "created_at": "2025-02-13T04:19:05.741877Z",
- "owner_type": "project"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "90d996ee-8375-46f1-8e67-6e503b4f820b",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/90d996ee-8375-46f1-8e67-6e503b4f820b"
}
}
}, - "links": {
- "versions": "/api/properties/90d996ee-8375-46f1-8e67-6e503b4f820b/versions",
- "owner": "/api/projects/opc",
- "self": "/api/properties/90d996ee-8375-46f1-8e67-6e503b4f820b/versions/1"
}
}, - {
- "id": "14c71a31-f25d-4a08-bb4a-c55371ea8162",
- "type": "properties_version",
- "attributes": {
- "data": { },
- "version": 1,
- "created_at": "2025-02-13T04:19:05.779507Z",
- "owner_type": "environment"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "0549b911-1348-43a1-bb87-3ddd0f2426a9",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/0549b911-1348-43a1-bb87-3ddd0f2426a9"
}
}
}, - "links": {
- "versions": "/api/properties/0549b911-1348-43a1-bb87-3ddd0f2426a9/versions",
- "owner": "/api/projects/opc/environments/dev",
- "self": "/api/properties/0549b911-1348-43a1-bb87-3ddd0f2426a9/versions/1"
}
}, - {
- "id": "436b585b-4052-4dd3-9d9a-fca51b5334a0",
- "type": "properties",
- "attributes": {
- "data": {
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}, - "version": 1,
- "created_at": "2025-02-13T04:19:05.835312Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/steps/945eb6f1-2807-438d-a76c-9a292c145cfa"
}
}
}, - "links": {
- "self": "/api/properties/436b585b-4052-4dd3-9d9a-fca51b5334a0",
- "current_version": "/api/properties/436b585b-4052-4dd3-9d9a-fca51b5334a0/versions/1",
- "versions": "/api/properties/436b585b-4052-4dd3-9d9a-fca51b5334a0/versions"
}
}
]
}
Continues a "waiting" change step.
step_id required | string Example: 5e1661d0-c945-46d3-b2c5-20ab75f80707 step id |
object |
required | object |
Array of objects or objects |
{- "data": {
- "attributes": {
- "message": "Manually removed from load balancer."
}
}
}
{- "data": {
- "id": "49a1c56f-6328-4933-9a37-8040d2d4b318",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [
- {
- "username": "kaycee_mclaughlin",
- "message": null
}
], - "requires_approval_from": null,
- "action": "back_up",
- "name": "back_up",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "6fa6f8a6-7469-4654-a73b-365be5a03d87",
- "created_at": "2025-02-13T04:08:43.794858Z",
- "started_at": "2025-02-13T04:09:43.794858Z",
- "finished_at": "2025-02-13T04:19:07.324745Z",
- "updated_at": "2025-02-13T04:19:07.346512Z",
- "status_code": "success"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "f3db0280-74f7-4bc0-b88f-2df48be532cd",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/f3db0280-74f7-4bc0-b88f-2df48be532cd"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "6fa6f8a6-7469-4654-a73b-365be5a03d87",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "6e5aeaf2-4cc6-4776-a097-72ae10f6729d",
- "type": "properties_version"
}, - {
- "id": "04268998-e5c5-4521-a5f0-50eefda990e9",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/6fa6f8a6-7469-4654-a73b-365be5a03d87",
- "change": "/api/projects/opc/environments/dev/changes/6fa6f8a6-7469-4654-a73b-365be5a03d87",
- "log_lines": "/api/steps/49a1c56f-6328-4933-9a37-8040d2d4b318/log_lines",
- "self": "/api/steps/49a1c56f-6328-4933-9a37-8040d2d4b318"
}
}
}
Approves a change step that needs approval.
step_id required | string Example: 5e1661d0-c945-46d3-b2c5-20ab75f80707 step id |
object |
required | object |
Array of objects or objects |
{- "data": {
- "attributes": {
- "message": "As per CR 7 👍"
}
}
}
{- "data": {
- "id": "43a0af6c-05ab-4f66-836e-5b9258a1594d",
- "type": "step",
- "attributes": {
- "approved_by": [
- {
- "username": "warner_mann",
- "message": null
}
], - "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": "an-ldap-group",
- "action": "reboot",
- "name": "reboot",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "2e23ddaf-d32b-48a8-9408-542a42b7f093",
- "created_at": "2025-02-13T04:10:09.759052Z",
- "started_at": "2025-02-13T04:11:09.759052Z",
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:08.230285Z",
- "status_code": "queued"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "c500a695-3e7d-4d05-b722-e87199082ed8",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/c500a695-3e7d-4d05-b722-e87199082ed8"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "2e23ddaf-d32b-48a8-9408-542a42b7f093",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "43f284eb-34f2-4161-acc9-cfeebfd7ca01",
- "type": "properties_version"
}, - {
- "id": "a5c5a539-94bc-4cf0-b17c-837e4559dafe",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/2e23ddaf-d32b-48a8-9408-542a42b7f093",
- "change": "/api/projects/opc/environments/dev/changes/2e23ddaf-d32b-48a8-9408-542a42b7f093",
- "log_lines": "/api/steps/43a0af6c-05ab-4f66-836e-5b9258a1594d/log_lines",
- "self": "/api/steps/43a0af6c-05ab-4f66-836e-5b9258a1594d"
}
}
}
Rejects a change step that needs approval.
step_id required | string Example: 5e1661d0-c945-46d3-b2c5-20ab75f80707 step id |
object |
required | object |
Array of objects or objects |
{- "data": {
- "attributes": {
- "message": "Failed user acceptance testing"
}
}
}
{- "data": {
- "id": "43037504-adf7-4fd9-b0d0-a5bf21153ce1",
- "type": "step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [
- {
- "username": "theo_pfeffer",
- "message": null
}
], - "continued_by": [ ],
- "requires_approval_from": "an-ldap-group",
- "action": "back_up",
- "name": "back_up",
- "step_type": "standard",
- "child_execution_strategy": "sequential",
- "change_id": "56bcbe48-a472-498e-892c-62377660a460",
- "created_at": "2025-02-13T04:12:13.535261Z",
- "started_at": "2025-02-13T04:13:13.535261Z",
- "finished_at": "2025-02-13T04:19:09.164775Z",
- "updated_at": "2025-02-13T04:19:09.172516Z",
- "status_code": "rejected"
}, - "relationships": {
- "properties": {
- "data": {
- "id": "42367f19-7779-4544-a380-53480de1c4bc",
- "type": "properties"
}, - "links": {
- "related": "/api/properties/42367f19-7779-4544-a380-53480de1c4bc"
}
}, - "children": {
- "data": [ ]
}, - "change": {
- "data": {
- "id": "56bcbe48-a472-498e-892c-62377660a460",
- "type": "change"
}
}, - "properties_versions": {
- "data": [
- {
- "id": "d3294db8-9bb8-4f33-975e-864bcb6fc5cb",
- "type": "properties_version"
}, - {
- "id": "0e032663-6417-440a-aafe-9d05092e513f",
- "type": "properties_version"
}
]
}
}, - "links": {
- "parent": "/api/changes/56bcbe48-a472-498e-892c-62377660a460",
- "change": "/api/projects/opc/environments/dev/changes/56bcbe48-a472-498e-892c-62377660a460",
- "log_lines": "/api/steps/43037504-adf7-4fd9-b0d0-a5bf21153ce1/log_lines",
- "self": "/api/steps/43037504-adf7-4fd9-b0d0-a5bf21153ce1"
}
}
}
List the log lines for a change.
change_id required | string Example: 4da6cb56-64d1-4cf3-bad1-e0c103183f2a |
filter[<query/sort filter>]= | |
download | string Example: download=change.log Download the log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
required | Array of objects |
object |
{- "data": [
- {
- "id": "86153223-f62e-4c12-ab84-e645d3b1c873",
- "type": "log_line",
- "attributes": {
- "change_id": "c307a7e7-22aa-4d8c-9ea6-8f1c20452263",
- "step_id": "bd2b1728-f2f8-40c0-bc6c-83869c6b647e",
- "message": "Libero reprehenderit quia rerum.",
- "logged_at": "2025-02-12T00:00:00.000000Z"
}
}
], - "meta": {
- "partial_response": false
}
}
List the log lines for a change step.
step_id required | string Example: 793fc072-e40e-4327-b001-40c13e8896d0 |
filter[<query/sort filter>]= | |
download | string Example: download=step.log Download the log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
required | Array of objects |
object |
{- "data": [
- {
- "id": "67eef1b8-a4ad-4c42-96c3-1a9d91f03919",
- "type": "log_line",
- "attributes": {
- "change_id": "fadd2ccf-1828-4cc1-b723-49bef3feeb99",
- "step_id": "7914ea70-f226-4ef4-ad84-d4c1969a64d6",
- "message": "Unde corporis ullam consequatur.",
- "logged_at": "2025-02-12T00:00:00.000000Z"
}
}
], - "meta": {
- "partial_response": false
}
}
List filtered log lines.
filter[<query/sort filter>]= | |
limit | integer [ 1 .. 1000 ] Default: 10000 Example: limit=50 Limit the number of log lines returned |
download | string Example: download=opschain.log Download the filtered log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested. |
required | Array of objects |
object |
{- "data": [
- {
- "id": "030c1ec8-ca16-4a9c-9155-c26445f12f1b",
- "type": "log_line",
- "attributes": {
- "change_id": "860f361d-d47d-4f5e-b46f-4af5d3c22b97",
- "step_id": "aa233dae-562f-425e-9fb1-1f81b581a1c0",
- "message": "Quia rerum at voluptatibus.",
- "logged_at": "2025-02-12T00:00:00.000000Z"
}
}
], - "meta": {
- "partial_response": false
}
}
Endpoints to interact with workflow runs
Notes:
/workflow_runs
- will return all workflow runs accessible to the user./project/{project_code}/workflow_runs
- will return all workflow runs for all this project's workflows./project/{project_code}/workflows/{workflow_code}/workflow_runs
- will return all workflow runs this workflow./<path/to/asset>/workflow_runs
- will return all workflow runs that include a change for this asset.Lists all runs for a workflow.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
required | Array of objects |
object | |
Array of objects or objects or objects or objects or objects |
{- "data": [
- {
- "id": "f38f1d31-e626-4f72-9aa7-942f9532e6de",
- "type": "workflow_run",
- "attributes": {
- "step_tree": {
- "id": "3e4c4e37-c2cb-422c-bb66-2224132714d8",
- "name": "facilis",
- "type": "workflow_noop_step",
- "children": [
- {
- "id": "3d47df2f-6dc6-49d3-9631-c92920830e54",
- "name": "doloremque",
- "type": "workflow_noop_step",
- "children": [
- {
- "id": "0b4a171c-ee4b-499f-b7f8-97bda6f0366f",
- "name": "copy",
- "type": "workflow_change_step",
- "action": "copy",
- "target": "/projects/mejel/environments/pobo4/assets/kc5gh",
- "children": [ ]
}
]
}, - {
- "id": "42943daa-3fdf-4865-987b-09fb10a1b29a",
- "name": "hack",
- "type": "workflow_change_step",
- "action": "hack",
- "target": "/projects/803jg/environments/8d9ch/assets/3byph",
- "children": [ ]
}, - {
- "id": "81b64307-2060-48a6-82c1-2a3ed4c7e5b7",
- "name": "Wait",
- "type": "workflow_wait_step",
- "children": [ ]
}, - {
- "id": "8d15c89c-ca87-4afb-b627-1bc254dcd8a2",
- "name": "child workflow",
- "type": "workflow_workflow_step",
- "children": [ ]
}
]
}, - "automated": false,
- "metadata": {
- "Subin": "8.4",
- "Lotlux": "0.8.1",
- "Sub-Ex": "0.7.1",
- "Zoolab": "0.43",
- "Matsoft": "0.75",
- "Alphazap": "0.1.4",
- "Domainer": "0.6.0",
- "Wrapsafe": "9.37",
- "Cardguard": "8.1.9"
}, - "created_by": "barton.krajcik",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:14.469551Z",
- "started_at": "2025-02-13T04:11:20.375014Z",
- "finished_at": "2025-02-13T04:17:33.742840Z",
- "updated_at": "2025-02-13T04:19:14.472254Z",
- "project_name": "OpsChain"
}, - "relationships": {
- "workflow_version": {
- "data": {
- "id": "6111e6c3-ee9d-4b93-81da-e4e24e7d1ea9",
- "type": "workflow_version"
}
}, - "parent_workflow_step": {
- "data": null
}, - "root_step": {
- "data": {
- "id": "3e4c4e37-c2cb-422c-bb66-2224132714d8",
- "type": "workflow_noop_step"
}
}, - "steps": {
- "data": [
- {
- "id": "3e4c4e37-c2cb-422c-bb66-2224132714d8",
- "type": "workflow_noop_step"
}, - {
- "id": "3d47df2f-6dc6-49d3-9631-c92920830e54",
- "type": "workflow_noop_step"
}, - {
- "id": "0b4a171c-ee4b-499f-b7f8-97bda6f0366f",
- "type": "workflow_change_step"
}, - {
- "id": "42943daa-3fdf-4865-987b-09fb10a1b29a",
- "type": "workflow_change_step"
}, - {
- "id": "81b64307-2060-48a6-82c1-2a3ed4c7e5b7",
- "type": "workflow_wait_step"
}, - {
- "id": "8d15c89c-ca87-4afb-b627-1bc254dcd8a2",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "parent": "/api/projects/opc",
- "self": "/api/projects/opc/workflows/assets/runs/f38f1d31-e626-4f72-9aa7-942f9532e6de"
}, - "meta": { }
}
], - "included": [
- {
- "id": "6111e6c3-ee9d-4b93-81da-e4e24e7d1ea9",
- "type": "workflow_version",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "draft": false,
- "archived": false,
- "version": 1,
- "created_by": "apolonia",
- "created_at": "2025-02-13T04:19:14.460059Z",
- "updated_at": "2025-02-13T04:19:14.460059Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: apolonia\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/versions/1",
- "runs": "/api/projects/opc/workflows/assets/versions/1/runs",
- "workflow": "/api/projects/opc/workflows/assets",
- "project": "/api/projects/opc"
}
}
], - "meta": {
- "partial_response": false
}
}
Runs a pre-defined workflow
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
required | object |
{- "data": {
- "attributes": {
- "workflow_code": "assets"
}
}
}
{- "data": {
- "id": "33444413-548e-4c2d-b81d-bde6354103f2",
- "type": "workflow_run",
- "attributes": {
- "step_tree": {
- "id": "b290b98b-60a1-445c-a89f-1614cbdc10e4",
- "name": "assets workflow",
- "type": "workflow_noop_step",
- "children": [
- {
- "id": "6b9f93dd-f7e8-4dd0-85fe-c2439c1d24b8",
- "name": "run asset action",
- "type": "workflow_change_step",
- "children": [ ],
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "automated": false,
- "metadata": { },
- "created_by": "kizzie",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:16.273267Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:16.275708Z",
- "project_name": "OpsChain"
}, - "relationships": {
- "workflow_version": {
- "data": {
- "id": "b060836c-5e0f-41ff-a50d-4d35b6ced77b",
- "type": "workflow_version"
}
}, - "parent_workflow_step": {
- "data": null
}, - "root_step": {
- "data": {
- "id": "b290b98b-60a1-445c-a89f-1614cbdc10e4",
- "type": "workflow_noop_step"
}
}, - "steps": {
- "data": [
- {
- "id": "b290b98b-60a1-445c-a89f-1614cbdc10e4",
- "type": "workflow_noop_step"
}, - {
- "id": "6b9f93dd-f7e8-4dd0-85fe-c2439c1d24b8",
- "type": "workflow_change_step"
}
]
}
}, - "links": {
- "parent": "/api/projects/opc",
- "self": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2"
}, - "meta": { }
}, - "included": [
- {
- "id": "b060836c-5e0f-41ff-a50d-4d35b6ced77b",
- "type": "workflow_version",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "draft": false,
- "archived": false,
- "version": 1,
- "created_by": "ronald_smitham",
- "created_at": "2025-02-13T04:19:15.819175Z",
- "updated_at": "2025-02-13T04:19:15.819175Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: ronald_smitham\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa",
- "change_parent": {
- "id": "27512354-e3b6-449e-8957-e5caf0a4d8af",
- "path": "/projects/opc/assets/prj_soa",
- "parent_path": "/projects/opc",
- "project_id": "6db2b67d-ef6a-4d17-b61d-d88e91cd9926",
- "node_type": "asset",
- "parent_id": "6db2b67d-ef6a-4d17-b61d-d88e91cd9926",
- "code": "prj_soa",
- "name": "Project asset",
- "description": "Project asset description",
- "archived": false,
- "created_at": "2025-02-13T04:19:15.768Z",
- "updated_at": "2025-02-13T04:19:15.768Z",
- "project_type": null,
- "template_version_id": "b0d81e70-0669-4314-a63d-2c8a8432d2a6"
}, - "template_version": "2023_Q4_2"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/versions/1",
- "runs": "/api/projects/opc/workflows/assets/versions/1/runs",
- "workflow": "/api/projects/opc/workflows/assets",
- "project": "/api/projects/opc"
}
}, - {
- "id": "b290b98b-60a1-445c-a89f-1614cbdc10e4",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "kizzie",
- "name": "assets workflow",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:16.275708Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:16.275708Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "33444413-548e-4c2d-b81d-bde6354103f2",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "6b9f93dd-f7e8-4dd0-85fe-c2439c1d24b8",
- "type": "workflow_change_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2/steps/b290b98b-60a1-445c-a89f-1614cbdc10e4",
- "parent": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2"
}
}, - {
- "id": "6b9f93dd-f7e8-4dd0-85fe-c2439c1d24b8",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "kizzie",
- "name": "run asset action",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:16.279365Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:16.279365Z",
- "action": "run"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "27512354-e3b6-449e-8957-e5caf0a4d8af",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "33444413-548e-4c2d-b81d-bde6354103f2",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2/steps/6b9f93dd-f7e8-4dd0-85fe-c2439c1d24b8",
- "parent": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2/steps/b290b98b-60a1-445c-a89f-1614cbdc10e4",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/33444413-548e-4c2d-b81d-bde6354103f2"
}
}
]
}
Shows a workflow run.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
required | object |
Array of objects or objects or objects or objects or objects |
{- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run",
- "attributes": {
- "step_tree": {
- "id": "568684a7-6d9b-4238-ab25-6954fe85b765",
- "name": "non",
- "type": "workflow_noop_step",
- "children": [
- {
- "id": "30972fb9-72f8-426f-9f83-e55b633ce807",
- "name": "sint",
- "type": "workflow_noop_step",
- "children": [
- {
- "id": "eef53491-177c-4224-97cf-750efefa4b72",
- "name": "quantify",
- "type": "workflow_change_step",
- "action": "quantify",
- "target": "/projects/u5mdz/environments/twhb8/assets/icr2y",
- "children": [ ]
}
]
}, - {
- "id": "64fa2d56-1558-4b40-9670-9f76ef77ba14",
- "name": "index",
- "type": "workflow_change_step",
- "action": "index",
- "target": "/projects/m9kij/environments/vzg4z/assets/znooc",
- "children": [ ]
}, - {
- "id": "d642fbb3-1e5a-4e4f-a6e4-74c787596f4c",
- "name": "Wait",
- "type": "workflow_wait_step",
- "children": [ ]
}, - {
- "id": "e7e1fb19-0663-4be7-b328-fb194821f5c3",
- "name": "child workflow",
- "type": "workflow_workflow_step",
- "children": [ ]
}
]
}, - "automated": false,
- "metadata": {
- "Bigtax": "2.75",
- "Biodex": "7.9.0",
- "Zoolab": "2.7",
- "Matsoft": "0.17",
- "Regrant": "0.72",
- "Treeflex": "3.5",
- "Holdlamis": "0.9.3",
- "Mat Lam Tam": "3.0",
- "Toughjoyfax": "0.55"
}, - "created_by": "walton",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:18.816987Z",
- "started_at": "2025-02-13T04:11:08.805880Z",
- "finished_at": "2025-02-13T04:13:26.184351Z",
- "updated_at": "2025-02-13T04:19:18.820756Z",
- "project_name": "OpsChain"
}, - "relationships": {
- "workflow_version": {
- "data": {
- "id": "87176f0e-11fd-4cfa-bd4e-fcd091d6968a",
- "type": "workflow_version"
}
}, - "parent_workflow_step": {
- "data": null
}, - "root_step": {
- "data": {
- "id": "568684a7-6d9b-4238-ab25-6954fe85b765",
- "type": "workflow_noop_step"
}
}, - "steps": {
- "data": [
- {
- "id": "568684a7-6d9b-4238-ab25-6954fe85b765",
- "type": "workflow_noop_step"
}, - {
- "id": "30972fb9-72f8-426f-9f83-e55b633ce807",
- "type": "workflow_noop_step"
}, - {
- "id": "eef53491-177c-4224-97cf-750efefa4b72",
- "type": "workflow_change_step"
}, - {
- "id": "64fa2d56-1558-4b40-9670-9f76ef77ba14",
- "type": "workflow_change_step"
}, - {
- "id": "d642fbb3-1e5a-4e4f-a6e4-74c787596f4c",
- "type": "workflow_wait_step"
}, - {
- "id": "e7e1fb19-0663-4be7-b328-fb194821f5c3",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "parent": "/api/projects/opc",
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}, - "meta": {
- "parallel_workflows_allowed": false,
- "blocked_by_same_workflow_running": false,
- "blocked_by_queue": [ ]
}
}, - "included": [
- {
- "id": "87176f0e-11fd-4cfa-bd4e-fcd091d6968a",
- "type": "workflow_version",
- "attributes": {
- "code": "assets",
- "name": "assets workflow",
- "description": "workflow for assets",
- "draft": false,
- "archived": false,
- "version": 1,
- "created_by": "ezequiel",
- "created_at": "2025-02-13T04:19:18.804802Z",
- "updated_at": "2025-02-13T04:19:18.804802Z",
- "source_yaml": "---\ncode: assets\nname: assets workflow\ndescription: workflow for assets\ncreated_by: ezequiel\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
- "steps": [
- {
- "name": "run asset action",
- "type": "change",
- "action": "run",
- "target": "/projects/opc/assets/prj_soa"
}
]
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/versions/1",
- "runs": "/api/projects/opc/workflows/assets/versions/1/runs",
- "workflow": "/api/projects/opc/workflows/assets",
- "project": "/api/projects/opc"
}
}, - {
- "id": "568684a7-6d9b-4238-ab25-6954fe85b765",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "walton",
- "name": "non",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:18.820756Z",
- "started_at": "2025-02-13T04:11:08.805880Z",
- "finished_at": "2025-02-13T04:13:26.184351Z",
- "updated_at": "2025-02-13T04:19:18.820756Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "30972fb9-72f8-426f-9f83-e55b633ce807",
- "type": "workflow_noop_step"
}, - {
- "id": "64fa2d56-1558-4b40-9670-9f76ef77ba14",
- "type": "workflow_change_step"
}, - {
- "id": "d642fbb3-1e5a-4e4f-a6e4-74c787596f4c",
- "type": "workflow_wait_step"
}, - {
- "id": "e7e1fb19-0663-4be7-b328-fb194821f5c3",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/568684a7-6d9b-4238-ab25-6954fe85b765",
- "parent": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}
}, - {
- "id": "30972fb9-72f8-426f-9f83-e55b633ce807",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 2,
- "created_by": "walton",
- "name": "sint",
- "status_code": "running",
- "created_at": "2025-02-13T04:19:18.826197Z",
- "started_at": "2025-02-13T04:19:19.018637Z",
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:19.021052Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "eef53491-177c-4224-97cf-750efefa4b72",
- "type": "workflow_change_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/30972fb9-72f8-426f-9f83-e55b633ce807",
- "parent": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/568684a7-6d9b-4238-ab25-6954fe85b765",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}
}, - {
- "id": "eef53491-177c-4224-97cf-750efefa4b72",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "walton",
- "name": "quantify",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:19.026105Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:19.026105Z",
- "action": "quantify"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "aedeb9eb-bad7-4ac3-9e71-788a5c4a160a",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/eef53491-177c-4224-97cf-750efefa4b72",
- "parent": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/30972fb9-72f8-426f-9f83-e55b633ce807",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}
}, - {
- "id": "64fa2d56-1558-4b40-9670-9f76ef77ba14",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "walton",
- "name": "index",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:19.212811Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:19.212811Z",
- "action": "index"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "f7019bb3-d54f-42a9-91a5-937f22009744",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/64fa2d56-1558-4b40-9670-9f76ef77ba14",
- "parent": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/568684a7-6d9b-4238-ab25-6954fe85b765",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}
}, - {
- "id": "d642fbb3-1e5a-4e4f-a6e4-74c787596f4c",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "lock_version": 0,
- "created_by": "walton",
- "name": "Wait",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:19.221458Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:19.221458Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/d642fbb3-1e5a-4e4f-a6e4-74c787596f4c",
- "parent": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/568684a7-6d9b-4238-ab25-6954fe85b765",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}
}, - {
- "id": "e7e1fb19-0663-4be7-b328-fb194821f5c3",
- "type": "workflow_workflow_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "walton",
- "name": "child workflow",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:19.305327Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:19.305327Z",
- "code": "qvxxo"
}, - "relationships": {
- "child_workflow_version": {
- "data": {
- "id": "44008238-6220-490f-b332-3773882222db",
- "type": "workflow_version"
}
}, - "child_workflow_run": {
- "data": null
}, - "workflow_run": {
- "data": {
- "id": "5c638f16-8d0b-46a0-af47-c0d3b69b0e08",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/e7e1fb19-0663-4be7-b328-fb194821f5c3",
- "parent": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08/steps/568684a7-6d9b-4238-ab25-6954fe85b765",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5c638f16-8d0b-46a0-af47-c0d3b69b0e08"
}
}
]
}
Cancels a workflow run.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
{ }
Lists all workflow steps.
required | Array of workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": [
- {
- "id": "35b288a8-cccb-477e-a444-7f3254edabdb",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "lock_version": 0,
- "created_by": "abe",
- "name": "Wait",
- "status_code": "continued",
- "created_at": "2025-02-13T04:11:03.352103Z",
- "started_at": "2025-02-13T04:12:03.352103Z",
- "finished_at": "2025-02-13T04:16:32.204697Z",
- "updated_at": "2025-02-13T04:19:24.343938Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/35b288a8-cccb-477e-a444-7f3254edabdb",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "c87267d6-9552-4ed4-821b-27f01c576802",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "abe",
- "name": "occaecati",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:23.422761Z",
- "started_at": "2025-02-13T04:14:21.247853Z",
- "finished_at": "2025-02-13T04:17:19.795636Z",
- "updated_at": "2025-02-13T04:19:23.422761Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "35b288a8-cccb-477e-a444-7f3254edabdb",
- "type": "workflow_wait_step"
}, - {
- "id": "7cb5dc4f-ec66-40dd-8195-60a8a37ac745",
- "type": "workflow_noop_step"
}, - {
- "id": "3fb43316-a660-442f-a4cf-6098ae8c0ff3",
- "type": "workflow_change_step"
}, - {
- "id": "837d1c89-218b-41ba-8681-f59d21256791",
- "type": "workflow_wait_step"
}, - {
- "id": "a395d746-4259-4657-aa66-2413b589f6fd",
- "type": "workflow_workflow_step"
}, - {
- "id": "42ca6e93-16fc-473a-b88c-dfddd47584d0",
- "type": "workflow_change_step"
}, - {
- "id": "bc20f0af-df7e-4a6d-adf0-21260cf43e16",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "7cb5dc4f-ec66-40dd-8195-60a8a37ac745",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 2,
- "created_by": "abe",
- "name": "eveniet",
- "status_code": "running",
- "created_at": "2025-02-13T04:19:23.432259Z",
- "started_at": "2025-02-13T04:19:23.940272Z",
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:23.941856Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "f2006bec-ad23-4df1-af93-9327ff952392",
- "type": "workflow_change_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/7cb5dc4f-ec66-40dd-8195-60a8a37ac745",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "f2006bec-ad23-4df1-af93-9327ff952392",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "abe",
- "name": "compress",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:23.944929Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:23.944929Z",
- "action": "compress"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "c488e5a1-54de-4847-9b10-185d9a61c17c",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/f2006bec-ad23-4df1-af93-9327ff952392",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/7cb5dc4f-ec66-40dd-8195-60a8a37ac745",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "3fb43316-a660-442f-a4cf-6098ae8c0ff3",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "abe",
- "name": "override",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:24.109776Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:24.109776Z",
- "action": "override"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "12bbe840-5b9e-4179-9606-3e146b30a4a1",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/3fb43316-a660-442f-a4cf-6098ae8c0ff3",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "837d1c89-218b-41ba-8681-f59d21256791",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "lock_version": 0,
- "created_by": "abe",
- "name": "Wait",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:24.115913Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:24.115913Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/837d1c89-218b-41ba-8681-f59d21256791",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "a395d746-4259-4657-aa66-2413b589f6fd",
- "type": "workflow_workflow_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "abe",
- "name": "child workflow",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:24.186449Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:24.186449Z",
- "code": "ivfli"
}, - "relationships": {
- "child_workflow_version": {
- "data": {
- "id": "f00bb867-1d31-4dc5-96d7-6c0404cd9aad",
- "type": "workflow_version"
}
}, - "child_workflow_run": {
- "data": null
}, - "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/a395d746-4259-4657-aa66-2413b589f6fd",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "42ca6e93-16fc-473a-b88c-dfddd47584d0",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "abe",
- "name": "input",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:24.337903Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:24.337903Z",
- "action": "input"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "5d04c5ea-4088-4a26-99b7-7c959fea99f9",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/42ca6e93-16fc-473a-b88c-dfddd47584d0",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}, - {
- "id": "bc20f0af-df7e-4a6d-adf0-21260cf43e16",
- "type": "workflow_workflow_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "abe",
- "name": "child workflow",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:24.351000Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:24.351000Z",
- "code": "ivfli"
}, - "relationships": {
- "child_workflow_version": {
- "data": {
- "id": "f00bb867-1d31-4dc5-96d7-6c0404cd9aad",
- "type": "workflow_version"
}
}, - "child_workflow_run": {
- "data": null
}, - "workflow_run": {
- "data": {
- "id": "d28cf9f2-ab22-4604-a73e-2dd649063951",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/bc20f0af-df7e-4a6d-adf0-21260cf43e16",
- "parent": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951/steps/c87267d6-9552-4ed4-821b-27f01c576802",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d28cf9f2-ab22-4604-a73e-2dd649063951"
}
}
]
}
Lists all steps in a workflow run.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
required | Array of workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": [
- {
- "id": "5c7f8101-7e1b-42dc-ad82-5c15eaf497d6",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "lock_version": 0,
- "created_by": "carli",
- "name": "Wait",
- "status_code": "continued",
- "created_at": "2025-02-13T04:12:11.661772Z",
- "started_at": "2025-02-13T04:13:11.661772Z",
- "finished_at": "2025-02-13T04:14:21.808559Z",
- "updated_at": "2025-02-13T04:19:25.339632Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/5c7f8101-7e1b-42dc-ad82-5c15eaf497d6",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "06844c55-93c4-48b6-9bb0-b48c11db3318",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "carli",
- "name": "quibusdam",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:24.789608Z",
- "started_at": "2025-02-13T04:10:41.559885Z",
- "finished_at": "2025-02-13T04:14:48.000544Z",
- "updated_at": "2025-02-13T04:19:24.789608Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "5c7f8101-7e1b-42dc-ad82-5c15eaf497d6",
- "type": "workflow_wait_step"
}, - {
- "id": "7f72f734-028e-4075-80e6-2ffedabd0564",
- "type": "workflow_noop_step"
}, - {
- "id": "f471d2ef-4fb5-44d2-8d1b-099309446af2",
- "type": "workflow_change_step"
}, - {
- "id": "4e86c1b6-7c32-4c31-8c69-09632670ff23",
- "type": "workflow_wait_step"
}, - {
- "id": "e8acbe03-3184-48da-a81e-622da7399494",
- "type": "workflow_workflow_step"
}, - {
- "id": "03604f86-237d-4311-a6eb-27e42a4a8a79",
- "type": "workflow_change_step"
}, - {
- "id": "fe9f82f2-aada-4fba-9717-cd6038176f71",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "7f72f734-028e-4075-80e6-2ffedabd0564",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 2,
- "created_by": "carli",
- "name": "deleniti",
- "status_code": "running",
- "created_at": "2025-02-13T04:19:24.794168Z",
- "started_at": "2025-02-13T04:19:24.999968Z",
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.001649Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "f5ab12e5-945b-4cf6-a5d0-850142848353",
- "type": "workflow_change_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/7f72f734-028e-4075-80e6-2ffedabd0564",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "f5ab12e5-945b-4cf6-a5d0-850142848353",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "carli",
- "name": "compress",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:25.005202Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.005202Z",
- "action": "compress"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "57393179-43f2-4644-ae7d-e27d2d3a0bb7",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/f5ab12e5-945b-4cf6-a5d0-850142848353",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/7f72f734-028e-4075-80e6-2ffedabd0564",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "f471d2ef-4fb5-44d2-8d1b-099309446af2",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "carli",
- "name": "input",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:25.144302Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.144302Z",
- "action": "input"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "72530093-b4b7-46e8-8a5f-3e18d04f91f9",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/f471d2ef-4fb5-44d2-8d1b-099309446af2",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "4e86c1b6-7c32-4c31-8c69-09632670ff23",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": null,
- "lock_version": 0,
- "created_by": "carli",
- "name": "Wait",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:25.149795Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.149795Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/4e86c1b6-7c32-4c31-8c69-09632670ff23",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "e8acbe03-3184-48da-a81e-622da7399494",
- "type": "workflow_workflow_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "carli",
- "name": "child workflow",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:25.205627Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.205627Z",
- "code": "a96rp"
}, - "relationships": {
- "child_workflow_version": {
- "data": {
- "id": "2b7c7ac2-23c3-4817-abc5-0b685783e8b0",
- "type": "workflow_version"
}
}, - "child_workflow_run": {
- "data": null
}, - "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/e8acbe03-3184-48da-a81e-622da7399494",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "03604f86-237d-4311-a6eb-27e42a4a8a79",
- "type": "workflow_change_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "carli",
- "name": "quantify",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:25.333560Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.333560Z",
- "action": "quantify"
}, - "relationships": {
- "change": {
- "data": null
}, - "change_parent": {
- "data": {
- "id": "5c4e7161-fbea-44ba-b09c-97c17fd0291b",
- "type": "asset"
}
}, - "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/03604f86-237d-4311-a6eb-27e42a4a8a79",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}, - {
- "id": "fe9f82f2-aada-4fba-9717-cd6038176f71",
- "type": "workflow_workflow_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "carli",
- "name": "child workflow",
- "status_code": "pending",
- "created_at": "2025-02-13T04:19:25.347294Z",
- "started_at": null,
- "finished_at": null,
- "updated_at": "2025-02-13T04:19:25.347294Z",
- "code": "a96rp"
}, - "relationships": {
- "child_workflow_version": {
- "data": {
- "id": "2b7c7ac2-23c3-4817-abc5-0b685783e8b0",
- "type": "workflow_version"
}
}, - "child_workflow_run": {
- "data": null
}, - "workflow_run": {
- "data": {
- "id": "5f026853-de05-4fa3-aea6-b4bab4a3d73c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/fe9f82f2-aada-4fba-9717-cd6038176f71",
- "parent": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c/steps/06844c55-93c4-48b6-9bb0-b48c11db3318",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/5f026853-de05-4fa3-aea6-b4bab4a3d73c"
}
}
]
}
Shows a workflow step.
step_id required | string Example: 7cebb1c0-0e5c-4d54-868e-a4f9a6be0731 workflow step id |
required | workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": {
- "id": "b39e2e21-0aaa-431b-bfbc-502ce6cbfc4b",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "courtney",
- "name": "et",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:26.528487Z",
- "started_at": "2025-02-13T04:09:55.724602Z",
- "finished_at": "2025-02-13T04:12:26.647822Z",
- "updated_at": "2025-02-13T04:19:26.528487Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "c4ecbfdf-331c-4570-bb05-26c1fba4752c",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "5a488743-9991-48fb-bc09-e6d1253e8da2",
- "type": "workflow_wait_step"
}, - {
- "id": "f66c5513-da5a-411e-b018-549e2fa2874d",
- "type": "workflow_noop_step"
}, - {
- "id": "1b3c5ca1-8c7c-4146-b2a4-c3756e1537bb",
- "type": "workflow_change_step"
}, - {
- "id": "4d809c00-817b-4bea-a68a-a218c44290ba",
- "type": "workflow_wait_step"
}, - {
- "id": "c96bce57-5416-4d5f-9f0a-c612db60825f",
- "type": "workflow_workflow_step"
}, - {
- "id": "e82a97bd-2c50-4484-a569-6c95a8bd321c",
- "type": "workflow_change_step"
}, - {
- "id": "fe64de70-42ec-463d-95ed-aa30f9326220",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/c4ecbfdf-331c-4570-bb05-26c1fba4752c/steps/b39e2e21-0aaa-431b-bfbc-502ce6cbfc4b",
- "parent": "/api/projects/opc/workflows/assets/runs/c4ecbfdf-331c-4570-bb05-26c1fba4752c",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/c4ecbfdf-331c-4570-bb05-26c1fba4752c"
}
}
}
Shows a step of a workflow run.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
step_id required | string Example: 7cebb1c0-0e5c-4d54-868e-a4f9a6be0731 workflow step id |
required | workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": {
- "id": "6e766f48-192b-4110-ba07-e22db67f0852",
- "type": "workflow_noop_step",
- "attributes": {
- "lock_version": 0,
- "created_by": "al_effertz",
- "name": "cupiditate",
- "status_code": "success",
- "created_at": "2025-02-13T04:19:28.195603Z",
- "started_at": "2025-02-13T04:14:26.093984Z",
- "finished_at": "2025-02-13T04:17:32.385904Z",
- "updated_at": "2025-02-13T04:19:28.195603Z",
- "child_execution_strategy": "sequential"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "72b6928f-da7e-45d7-a9fc-1783c567ad53",
- "type": "workflow_run"
}
}, - "children": {
- "data": [
- {
- "id": "e4079ddf-842b-4c0c-99be-96099c98df5c",
- "type": "workflow_wait_step"
}, - {
- "id": "33c8c403-2fd1-471f-ae87-a6156310d39d",
- "type": "workflow_noop_step"
}, - {
- "id": "2d04c056-4bdc-4b08-95fa-19b79d3dfa69",
- "type": "workflow_change_step"
}, - {
- "id": "fb5e7e29-bdc9-401c-89b7-ae6733955171",
- "type": "workflow_wait_step"
}, - {
- "id": "71b6de98-af9c-456c-bb7c-e1d03e405c15",
- "type": "workflow_workflow_step"
}, - {
- "id": "e7e16819-c46f-4392-b6f8-513e321bd606",
- "type": "workflow_change_step"
}, - {
- "id": "3306d761-629f-4a3f-8b4f-c66534c21ad5",
- "type": "workflow_workflow_step"
}
]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/72b6928f-da7e-45d7-a9fc-1783c567ad53/steps/6e766f48-192b-4110-ba07-e22db67f0852",
- "parent": "/api/projects/opc/workflows/assets/runs/72b6928f-da7e-45d7-a9fc-1783c567ad53",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/72b6928f-da7e-45d7-a9fc-1783c567ad53"
}
}
}
Continues a "waiting" workflow step. To approve/reject a workflow step that needs approval see the approve workflow step API endpoint.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
step_id required | string Example: 3ae37722-dad2-4f0c-911c-e462f5a26b76 workflow step id |
object |
required | workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": {
- "attributes": {
- "message": "Done sanity checks. Ok to continue."
}
}
}
{- "data": {
- "id": "dadfcd3c-778c-4ca0-8568-06368b3b0d70",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [ ],
- "continued_by": [
- {
- "username": "bobbie.johns",
- "message": null
}
], - "requires_approval_from": null,
- "lock_version": 1,
- "created_by": "loreta",
- "name": "Wait",
- "status_code": "continued",
- "created_at": "2025-02-13T04:11:03.858097Z",
- "started_at": "2025-02-13T04:12:03.858097Z",
- "finished_at": "2025-02-13T04:19:31.414338Z",
- "updated_at": "2025-02-13T04:19:31.428659Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "d2394e25-5033-4aa7-81fc-f5d14ca5c1a0",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/d2394e25-5033-4aa7-81fc-f5d14ca5c1a0/steps/dadfcd3c-778c-4ca0-8568-06368b3b0d70",
- "parent": "/api/projects/opc/workflows/assets/runs/d2394e25-5033-4aa7-81fc-f5d14ca5c1a0/steps/396dcdca-da96-4bd6-b7d0-d866d5c73ec3",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/d2394e25-5033-4aa7-81fc-f5d14ca5c1a0"
}
}
}
Approve a workflow step that requires approval. To continue a workflow step that does need approval see the continue workflow step API endpoint
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
step_id required | string Example: 3ae37722-dad2-4f0c-911c-e462f5a26b76 workflow step id |
object |
required | workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": {
- "attributes": {
- "message": "Ok to proceed."
}
}
}
{- "data": {
- "id": "7ecc015f-b0da-49d9-b1d8-81fa29ade694",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [
- {
- "username": "melva.mitchell",
- "message": null
}
], - "rejected_by": [ ],
- "continued_by": [ ],
- "requires_approval_from": "an-ldap-group",
- "lock_version": 1,
- "created_by": "jae",
- "name": "Approval",
- "status_code": "approved",
- "created_at": "2025-02-13T04:09:18.992377Z",
- "started_at": "2025-02-13T04:10:18.992377Z",
- "finished_at": "2025-02-13T04:19:34.224226Z",
- "updated_at": "2025-02-13T04:19:34.240324Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "07a4c7b1-606e-4998-be2d-7ae203eb4fac",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/07a4c7b1-606e-4998-be2d-7ae203eb4fac/steps/7ecc015f-b0da-49d9-b1d8-81fa29ade694",
- "parent": "/api/projects/opc/workflows/assets/runs/07a4c7b1-606e-4998-be2d-7ae203eb4fac/steps/82b9eb03-4b82-41ce-8cd5-ae28c57c1835",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/07a4c7b1-606e-4998-be2d-7ae203eb4fac"
}
}
}
Reject a workflow step that requires approval.
project_code required | string Example: opc project code |
workflow_code required | string Example: assets workflow code |
run_id required | string Example: 9f41f384-be86-4497-bc89-bee8031e1a88 workflow run id |
step_id required | string Example: 3ae37722-dad2-4f0c-911c-e462f5a26b76 workflow step id |
object |
required | workflow_noop_step_element (object) or workflow_change_step_element (object) or workflow_wait_step_element (object) or workflow_workflow_step_element (object) |
{- "data": {
- "attributes": {
- "message": "Ok to proceed."
}
}
}
{- "data": {
- "id": "7d1029e5-074e-4970-a832-00b334fc61da",
- "type": "workflow_wait_step",
- "attributes": {
- "approved_by": [ ],
- "rejected_by": [
- {
- "username": "keisha.glover",
- "message": null
}
], - "continued_by": [ ],
- "requires_approval_from": "an-ldap-group",
- "lock_version": 1,
- "created_by": "arlinda",
- "name": "Approval",
- "status_code": "rejected",
- "created_at": "2025-02-13T04:11:11.737522Z",
- "started_at": "2025-02-13T04:12:11.737522Z",
- "finished_at": "2025-02-13T04:19:38.588413Z",
- "updated_at": "2025-02-13T04:19:38.597231Z"
}, - "relationships": {
- "workflow_run": {
- "data": {
- "id": "58e0740e-179b-469e-a7cb-4a010b1c8d9b",
- "type": "workflow_run"
}
}, - "children": {
- "data": [ ]
}
}, - "links": {
- "self": "/api/projects/opc/workflows/assets/runs/58e0740e-179b-469e-a7cb-4a010b1c8d9b/steps/7d1029e5-074e-4970-a832-00b334fc61da",
- "parent": "/api/projects/opc/workflows/assets/runs/58e0740e-179b-469e-a7cb-4a010b1c8d9b/steps/e6d0ac84-dcbe-4b04-88ee-23df7b7e4cce",
- "workflow_run": "/api/projects/opc/workflows/assets/runs/58e0740e-179b-469e-a7cb-4a010b1c8d9b"
}
}
}
Endpoints to interact with events.
Lists all events.
filter[<query/sort filter>]= | |
limit | integer [ 1 .. 1000 ] Default: 10 Example: limit=50 Limit the number of events returned |
required | Array of objects |
object |
{- "data": [
- {
- "id": "7a4121d7-acaf-49bb-994f-6c459983044a",
- "type": "event",
- "attributes": {
- "nested": {
- "key": "nested value"
}, - "any_key": "with a value",
- "another_key": "with a different value",
- "username": "scarlett_kling",
- "system": false,
- "type": "my custom event",
- "created_at": "2025-02-13T04:18:48.202977Z"
}, - "relationships": {
- "source": {
- "links": {
- "source": "/api/projects/opc"
}, - "data": {
- "id": "8e225583-9a98-49d5-af0f-ef771eecc0fe",
- "type": "project"
}
}
}, - "links": {
- "self": "/api/events/7a4121d7-acaf-49bb-994f-6c459983044a"
}
}
], - "meta": {
- "partial_response": false
}
}
Creates an event.
required | object |
{- "data": {
- "attributes": {
- "type": "custom event",
- "any_key": "with a value",
- "another_key": "with a different value",
- "nested": {
- "key": "nested value"
}
}
}
}
{- "data": {
- "id": "291a771c-8e43-4c99-8c4e-ee1968805cdc",
- "type": "event",
- "attributes": {
- "some": "event data",
- "username": "haydee.sauer",
- "system": false,
- "type": "my event",
- "created_at": "2025-02-13T04:18:48.421725Z"
}, - "relationships": {
- "source": {
- "links": {
- "source": null
}
}
}, - "links": {
- "self": "/api/events/291a771c-8e43-4c99-8c4e-ee1968805cdc"
}
}
}
Shows an event.
event_id required | string Example: 9def357d-28bd-4cd7-8ee9-ad20f34320c5 event id |
required | object |
{- "data": {
- "id": "cc93e1ff-e592-4311-8ed4-9cc8bf84f642",
- "type": "event",
- "attributes": {
- "nested": {
- "key": "nested value"
}, - "any_key": "with a value",
- "another_key": "with a different value",
- "username": "reinaldo",
- "system": false,
- "type": "my custom event",
- "created_at": "2025-02-13T04:18:48.860988Z"
}, - "relationships": {
- "source": {
- "links": {
- "source": "/api/projects/opc"
}, - "data": {
- "id": "f27151b3-e60d-4ea3-ac03-e7b65b88419e",
- "type": "project"
}
}
}, - "links": {
- "self": "/api/events/cc93e1ff-e592-4311-8ed4-9cc8bf84f642"
}
}
}
Endpoints to interact with settings.
Shows the current settings.
settings_id required | string Example: 45e7b8fd-f05c-41a8-a8c9-1ab4d9bfe5bf settings id |
required | object |
{- "data": {
- "id": "e9baa0e8-879f-4342-8be0-a96915b73df1",
- "type": "settings",
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5
}, - "version": 1,
- "created_at": "2025-02-13T04:19:03.476596Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/settings/e9baa0e8-879f-4342-8be0-a96915b73df1",
- "current_version": "/api/settings/e9baa0e8-879f-4342-8be0-a96915b73df1/versions/1",
- "versions": "/api/settings/e9baa0e8-879f-4342-8be0-a96915b73df1/versions"
}
}
}
Updates a settings JSON if the included version matches the current settings version.
id_to_update required | string Example: 45e7b8fd-f05c-41a8-a8c9-1ab4d9bfe5bf settings id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5,
}, - "version": 1
}
}
}
{- "data": {
- "id": "d0e96b0b-3101-45d4-9ed2-6307026d1468",
- "type": "settings",
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5,
}, - "version": 2,
- "created_at": "2025-02-13T04:19:03.766636Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/settings/d0e96b0b-3101-45d4-9ed2-6307026d1468",
- "current_version": "/api/settings/d0e96b0b-3101-45d4-9ed2-6307026d1468/versions/2",
- "versions": "/api/settings/d0e96b0b-3101-45d4-9ed2-6307026d1468/versions"
}
}
}
Updates a settings JSON, without any version checking (always updates).
id_to_set required | string Example: 45e7b8fd-f05c-41a8-a8c9-1ab4d9bfe5bf settings id |
required | object |
required | object |
{- "data": {
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5,
}
}
}
}
{- "data": {
- "id": "409b154a-d1de-4733-9af2-0691f6dfd477",
- "type": "settings",
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5,
}, - "version": 2,
- "created_at": "2025-02-13T04:19:04.654619Z"
}, - "relationships": {
- "owner": {
- "links": {
- "owner": "/api/projects/opc"
}
}
}, - "links": {
- "self": "/api/settings/409b154a-d1de-4733-9af2-0691f6dfd477",
- "current_version": "/api/settings/409b154a-d1de-4733-9af2-0691f6dfd477/versions/2",
- "versions": "/api/settings/409b154a-d1de-4733-9af2-0691f6dfd477/versions"
}
}
}
Endpoints to interact with the version history for settings.
Lists all versions of an OpsChain settings.
settings_id required | string Example: 45e7b8fd-f05c-41a8-a8c9-1ab4d9bfe5bf settings id |
required | Array of objects |
{- "data": [
- {
- "id": "e0506c82-af83-4094-9393-2882799ff6fb",
- "type": "settings_version",
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5
}, - "version": 1,
- "created_at": "2025-02-13T04:19:05.034680Z"
}, - "relationships": {
- "settings": {
- "data": {
- "id": "1ddbc8b6-b8b1-4b5b-8ba0-f6419d0a35f7",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/1ddbc8b6-b8b1-4b5b-8ba0-f6419d0a35f7"
}
}
}, - "links": {
- "versions": "/api/settings/1ddbc8b6-b8b1-4b5b-8ba0-f6419d0a35f7/versions",
- "owner": "/api/projects/opc",
- "self": "/api/settings/1ddbc8b6-b8b1-4b5b-8ba0-f6419d0a35f7/versions/1"
}
}
]
}
Shows the settings values for this settings version.
settings_id required | string Example: 45e7b8fd-f05c-41a8-a8c9-1ab4d9bfe5bf settings id |
version_number required | integer Example: 1 version number |
required | object |
{- "data": {
- "id": "53e37c45-0771-448d-a134-c333f0c2cd06",
- "type": "settings_version",
- "attributes": {
- "data": {
- "change_log_retention_days": 10,
- "event_retention_days": 5
}, - "version": 1,
- "created_at": "2025-02-13T04:19:05.271900Z"
}, - "relationships": {
- "settings": {
- "data": {
- "id": "f3638136-3bcf-4655-8ee0-127306ba28a7",
- "type": "settings"
}, - "links": {
- "related": "/api/settings/f3638136-3bcf-4655-8ee0-127306ba28a7"
}
}
}, - "links": {
- "versions": "/api/settings/f3638136-3bcf-4655-8ee0-127306ba28a7/versions",
- "owner": "/api/projects/opc",
- "self": "/api/settings/f3638136-3bcf-4655-8ee0-127306ba28a7/versions/1"
}
}
}
Lists users in the system
required | Array of objects |
{- "data": [
- {
- "id": "187",
- "type": "user",
- "attributes": {
- "username": "joella",
- "groupnames": [
- "ldap-group-1",
- "ldap-group-2"
], - "created_at": "2025-02-13T04:19:14.267695Z",
- "updated_at": "2025-02-13T04:19:14.267695Z"
}
}
]
}
Lists LDAP groups in the system
required | Array of objects |
{- "data": [
- {
- "id": "cn=qa,ou=groups,dc=opschain,dc=io",
- "type": "group",
- "attributes": {
- "cn": "qa",
- "alternative_cns": [ ]
}
}, - {
- "id": "cn=others,ou=groups,dc=opschain,dc=io",
- "type": "group",
- "attributes": {
- "cn": "another",
- "alternative_cns": [ ]
}
}
]
}
{- "data": {
- "id": "0",
- "type": "info",
- "attributes": {
- "version": "2025-02-13",
- "runner_image": "limepoint/opschain-runner:2025-02-13"
}, - "links": {
- "self": "/api/info"
}
}
}