3.2 Create the project in the tracking database

After login to the tracking database, users can add a new project into the database by using the command below:

curl -sS -d project_name=${project_name} -d project_name_full=${project_name_full} -d project_desc=${projectdesc} -d project_center=${project_center} -d subproject_name=${subproject_name} "http://IP/v1/projects/add"

Create the project

POST http://IP/v1/projects/add

Request Body

NameTypeDescription

project_name

string

Abbreviations of the project name.

project_name_ful

string

Full project name.

projectdesc

string

Project description.

project_center

string

Where is the data generated / obtained from.

subproject_name

string

Subject project name.

IP

string

Public IP address.

{
    "status":"success",
    "project_id":"107"
}

The VCPA API will directly return a project ID (project_id) for this project.

Last updated