Unofficial rust client for the V7 annotation platform
This crate aims to make all the functionality of both versions 1.0 and 2.0 of the V7 API available to applications written in Rust π¦.
At franklin-ai much of our code is written in Rust and find that the guarantees provided by the Rust borrow checker and type safety make our data processing pipelines more reliable, secure and much faster than previous pipelines written in Python. Another goal of this crate is to facilitate some ergonomic improvements to the darwin-cli following extensive usage.
This project is completely independent of the Python package provided by V7 labs and is being written using a combination of the publicly available V7 documentation, previous experience and a thorough use of web browser inspectors.
The following table summarises the current state of the API compatibility for the crate.
The priorities in listed in the table below are purely driven by internal company goals and requirements. However if specific API endpoints are required please lodge an Issue and we will attempt to prioritise the feature.
API Endpoint | API Version | Status | Rust Method | Unit Tested | Integration Tested | Priority | Comments |
---|---|---|---|---|---|---|---|
Annotation Classes | |||||||
List Annotation Classes | 1.0/2.0 | β | β | β | πΌ | ||
Create Annotation Classes | 1.0/2.0 | β | β | β | πΌ | ||
Update Annotation Classes | 1.0/2.0 | β | β | β | πΌ | ||
Delete Annotation Classes | 1.0/2.0 | β | β | β | πΌ | ||
Async CSV Reports | |||||||
List Async CSV Reports | 2.0 | β | β | β | |||
Show Async CSV Reports | 2.0 | β | β | β | |||
Create Async CSV Reports | 2.0 | β | β | β | |||
Delete Async CSV Reports | 2.0 | β | β | β | |||
Comments | |||||||
List comment threads on Item | 2.0 | β | β | β | π½οΈ | ||
Create a new comment with new comment thread | 2.0 | β | β | β | π½οΈ | ||
Delete comment | 2.0 | β | β | β | π½ | ||
Update comment | 2.0 | β | β | β | π½ | ||
Delete a comment thread | 2.0 | β | β | β | π½ | ||
Update a comment thread | 2.0 | β | β | β | π½ | ||
List thread comments | 2.0 | β | β | β | π½ | ||
Create a comment in a thread | 2.0 | β | β | β | π½ | ||
Datasets | |||||||
Create Dataset | 1.0/2.0 | β | Dataset::create_dataset |
β | β | ||
Update Dataset | 1.0/2.0 | β | β | β | |||
List Dataset | 1.0/2.0 | β | Dataset::list_datasets |
β | β | ||
Show Dataset | 1.0/2.0 | β | Dataset::show_dataset |
β | β | ||
Show Dataset Details | 1.0/2.0 | β | β | β | |||
List Dataset Items | 1.0 | β | Dataset::list_dataset_items |
β | β | ||
List Dataset Items | 2.0 | β | Dataset::list_dataset_items_v2 |
β | β | ||
List Dataset Folders | 1.0/2.0 | β | β | β | π½ | ||
Show Item Counts | 1.0 | β | β | β | β | To be deprecated by V7 | |
Tag Items | 1.0 | β | β | β | π½ | ||
Untag Items | 1.0 | β | β | β | π½ | ||
Add Instructions | 1.0/2.0 | β | β | β | πΌ | ||
Get Items Report | 1.0/2.0 | β | Dataset::get_item_reports |
β | β | πΌ | |
Archive Dataset | 1.0/2.0 | β | Dataset::archive_dataset |
β | β | ||
Add Workforce Managers to Dataset | 2.0 | β | β | β | πΌ | ||
Exports | |||||||
Generate Export | 1.0/2.0 | π§ | Dataset::generate_export |
β | β | πΌ | Not all arguments parameterized |
Delete Export | 1.0/2.0 | β | β | β | |||
List Exports | 1.0/2.0 | π§ | β | β | πΌοΈ | ||
External Storage | |||||||
List External Storage Settings | 1.0/2.0 | β | β | β | π½οΈ | ||
Show External Storage Endpoint | 1.0/2.0 | β | β | β | π½οΈ | ||
Update External Storage | 1.0/2.0 | β | β | β | π½οΈ | ||
Create External Storage | 1.0/2.0 | β | β | β | π½οΈ | ||
Mark External Storage as default | 1.0/2.0 | β | β | β | π½οΈ | ||
Imports | |||||||
Confirm uploaded files | 2.0 | β | β | β | π½οΈ | ||
Register existing data for processing | 2.0 | β | β | β | π½οΈ | ||
Get URLs for file upload | 2.0 | β | β | β | π½οΈ | ||
Register existing read-only data | 2.0 | β | β | β | π½οΈ | ||
Register new data for upload | 2.0 | β | β | β | π½οΈ | ||
Items | |||||||
Set Workflow Stage | 1.0 | β | Dataset::set_stage |
β | β | ||
Archive | 1.0/2.0 | β | β | β | π½οΈ | ||
Restore | 1.0/2.0 | β | β | β | π½οΈ | ||
Set Priority | 1.0/2.0 | β | β | β | π½οΈ | ||
List Video Frames | 1.0 | β | β | β | π½οΈ | ||
Move Items | 1.0/2.0 | β | β | β | π½οΈ | v2 equivalent | |
Register Uploading Items | 1.0 | β | β | β | π½οΈ | ||
Get Item counts by classes | 2.0 | β | β | β | π½οΈ | ||
Sign m3u8 index for streaming | 2.0 | β | β | β | β¬οΈ | ||
List slot sections | 2.0 | β | β | β | β¬οΈ | ||
Set Layout | 2.0 | β | β | β | β¬οΈ | ||
List Item IDs | 2.0 | β | β | β | π½οΈ | ||
List Folders | 2.0 | β | β | β | β¬οΈ | ||
Delete Items | 2.0 | β | β | β | |||
List Items | 2.0 | β | β | β | |||
List slot sections with tiles | 2.0 | β | β | β | π½οΈοΈ | ||
Get Item counts by stages | 2.0 | β | β | β | π½οΈοΈ | ||
Get Item counts | 2.0 | β | β | β | π½οΈοΈ | ||
Get Item counts by status | 2.0 | β | β | β | π½οΈοΈ | ||
Get Item | 2.0 | β | β | β | |||
Workflow Stages | |||||||
Assign | 1.0 | β | Dataset::set_stage |
β | β | ||
Skip | 1.0 | β | β | β | π½οΈοΈ | ||
Unskip | 1.0 | β | β | β | π½οΈοΈ | ||
Complete | 1.0 | β | β | β | π½οΈοΈ | ||
Set Auto-complete | 1.0 | β | β | β | β¬ | ||
Workflows | |||||||
Assign items to user | 2.0 | β | WorkflowV2::assign_items |
β | β | ||
Execute commands for item | 2.0 | β | β | β | |||
Request work batch | 2.0 | β | β | β | |||
Set Stage | 2.0 | β | β | β | |||
List Workflows | 2.0 | β | WorkflowV2::list_workflows |
β | β | ||
Create Workflows | 2.0 | β | Dataset::set_workflow_v2 |
β | β | ||
Archive Workflows | 2.0 | β | β | β | |||
Get Workflows | 2.0 | β | Dataset::get_workflows_v2 |
β | β | ||
Update Workflows | 2.0 | β | β | β | |||
Unlink dataset from a workflow by workflow id | 2.0 | β | β | β | |||
Teams | |||||||
List Memberships | 1.0/2.0 | β | Team::list_memberships |
β | β | ||
Create Invitations | 1.0 | β | Team::list_memberships |
β | β | ||
Time Tracking | |||||||
Get time summary | 2.0 | β | β | β | |||
Webhooks | |||||||
Index | 1.0 | β | β | β | β¬ | ||
Create | 1.0 | β | β | β | β¬ | ||
Update | 1.0 | β | β | β | β¬ | ||
Delete | 1.0 | β | β | β | β¬ | ||
Webhooks V2 | |||||||
Get responses by workflow id | 1.0 | β | β | β | β¬ | ||
Get responses by workflow id and stage id | 1.0 | β | β | β | β¬ | ||
Test webhook endpoint | 1.0 | β | β | β | β¬ |