List Events

GET /event

Retrieve Mutation Events for a given date range. Defaults to retrieving Events for the past 24 hours. Both a from and to arguments can be specified to filter Events over a specific period. Events will be the the most descriptive possible but not all fields are mandatory

Query parameters

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • Operation unique identifier

    • iam-role object

      Details about the IAM Role

      Hide iam-role attributes Show iam-role attributes
    • zone string

      Operation targeted zone

    • Query string parameters (free form map)

    • Body parameters (free form map)

    • status integer(int64)

      Operation HTTP status

      Minimum value is 0.

    • Client IP address

    • Details about the IAM API Key

      Hide iam-api-key attributes Show iam-api-key attributes
    • uri string

      Operation request URI

    • elapsed-ms integer(int64)

      Operation processing time

      Minimum value is 0.

    • timestamp string(date-time)

      Time at which the event happened, millisecond resolution

    • URI path parameters (free form map)

    • handler string

      Operation handler name

    • message string

      Operation message

GET /event
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/event
Response examples (200)
[
  {
    "request-id": "string",
    "iam-role": {
      "id": "string",
      "name": "string",
      "description": "string",
      "permissions": [
        "bypass-governance-retention"
      ],
      "labels": {
        "key": "string"
      },
      "editable": true,
      "policy": {
        "default-service-strategy": "allow",
        "services": {
          "type": "rules",
          "rules": [
            {
              "action": "allow",
              "expression": "string",
              "resources": [
                "string"
              ]
            }
          ]
        }
      }
    },
    "zone": "string",
    "get-params": {},
    "body-params": {},
    "status": 42,
    "source-ip": "string",
    "iam-api-key": {
      "name": "string",
      "key": "string",
      "role-id": "string"
    },
    "uri": "string",
    "elapsed-ms": 42,
    "timestamp": "2024-05-04T09:42:00+00:00",
    "path-params": {},
    "handler": "string",
    "message": "string"
  }
]