Search

Search different kinds of resources from the API. It returns just the ID and name of the matching resource. Results are sorted by name in ascending order. If you don't provide a search term, all data is returned.

GEThttps://cloud-api.calyptia.com/v1/search
Authorization
Query parameters
Response

OK

Body
id*string (uuid)
name*string
Request
const response = await fetch('https://cloud-api.calyptia.com/v1/search', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer <token>"
    },
});
const data = await response.json();
Response
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text"
  }
]