Skip to Content
Search

Search resources the user can access in Devopness.

GET
/search

Query Parameters

page?integer

Number of the page to be retrieved

Range1 <= value
per_page?integer

Number of items returned per page

Range1 <= value <= 100
organization_id*string

The organization ID or URL Slug to search within.

q*string

The search expression used to match resources. Must be at least 2 characters. Must not be greater than 255 characters.

resource_type*string

The resource family to search.

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
[index: integer]?|null
Example Request
curl -X GET 'https://api.devopness.com/search?page=1&per_page=25&organization_id=johndoe&q=dro&resource_type=project' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
[  {    "resource_type": "application",    "resource_id": 3,    "resource_name": "Devopness API",    "organization_id": 3,    "project_id": 7,    "environment_id": 11  }]