10 releases (5 breaking)
0.6.0 | Oct 31, 2024 |
---|---|
0.5.0 | Jul 22, 2024 |
0.4.0 | Apr 10, 2024 |
0.3.0 | Nov 7, 2023 |
0.1.0 | Feb 14, 2023 |
#198 in Web programming
3,733 downloads per month
170KB
3.5K
SLoC
darwin-v7
Unofficial rust client for the V7 annotation platform
π§ UNDER CONSTRUCTION
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 π¦.
β Why is this crate needed?
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.
ποΈ State of API Compatibility
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 | β | β | β | β¬ |
Dependencies
~8β22MB
~316K SLoC