List Component Types
List every ComponentType, including those with no Products.
GET
spec_schema declares every key and value type a Product's specs may hold.
Every ComponentType, ordered by name.
application/json- response
ListComponentTypesResponse lists every ComponentType.
component_types*array<>The ComponentTypes, ordered by name.
curl 'https://api.drophawk.net/v1/component-types'Example Response
{ "component_types": [ { "slug": "string", "name": "string", "product_count": 0, "spec_schema": [ { "key": "string", "label": "string", "type": "string", "unit": "string" } ] } ]}