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>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Lists/Searches devices.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
customer | string | Required. 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. | |
filter | string | Optional. Additional restrictions when fetching list of devices. Help Center article link | |
orderBy | string | Optional. 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. | |
pageSize | string | Optional. 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. | |
pageToken | string | Optional. 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. | |
view | string | Optional. The view to use for the List request. | |
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API 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_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available 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_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
RESPONSES
status: OK
{"devices":[{"androidSpecificAttributes":{"enabledUnknownSources":false,"ownerProfileAccount":false,"ownershipPrivilege":"PROFILE_OWNER","supportsWorkProfile":false},"assetTag":"nisi consequat ipsum","basebandVersion":"velit","bootloaderVersion":"labore sint irure","brand":"sint ex el","buildNumber":"pariatur","compromisedState":"COMPROMISED_STATE_UNSPECIFIED","createTime":"in cupidatat dolor","deviceType":"LINUX","enabledDeveloperOptions":false,"enabledUsbDebugging":false,"encryptionState":"ENCRYPTED","imei":"laborum sint","kernelVersion":"laborum id commodo deserunt","lastSyncTime":"vel","managementState":"PENDING","manufacturer":"voluptate nulla","meid":"velit laborum","model":"proident laboris veniam incididunt","name":"labore","networkOperator":"id amet Lorem dolore","osVersion":"nu","otherAccounts":["Duis sed","occaecat incididunt minim"],"ownerType":"COMPANY","releaseVersion":"laboris","securityPatchTime":"ullamco eu Duis minim nostrud","serialNumber":"est","wifiMacAddresses":["officia consectetur","culpa dolor"]},{"androidSpecificAttributes":{"enabledUnknownSources":false,"ownerProfileAccount":false,"ownershipPrivilege":"DEVICE_OWNER","supportsWorkProfile":true},"assetTag":"sit incididunt dolore","basebandVersion":"incidi","bootloaderVersion":"anim","brand":"occaecat dolor non","buildNumber":"et consectetur cupidatat eu ad","compromisedState":"COMPROMISED","createTime":"aliquip volupt","deviceType":"ANDROID","enabledDeveloperOptions":true,"enabledUsbDebugging":false,"encryptionState":"NOT_ENCRYPTED","imei":"laborum mollit culpa fugiat Lorem","kernelVersion":"minim deseru","lastSyncTime":"ullamco sit esse dolor","managementState":"UNPROVISIONED","manufacturer":"anim qu","meid":"eu","model":"in labor","name":"eiusmod","networkOperator":"pariatur do magna adipisicing","osVersion":"eiusmod fugiat","otherAccounts":["sit elit dolor","dolor cupidatat"],"ownerType":"DEVICE_OWNERSHIP_UNSPECIFIED","releaseVersion":"adipisicing esse nostrud velit ut","securityPatchTime":"officia mollit in","serialNumber":"cillum in Excepteur nulla","wifiMacAddresses":["nostrud aliqua","sint non sit minim"]}],"nextPageToken":"aliquip"}