HostingHistoryResponse

Request Information
TYPE Response
CategoryObjects

Description

Object: HostingHistoryResponse

Properties

name type required default description
hostingEvents array <HostingEvent> yes An array of HostingEvent objects
listItemCount integer yes 0 The total number of results in the list
responseId string yes The response id
clientRequestId string no The client request id if it was provided via the client-request-id header
status string yes The status of the request
message string yes The message

Sample JSON

{
  "responseId": "1_0009593897fd0e8b2a4b68495b48b87753cbe553",
  "status": "ok",
  "message": "The event list is attached",
  "listItemCount": 10,
  "hostingEvents": [
    {
      "id": 10,
      "message": "Job 5 completed with status done",
      "responseId": "1_883e0316c4c053c9fc385baddcb40192937714ff",
      "context": {
        "responseId": "1_883e0316c4c053c9fc385baddcb40192937714ff",
        "jobStatus": "done",
        "jobId": 5,
        "jobType": "updateHostingPackage"
      },
      "created": 1628513184
    },
    {
      "id": 9,
      "message": "update hosting:package requested",
      "responseId": "1_883e0316c4c053c9fc385baddcb40192937714ff",
      "context": {
        "oldPackage": "basic",
        "newPackage": "pro",
        "responseId": "1_883e0316c4c053c9fc385baddcb40192937714ff",
        "ip": "192.168.33.1",
        "apikeyid": 1,
        "apikeydescription": "test token",
        "requestInput": "{\"package\":\"pro\"}"
      },
      "created": 1628513183
    },
    {
      "id": 8,
      "message": "Job 4 completed with status failed",
      "responseId": "1_889fe4c44946f4a7d41f0b4807f83d543c67e3c2",
      "context": {
        "responseId": "1_889fe4c44946f4a7d41f0b4807f83d543c67e3c2",
        "jobStatus": "failed",
        "jobId": 4,
        "jobType": "updateHostingPackage"
      },
      "created": 1628513116
    },
    {
      "id": 7,
      "message": "update hosting:package requested",
      "responseId": "1_889fe4c44946f4a7d41f0b4807f83d543c67e3c2",
      "context": {
        "oldPackage": "basic",
        "newPackage": "pro",
        "responseId": "1_889fe4c44946f4a7d41f0b4807f83d543c67e3c2",
        "ip": "192.168.33.1",
        "apikeyid": 1,
        "apikeydescription": "test token",
        "requestInput": "{\"package\":\"pro\"}"
      },
      "created": 1628513112
    },
    {
      "id": 6,
      "message": "Job 3 completed with status failed",
      "responseId": "1_b59ed08599a6c3d373235b932684d1ce53d11c4b",
      "context": {
        "responseId": "1_b59ed08599a6c3d373235b932684d1ce53d11c4b",
        "jobStatus": "failed",
        "jobId": 3,
        "jobType": "updateHostingPackage"
      },
      "created": 1628513097
    },
    {
      "id": 5,
      "message": "update hosting:package requested",
      "responseId": "1_b59ed08599a6c3d373235b932684d1ce53d11c4b",
      "context": {
        "oldPackage": "basic",
        "newPackage": "pro",
        "responseId": "1_b59ed08599a6c3d373235b932684d1ce53d11c4b",
        "ip": "192.168.33.1",
        "apikeyid": 1,
        "apikeydescription": "test token",
        "requestInput": "{\"package\":\"pro\"}"
      },
      "created": 1628513095
    },
    {
      "id": 4,
      "message": "Job 2 completed with status failed",
      "responseId": "1_bb2881c2038c602a3ebc0e4c501ac81aa14de46c",
      "context": {
        "responseId": "1_bb2881c2038c602a3ebc0e4c501ac81aa14de46c",
        "jobStatus": "failed",
        "jobId": 2,
        "jobType": "updateHostingPackage"
      },
      "created": 1628512988
    },
    {
      "id": 3,
      "message": "update hosting:package requested",
      "responseId": "1_bb2881c2038c602a3ebc0e4c501ac81aa14de46c",
      "context": {
        "oldPackage": "basic",
        "newPackage": "pro",
        "responseId": "1_bb2881c2038c602a3ebc0e4c501ac81aa14de46c",
        "ip": "192.168.33.1",
        "apikeyid": 1,
        "apikeydescription": "test token",
        "requestInput": "{\"package\":\"pro\"}"
      },
      "created": 1628512942
    },
    {
      "id": 2,
      "message": "Job 1 completed with status done",
      "responseId": "1_e6969b44c7f5c793544e2783e70b340376366f1f",
      "context": {
        "responseId": "1_e6969b44c7f5c793544e2783e70b340376366f1f",
        "jobStatus": "done",
        "jobId": 1,
        "jobType": "createHosting"
      },
      "created": 1628512882
    },
    {
      "id": 1,
      "message": "create hosting requested",
      "responseId": "1_e6969b44c7f5c793544e2783e70b340376366f1f",
      "context": {
        "ip": "192.168.33.1",
        "responseId": "1_e6969b44c7f5c793544e2783e70b340376366f1f",
        "apikeyid": 1,
        "apikeydescription": "test token",
        "requestInput": "{\"package\":\"basic\",\"domain\":\"example-2021-8-9-14-40-49.com\",\"email\":\"test@example.com\",\"password\":null,\"ftpPassword\":null}"
      },
      "created": 1628512849
    }
  ]
}