Google Android Device API

The Device API from Google Android — 1 operation(s) for device.

OpenAPI Specification

google-android-device-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Android Management Android Management API Device API
  description: 'The Android Management API provides remote enterprise management of Android

    devices by creating and managing policies that control device behavior and

    apps. It is used by Enterprise Mobility Management (EMM) providers to manage

    Android Enterprise deployments.

    '
  version: v1
servers:
- url: https://androidmanagement.googleapis.com
security:
- OAuth2:
  - androidmanagement
tags:
- name: Device
paths:
  /v1/{name}/device:
    get:
      summary: Get device
      operationId: getDevice
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
        example: enterprises/LC0123abcd/devices/3789123
      responses:
        '200':
          description: Device
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Device'
      tags:
      - Device
components:
  schemas:
    Device:
      type: object
      properties:
        name:
          type: string
        userName:
          type: string
        managementMode:
          type: string
        state:
          type: string
        appliedState:
          type: string
        policyName:
          type: string
        enrollmentTime:
          type: string
          format: date-time
        lastStatusReportTime:
          type: string
          format: date-time
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            androidmanagement: Manage Android devices and apps for your customers