Get a device

GET /v1/devices/{id}

Retrieves a device info

Path parameters

  • id string Required

    Device id

    Maximum length is 50.

Responses

  • 200

    Successful response.

    Hide response attributes Show response attributes object
    • id string

      Values are mobile, desktop, macbookAir2020, highEndLaptop, macbookPro133, macbookPro16, msSurfaceBook315, msSurfaceBook3135, msSurface, ipad102, samsungGalaxyTab7, iphone13ProMax, iphone11, samsungGalaxyS10Plus, redmiNote8Pro, iphone7, samsungGalaxyA50, motorolaMotoG5, redmi5A, iphone13Pro, iphone8Plus, ipadPro129, samsungGalaxyA32, samsungGalaxyS21Ultra, samsungGalaxyS20, oneplus10Pro, oneplus7, iphoneXR, iphone5, iphone6, iphone11Pro, iphone12Pro, iphone12Mini, pixel, oneplusNord, samsungGalaxyS8, pixel3, pixel4, pixel5, pixel6, or pixel6Pro.

    • name string
    • mode string

      Values are mobile or desktop.

  • 404

    Resource Not Found

    Hide response attributes Show response attributes object
    • message string

      A human-readable message providing more details about the error.

    • status string

      A status describing the situation

GET /v1/devices/{id}
curl \
 -X GET https://api.auditzy.com/v1/devices/{id}
Response examples (200)
{
  "data": {
    "id": "macbookAir2020",
    "name": "Macbook Air 2020 (1440 x 900)",
    "mode": "desktop"
  },
  "status": "SUCCESS"
}
Response examples (404)
{
  "message": "Resource Not Found",
  "status": "FAILURE"
}