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.
OK
const response = await fetch('https://cloud-api.calyptia.com/v1/search', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "ID": "123e4567-e89b-12d3-a456-426614174000", "Name": "text" } ]