List a service's resources
A page of the resources bound to the service.
Requires the catalog:component:read and catalog:resource:read scopes.
Authorization
Parameters
Path parameters
refstring requiredThe service's ID (cmp_…) or its slug.
Query parameters
environment_idstringOnly this environment.statusstringlive(seen by the last sweep),missing(not seen by the last complete sweep),gone(missing for a day) orstale(its agent stopped reporting).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
404
Nothing with this ID (or slug) exists in the organization (NOT_FOUND).
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/components/payments-api/resources' \
-H 'Authorization: Bearer <TOKEN>'
