

def get_event(self, id):
    '\n        Get details for an individual event with the given *id*.\n\n        See the `event API documentation <http://api.datadoghq.com/events>`_ for the\n        event data format.\n\n        >>> dog_http_api.get_event("event-1")\n        {\n          "id": "event-1",\n          "title": "my first event",\n          "priority": "normal",\n          "handle": "alq@datadoghq.com",\n          "date_happened": 1313769783,\n          "source": "nagios",\n          "alert_type": "ok",\n          "is_aggregate": true,\n          "children": [\n            {\n              "id": "event-100",\n              "date_happened": 123459833,\n              "alert_type": "error"\n            }, ...\n          ]\n        }\n        '
    return self.http_request('GET', ('/events/' + str(id)), response_formatter=(lambda x: self['event']))

dataset/ETHPy150Open DataDog/dogapi/src/dogapi/http/events.py EventApi.get_event/VarMisuse@36/281 `x`->`self`