Skip to content
Skip to Content
DropHawk.Developers

List Component Types

List every ComponentType, including those with no Products.

View as Markdown

GET
/v1/component-types

spec_schema declares every key and value type a Product's specs may hold.

Response body

Every ComponentType, ordered by name.

application/json
  1. response

ListComponentTypesResponse lists every ComponentType.

component_types*array<>

The ComponentTypes, ordered by name.

Example Request
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"        }      ]    }  ]}