api_v1
deepdataspace.server.resources.api_v1
All APIs of version 1.
annotations
deepdataspace.server.resources.api_v1.annotations
The RESTful API of Annotations.
- class AnnotationsView(**kwargs)[source]
Bases:
BaseAPIView
POST /api/v1/annotations
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
comparisons
deepdataspace.server.resources.api_v1.comparisons
The RESTful APIs of comparison of label set.
- class ComparisonsView(**kwargs)[source]
Bases:
BaseAPIView
GET /api/v1/comparisons
- get_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
datasets
deepdataspace.server.resources.api_v1.datasets
The dataset RESTful APIs.
- class DatasetsView(**kwargs)[source]
Bases:
BaseAPIView
GET /api/v1/datasets
- get_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class DatasetView(**kwargs)[source]
Bases:
BaseAPIView
GET /api/v1/datasets/<dataset_id>
image_flags
deepdataspace.server.resources.api_v1.image_flags
RESTful api to update flags of images in a dataset.
images
deepdataspace.server.resources.api_v1.images
RESTful API for images.
- class ImagesView(**kwargs)[source]
Bases:
BaseAPIView
GET /api/v1/images
- get_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
label_clone
deepdataspace.server.resources.api_v1.label_clone
RESTful API for cloning a label set for a dataset.
- class LabelCloneView(**kwargs)[source]
Bases:
BaseAPIView
POST /api/v1/label_clone
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
label_tasks
deepdataspace.server.resources.api_v1.label_tasks
RESTful APIs of label tasks.
- class ProjectsView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/label_projects
POST /api/v1/label_projects
- get_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- post_data = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class ProjectView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/label_projects/<project_id>
POST /api/v1/label_projects/<project_id>
- post_data = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class ProjectConfigView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_project_configs/<project_id>
- post_data = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class ProjectQAView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_project_qa/<project_id>
- post_args = [<deepdataspace.utils.http.Argument object>]
- class ProjectExportView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_project_export/<project_id>
- post_args = [<deepdataspace.utils.http.Argument object>]
- class TasksView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/label_tasks
- get_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class TaskConfigView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/label_task_configs/<task_id>
- class TaskLeadersView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_leaders
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class TaskWorkerView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_workers/<task_id>
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class TaskReassignView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_reassign/<task_id>
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class TaskReStartView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_restart/<task_id>
- class TaskQAView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_qa/<task_id>
- post_args = [<deepdataspace.utils.http.Argument object>]
- class TaskRolesView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/label_task_roles/<task_id>
- class TaskImagesView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/label_task_images/<task_id>
- status_choices = {'accepted', 'labeling', 'rejected', 'reviewing'}
- get_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class TaskImageLabelView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_image_labels/<task_image_id>
- post_args = [<deepdataspace.utils.http.Argument object>]
- class TaskImageReviewView(**kwargs)[source]
Bases:
AuthenticatedAPIView
POST /api/v1/label_task_image_reviews/<task_image_id>
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
lints
deepdataspace.server.resources.api_v1.lints
RESTful APIs on lints.
- class UserNameLintsView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/user_name_lints
- get_data = [<deepdataspace.utils.http.Argument object>]
login
deepdataspace.server.resources.api_v1.login
The login and logout RESTful APIs.
- class LoginView(**kwargs)[source]
Bases:
BaseAPIView
POST /api/v1/login
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
- class LogoutView(**kwargs)[source]
Bases:
AuthenticatedAPIView
DELETE /api/v1/logout
- class UserInfoView(**kwargs)[source]
Bases:
AuthenticatedAPIView
GET /api/v1/user_info
object_confirm
deepdataspace.server.resources.api_v1.object_confirm
RESTful API for object confirm.
- class ObjectConfirmView(**kwargs)[source]
Bases:
BaseAPIView
POST /api/v1/object_confirm
- post_args = [<deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>, <deepdataspace.utils.http.Argument object>]
ping
deepdataspace.server.resources.api_v1.ping
RESTful API to check service health of api v1 version.
- class PingView(**kwargs)[source]
Bases:
BaseAPIView
GET /api/v1/ping