Associates the given data with the specified beacon. Attachment data must contain two parts:
- A namespaced type.
- The actual attachment data itself.
namespacesendpoint, while the type can be a string of any characters except for the forward slash (
/) up to 100 characters in length.
Attachment data can be up to 1024 bytes long.
Authenticate using an OAuth access token from a signed-in user with Is owner or Can edit permissions in the Google Developers Console project.
The URL uses Google API HTTP annotation syntax.
Beacon on which the attachment should be created. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are
The project id of the project the attachment will belong to. If the project id is not specified then the project making the request is used. Optional.
The request body contains an instance of
If successful, the response body contains a newly created instance of
Requires the following OAuth scope:
For more information, see the Auth Guide.