AlphaAlpha Docs

Update an epic

Updates an existing epic

PATCH
/hr/epics/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*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 PATCH "http://localhost:18080/api/v1/hr/epics/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "priority": 0,    "status": "PLANNING",    "tags": [      "string"    ]  }'
{
  "color": "string",
  "completedTaskCount": 0,
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "description": "string",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "featureCount": 0,
  "id": "string",
  "name": "string",
  "owner": {
    "avatar": "string",
    "department": "string",
    "email": "string",
    "fullName": "string",
    "id": "string",
    "jobTitle": "string"
  },
  "ownerId": "string",
  "priority": 0,
  "progress": 0.1,
  "projectId": "string",
  "status": "PLANNING",
  "tags": [
    "string"
  ],
  "targetEndDate": "2019-08-24",
  "targetStartDate": "2019-08-24",
  "taskCount": 0,
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "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"
}