Resource: BeaconAttachment
Project-specific data associated with a beacon.
JSON representation | |
---|---|
{ "attachmentName": string, "namespacedType": string, "data": string, "creationTimeMs": string, } |
Fields | |
---|---|
attachmentName |
Resource name of this attachment. Attachment names have the format: |
namespacedType |
Specifies what kind of attachment this is. Tells a client how to interpret the |
data |
An opaque data container for client-provided data. Must be base64 encoded in HTTP requests, and will be so encoded (with padding) in responses. Required. A base64-encoded string. |
creationTimeMs |
The UTC time when this attachment was created, in milliseconds since the UNIX epoch. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
Methods |
|
---|---|
|
Deletes multiple attachments on a given beacon. |
|
Associates the given data with the specified beacon. |
|
Deletes the specified attachment for the given beacon. |
|
Returns the attachments for the specified beacon that match the specified namespaced-type pattern. |