{
  "opencollection": "1.0.0",
  "info": {
    "name": "Modern Treasury AccountCapability Event API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Event",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "list events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/events",
            "params": [
              {
                "name": "after_cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "event_time_start",
                "value": "",
                "type": "query",
                "description": "An inclusive lower bound for when the event occurred"
              },
              {
                "name": "event_time_end",
                "value": "",
                "type": "query",
                "description": "An inclusive upper bound for when the event occurred"
              },
              {
                "name": "resource",
                "value": "",
                "type": "query"
              },
              {
                "name": "entity_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "event_name",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "list events"
        },
        {
          "info": {
            "name": "get event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:3000/api/events/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "event id"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "get event"
        }
      ]
    }
  ],
  "bundled": true
}