Function JobsApiFactory

  • JobsApi - factory interface

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns {
        jobsCreate(requestParameters, options?) => AxiosPromise<JobRead>;
        jobsCreateAnnotations(requestParameters, options?) => AxiosPromise<void>;
        jobsDestroy(requestParameters, options?) => AxiosPromise<void>;
        jobsDestroyAnnotations(requestParameters, options?) => AxiosPromise<void>;
        jobsList(requestParameters?, options?) => AxiosPromise<PaginatedJobReadList>;
        jobsPartialUpdate(requestParameters, options?) => AxiosPromise<JobRead>;
        jobsPartialUpdateAnnotations(requestParameters, options?) => AxiosPromise<void>;
        jobsRetrieve(requestParameters, options?) => AxiosPromise<JobRead>;
        jobsRetrieveAnnotations(requestParameters, options?) => AxiosPromise<AnnotationsRead>;
        jobsRetrieveData(requestParameters, options?) => AxiosPromise<File>;
        jobsRetrieveDataMeta(requestParameters, options?) => AxiosPromise<DataMetaRead>;
        jobsRetrieveDataset(requestParameters, options?) => AxiosPromise<File>;
        jobsRetrievePreview(requestParameters, options?) => AxiosPromise<void>;
        jobsUpdateAnnotations(requestParameters, options?) => AxiosPromise<void>;
    }

    • jobsCreate:function
      • Parameters

        • requestParameters: JobsApiJobsCreateRequest

          Request parameters.

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<JobRead>

        Summary

        Method creates a new job in the task

        Throws

    • jobsCreateAnnotations:function
      • 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

        Returns AxiosPromise<void>

        Summary

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

        Throws

    • jobsDestroy:function
      • Please note, that not every job can be removed. Currently, it is only available for Ground Truth jobs.

        Parameters

        • requestParameters: JobsApiJobsDestroyRequest

          Request parameters.

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<void>

        Summary

        Method deletes a job and its related annotations

        Throws

    • jobsDestroyAnnotations:function
      • Parameters

        Returns AxiosPromise<void>

        Summary

        Method deletes all annotations for a specific job

        Throws

    • jobsList:function
    • jobsPartialUpdate:function
      • Parameters

        Returns AxiosPromise<JobRead>

        Summary

        Methods does a partial update of chosen fields in a job

        Throws

    • jobsPartialUpdateAnnotations:function
      • Parameters

        Returns AxiosPromise<void>

        Summary

        Method performs a partial update of annotations in a specific job

        Throws

    • jobsRetrieve:function
    • jobsRetrieveAnnotations:function
    • jobsRetrieveData:function
      • Parameters

        Returns AxiosPromise<File>

        Summary

        Method returns data for a specific job

        Throws

    • jobsRetrieveDataMeta:function
    • jobsRetrieveDataset:function
      • Parameters

        Returns AxiosPromise<File>

        Summary

        Export job as a dataset in a specific format

        Throws

    • jobsRetrievePreview:function
      • Parameters

        Returns AxiosPromise<void>

        Summary

        Method returns a preview image for the job

        Throws

    • jobsUpdateAnnotations:function
      • 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

        Returns AxiosPromise<void>

        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