Skip to main content
GET
/
search
Search
curl --request GET \
  --url https://use.hoop.dev/api/search
{
  "connections": [
    {
      "access_mode_connect": "enabled",
      "access_mode_exec": "enabled",
      "access_mode_runbooks": "enabled",
      "name": "pgdemo",
      "type": "database",
      "id": "5364ec99-653b-41ba-8165-67236e894990",
      "resource_name": "my-resource",
      "status": "online",
      "subtype": "postgres"
    }
  ],
  "errors": [
    "<string>"
  ],
  "resources": [
    {
      "name": "pgdemo",
      "type": "database",
      "id": "5364ec99-653b-41ba-8165-67236e894990",
      "subtype": "postgres"
    }
  ],
  "runbooks": [
    {
      "name": "myrunbooks/run-backup.runbook.sql",
      "repository": "github.com/myorg/myrunbooks"
    }
  ]
}

Query Parameters

term
string
required

Search term

Response

OK

connections
object[]

Connections found in the search

errors
string[]

Any errors found during the search

resources
object[]

Resources found in the search

runbooks
object[]

Runbooks found in the search