devices

Find Mobile Device by ID

Returns a single mobile device represented by the ID

get/mobile-devices/{deviceId}

Request

  • Base URL
    https://localhost/mobile-store
  • URL
    https://localhost/mobile-store/mobile-devices/{deviceId}
  • Auth
    OAuth 2
    Implicit: https://test.com
    Scopes: read:devices

Path parameters

deviceIdinteger required

ID of the device to return

Response

successful operation

idinteger
namestring required
manufacturerstring
modelstring
pricestring
status'available' | 'out-of-stock'

device status in the store

Example response

{
  "id": 1,
  "category": {
    "id": 10,
    "name": "phone"
  },
  "name": "IPhone 11",
  "manufacturer": "Apple Inc.",
  "model": "QQ123Q",
  "price": "$2000",
  "tags": [
    {
      "id": 1,
      "name": "dual-camera"
    }
  ],
  "status": "available"
}

Changes

No recorded changes to this operation across all 1 revision of this API.