Querying the Change Operation History
Function
This API is used to query the change operation history.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{cloudProjectId}/change-request/{changeRequestId}/oplog/query
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
cloudProjectId |
Yes |
String |
Project ID. |
changeRequestId |
Yes |
String |
Change ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
offset |
No |
Integer |
Offset. |
limit |
No |
Integer |
Page size. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total |
Integer |
Total number of records. |
data |
Array of ChangeRequestOplogVO objects |
Operation history. |
Example Requests
GET https://{endpoint}/v2/2d09f712e9504b61b034cc8f40e475a8/change-request/21c4adfc64194746ae38d595df3edd73/oplog/query?offset=0&limit=10
Example Responses
Status code: 200
ok
{ "total" : 4, "data" : [ { "operator_id" : "05d8ca972f114765a8984795a8aa4d41", "operator_name" : "north-5", "operate" : "Update status", "message" : "Change the status from [Releasing] to [Released]", "operate_time" : "1718702374" }, { "operator_id" : "05d8ca972f114765a8984795a8aa4d41", "operator_name" : "north-5", "operate" : "Update status", "message" : "Change the status from [To be released] to [Releasing]", "operate_time" : "1718701675" }, { "operator_id" : "05d8ca972f114765a8984795a8aa4d41", "operator_name" : "north-5", "operate" : "Update status", "message" : "Change the status from [Developing] to [To be released]", "operate_time" : "1718701669" }, { "operator_id" : "05d8ca972f114765a8984795a8aa4d41", "operator_name" : "north-5", "operate" : "Create a change", "message" : "Create a change", "operate_time" : "1718701665" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
ok |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot