curl --request GET \
--url https://use.hoop.dev/api/runbooks{
"commit": "<string>",
"commit_author": "<string>",
"commit_message": "<string>",
"errors": [
"<string>"
],
"items": [
{
"connections": [
"pgdemo",
"bash"
],
"error": "<string>",
"metadata": {},
"name": "ops/update-user.runbook.sh"
}
],
"repositories": [
{
"commit": "03c25fd64c74712c71798250d256d4b859dd5853",
"commit_author": "John Wick <john.wick@bad.org>",
"commit_message": "runbook update",
"items": [
{
"connections": [
"pgdemo",
"bash"
],
"error": "<string>",
"metadata": {},
"name": "ops/update-user.runbook.sh"
}
],
"repository": "github.com/myorg/myrepo"
}
]
}List all Runbooks
curl --request GET \
--url https://use.hoop.dev/api/runbooks{
"commit": "<string>",
"commit_author": "<string>",
"commit_message": "<string>",
"errors": [
"<string>"
],
"items": [
{
"connections": [
"pgdemo",
"bash"
],
"error": "<string>",
"metadata": {},
"name": "ops/update-user.runbook.sh"
}
],
"repositories": [
{
"commit": "03c25fd64c74712c71798250d256d4b859dd5853",
"commit_author": "John Wick <john.wick@bad.org>",
"commit_message": "runbook update",
"items": [
{
"connections": [
"pgdemo",
"bash"
],
"error": "<string>",
"metadata": {},
"name": "ops/update-user.runbook.sh"
}
],
"repository": "github.com/myorg/myrepo"
}
]
}DEPRECATED: use connection_name instead
Filter runbooks by connection name
Show connections allowed for each runbook.
Remove runbooks with no connections.
OK
DEPRECATED: use repositories[].commit instead. Commit SHA of the first repository.
DEPRECATED: use repositories[].commit_author instead. Commit author of the first repository.
DEPRECATED: use repositories[].commit_message instead. Commit message of the first repository.
Errors encountered during fetching runbooks
DEPRECATED: use repositories[].items instead. Flat list of all runbooks across all repositories.
Show child attributes
List of runbook repositories
Show child attributes
Was this page helpful?