List resources
A page of what the organization's sources observed. The first page
(a request without cursor) carries pagination.total.
Requires the catalog:resource:read scope.
Authorization
Parameters
Query parameters
environment_idstringOnly this environment.providerstringk8s,host,aws,azure,gcporvmind, as the resource was reported.kindstringexclude_kindstringKinds to leave out, comma-separated.namespacestringapplication_idstringstatusstringlive(seen by the last sweep),missing(not seen by the last complete sweep),gone(missing for a day) orstale(its agent stopped reporting).component_idstringOnly resources bound to this service.unownedstringtruefor live resources bound to no service.imagestringA whole image reference (nginx:1.25-alpine), or a repository (nginx) for any tag or digest of it.floatingstringtruefor resources running an image with no fixed version:latestor no tag, and no digest.qstringSearch names, at most 100 characters.sortstringname(the default),kind,status,first_seen_atorlast_seen_at; a leading-reverses it. Any other value is refused.limitintegerPage size, 20 by default, at most 100.cursorstringThe previous page'spagination.next_cursor.
Responses
200
A page of resources.
dataarray of ResourceShow Resource properties
idstringenvironment_idstringsource_idstringexternal_idstringproviderstringkindstringnamestringnamespacestringcomponent_idstring | nullcomponent_bound_bystring | nullWhat bound it to its service, when something did.statusstringmissing_sincestring (date-time) | nullfirst_seen_atstring (date-time)last_seen_atstring (date-time)imagesarray of string
paginationPaginationShow Pagination properties
next_cursorstring | nullhas_morebooleantotalintegerHow many match, on the first page of the resource and application lists.
400
The request is not valid: a field or filter value is wrong
(VALIDATION_ERROR, with a sentence saying what), the body is not
the expected JSON or carries an unknown field (INVALID_BODY), the
cursor is not one this list gave (INVALID_CURSOR), a binding names
a service that does not exist (UNKNOWN_COMPONENT), or a PATCH
tries to change a slug (SLUG_IMMUTABLE).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks a scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/catalog/resources' \
-H 'Authorization: Bearer <TOKEN>'
