Event

GET /user/:user_code/event

Read event list

Detail

Request

Body

Key

Type

Value

sacode

String

Narrow by specifying an SA code (option)

mota

String

Narrow by specifying an event type (option)

configure

Service adaptor configuration event

monitor

Monitor event

request

Request event

Response

Body

Key

Type

Value

results

Array

Event list

  • Max. 100 items

  • Up to 3 months prior

  • List is sorted according to timestamp

id String

Event ID

sa Array

List of service adaptors related to an event

priority String

Event priority

debug info warn alert

type String

Event type

configure

Service adaptor configuration event

monitor

Monitor event

request

Request event

subType String

Event details

config-solicitation

Config pulled by SA

push-ready

RS control confirmed

configure-started

Started to reflect to running config

configure-succeeded

Succeeded to reflect to running config

configure-failed

Failed to reflect to running config

reboot-init

Initialized running config due to reboot

timeout-init

Initialized running config due to timeout

confirmation-started

Started to confirm RS control

confirmation-failed

Failed to confirm RS control

disconnected

All tunnel connections disconnected

report-status-up

Heartbeat received information update (UP)

report-status-down

Heartbeat received information update (DOWN)

proxy-run

Started to process request at relay server

sa-run

Started to process request at the SA

succeed

Succeeded to process request

failed

Failed to process request

reinit

Restarted to process request

cancel

Timeout

no-distid-failed

Failed to process request

timestamp String

Event time

Sample

Request

URL
GET https://*.sacm.jp/public-api/v1/user/tsa99990001/event?sacode=tss99990001&type=request

Response

Body
{
  "results":[
    {
      "id": "1:2",
      "sa":[
        {
          "code": "tss99990001",
          "name": "Service adapter 001",
          "description": "MEMO",
          "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678",
          "up": true,
          "configState": "pushready",
          "group": {
            "id": 1,
            "name": "Folder1"
          },
          "template": {
            "id": 1,
            "name": "Template1"
          },
          "monitor": {
            "id": 1,
            "name": "Monitor1"
          },
          "date": {
            "lastPushReady": "2012/06/05 16:00:09",
            "lastHeartbeatReport": "2012/05/11 17:10:02",
            "lastPulled": "2012/05/11 17:06:22",
            "firstPulled": "2012/04/11 17:07:00"
          },
          "type": 0,
          "mode": null
        }
      ],
      "priority": "info",
      "type": "request",
      "subtype": "failed",
      "timestamp": "2012/06/25 17:10:54"
    },
    {
      "id": "1:1",
      "sa":[
        {
          "code": "tss99990001",
          "name": "Service adapter 001",
          "description": "MEMO",
          "distributionId": "0001-0000-0101-0000-0000-0000-1234-5678",
          "up": true,
          "configState": "pushready",
          "group": {
            "id": 1,
            "name": "Folder1"
          },
          "template": {
            "id": 1,
            "name": "Template1"
          },
          "monitor": {
            "id": 1,
            "name": "Monitor1"
          },
          "date": {
            "lastPushReady": "2012/06/05 16:00:09",
            "lastHeartbeatReport": "2012/05/11 17:10:02",
            "lastPulled": "2012/05/11 17:06:22",
            "firstPulled": "2012/04/11 17:07:00"
          },
          "type": 0,
          "mode": null
        }
      ],
      "priority": "info",
      "type": "request",
      "subtype": "proxy-run",
      "timestamp": "2012/06/25 17:07:54"
    }
  ]
}