Function JobsApiAxiosParamCreator

  • JobsApi - axios parameter creator

    Parameters

    Returns {
        jobsCreate: ((jobWriteRequest, options?) => Promise<RequestArgs>);
        jobsCreateAnnotations: ((id, cloudStorageId?, filename?, format?, location?, useDefaultLocation?, annotationFileRequest?, options?) => Promise<RequestArgs>);
        jobsDestroy: ((id, options?) => Promise<RequestArgs>);
        jobsDestroyAnnotations: ((id, options?) => Promise<RequestArgs>);
        jobsList: ((xOrganization?, assignee?, dimension?, filter?, org?, orgId?, page?, pageSize?, projectId?, projectName?, search?, sort?, stage?, state?, taskId?, taskName?, type?, options?) => Promise<RequestArgs>);
        jobsPartialUpdate: ((id, patchedJobWriteRequest?, options?) => Promise<RequestArgs>);
        jobsPartialUpdateAnnotations: ((action, id, patchedLabeledDataRequest?, options?) => Promise<RequestArgs>);
        jobsRetrieve: ((id, options?) => Promise<RequestArgs>);
        jobsRetrieveAnnotations: ((id, action?, cloudStorageId?, filename?, format?, location?, useDefaultLocation?, options?) => Promise<RequestArgs>);
        jobsRetrieveData: ((id, number?, quality?, type?, options?) => Promise<RequestArgs>);
        jobsRetrieveDataMeta: ((id, options?) => Promise<RequestArgs>);
        jobsRetrieveDataset: ((format, id, action?, cloudStorageId?, filename?, location?, useDefaultLocation?, options?) => Promise<RequestArgs>);
        jobsRetrievePreview: ((id, options?) => Promise<RequestArgs>);
        jobsUpdateAnnotations: ((id, cloudStorageId?, filename?, format?, location?, rqId?, useDefaultLocation?, jobAnnotationsUpdateRequest?, options?) => Promise<RequestArgs>);
    }

    • jobsCreate: ((jobWriteRequest, options?) => Promise<RequestArgs>)
        • (jobWriteRequest, options?): Promise<RequestArgs>
        • Parameters

          • jobWriteRequest: JobWriteRequest
          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method creates a new job in the task

          Throws

    • jobsCreateAnnotations: ((id, cloudStorageId?, filename?, format?, location?, useDefaultLocation?, annotationFileRequest?, options?) => Promise<RequestArgs>)
        • (id, cloudStorageId?, filename?, format?, location?, useDefaultLocation?, annotationFileRequest?, options?): Promise<RequestArgs>
        • The request POST /api/jobs/id/annotations will initiate file upload and will create the rq job on the server in which the process of annotations uploading from file will be carried out. Please, use the PUT /api/jobs/id/annotations endpoint for checking status of the process.

          Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional cloudStorageId: number

            Storage id

          • Optional filename: string

            Annotation file name

          • Optional format: string

            Input format name You can get the list of supported formats at: /server/annotation/formats

          • Optional location: JobsCreateAnnotationsLocationEnum

            where to import the annotation from

          • Optional useDefaultLocation: boolean

            Use the location that was configured in the task to import annotation

          • Optional annotationFileRequest: AnnotationFileRequest
          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method allows to initialize the process of the job annotation upload from a local file or a cloud storage

          Throws

    • jobsDestroy: ((id, options?) => Promise<RequestArgs>)
        • (id, options?): Promise<RequestArgs>
        • Please note, that not every job can be removed. Currently, it is only available for Ground Truth jobs.

          Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method deletes a job and its related annotations

          Throws

    • jobsDestroyAnnotations: ((id, options?) => Promise<RequestArgs>)
        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method deletes all annotations for a specific job

          Throws

    • jobsList: ((xOrganization?, assignee?, dimension?, filter?, org?, orgId?, page?, pageSize?, projectId?, projectName?, search?, sort?, stage?, state?, taskId?, taskName?, type?, options?) => Promise<RequestArgs>)
        • (xOrganization?, assignee?, dimension?, filter?, org?, orgId?, page?, pageSize?, projectId?, projectName?, search?, sort?, stage?, state?, taskId?, taskName?, type?, options?): Promise<RequestArgs>
        • Parameters

          • Optional xOrganization: string

            Organization unique slug

          • Optional assignee: string

            A simple equality filter for the assignee field

          • Optional dimension: JobsListDimensionEnum

            A simple equality filter for the dimension field

          • Optional filter: string

            JSON Logic filter. This filter can be used to perform complex filtering by grouping rules. For example, using such a filter you can get all resources created by you: - {&quot;and&quot;:[{&quot;==&quot;:[{&quot;var&quot;:&quot;owner&quot;},&quot;<user>&quot;]}]} Details about the syntax used can be found at the link: https://jsonlogic.com/ Available filter_fields: [&#39;task_name&#39;, &#39;project_name&#39;, &#39;assignee&#39;, &#39;state&#39;, &#39;stage&#39;, &#39;id&#39;, &#39;task_id&#39;, &#39;project_id&#39;, &#39;updated_date&#39;, &#39;dimension&#39;, &#39;type&#39;].

          • Optional org: string

            Organization unique slug

          • Optional orgId: number

            Organization identifier

          • Optional page: number

            A page number within the paginated result set.

          • Optional pageSize: number

            Number of results to return per page.

          • Optional projectId: number

            A simple equality filter for the project_id field

          • Optional projectName: string

            A simple equality filter for the project_name field

          • Optional search: string

            A search term. Available search_fields: (&#39;task_name&#39;, &#39;project_name&#39;, &#39;assignee&#39;, &#39;state&#39;, &#39;stage&#39;)

          • Optional sort: string

            Which field to use when ordering the results. Available ordering_fields: [&#39;task_name&#39;, &#39;project_name&#39;, &#39;assignee&#39;, &#39;state&#39;, &#39;stage&#39;, &#39;id&#39;, &#39;task_id&#39;, &#39;project_id&#39;, &#39;updated_date&#39;, &#39;dimension&#39;, &#39;type&#39;]

          • Optional stage: JobsListStageEnum

            A simple equality filter for the stage field

          • Optional state: JobsListStateEnum

            A simple equality filter for the state field

          • Optional taskId: number

            A simple equality filter for the task_id field

          • Optional taskName: string

            A simple equality filter for the task_name field

          • Optional type: JobsListTypeEnum

            A simple equality filter for the type field

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method returns a paginated list of jobs

          Throws

    • jobsPartialUpdate: ((id, patchedJobWriteRequest?, options?) => Promise<RequestArgs>)
        • (id, patchedJobWriteRequest?, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional patchedJobWriteRequest: PatchedJobWriteRequest
          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Methods does a partial update of chosen fields in a job

          Throws

    • jobsPartialUpdateAnnotations: ((action, id, patchedLabeledDataRequest?, options?) => Promise<RequestArgs>)
        • (action, id, patchedLabeledDataRequest?, options?): Promise<RequestArgs>
        • Parameters

          Returns Promise<RequestArgs>

          Summary

          Method performs a partial update of annotations in a specific job

          Throws

    • jobsRetrieve: ((id, options?) => Promise<RequestArgs>)
        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method returns details of a job

          Throws

    • jobsRetrieveAnnotations: ((id, action?, cloudStorageId?, filename?, format?, location?, useDefaultLocation?, options?) => Promise<RequestArgs>)
        • (id, action?, cloudStorageId?, filename?, format?, location?, useDefaultLocation?, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional action: "download"

            Used to start downloading process after annotation file had been created

          • Optional cloudStorageId: number

            Storage id

          • Optional filename: string

            Desired output file name

          • Optional format: string

            Desired output format name You can get the list of supported formats at: /server/annotation/formats

          • Optional location: JobsRetrieveAnnotationsLocationEnum

            Where need to save downloaded annotation

          • Optional useDefaultLocation: boolean

            Use the location that was configured in the task to export annotation

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method returns annotations for a specific job as a JSON document. If format is specified, a zip archive is returned.

          Throws

    • jobsRetrieveData: ((id, number?, quality?, type?, options?) => Promise<RequestArgs>)
        • (id, number?, quality?, type?, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional number: number

            A unique number value identifying chunk or frame

          • Optional quality: JobsRetrieveDataQualityEnum

            Specifies the quality level of the requested data

          • Optional type: JobsRetrieveDataTypeEnum

            Specifies the type of the requested data

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method returns data for a specific job

          Throws

    • jobsRetrieveDataMeta: ((id, options?) => Promise<RequestArgs>)
        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method provides a meta information about media files which are related with the job

          Throws

    • jobsRetrieveDataset: ((format, id, action?, cloudStorageId?, filename?, location?, useDefaultLocation?, options?) => Promise<RequestArgs>)
        • (format, id, action?, cloudStorageId?, filename?, location?, useDefaultLocation?, options?): Promise<RequestArgs>
        • Parameters

          • format: string

            Desired output format name You can get the list of supported formats at: /server/annotation/formats

          • id: number

            A unique integer value identifying this job.

          • Optional action: "download"

            Used to start downloading process after annotation file had been created

          • Optional cloudStorageId: number

            Storage id

          • Optional filename: string

            Desired output file name

          • Optional location: JobsRetrieveDatasetLocationEnum

            Where need to save downloaded dataset

          • Optional useDefaultLocation: boolean

            Use the location that was configured in the task to export dataset

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Export job as a dataset in a specific format

          Throws

    • jobsRetrievePreview: ((id, options?) => Promise<RequestArgs>)
        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method returns a preview image for the job

          Throws

    • jobsUpdateAnnotations: ((id, cloudStorageId?, filename?, format?, location?, rqId?, useDefaultLocation?, jobAnnotationsUpdateRequest?, options?) => Promise<RequestArgs>)
        • (id, cloudStorageId?, filename?, format?, location?, rqId?, useDefaultLocation?, jobAnnotationsUpdateRequest?, options?): Promise<RequestArgs>
        • To check the status of the process of uploading a job annotations from a file: After initiating the annotations upload, you will receive an rq_id parameter. Make sure to include this parameter as a query parameter in your subsequent PUT /api/jobs/id/annotations requests to track the status of the annotations upload.

          Parameters

          • id: number

            A unique integer value identifying this job.

          • Optional cloudStorageId: number

            Storage id

          • Optional filename: string

            Annotation file name

          • Optional format: string

            Input format name You can get the list of supported formats at: /server/annotation/formats

          • Optional location: JobsUpdateAnnotationsLocationEnum

            where to import the annotation from

          • Optional rqId: string

            rq id

          • Optional useDefaultLocation: boolean

            Use the location that was configured in the task to import annotation

          • Optional jobAnnotationsUpdateRequest: JobAnnotationsUpdateRequest
          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

          Summary

          Method performs an update of all annotations in a specific job or used for uploading annotations from a file

          Throws

    Export

Generated using TypeDoc