Skip to content

REST API Sessions index and detailed

dgiormov edited this page Jul 2, 2014 · 4 revisions

Index JSON

address: /rest/event

[
            {
                "id": 100000,
                "name": "Welcome & Registration",
                "speakers": [ ],
                "room": "Lobby",
                "searchTerms": "Welcome & Registration #registration Lobby",
                "tags": [
                    "#registration"
                ],
                "startTime": 845,
                "duration": 45,
                "isSelected": true
            },
            {
                "id": 10001,
                "name": "Keynote",
                "speakers": [ ],
                "room": "Beta",
                "searchTerms": "Keynote #keynote Beta",
                "tags": [
                    "#keynote"
                ],
                "startTime": 930,
                "duration": 90,
                "isSelected": true
            },
            {
                "id": 1,
                "name": "Hack the World",
                "speakers": [
                    {
                        "id": "jdoe",
                        "name": "John Doe",
                        "email": "[email protected]",
                        "clickedUpon": 11
                    }
                ],
                "room": "Beta",
                "searchTerms": "Hack the Cloud #hack Beta",
                "tags": [
                    "#hack"
                ],
                "startTime": 1115,
                "duration": 30,
                "isSelected": true
            }
]

Detailed Session JSON

address: /rest/event/:id

{

    "id": 5,
    "name": "Hard Performance",
    "speakers": [
        {
            "id": "sheDoe",
            "name": "Jane Doe",
            "email": "[email protected]",
            "clickedUpon": 0
        }
    ],
    "room": "Alpha 2",
    "searchTerms": "Hard Performance Doe #hardperf Alpha 2",
    "tags": [
        "#hardperf"
    ],
    "startTime": 1250,
    "startTimeString": "12:50",
    "duration": 30,
    "isSelected": false,
    "description": "We must take objective metrics and strive to make our systems faster, more reliable and 
robust. Yet, we should also pay attention to perception of users as how users perceive the performance of a 
system is the ultimate measure of the real performance of that system.\r\nThis session: \r\n- Shows that 
performance has a soft side and bytes and seconds are not the only way to think about performance.\r\n- Gives",
    "hasSecret": true
}