List all devices

GET /v1/devices

Returns a list of SpeedVitals supported devices

Responses

  • 200

    Successful response.

    Hide response attribute Show response attribute object
    • data array[object]

      An array of device objects

      Hide data attributes Show data attributes
      • id string

        Values are mobile, desktop, macbookAirM1, highEndLaptop, ipad102, galaxyTabS7, iphone13ProMax, iphone11, galaxyS10Plus, redmiNote8Pro, iphone7, galaxyA50, galaxyJ8, motoG5, or redmi5A.

      • name string
      • category string

        Values are mobile, desktop, or tablet.

GET /v1/devices
curl \
 -X GET https://api.speedvitals.com/v1/devices
Response examples (200)
{
  "data": [
    {
      "id": "macbookAirM1",
      "name": "MacBook Air (2020)",
      "category": "desktop"
    },
    {
      "id": "iphone13ProMax",
      "name": "iPhone 13 Pro Max",
      "category": "mobile"
    },
    "{...}",
    "{...}"
  ]
}
Response examples (200)
{
  "data": [
    {
      "id": "macbookAirM1",
      "name": "MacBook Air (2020)",
      "category": "desktop"
    }
  ]
}