Look up a ref
Changed onReturns what a ref names, its parents and children (a model's make and model years, for example), counts, and links to related endpoints. An old alias returns the current ref. Costs 1 credit.
Request
- Base URLhttps://api.cardog.app
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Any ref or alias, e.g. "gvwr:class-5". Either form returns the current ref. Encode any slash in the ref as %2F.
Response
The ref, its parents and children, and links
The ref, a permanent ID of the form {domain}:{key}, e.g. "make:tesla"
Entity domain, e.g. "make", "model", "model-year", "fuel-type"
Name to show, e.g. "Tesla"
Ref of the parent, for kinds that nest (the parent of "model:honda/civic" is "make:honda"). Null at the top.
Parents, nearest first: a model year lists its model, then its make
Direct children, up to a limit. childrenTruncated is true when the list was cut short.
True when children does not list every child; counts.children has the full number
Counts of related records, e.g. {"children": 54, "listings": 49086}
Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Changes
- info
added the optional property
requestIdto the response with the status - info
added the optional property
requestIdto the response with the status - info
added the optional property
requestIdto the response with the status
2 more changes in this revision
- info