Device
version : 0.0.0
stability : stable
Objects
Device
Fields
Name | Type | Description |
---|---|---|
id | ID! | The device's identifier. |
login | String! | The device's login name. |
name | String! | The device's name. |
userAgent | String! | The device's user agent. |
width | Int! | The device's screen width. |
height | Int! | The device's screen height. |
browser | String! | The device's browser. |
os | String! | The device's OS. |
deviceScaleFactor | Float! | The device's screen scale factor. |
mobile | Boolean! | If it's a mobile device . |
screenOrientationType | ScreenOrientationType! | The device's orientation type. |
screenOrientationAngle | Int! | The device's orientation angle. |
DeviceEdge
Fields
Name | Type | Description |
---|---|---|
cursor | ID! | - |
node | Device | - |
PageInfo
Information about type pagination in a connection. Fields
Name | Type | Description |
---|---|---|
startCursor | ID | When paginating backwards, the cursor to continue. |
endCursor | ID | When paginating forwards, the cursor to continue. |
hasNextPage | Boolean! | When paginating forwards, are there more items? |
hasPreviousPage | Boolean! | When paginating backwards, are there more items? |
DeviceConnection
Fields
Name | Type | Description |
---|---|---|
edges | [DeviceEdge]! | - |
nodes | [Device]! | - |
pageInfo | PageInfo! | - |
Queries
device
Returns: Device
Arguments
Name | Type | Description |
---|---|---|
login | String! | - |
devices
Returns: DeviceConnection
Arguments
Name | Type | Description |
---|---|---|
first | Int! | - |
after | String | - |