Acontext
AdminV1Project

Create a new project

POST
/admin/v1/project

Create a new project with a randomly generated secret key

Request Body

application/json

Project configuration

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://loading/api/v1/admin/v1/project" \  -H "Content-Type: application/json" \  -d '{}'
{
  "code": 0,
  "error": "string",
  "msg": "string",
  "data": {
    "project_id": "string",
    "secret_key": "string"
  }
}
{
  "code": 0,
  "error": "string",
  "msg": "string"
}
{
  "code": 0,
  "error": "string",
  "msg": "string"
}