cloudidentity.devices.list

GET {{baseUrl}}/v1/devices?customer=<string>&filter=<string>&orderBy=<string>&pageSize=<integer>&pageToken=<string>&view=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Lists/Searches devices.

Request Params

KeyDatatypeRequiredDescription
customerstringRequired. Resource name of the customer in the format: customers/{customer_id}, where customer_id is the customer to whom the device belongs. If you're using this API for your own organization, use customers/my_customer. If you're using this API to manage another organization, use customers/{customer_id}, where customer_id is the customer to whom the device belongs.
filterstringOptional. Additional restrictions when fetching list of devices. Help Center article link
orderBystringOptional. Order specification for devices in the response. Only one of the following field names may be used to specify the order: create_time, last_sync_time, model, os_version, device_type and serial_number. desc may be specified optionally at the end to specify results to be sorted in descending order. Default order is ascending.
pageSizestringOptional. The maximum number of Devices to return. If unspecified, at most 20 Devices will be returned. The maximum value is 100; values above 100 will be coerced to 100.
pageTokenstringOptional. A page token, received from a previous ListDevices call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDevices must match the call that provided the page token.
viewstringOptional. The view to use for the List request.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;devices&quot;:[{&quot;androidSpecificAttributes&quot;:{&quot;enabledUnknownSources&quot;:false,&quot;ownerProfileAccount&quot;:false,&quot;ownershipPrivilege&quot;:&quot;PROFILE_OWNER&quot;,&quot;supportsWorkProfile&quot;:false},&quot;assetTag&quot;:&quot;nisi consequat ipsum&quot;,&quot;basebandVersion&quot;:&quot;velit&quot;,&quot;bootloaderVersion&quot;:&quot;labore sint irure&quot;,&quot;brand&quot;:&quot;sint ex el&quot;,&quot;buildNumber&quot;:&quot;pariatur&quot;,&quot;compromisedState&quot;:&quot;COMPROMISED_STATE_UNSPECIFIED&quot;,&quot;createTime&quot;:&quot;in cupidatat dolor&quot;,&quot;deviceType&quot;:&quot;LINUX&quot;,&quot;enabledDeveloperOptions&quot;:false,&quot;enabledUsbDebugging&quot;:false,&quot;encryptionState&quot;:&quot;ENCRYPTED&quot;,&quot;imei&quot;:&quot;laborum sint&quot;,&quot;kernelVersion&quot;:&quot;laborum id commodo deserunt&quot;,&quot;lastSyncTime&quot;:&quot;vel&quot;,&quot;managementState&quot;:&quot;PENDING&quot;,&quot;manufacturer&quot;:&quot;voluptate nulla&quot;,&quot;meid&quot;:&quot;velit laborum&quot;,&quot;model&quot;:&quot;proident laboris veniam incididunt&quot;,&quot;name&quot;:&quot;labore&quot;,&quot;networkOperator&quot;:&quot;id amet Lorem dolore&quot;,&quot;osVersion&quot;:&quot;nu&quot;,&quot;otherAccounts&quot;:[&quot;Duis sed&quot;,&quot;occaecat incididunt minim&quot;],&quot;ownerType&quot;:&quot;COMPANY&quot;,&quot;releaseVersion&quot;:&quot;laboris&quot;,&quot;securityPatchTime&quot;:&quot;ullamco eu Duis minim nostrud&quot;,&quot;serialNumber&quot;:&quot;est&quot;,&quot;wifiMacAddresses&quot;:[&quot;officia consectetur&quot;,&quot;culpa dolor&quot;]},{&quot;androidSpecificAttributes&quot;:{&quot;enabledUnknownSources&quot;:false,&quot;ownerProfileAccount&quot;:false,&quot;ownershipPrivilege&quot;:&quot;DEVICE_OWNER&quot;,&quot;supportsWorkProfile&quot;:true},&quot;assetTag&quot;:&quot;sit incididunt dolore&quot;,&quot;basebandVersion&quot;:&quot;incidi&quot;,&quot;bootloaderVersion&quot;:&quot;anim&quot;,&quot;brand&quot;:&quot;occaecat dolor non&quot;,&quot;buildNumber&quot;:&quot;et consectetur cupidatat eu ad&quot;,&quot;compromisedState&quot;:&quot;COMPROMISED&quot;,&quot;createTime&quot;:&quot;aliquip volupt&quot;,&quot;deviceType&quot;:&quot;ANDROID&quot;,&quot;enabledDeveloperOptions&quot;:true,&quot;enabledUsbDebugging&quot;:false,&quot;encryptionState&quot;:&quot;NOT_ENCRYPTED&quot;,&quot;imei&quot;:&quot;laborum mollit culpa fugiat Lorem&quot;,&quot;kernelVersion&quot;:&quot;minim deseru&quot;,&quot;lastSyncTime&quot;:&quot;ullamco sit esse dolor&quot;,&quot;managementState&quot;:&quot;UNPROVISIONED&quot;,&quot;manufacturer&quot;:&quot;anim qu&quot;,&quot;meid&quot;:&quot;eu&quot;,&quot;model&quot;:&quot;in labor&quot;,&quot;name&quot;:&quot;eiusmod&quot;,&quot;networkOperator&quot;:&quot;pariatur do magna adipisicing&quot;,&quot;osVersion&quot;:&quot;eiusmod fugiat&quot;,&quot;otherAccounts&quot;:[&quot;sit elit dolor&quot;,&quot;dolor cupidatat&quot;],&quot;ownerType&quot;:&quot;DEVICE_OWNERSHIP_UNSPECIFIED&quot;,&quot;releaseVersion&quot;:&quot;adipisicing esse nostrud velit ut&quot;,&quot;securityPatchTime&quot;:&quot;officia mollit in&quot;,&quot;serialNumber&quot;:&quot;cillum in Excepteur nulla&quot;,&quot;wifiMacAddresses&quot;:[&quot;nostrud aliqua&quot;,&quot;sint non sit minim&quot;]}],&quot;nextPageToken&quot;:&quot;aliquip&quot;}