For the complete documentation index, see llms.txt. This page is also available as Markdown.

Show ansible activity on org level

Show an individual org scoped ansible activity.

get
Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: u
idstringRequired

The unique ID for this activity

Example: Aliquid dignissimos quis ullam voluptas qui vero.
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: r0
Responses
200

OK response.

application/json
accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: d
createdinteger · int64Required

Timestamp when the resource was created.

Example: 1627590400
event_typestring · enumRequired

The type of event that occurred

Example: activity-executionPossible values:
idstringRequired

The unique identifier for this activity

Example: dc538c61-de48-4220-958c-5f3c4f983daa
inventoriesstringRequired

Inventories associated with this event

Example: Qui aut quia accusantium sint quo.
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: r
playbooksstringRequired

Playbooks associated with this event

Example: Fugiat earum voluptatem.
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: l
get/api/orgs/{org}/ansible/activities/{id}
GET /api/orgs/{org}/ansible/activities/{id} HTTP/1.1
Host: localhost:80
Harness-Account: r0
Accept: */*
{
  "account": "0tt",
  "created": 1627590400,
  "event_type": "activity-execution",
  "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
  "inventories": "Aliquid odio expedita porro modi ratione.",
  "metadata": {
    "activity_status": "Asperiores quod molestiae consequatur vitae.",
    "filters": "tags=deploy skip-tags=slow limit=web",
    "git_branch": "Voluptas animi dolor dolorem laborum.",
    "git_commit_message": "Dolor facere.",
    "git_commit_sha": "Voluptatem quia earum voluptatem quas in.",
    "git_repo": "Dolores nobis.",
    "metrics": {
      "circuit_breaker_triggered": false,
      "duration_ms": 4956144492920646000,
      "host_changed": 7991066862074085000,
      "host_failed": 7286501368895138000,
      "host_ok": 8723992317937321000,
      "host_skipped": 7515790151550636000,
      "host_unreachable": 1865379895225030100,
      "output_size_bytes": 7964733890466916000,
      "payload_size_bytes": 2592876429800924000,
      "total_hosts": 7520422272859706000,
      "total_tasks": 5767911488264385000
    },
    "pipeline": "Ex vel quaerat sunt minima dolor.",
    "pipeline_execution_id": "Nulla ratione et omnis.",
    "pipeline_execution_number": "Ipsum qui totam cum.",
    "pipeline_name": "Et alias quis sint porro delectus est.",
    "pipeline_stage_id": "Pariatur porro earum sed.",
    "plugin_version": "Est laudantium.",
    "results_uuid": "Quam repellat omnis eos aut.",
    "trigger": {
      "Id molestias.": "Beatae aut asperiores nulla."
    }
  },
  "org": "y",
  "playbooks": "Ut eum.",
  "project": "4n"
}

Last updated

Was this helpful?