Feed heartbeat + catalog version
GET
/v1/catalog/health
const url = 'https://api.oldsteelarsenal.com/v1/catalog/health?distributor=rsr';const options = { method: 'GET', headers: { 'x-client-id': '<x-client-id>', 'x-signature': '<x-signature>', 'x-timestamp': '<x-timestamp>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.oldsteelarsenal.com/v1/catalog/health?distributor=rsr' \ --header 'x-client-id: <x-client-id>' \ --header 'x-signature: <x-signature>' \ --header 'x-timestamp: <x-timestamp>'Last successful ingest per feed (from sync_runs), the catalog version token (= last catalog ingest time, cache key material), and row counts. The POS watchdog reads last_quantity_sync_at as the feed heartbeat. Scope: catalog:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”distributor
Distributor
string
Header Parameters
Section titled “Header Parameters”Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
CatalogHealthResponse
object
catalog_version
required
Catalog Version
string
contract_version
Contract Version
string
distributor
required
Distributor
string
offers_active
required
Offers Active
integer
offers_total
required
Offers Total
integer
Example
{ "contract_version": "1.0"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}