Class ProjectsApi

ProjectsApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • ProjectsApi

Constructors

  • Parameters

    • Optional configuration: Configuration
    • basePath: string = BASE_PATH
    • axios: AxiosInstance = globalAxios

    Returns ProjectsApi

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • 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 Promise<AxiosResponse<void, any>>

    Summary

    Methods create a project from a backup

    Throws

    Memberof

    ProjectsApi

  • 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 Promise<AxiosResponse<RqId, any>>

    Summary

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

    Throws

    Memberof

    ProjectsApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Summary

    Method deletes a specific project

    Throws

    Memberof

    ProjectsApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Summary

    Methods creates a backup copy of a project

    Throws

    Memberof

    ProjectsApi

  • 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 Promise<AxiosResponse<File, any>>

    Summary

    Export project as a dataset in a specific format

    Throws

    Memberof

    ProjectsApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Summary

    Method returns a preview image for the project

    Throws

    Memberof

    ProjectsApi

Generated using TypeDoc