Set Annotation to an User Operation Log (Historic)

Set an annotation for auditing reasons.

Method

PUT /history/user-operation/{operationId}/set-annotation

Parameters

Path Parameters

Name Description
operationId The operation id of the operation log to be updated.

Request Body

A JSON object with the following properties:

Name Description
annotation An arbitrary text annotation set by a user for auditing reasons.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
400 application/json Returned if some of the request parameters are invalid, for example if the operationId path parameter value does not exists. See the Introduction for the error response format.

Example

Request

PUT /history/user-operation/a02a5890-ad41-11e9-8609-c6bbb7c7e9e3/set-annotation

Request Body:

{
  "annotation": "Instances restarted due to wrong turn"
}

Response

Status 204. No content.

目录: