Skip to content

Instantly share code, notes, and snippets.

@muhammadghazali
Created April 23, 2013 03:18
Show Gist options
  • Save muhammadghazali/5440581 to your computer and use it in GitHub Desktop.
Save muhammadghazali/5440581 to your computer and use it in GitHub Desktop.
ghanoz-json: Get Event List API Documentations

API URL

http://ghanozjson.ap01.aws.af.cm/events

Request Header

Accept: application/json
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

Response Header

Accept-Ranges: bytes 
Age: 0 
Content-Type: application/json 
Date: Tue, 23 Apr 2013 03:09:42 GMT 
Server: nginx 
Vary: Accept 
Via: 1.1 varnish 
X-Powered-By: Express
X-Varnish: 1827301543
Content-Length: 341 
Connection: keep-alive

Response Body

{
    "url": "http://localhost:3000/events",
    "data": [
        {
            "_id": 1,
            "title": "Free event",
            "shortDescription": "Free event for students",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 3,
            "lastUpdated": 1612928781634,
            "timestamp": 1612928781634
        },
        {
            "_id": 2,
            "title": "Dolor zzril exerci.",
            "shortDescription": "Lobortis duis accumsan at vulputate.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 4,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 3,
            "title": "Accumsan hendrerit vel.",
            "shortDescription": "Vulputate suscipit nibh nulla qui.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 4,
            "title": "Facilisi vulputate et.",
            "shortDescription": "Ipsum ex hendrerit accumsan esse.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 5,
            "title": "Qui ad adipiscing.",
            "shortDescription": "Quis vero odio minim nibh.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 5,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 6,
            "title": "Eros laoreet blandit.",
            "shortDescription": "Ut nulla tincidunt consequat nisl.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 1,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 7,
            "title": "In velit velit.",
            "shortDescription": "Zzril te nonummy aliquam et.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 8,
            "title": "Et dolor luptatum.",
            "shortDescription": "Aliquip at et exerci laoreet.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 1,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 9,
            "title": "Accumsan euismod consequat.",
            "shortDescription": "Duis velit minim odio ad.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 4,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 10,
            "title": "At dolor esse.",
            "shortDescription": "Commodo consequat consequat vulputate odio.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 11,
            "title": "Qui consectetuer hendrerit.",
            "shortDescription": "Enim wisi dolor autem erat.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 12,
            "title": "Euismod duis dolore.",
            "shortDescription": "Aliquam duis nulla tation laoreet.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": true,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 13,
            "title": "Qui ex odio.",
            "shortDescription": "Dolore quis et consequat ipsum.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 1,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 14,
            "title": "Eros ipsum ipsum.",
            "shortDescription": "Velit dolore zzril feugiat ullamcorper.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 4,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        },
        {
            "_id": 15,
            "title": "Sed veniam odio.",
            "shortDescription": "Laoreet minim aliquip ullamcorper te.",
            "times": [
                {
                    "milliseconds": 1613028781634,
                    "fullFormat": "Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)",
                    "year": 2021,
                    "month": 1,
                    "date": 11,
                    "day": 1
                }
            ],
            "isPassed": false,
            "rating": 3,
            "lastUpdated": 161292898164,
            "timestamp": 1612928781634
        }
    ]
}

API URL

http://ghanozjson.ap01.aws.af.cm/events

Request Header

Accept: application/json
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response

Response Header

Accept-Ranges: bytes 
Age: 0 
Content-Type: application/json 
Date: Tue, 23 Apr 2013 03:09:42 GMT 
Server: nginx 
Vary: Accept 
Via: 1.1 varnish 
X-Powered-By: Express
X-Varnish: 1827301543
Content-Length: 341 
Connection: keep-alive

Response Body

<response>
    <url>http://localhost:3000/events</url>
    <data>
        <data id="1">
            <title>Free event</title>
            <shortDescription>Free event for students</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>3</rating>
            <lastUpdated>1612928781634</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="2">
            <title>Dolor zzril exerci.</title>
            <shortDescription>Lobortis duis accumsan at vulputate.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>4</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="3">
            <title>Accumsan hendrerit vel.</title>
            <shortDescription>Vulputate suscipit nibh nulla qui.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="4">
            <title>Facilisi vulputate et.</title>
            <shortDescription>Ipsum ex hendrerit accumsan esse.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="5">
            <title>Qui ad adipiscing.</title>
            <shortDescription>Quis vero odio minim nibh.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>5</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="6">
            <title>Eros laoreet blandit.</title>
            <shortDescription>Ut nulla tincidunt consequat nisl.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>1</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="7">
            <title>In velit velit.</title>
            <shortDescription>Zzril te nonummy aliquam et.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="8">
            <title>Et dolor luptatum.</title>
            <shortDescription>Aliquip at et exerci laoreet.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>1</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="9">
            <title>Accumsan euismod consequat.</title>
            <shortDescription>Duis velit minim odio ad.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>4</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="10">
            <title>At dolor esse.</title>
            <shortDescription>Commodo consequat consequat vulputate odio.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="11">
            <title>Qui consectetuer hendrerit.</title>
            <shortDescription>Enim wisi dolor autem erat.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="12">
            <title>Euismod duis dolore.</title>
            <shortDescription>Aliquam duis nulla tation laoreet.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>true</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="13">
            <title>Qui ex odio.</title>
            <shortDescription>Dolore quis et consequat ipsum.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>1</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="14">
            <title>Eros ipsum ipsum.</title>
            <shortDescription>Velit dolore zzril feugiat ullamcorper.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>4</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
        <data id="15">
            <title>Sed veniam odio.</title>
            <shortDescription>Laoreet minim aliquip ullamcorper te.</shortDescription>
            <times>
                <time>
                    <milliseconds>1613028781634</milliseconds>
                    <fullFormat>Thu Feb 11 2021 14:33:01 GMT+0700 (WIT)</fullFormat>
                    <year>2021</year>
                    <month>1</month>
                    <date>11</date>
                    <day>1</day>
                </time>
            </times>
            <isPassed>false</isPassed>
            <rating>3</rating>
            <lastUpdated>161292898164</lastUpdated>
            <timestamp>1612928781634</timestamp>
        </data>
    </data>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment