Private
dataPrivate
dataPrivate
datasetAdd bounding box to an image.
A label for the bounding box
The min X value of the bounding box normalized from 0 to 1
The min Y value of the bounding box normalized from 0 to 1
The max X value of the bounding box normalized from 0 to 1
The max Y value of the bounding box normalized from 0 to 1
The bounding box ID
Add tags to binary data, specified by filter.
The tags to add to the data
Optional
filter: FilterOptional pb.Filter
specifying binary data to add tags to.
No filter
implies all binary data.
Filter and get a page of binary data. The returned metadata might be empty
if the metadata index of the data is out of the bounds of the returned
metadata list. The data will be paginated into pages of limit
items, and
the pagination ID will be included in the returned tuple.
Optional
filter: FilterOptional pb.Filter
specifying binary data to retrieve. No
filter
implies all binary data.
Optional
limit: numberThe maximum number of entries to include in a page. Defaults to 50 if unspecfied
Optional
sortOrder: OrderThe desired sort order of the data
Optional string indicating the ID of the last-returned data. If
provided, the server will return the next data entries after the last
ID.
Whether to include binary file data with each retrieved file
Whether to return only the total count of entries
Whether to retun internal data. Internal data is
used for Viam-specific data ingestion, like cloud SLAM. Defaults to
false
.
An array of data objects, the count (number of entries), and the last-returned page ID.
Get binary data using the BinaryID.
An array of data objects
Uploads the content and metadata for binary data.
Upload binary data collected on a robot through a specific component (e.g., a motor) along with the relevant metadata to app.viam.com. binary data can be found under the "Sensors" subtab of the Data tab on app.viam.com.
The data to be uploaded, represented in bytes
The part ID of the component used to capture the data
The type of the component used to capture the data (e.g., "movementSensor")
The name of the component used to capture the data
The name of the method used to capture the data.
The file extension of binary data including the period, e.g. .jpg, .png, .pcd. The backend will route the binary to its corresponding mime type based on this extension. Files with a .jpeg, .jpg, or .png extension will be saved to the images tab.
Optional
tags: string[]The list of tags to allow for tag-based filtering when retrieving data
Optional
dataRequestTimes: [Date, Date]Tuple containing Date
objects denoting the times
this data was requested[0] by the robot and received[1] from the
appropriate sensor.
The file ID of the uploaded data
Get a list of bounding box labels using a Filter.
Optional
filter: FilterOptional pb.Filter
specifying what data to get tags from.
No filter
implies all labels.
The list of bounding box labels
Configure a database user for the Viam organization's MongoDB Atlas Data Federation instance. It can also be used to reset the password of the existing database user.
The ID of the organization
The password of the user
Filter and delete binary data.
Optional
filter: FilterOptional pb.Filter
specifying binary data to delete. No
filter
implies all binary data.
Whether or not to delete internal data. Default is true
The number of items deleted
Delete tabular data older than a specified number of days.
The ID of organization to delete data from
Delete data that was captured more than this
many days ago. For example if deleteOlderThanDays
is 10, this deletes
any data that was captured more than 10 days ago. If it is 0, all
existing data is deleted.
The number of items deleted
Remove tags from binary data, specified by filter.
List of tags to remove from specified binary data. Must be non-empty.
Optional
filter: FilterOptional pb.Filter
specifying binary data to add tags to.
No filter
implies all binary data.
The number of items deleted
Filter and get a page of tabular data. The returned metadata might be empty
if the metadata index of the data is out of the bounds of the returned
metadata list. The data will be paginated into pages of limit
items, and
the pagination ID will be included in the returned tuple.
Optional
filter: FilterOptional pb.Filter
specifying tabular data to retrieve. No
filter
implies all tabular data.
Optional
limit: numberThe maximum number of entries to include in a page. Defaults to 50 if unspecfied
Optional
sortOrder: OrderThe desired sort order of the data
Optional string indicating the ID of the last-returned data. If
provided, the server will return the next data entries after the last
ID.
Whether to return only the total count of entries
Whether to retun internal data. Internal data is
used for Viam-specific data ingestion, like cloud SLAM. Defaults to
false
.
An array of data objects, the count (number of entries), and the last-returned page ID.
Obtain unified tabular data and metadata, queried with MQL.
The ID of the organization that owns the data
The MQL query to run as a list of BSON documents
An array of data objects
Obtain unified tabular data and metadata, queried with SQL.
The ID of the organization that owns the data
The SQL query to run
An array of data objects
Uploads the content and metadata for tabular data.
Upload tabular data collected on a robot through a specific component (e.g., a motor) along with the relevant metadata to app.viam.com. Tabular data can be found under the "Sensors" subtab of the Data tab on app.viam.com.
The list of data to be uploaded, represented tabularly as an array.
The part ID of the component used to capture the data
The type of the component used to capture the data (e.g., "movementSensor")
The name of the component used to capture the data
The name of the method used to capture the data.
Optional
tags: string[]The list of tags to allow for tag-based filtering when retrieving data
Optional
dataRequestTimes: [Date, Date][]Array of Date tuples, each containing two Date
objects denoting the times this data was requested[0] by the robot and
received[1] from the appropriate sensor. Passing a list of tabular data
and Timestamps with length n > 1 will result in n datapoints being
uploaded, all tied to the same metadata.
The file ID of the uploaded data
Get a list of tags using a filter.
Optional
filter: FilterOptional pb.Filter
specifying what data to get tags from.
No filter
implies all data.
The list of tags
Generated using TypeDoc
Add BinaryData to the provided dataset.