Function ProjectsApiFactory

  • ProjectsApi - factory interface

    Parameters

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

    Returns {
        projectsCreate(requestParameters, options?) => AxiosPromise<ProjectRead>;
        projectsCreateBackup(requestParameters?, options?) => AxiosPromise<void>;
        projectsCreateDataset(requestParameters, options?) => AxiosPromise<RqId>;
        projectsDestroy(requestParameters, options?) => AxiosPromise<void>;
        projectsList(requestParameters?, options?) => AxiosPromise<PaginatedProjectReadList>;
        projectsPartialUpdate(requestParameters, options?) => AxiosPromise<ProjectRead>;
        projectsRetrieve(requestParameters, options?) => AxiosPromise<ProjectRead>;
        projectsRetrieveAnnotations(requestParameters, options?) => AxiosPromise<AnnotationsRead>;
        projectsRetrieveBackup(requestParameters, options?) => AxiosPromise<void>;
        projectsRetrieveDataset(requestParameters, options?) => AxiosPromise<File>;
        projectsRetrievePreview(requestParameters, options?) => AxiosPromise<void>;
    }

    • projectsCreate:function
    • projectsCreateBackup:function
      • The backup import process is as follows: The first request POST /api/projects/backup will initiate file upload and will create the rq job on the server in which the process of a project creating from an uploaded backup will be carried out. After initiating the backup upload, you will receive an rq_id parameter. Make sure to include this parameter as a query parameter in your subsequent requests to track the status of the project creation. Once the project has been successfully created, the server will return the id of the newly created project.

        Parameters

        Returns AxiosPromise<void>

        Summary

        Methods create a project from a backup

        Throws

    • projectsCreateDataset:function
      • The request POST /api/projects/id/dataset will initiate file upload and will create the rq job on the server in which the process of dataset import from a file will be carried out. Please, use the GET /api/projects/id/dataset endpoint for checking status of the process.

        Parameters

        Returns AxiosPromise<RqId>

        Summary

        Import dataset in specific format as a project or check status of dataset import process

        Throws

    • projectsDestroy:function
      • Parameters

        Returns AxiosPromise<void>

        Summary

        Method deletes a specific project

        Throws

    • projectsList:function
    • projectsPartialUpdate:function
    • projectsRetrieve:function
    • projectsRetrieveAnnotations:function
    • projectsRetrieveBackup:function
      • Parameters

        Returns AxiosPromise<void>

        Summary

        Methods creates a backup copy of a project

        Throws

    • projectsRetrieveDataset:function
      • To check the status of the process of importing a project dataset from a file: After initiating the dataset upload, you will receive an rq_id parameter. Make sure to include this parameter as a query parameter in your subsequent GET /api/projects/id/dataset requests to track the status of the dataset import. Also you should specify action parameter: action=import_status.

        Parameters

        Returns AxiosPromise<File>

        Summary

        Export project as a dataset in a specific format

        Throws

    • projectsRetrievePreview:function
      • Parameters

        Returns AxiosPromise<void>

        Summary

        Method returns a preview image for the project

        Throws

    Export

Generated using TypeDoc