AlphaAlpha Docs
API ReferenceProject comment controller

Create Comment_ Project Comment

POST
/projects/{projectId}/scenarios/{scenarioId}/comments
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string
scenarioId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/projects/string/scenarios/string/comments" \  -H "Content-Type: application/json" \  -d '{    "position": {      "x": 0.1,      "y": 0.1,      "z": 0.1    },    "text": "string"  }'
{
  "anchorEntityId": "string",
  "anchorEntityType": "string",
  "authorId": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "id": "string",
  "position": {
    "x": 0.1,
    "y": 0.1,
    "z": 0.1
  },
  "replies": [
    {
      "authorId": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "id": "string",
      "text": "string"
    }
  ],
  "resolved": true,
  "scenarioId": "string",
  "text": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}