List Ansible playbooks on account level
List all playbooks at account scope. Org and project scoped playbooks are not included.
Limit is the number of records to return for a page.
30Example: 30Page is the page number to return relative to the page 'limit'.
1Example: 1Filter results by partial name match
""Example: mystaSort order for results
name,ASCExample: updated,DESCPossible values: Filter results by tags (OR logic, exact match)
["Eius vitae.","Molestiae tenetur consequuntur.","Ut et nihil soluta doloribus enim.","Iure asperiores."]Account is the internal customer account ID.
0rxOK 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.
GET /api/ansible/playbook HTTP/1.1
Host: localhost:80
Harness-Account: 0rx
Accept: */*
[
{
"account": "r",
"ansible_galaxy": true,
"ansible_galaxy_requirements_file": "requirements.yml",
"created": 1627590400,
"description": "Playbook for deploying web services to production",
"env_vars": "Rem reprehenderit qui dolore quo qui similique.",
"identifier": "Aspernatur repudiandae voluptate.",
"name": "test playbook",
"org": "7af",
"project": "yt",
"repository": "my-repo",
"repository_branch": "main",
"repository_commit": "abc10ed",
"repository_connector": "my-connector",
"repository_path": "playbooks/",
"tags": [
"Sit dolores.",
"Voluptas facilis in est sunt veniam repudiandae.",
"Quas praesentium magni.",
"Rerum cumque sunt."
],
"updated": 1627686800,
"vars": "Et iste maiores consectetur doloribus autem laboriosam."
},
{
"account": "r",
"ansible_galaxy": true,
"ansible_galaxy_requirements_file": "requirements.yml",
"created": 1627590400,
"description": "Playbook for deploying web services to production",
"env_vars": "Rem reprehenderit qui dolore quo qui similique.",
"identifier": "Aspernatur repudiandae voluptate.",
"name": "test playbook",
"org": "7af",
"project": "yt",
"repository": "my-repo",
"repository_branch": "main",
"repository_commit": "abc10ed",
"repository_connector": "my-connector",
"repository_path": "playbooks/",
"tags": [
"Sit dolores.",
"Voluptas facilis in est sunt veniam repudiandae.",
"Quas praesentium magni.",
"Rerum cumque sunt."
],
"updated": 1627686800,
"vars": "Et iste maiores consectetur doloribus autem laboriosam."
}
]Last updated
Was this helpful?