Get Event

Get event with specified identifier.

Get Event

GET https://environment.monterosa.cloud/api/v2/events/:event_id

Path Parameters

Query Parameters

Headers

{
  "data": {
    "id": "4ba39f91-627f-4668-92be-9519a803e06d",
    "type": "events",
    "attributes": {
      "name": "Event Name",
      "duration": 3600,
      "original_duration": 3600,
      "start_mode": "manual",
      "repeat": false,
      "repeat_in": null,
      "live_stats_uuid": null,
      "on_demand_duration": null,
      "extra_time_duration": null,
      "start_at": 1546290000,
      "start_at_iso": "2018-12-31T21:00:00Z",
      "end_at": 1546293600,
      "end_at_iso": "2018-12-31T22:00:00Z",
      "end_mode": "duration",
      "settings": [
        {
          "key": "bool",
          "values": {
            "all": true
          }
        },
        ......
      ],
      "state": "future",
      "actions": [
        
      ]
    },
    "relationships": {
      "elements": {
        "links": {
          "related": "https://example.lvis.io/api/v2/events/4ba39f91-627f-4668-92be-9519a803e06d/elements"
        }
      },
      "stats": {
        "data": {
          "id": "4ba39f91-627f-4668-92be-9519a803e06d",
          "type": "stats"
        }
      },
      "project": {
        "data": {
          "id": "fe5eba4d-d7b6-408f-a393-39bc8f41d2c5",
          "type": "projects"
        }
      }
    },
    "links": {
      "self": "https://example.lvis.io/api/v2/events/4ba39f91-627f-4668-92be-9519a803e06d"
    }
  }
}

Example

curl --request GET \
  --url https://environment.monterosa.cloud/api/v2/events/b9cb1ba0-d1d3-4f44-8248-d78f8bd4a323 \
  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json'

Get event with stats and project

curl --request GET \
  --url https://environment.monterosa.cloud/api/v2/events/b9cb1ba0-d1d3-4f44-8248-d78f8bd4a323?include=stats,project \
  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json'