Workspaces Service handles the API for managing workspaces and triggering workflows against them.
Show metrics for workspaces
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "status_counts": {
- "Beatae dicta pariatur omnis non sit.": 2191444395875456300,
- "Deleniti voluptate.": 8366767685107204000,
- "Harum sequi omnis facilis recusandae earum.": 3001416260091428000
}
}
List all workspaces.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "z",
- "created": 4109748539834617300,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "o",
- "name": "resource name",
- "org": "k2",
- "project": "mz",
- "status": "provisioning",
- "updated": 2033908952644987100
}, - {
- "account": "z",
- "created": 4109748539834617300,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "o",
- "name": "resource name",
- "org": "k2",
- "project": "mz",
- "status": "provisioning",
- "updated": 2033908952644987100
}, - {
- "account": "z",
- "created": 4109748539834617300,
- "description": "this is a more detailed explanation of the resource.",
- "identifier": "o",
- "name": "resource name",
- "org": "k2",
- "project": "mz",
- "status": "provisioning",
- "updated": 2033908952644987100
}
]
Create a new workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "associated_template": {
- "template_id": "ne",
- "version": "3e"
}, - "budget": 0.99543875,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Vero similique quod molestiae a.": {
- "project_pipeline": "Vel id eum sed.",
- "workspace_pipeline": "Modi voluptatibus."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Deleniti eos reprehenderit.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}, - "Facere cum cupiditate cumque.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}, - "Ut quasi enim.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}
}, - "identifier": "zea",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "provider_connector": "Quis enim.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "terraform",
- "provisioner_version": "Non magni eum est itaque.",
- "repository": "Quia ut molestiae blanditiis nihil quisquam.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Est iste et alias ipsa reprehenderit.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Eligendi eligendi.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Numquam natus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ab nam et sunt molestiae.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Numquam natus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ab nam et sunt molestiae.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Numquam natus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ab nam et sunt molestiae.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Quo omnis voluptas blanditiis veritatis animi.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}
}, - "variable_sets": [
- "Sed illum quo quasi.",
- "Nam esse quidem ipsam necessitatibus ipsum."
]
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Deletes the given workspace.
No Content response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
Show an individual workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "2g",
- "associated_template": {
- "template_id": "a",
- "version": "1"
}, - "backend_locked": true,
- "budget": 0.35236427,
- "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "cost_estimation_enabled": true,
- "created": 3579256232447716000,
- "default_pipelines": {
- "Eos blanditiis cum suscipit dolorem mollitia.": {
- "project_pipeline": "Sit optio accusamus dolore similique.",
- "workspace_pipeline": "Exercitationem voluptas tempora dolore."
}, - "Soluta nihil blanditiis dolor dolor numquam consequuntur.": {
- "project_pipeline": "Sit optio accusamus dolore similique.",
- "workspace_pipeline": "Exercitationem voluptas tempora dolore."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Dicta possimus itaque.": {
- "created": 6931149938485275000,
- "key": "e",
- "updated": 5256513641702357000,
- "value": "Consectetur sint eos dignissimos.",
- "value_type": "secret"
}
}, - "identifier": "crt",
- "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "name": "resource name",
- "org": "8p",
- "project": "c7",
- "provider_connector": "Nobis nisi vitae debitis nemo quo.",
- "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "provisioner": "terraform",
- "provisioner_data": "Ab debitis veritatis commodi et sed.",
- "provisioner_version": "Et repellendus.",
- "repository": "Voluptatum facere sapiente fugit.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ut totam.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Temporibus voluptas ut fugit cumque.",
- "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
- "status": "unknown",
- "tags": {
- "foo": "bar"
}, - "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
- "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
- "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
- "terraform_variable_files": [
- {
- "repository": "Assumenda debitis eum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Accusantium aut sit dolor libero voluptatem enim.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Assumenda debitis eum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Accusantium aut sit dolor libero voluptatem enim.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Assumenda debitis eum.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Accusantium aut sit dolor libero voluptatem enim.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Odio velit.": {
- "created": 6931149938485275000,
- "key": "e",
- "updated": 5256513641702357000,
- "value": "Consectetur sint eos dignissimos.",
- "value_type": "secret"
}
}, - "updated": 3146444344596864500,
- "variable_sets": [
- "Molestiae ducimus amet voluptate.",
- "Rerum rerum explicabo recusandae sed dolore."
]
}
Updates the given workspace with new info.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "budget": 0.7906724,
- "cost_estimation_enabled": true,
- "default_pipelines": {
- "Et dicta adipisci porro consequatur cupiditate inventore.": {
- "project_pipeline": "Vel id eum sed.",
- "workspace_pipeline": "Modi voluptatibus."
}, - "Qui dolores ipsum autem ullam eum.": {
- "project_pipeline": "Vel id eum sed.",
- "workspace_pipeline": "Modi voluptatibus."
}
}, - "description": "this is a more detailed explanation of the resource.",
- "environment_variables": {
- "Rerum aliquid voluptates.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}, - "Voluptate sequi.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}
}, - "name": "resource name",
- "provider_connector": "At voluptatem in aut ut.",
- "provisioner": "terraform",
- "provisioner_version": "Voluptates error.",
- "repository": "Dolore et.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Fugiat consequatur ea repellendus quisquam iste.",
- "repository_path": "",
- "repository_sha": "abc10ed",
- "repository_submodules": "recursive",
- "sparse_checkout": "Perferendis aut voluptatibus qui.",
- "tags": {
- "foo": "bar"
}, - "terraform_variable_files": [
- {
- "repository": "Numquam natus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ab nam et sunt molestiae.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}, - {
- "repository": "Numquam natus.",
- "repository_branch": "main",
- "repository_commit": "abc10ed",
- "repository_connector": "Ab nam et sunt molestiae.",
- "repository_path": "",
- "repository_sha": "abc10ed"
}
], - "terraform_variables": {
- "Totam incidunt explicabo.": {
- "key": "i4o",
- "value": "Molestias iure voluptatum error quisquam.",
- "value_type": "secret"
}
}, - "variable_sets": [
- "In recusandae et aut.",
- "Dolorem eligendi corporis.",
- "At nisi dolor harum illo necessitatibus qui.",
- "Maiores rem necessitatibus natus odit."
]
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
Force unlock a workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
List modules associated with this workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}, - {
- "key": "ec2-instance_test",
- "source": "registry.opentofu.org/terraform-aws-modules/ec2-instance/aws//examples/complete",
- "version": "5.0.0"
}
]
List resources associated with this workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "outputs": [
- {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Totam consequatur."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Totam consequatur."
}, - {
- "name": "instance_public_ip",
- "sensitive": true,
- "value": "Totam consequatur."
}
], - "resources": [
- {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}, - {
- "attributes": {
- "ami": "ami-830c94ec",
- "instance_type": "t2.micro"
}, - "drift_attributes": {
- "instance_type": "t2.nano"
}, - "drift_status": "changed",
- "module": "full_stack",
- "name": "app_server",
- "provider": "AWS",
- "sensitive_attributes": [
- "instance_type"
], - "type": "S3 Bucket"
}
]
}
Clone the given workspace with new name.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "identifier": "k",
- "name": "resource name"
}
{- "policy_evaluation": {
- "account_id": "XRQAjvT37acOiXx9PRaQMF",
- "action": "onrun",
- "created": 1636370209475,
- "details": [
- {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}, - {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "action": "onrun",
- "created": 1636669297674,
- "description": "Captures critical production policies",
- "details": [
- {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}, - {
- "deny_messages": [
- "deployment stage 'example-stage' does not have a HarnessApproval step",
- "deployment stage 'example-stage' has step 'run-script' that is forbidden type 'ShellScript'"
], - "output": "{\n \"deny\": [\n \"deployment stage 'deploy' does not have a HarnessApproval step\"\n ],\n \"stages_with_approval\": []\n}",
- "policy": {
- "account_id": "eBqAoNchMLKigC_qZ5EdC",
- "created": 1636669297674,
- "identifier": "policy-1",
- "name": "Pipeline Approval",
- "org_id": "test-org",
- "project_id": "test-project",
- "rego": "",
- "updated": 1636669297674
}, - "rego_error": "policy.rego:25: rego_parse_error: non-terminated string m == \"test",
- "status": "error"
}
], - "enabled": true,
- "identifier": "policyset-1",
- "name": "Production Policies",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline",
- "updated": 1636669297674
}
], - "entity": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "entity_metadata": "7bbca5d4-e9f2-4955-9b2a-019ec4d3645e",
- "id": 123,
- "input": "",
- "org_id": "test-org",
- "project_id": "test-project",
- "status": "error",
- "type": "pipeline,service"
}
}
List all stored data for a workspace.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "p",
- "created": 6340586930590025000,
- "data_type": "cost_diff",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "8ix",
- "pipeline_execution_id": "Blanditiis quaerat autem doloremque minus consequatur.",
- "pipeline_id": "Vero rerum et.",
- "pipeline_stage_id": "Autem suscipit beatae quibusdam soluta voluptatem earum.",
- "project": "gc",
- "provisioner_type": "tf",
- "stage_id": "Assumenda consequatur id.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 6340586930590025000,
- "data_type": "cost_diff",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "8ix",
- "pipeline_execution_id": "Blanditiis quaerat autem doloremque minus consequatur.",
- "pipeline_id": "Vero rerum et.",
- "pipeline_stage_id": "Autem suscipit beatae quibusdam soluta voluptatem earum.",
- "project": "gc",
- "provisioner_type": "tf",
- "stage_id": "Assumenda consequatur id.",
- "workspace": "workspace123"
}, - {
- "account": "p",
- "created": 6340586930590025000,
- "data_type": "cost_diff",
- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "org": "8ix",
- "pipeline_execution_id": "Blanditiis quaerat autem doloremque minus consequatur.",
- "pipeline_id": "Vero rerum et.",
- "pipeline_stage_id": "Autem suscipit beatae quibusdam soluta voluptatem earum.",
- "project": "gc",
- "provisioner_type": "tf",
- "stage_id": "Assumenda consequatur id.",
- "workspace": "workspace123"
}
]
Store binary data generated by the provisioner, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "policy_evaluation": [
- {
- "message": "Consequatur et assumenda explicabo.",
- "policy_id": "Rerum cumque et dicta.",
- "policy_name": "Saepe labore.",
- "policy_set_id": "Soluta minima quaerat harum sit quia.",
- "policy_set_name": "Corporis saepe ad non error.",
- "policy_status": "Assumenda deserunt."
}, - {
- "message": "Consequatur et assumenda explicabo.",
- "policy_id": "Rerum cumque et dicta.",
- "policy_name": "Saepe labore.",
- "policy_set_id": "Soluta minima quaerat harum sit quia.",
- "policy_set_name": "Corporis saepe ad non error.",
- "policy_status": "Assumenda deserunt."
}
], - "policy_evaluation_message": "- instance type 'xlarge' is not permitted",
- "policy_evaluation_status": "error"
}
Get binary data generated by the provisioner, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
"string"
Evaluate policy against previously stored data, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
- "policy_evaluation": [
- {
- "message": "Consequatur et assumenda explicabo.",
- "policy_id": "Rerum cumque et dicta.",
- "policy_name": "Saepe labore.",
- "policy_set_id": "Soluta minima quaerat harum sit quia.",
- "policy_set_name": "Corporis saepe ad non error.",
- "policy_status": "Assumenda deserunt."
}, - {
- "message": "Consequatur et assumenda explicabo.",
- "policy_id": "Rerum cumque et dicta.",
- "policy_name": "Saepe labore.",
- "policy_set_id": "Soluta minima quaerat harum sit quia.",
- "policy_set_name": "Corporis saepe ad non error.",
- "policy_status": "Assumenda deserunt."
}, - {
- "message": "Consequatur et assumenda explicabo.",
- "policy_id": "Rerum cumque et dicta.",
- "policy_name": "Saepe labore.",
- "policy_set_id": "Soluta minima quaerat harum sit quia.",
- "policy_set_name": "Corporis saepe ad non error.",
- "policy_status": "Assumenda deserunt."
}, - {
- "message": "Consequatur et assumenda explicabo.",
- "policy_id": "Rerum cumque et dicta.",
- "policy_name": "Saepe labore.",
- "policy_set_id": "Soluta minima quaerat harum sit quia.",
- "policy_set_name": "Corporis saepe ad non error.",
- "policy_status": "Assumenda deserunt."
}
], - "policy_evaluation_message": "- instance type 'xlarge' is not permitted",
- "policy_evaluation_status": "error"
}
Store binary data generated by the provisioner, such as plans and state files.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "data": {
- "Id ut sapiente.": "Vel quas cum reiciendis magni ad.",
- "Officiis perspiciatis et est.": "Ea autem odit.",
- "Vel et.": "Veniam rem temporibus consequatur est et."
}, - "event_type": "active",
- "metadata": {
- "PlannedChangesCount": 1364917683552446500,
- "activity_status": "failure",
- "activity_type": "apply",
- "cost_breakdown_uuid": "Velit possimus fugit.",
- "cost_currency": "Ut voluptatum atque suscipit magnam.",
- "cost_diff_total_monthly": "Voluptatibus exercitationem cumque mollitia laborum dolores.",
- "cost_diff_uuid": "Sequi dolores rerum.",
- "cost_past_total_monthly": "Aut omnis id id ad ipsum tempore.",
- "cost_total_monthly": "Possimus quibusdam dolores qui.",
- "cost_total_monthly_percentage_change": "Ipsa eos.",
- "drift_counts": {
- "added": 8350471850651856000,
- "changed": 2019825285988501500,
- "deleted": 2387447099578710000,
- "unchanged": 1034729446304568800
}, - "enable_solutions_factory": false,
- "git_branch": "Esse quia repudiandae magnam.",
- "git_commit_message": "Voluptatum est dolorem est omnis.",
- "git_commit_sha": "Vel magnam.",
- "git_repo": "Reiciendis nam inventore accusantium sequi nihil.",
- "modules_uuid": "Porro sapiente rerum vero fugit.",
- "output_counts": {
- "added": 8350471850651856000,
- "changed": 2019825285988501500,
- "deleted": 2387447099578710000,
- "unchanged": 1034729446304568800
}, - "pipeline": "Ducimus ab commodi eum voluptate.",
- "pipeline_execution_id": "Magni aut amet corporis a tempora.",
- "pipeline_execution_number": "Illo perspiciatis.",
- "pipeline_name": "Consequatur quis mollitia et atque.",
- "pipeline_stage_id": "In asperiores id saepe.",
- "plan_uuid": "Voluptatem nulla perspiciatis officia quia natus impedit.",
- "providers_uuid": "Velit voluptatem dolores id non.",
- "provisioner": "Sint et sapiente qui dolores ipsa natus.",
- "provisioner_version": "Veniam ratione molestiae qui eveniet est.",
- "resource_counts": {
- "added": 8350471850651856000,
- "changed": 2019825285988501500,
- "deleted": 2387447099578710000,
- "unchanged": 1034729446304568800
}, - "state_checksum": "Molestiae nisi sint.",
- "state_uuid": "Eum unde.",
- "trigger": {
- "Ut suscipit laborum.": "Aperiam voluptatem et culpa."
}
}, - "pipeline_execution_id": "Officiis ratione debitis placeat et placeat consectetur.",
- "pipeline_stage_id": "Unde aspernatur omnis nobis ut."
}
List the pipelines where the workspace is been used
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "w",
- "org": "u",
- "pipelines": [
- "Eum consequuntur corrupti quaerat et non.",
- "Sed natus qui aliquid excepturi aut.",
- "Et dolor."
], - "project": "7o8"
}
Create a remote execution for a workspace.
object The arguments supplied to the plan. |
Created response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "custom_arguments": {
- "Aut ab dolorem sint.": [
- "Quia et.",
- "Sunt quae eveniet ullam quia.",
- "Modi consequatur esse iusto aliquam perspiciatis.",
- "Maiores fugiat eum."
], - "Aut odit quod.": [
- "Quidem tempora alias inventore.",
- "Quia a."
]
}
}
{- "account": "g",
- "created": 6796432605507689000,
- "custom_arguments": {
- "Alias velit sed non excepturi eum.": [
- "Nisi voluptatem eius voluptas mollitia.",
- "Ut inventore.",
- "Asperiores quisquam.",
- "Possimus quo."
], - "Maiores sint dignissimos et occaecati repellendus consequatur.": [
- "Soluta provident numquam blanditiis rem placeat.",
- "Quia est.",
- "Quas quo."
]
}, - "executed": false,
- "id": "f39564d8-bf68-416b-99a1-1d186fbd16df",
- "org": "lp",
- "pipeline_execution_id": "Minus sed rem id omnis quia.",
- "pipeline_execution_url": "Dolor voluptatem assumenda placeat atque voluptas sint.",
- "project": "c",
- "sha256_checksum": "Veniam minus doloremque praesentium at.",
- "updated": 5581283499865030000,
- "workspace": "Illum aut labore iste consequatur."
}
Find remote execution
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "q",
- "created": 6895608169628662000,
- "custom_arguments": {
- "Dolor sed illum nihil fuga quis.": [
- "Qui optio dolorum omnis nihil incidunt.",
- "Accusamus ullam dolorum voluptatem veritatis.",
- "Laborum atque nobis."
], - "Numquam quibusdam.": [
- "Aut perferendis quia voluptatum sit molestias.",
- "Sunt a nam rerum impedit ullam.",
- "Aut quia qui quia quam.",
- "Aspernatur vero dolore."
], - "Quidem doloremque architecto quis alias sunt dolores.": [
- "Non ut nisi eius.",
- "Doloremque reiciendis placeat eligendi beatae velit."
]
}, - "executed": true,
- "id": "054da9a2-89a7-4377-9f98-c778f0221f4b",
- "org": "iq",
- "pipeline_execution_id": "Cumque nihil numquam voluptas in sint.",
- "pipeline_execution_url": "Molestias voluptas natus consequatur voluptatem itaque.",
- "project": "ro",
- "sha256_checksum": "Impedit non.",
- "updated": 7736112453439941000,
- "workspace": "Et hic odio quo dolore."
}
Download the source code for the remote plan.
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
"string"
Execute the remote execution
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "vpx",
- "created": 2830997456919589000,
- "custom_arguments": {
- "Qui facilis dolor.": [
- "A accusantium tenetur consequuntur.",
- "Nihil odit sequi sit vitae."
], - "Qui reprehenderit.": [
- "Omnis consectetur delectus delectus veritatis.",
- "Dolores aut.",
- "Ut ad aut praesentium maiores deserunt ipsum."
], - "Totam facilis autem aliquid occaecati quas fugit.": [
- "Qui repellendus id sit.",
- "Ducimus voluptatibus."
]
}, - "executed": false,
- "id": "66b5d608-e7b0-4e25-8150-5fba06920276",
- "org": "pg5",
- "pipeline_execution_id": "Ipsa cum consequuntur.",
- "pipeline_execution_url": "Qui dolor iste.",
- "project": "t",
- "sha256_checksum": "Vel labore aperiam repellat numquam vitae.",
- "updated": 8431938297301139000,
- "workspace": "Assumenda beatae enim numquam."
}
Upload the source code for the remote execution.
Harness-Account required | string [ 1 .. 128 ] characters Account is the internal customer account ID. Example: j |
Content-Length | integer <int64> Size in bytes of the source code. Example: 3157012724378926000 |
Content-Digest required | string Content-Digest header as defined in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Digest. Sha256 is the only supported algorithm. Example: Quas voluptas. |
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "account": "em",
- "created": 8788675175155536000,
- "custom_arguments": {
- "Enim minus voluptatem fuga.": [
- "Ducimus ea consectetur.",
- "Voluptatem aut qui blanditiis facilis ut quae.",
- "Officiis accusamus.",
- "Qui earum libero minus eos."
], - "Molestias aliquid deleniti nesciunt.": [
- "Mollitia quasi dolore.",
- "Qui quibusdam ut iure architecto."
], - "Quod repellat unde modi libero.": [
- "Id voluptas soluta aut enim.",
- "Qui rerum.",
- "Vel ut sint dolor non.",
- "Voluptas sunt voluptatem ullam voluptas quod."
]
}, - "executed": false,
- "id": "0a0721aa-73f4-44d6-b15a-3fea02e90c09",
- "org": "lq",
- "pipeline_execution_id": "Sequi impedit velit.",
- "pipeline_execution_url": "Ipsa quis repellat itaque recusandae.",
- "project": "4",
- "sha256_checksum": "Ipsam nihil eligendi omnis facere.",
- "updated": 2429276041302306000,
- "workspace": "Velit et ut a."
}
Retrieves the ratio of provisioners used by workspaces
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
{- "provisioner": {
- "Aspernatur dicta veniam consequatur quis.": 0.500037716653363,
- "Ratione nemo.": 0.34103339568918145,
- "Vel suscipit et qui.": 0.012939227066625803
}, - "total": 0.5232939552860555
}
Get all workspaces associated with a specific template ID
OK response.
BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
[- {
- "account": "dj",
- "created_at": 1627590400,
- "org": "rg",
- "project": "ju",
- "template_id": "i4",
- "updated_at": 1627686800,
- "version": "vy",
- "workspace_id": "e"
}, - {
- "account": "dj",
- "created_at": 1627590400,
- "org": "rg",
- "project": "ju",
- "template_id": "i4",
- "updated_at": 1627686800,
- "version": "vy",
- "workspace_id": "e"
}
]