InfraNode.dev

GET /api/v1/sources

Status of all upstream sources

Lists each known source with its enabled state (from settings) and its circuit-breaker state (CLOSED/OPEN/HALF_OPEN). Shows at a glance which source is currently serving and which is paused.

Parameters

Name In Required Type Description
If-None-Match header no string Conditional GET. If the value matches the current ETag, the server responds with 304 Not Modified and no body.
page query no integer
limit query no integer Page size. Capped at MAX_LIMIT (200): larger values return a 200 page of 200 items instead of an error.
offset query no integer An offset past the end returns an empty page (200), never 500.
sort query no string Only the listed fields are allowed; an unknown field is rejected with 400 (invalid_request) before it is evaluated.
order query no string

Code samples

curl "https://infranode.dev/api/v1/sources"

Try it