Smart Device Management API
Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.
IoT & devices#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.
Endpoints 5
enterprises.devices
- POSTExecutes a command to device managed by the enterprise.
/v1/:name:executeCommandExecutes a command to device managed by the enterprise. - GETLists devices managed by the enterprise.
/v1/:parent/devices?filter=stringLists devices managed by the enterprise.
enterprises.structures.rooms
- GETGets a room managed by the enterprise.
/v1/:nameGets a room managed by the enterprise. - GETLists rooms managed by the enterprise.
/v1/:parent/roomsLists rooms managed by the enterprise.
enterprises.structures
- GETLists structures managed by the enterprise.
/v1/:parent/structures?filter=stringLists structures managed by the enterprise.
API details
- Base URL
https://smartdevicemanagement.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 5 operations on 5 pathsGET 4POST 1
- Main resources
- enterprises.devices 2enterprises.structures.rooms 2enterprises.structures 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Smart Device Management API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Smart Device Management API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Executes a command to device managed by the enterprise.” (POST /v1/:name:executeCommand), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Smart Device Management API?
Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically. It is listed under IoT & devices and has 5 endpoints.
Who publishes the Smart Device Management API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Smart Device Management API?
Requests go to https://smartdevicemanagement.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Smart Device Management API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Smart Device Management API have?
5 operations on 5 paths (4 GET, 1 POST). The largest groups are enterprises.devices, enterprises.structures.rooms, enterprises.structures.
Is forking the Smart Device Management API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.