Back to top

Pindle API Documentation

Authentication

API users authenticate using API key. Example:

Authorization: Token token=5262d64b892e8d4341000001

Error Responses

All error responses have the same structure:

{
  "data": null, 
  "message": "Error message", 
  "status": 400
}

Common Error Responses

Unauthorized:

{
  "data": null, 
  "message": "Unauthorized", 
  "status": 401
}

Argument missing:

{
  "status": 422,
  "message": "Argument missing",
  "data": null
}

Language not supported:

{
  "status": 500,
  "message": "Language not supported",
  "data": null
}

Revisions

Revision List

Get Revisions
GET/revisions/latest{?language,timestamp,areas}

Get latest revisions data.

Example URI

GET https://admin.pindle.dk/api/v2/revisions/latest?language=da&timestamp=1441630671&areas=1
URI Parameters
HideShow
language
string (required) Example: da

Language

timestamp
number (required) Example: 1441630671

Get latest revisions after timestamp

areas
array (optional) Example: 1

Filter areas

For example: /revisions/latest?areas[]=1&areas[]=7

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "events": [
      {
        "id": 1,
        "title": "Title",
        "description": "Description",
        "start_date": 1487157180,
        "end_date": 1487157180,
        "price": "25",
        "status": "active",
        "number_of_tickets": 10,
        "reject_message": "null",
        "user_id": 2312,
        "location_info": "Odense M, 5999 Odense, Danmark",
        "lat": "55.493317",
        "lng": "9.478003",
        "venue_id": 112,
        "disclaimer_accepted": true,
        "exposure": "large",
        "main_category_id": 9,
        "event_groups": [
          1
        ],
        "rank": 3,
        "ticket_link": "http://tickets.com/buy",
        "ticket_description": "``",
        "website2_link": "http://moreinfo.com/event",
        "website2_description": "``",
        "push_messages": "none",
        "images": {
          "listview": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "detail": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "original": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
        },
        "created_at": 1431954813,
        "updated_at": 1487173867,
        "deleted_at": 1431954813
      }
    ],
    "areas": [
      {
        "id": 1,
        "name": "Kolding",
        "active": true,
        "lat": "55.493317",
        "lng": "9.478003",
        "location_info": "1000 Kolding, Danmark",
        "image_content_type": "image/jpeg",
        "image_file_name": "Kolding.jpg",
        "image_file_size": 4892257,
        "image_medium": "http://pindle-staging.s3.amazonaws.com/medium/img.jpg",
        "image_thumb": "http://pindle-staging.s3.amazonaws.com/thumb/img.jpg",
        "image_updated_at": 1487173863,
        "created_at": 1431954813,
        "updated_at": 1487173867
      }
    ],
    "categories": [
      {
        "id": 1,
        "name": "Kultur",
        "created_at": 1431954813,
        "updated_at": 1431954813
      }
    ],
    "venues": [
      {
        "id": 1,
        "name": "Venue name",
        "description": "Lorem ipsum",
        "address1": "Buen 12",
        "address2": "``",
        "city": "Billund",
        "zip": "7190",
        "email": "venue@example.com",
        "website": "http://example.com/billund",
        "phone_number": "76300530",
        "opening_hours": "Mandag\\t09.00-19.00\\r\\n",
        "location_info": "7999 Billund, Danmark",
        "lat": "55.729594",
        "lng": "9.478003",
        "user_id": 431,
        "user_type": "organizer",
        "area_id": 2,
        "status": "approved",
        "reject_message": "null",
        "main_category_id": 4,
        "images": {
          "listview": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "detail": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "original": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
        },
        "created_at": 1431954813,
        "updated_at": 1431954813,
        "deleted_at": 1431954813
      }
    ],
    "deleted": {
      "venues": [
        1
      ],
      "events": [
        1
      ]
    },
    "last_updated": 1487157180
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "events": {
          "type": "array"
        },
        "areas": {
          "type": "array"
        },
        "categories": {
          "type": "array"
        },
        "venues": {
          "type": "array"
        },
        "deleted": {
          "type": "object",
          "properties": {
            "venues": {
              "type": "array",
              "description": "Deleted venues ids"
            },
            "events": {
              "type": "array",
              "description": "Deleted events ids"
            }
          }
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        }
      }
    }
  }
}

Activities

Activities List

Get Activities
GET/activities.xml{?search,dato,dage,hvad,hvor,kategori,event,sted,venue,rank,fra,til,api_key}

Get activities filtered by provided parameters.

Use search parameter to enable other filtering parameters. This turns off dato and dage support.

Authentication required via api_key parameter or Authorization header.

Example URI

GET https://admin.pindle.dk/api/v2/activities.xml?search=&dato=20170215&dage=1&hvad=Some title&hvor=Odense&kategori=Sport&event=Group name&sted=Agedrup&venue=12&rank=3&fra=15-02-2017&til=16-02-2017&api_key=5262d64b892e8d4341000001
URI Parameters
HideShow
api_key
string (required) Example: 5262d64b892e8d4341000001

Api key

dato
string (optional) Example: 20170215

Specify the particular date

dage
number (optional) Example: 1

Specify how many days into the future

search
boolean (optional) 

Enable searching

hvad
string (optional) Example: Some title

Search string

hvor
string (optional) Example: Odense

Filter by area

kategori
string (optional) Example: Sport

Filter by category

event
string (optional) Example: Group name

Filter by event group

sted
string (optional) Example: Agedrup

Filter by local area

venue
number (optional) Example: 12

Filter by venue id

rank
number (optional) Example: 3

Filter by event rank

fra
string (optional) Example: 15-02-2017

Set from date

til
string (optional) Example: 16-02-2017

Set to date

Response  200
HideShow
Headers
Content-Type: application/xml
Body
<?xml version="1.0" encoding="UTF-8"?>
<arrangementer test="X">
  <arrangement>
    <unid>1462</unid>
    <title>Sample event (same day)</title>
    <category>Natur</category>
    <rank>3</rank>
    <aflyst>N</aflyst>
    <resume>
      <![CDATA[Sample event with same date]]>
    </resume>
    <beskrivelse>
      <![CDATA[<p>Sample event with same date</p>]]>
    </beskrivelse>
    <laesmerelink/>
    <billeder>
      <billede type="kategori">http://localhost:3000/images/missing.png</billede>
      <billede type="original">
        http://pindle-staging.s3.amazonaws.com/pictures/images/000/001/340/original/nature.jpg?1475745616
      </billede>
      <billede type="200x150">
        http://pindle-staging.s3.amazonaws.com/pictures/images/000/001/340/detail_small/nature.jpg?1475745616
      </billede>
      <billede type="379x284">
        http://pindle-staging.s3.amazonaws.com/pictures/images/000/001/340/detail_large/nature.jpg?1475745616
      </billede>
    </billeder>
    <startdato>15/02/2017</startdato>
    <slutdato>15/02/2017</slutdato>
    <tidspunkt vissluttid="N">
      <starttidspunkt>12:13</starttidspunkt>
      <sluttidspunkt/>
    </tidspunkt>
    <sted>Kansas City</sted>
    <by>Odense</by>
    <adresse>Odense M, 5230 Odense, Danmark</adresse>
    <geolokation>
      <breddegrad>55.378635</breddegrad>
      <laengdegrad>10.409954</laengdegrad>
    </geolokation>
    <arrangoer>Kansas City</arrangoer>
    <arrangoerlink/>
    <entre value="Y">
      <prisfra>0</prisfra>
      <pristil>45</pristil>
      <billetsystem url="http://tickets.example.com/buy">Description</billetsystem>
    </entre>
    <tilmelding value="N"/>
    <event>
      <title>Event group 1</title>
      <eventkategorier>
        <eventkategori farvekode="#000000" primaer="Y">Natur</eventkategori>
      </eventkategorier>
    </event>
  </arrangement>
</arrangementer>
Response  401

Events

Events List

Get Events
GET/events{?language,timestamp,areas,category,venue,start_time,end_time,group,rank,city,search,per_page,page_no}

Get all active events.

Example URI

GET https://admin.pindle.dk/api/v2/events?language=da&timestamp=1441630671&areas=1&category=1&venue=1&start_time=1441630671&end_time=1441630671&group=1&rank=3&city=Kolding&search=title&per_page=10&page_no=1
URI Parameters
HideShow
language
string (required) Example: da

Language

timestamp
number (required) Example: 1441630671

Event update time

areas
array (optional) Example: 1

Filter areas

category
number (optional) Example: 1

Category id

venue
number (optional) Example: 1

Venue id

start_time
number (optional) Example: 1441630671

Event start time

end_time
number (optional) Example: 1441630671

Event end time

group
number (optional) Example: 1

Event group id

rank
number (optional) Example: 3

Event rank

city
string (optional) Example: Kolding

Event city

search
string (optional) Example: title

Search by title and description

per_page
number (optional) Default: 10 Example: 10

Number of events per page

page_no
number (optional) Default: 1 Example: 1

Page number

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "events": [
      {
        "id": 1,
        "title": "Title",
        "description": "Description",
        "start_date": 1487157180,
        "end_date": 1487157180,
        "price": "25",
        "status": "active",
        "number_of_tickets": 10,
        "reject_message": "null",
        "user_id": 2312,
        "location_info": "Odense M, 5999 Odense, Danmark",
        "lat": "55.493317",
        "lng": "9.478003",
        "venue_id": 112,
        "disclaimer_accepted": true,
        "exposure": "large",
        "main_category_id": 9,
        "event_groups": [
          1
        ],
        "rank": 3,
        "ticket_link": "http://tickets.com/buy",
        "ticket_description": "``",
        "website2_link": "http://moreinfo.com/event",
        "website2_description": "``",
        "push_messages": "none",
        "images": {
          "listview": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "detail": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "original": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
        },
        "created_at": 1431954813,
        "updated_at": 1487173867,
        "deleted_at": 1431954813
      }
    ],
    "last_updated": 1487157180,
    "total": 20,
    "total_pages": 2
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "events": {
          "type": "array"
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        },
        "total": {
          "type": "number",
          "description": "Total number of events"
        },
        "total_pages": {
          "type": "number",
          "description": "Number of pages"
        }
      }
    }
  }
}

Event

Get Event
GET/events/{id}{?language}

Get one event by id.

Example URI

GET https://admin.pindle.dk/api/v2/events/25?language=da
URI Parameters
HideShow
id
number (required) Example: 25

Event id

language
string (required) Example: da

Language

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "event": {
      "id": 1,
      "title": "Title",
      "description": "Description",
      "start_date": 1487157180,
      "end_date": 1487157180,
      "price": "25",
      "status": "active",
      "number_of_tickets": 10,
      "reject_message": "null",
      "user_id": 2312,
      "location_info": "Odense M, 5999 Odense, Danmark",
      "lat": "55.493317",
      "lng": "9.478003",
      "venue_id": 112,
      "disclaimer_accepted": true,
      "exposure": "large",
      "main_category_id": 9,
      "event_groups": [
        1
      ],
      "rank": 3,
      "ticket_link": "http://tickets.com/buy",
      "ticket_description": "``",
      "website2_link": "http://moreinfo.com/event",
      "website2_description": "``",
      "push_messages": "none",
      "images": {
        "listview": {
          "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
          "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
        },
        "detail": {
          "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
          "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
        },
        "original": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
      },
      "created_at": 1431954813,
      "updated_at": 1487173867,
      "deleted_at": 1431954813
    },
    "last_updated": 1487157180
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "event": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "description": "Id"
            },
            "title": {
              "type": "string",
              "description": "Title"
            },
            "description": {
              "type": "string",
              "description": "Description"
            },
            "start_date": {
              "type": "number",
              "description": "Event start date"
            },
            "end_date": {
              "type": "number",
              "description": "Event end date"
            },
            "price": {
              "type": "string",
              "description": "Event price"
            },
            "number_of_tickets": {
              "type": [
                "number",
                "null"
              ],
              "description": "Tickets number"
            },
            "status": {
              "type": "string",
              "description": "Event status"
            },
            "reject_message": {
              "type": [
                "string",
                "null"
              ],
              "description": "Rejection message"
            },
            "user_id": {
              "type": "number",
              "description": "User id"
            },
            "location_info": {
              "type": "string",
              "description": "Location information"
            },
            "lat": {
              "type": "string",
              "description": "Latitude"
            },
            "lng": {
              "type": "string",
              "description": "Longitude"
            },
            "venue_id": {
              "type": "number",
              "description": "Venue id"
            },
            "disclaimer_accepted": {
              "type": "boolean",
              "description": "Is disclaimer accepted?"
            },
            "exposure": {
              "type": "string",
              "description": "Event exposure"
            },
            "main_category_id": {
              "type": "number",
              "description": "Category id"
            },
            "event_groups": {
              "type": "array",
              "description": "Array of event group id"
            },
            "rank": {
              "type": "number",
              "description": "Event rank"
            },
            "ticket_link": {
              "type": "string",
              "description": "Ticket link"
            },
            "ticket_description": {
              "type": "string",
              "description": "Ticket link description"
            },
            "website2_link": {
              "type": "string",
              "description": "Website 2 link"
            },
            "website2_description": {
              "type": "string",
              "description": "Website 2 description"
            },
            "push_messages": {
              "type": "string",
              "description": "Push messages"
            },
            "images": {
              "type": "object",
              "properties": {
                "listview": {
                  "type": "object",
                  "properties": {
                    "large": {
                      "type": "string",
                      "description": "Large listview"
                    },
                    "small": {
                      "type": "string",
                      "description": "Small listview"
                    }
                  }
                },
                "detail": {
                  "type": "object",
                  "properties": {
                    "large": {
                      "type": "string",
                      "description": "Large detail"
                    },
                    "small": {
                      "type": "string",
                      "description": "Small detail"
                    }
                  }
                },
                "original": {
                  "type": "string",
                  "description": "Original image URL"
                }
              }
            },
            "created_at": {
              "type": "number",
              "description": "Event creation time"
            },
            "updated_at": {
              "type": "number",
              "description": "Event update time"
            },
            "deleted_at": {
              "type": [
                "number",
                "null"
              ],
              "description": "Event deletion time if deleted"
            }
          }
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        }
      }
    }
  }
}
Response  404
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 404,
  "message": "Event not found",
  "data": "null"
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number"
    },
    "message": {
      "type": "string"
    },
    "data": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Meta Data List

Get Meta Data
GET/meta_data{?language,timestamp,areas,mode}

Get events meta data.

Example URI

GET https://admin.pindle.dk/api/v2/meta_data?language=da&timestamp=1441630671&areas=1&mode=compact
URI Parameters
HideShow
language
string (required) Example: da

Language

timestamp
number (required) Example: 1441630671

Meta data update time

areas
array (optional) Example: 1

Filter areas

mode
string (optional) Example: compact

Response mode

Choices: compact

Request  Full mode
HideShow
Headers
Content-Type: application/json
Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "areas": [
      {
        "id": 1,
        "name": "Kolding",
        "active": true,
        "lat": "55.493317",
        "lng": "9.478003",
        "location_info": "1000 Kolding, Danmark",
        "image_content_type": "image/jpeg",
        "image_file_name": "Kolding.jpg",
        "image_file_size": 4892257,
        "image_medium": "http://pindle-staging.s3.amazonaws.com/medium/img.jpg",
        "image_thumb": "http://pindle-staging.s3.amazonaws.com/thumb/img.jpg",
        "image_updated_at": 1487173863,
        "created_at": 1431954813,
        "updated_at": 1487173867
      }
    ],
    "categories": [
      {
        "id": 1,
        "name": "Kultur",
        "created_at": 1431954813,
        "updated_at": 1431954813
      }
    ],
    "venues": [
      {
        "id": 1,
        "name": "Venue name",
        "description": "Lorem ipsum",
        "address1": "Buen 12",
        "address2": "``",
        "city": "Billund",
        "zip": "7190",
        "email": "venue@example.com",
        "website": "http://example.com/billund",
        "phone_number": "76300530",
        "opening_hours": "Mandag\\t09.00-19.00\\r\\n",
        "location_info": "7999 Billund, Danmark",
        "lat": "55.729594",
        "lng": "9.478003",
        "user_id": 431,
        "user_type": "organizer",
        "area_id": 2,
        "status": "approved",
        "reject_message": "null",
        "main_category_id": 4,
        "images": {
          "listview": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "detail": {
            "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
            "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "original": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
        },
        "created_at": 1431954813,
        "updated_at": 1431954813,
        "deleted_at": 1431954813
      }
    ],
    "event_groups": [
      {
        "id": 1,
        "name": "Group1",
        "description": "Desc",
        "active": true,
        "start_date": 1487157180,
        "end_date": 1487157180,
        "user_id": 5,
        "created_at": 1431954813,
        "updated_at": 1431954813
      }
    ],
    "last_updated": 1487157180
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "areas": {
          "type": "array"
        },
        "categories": {
          "type": "array"
        },
        "venues": {
          "type": "array"
        },
        "event_groups": {
          "type": "array"
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        }
      }
    }
  }
}
Request  Compact mode
HideShow
Headers
Content-Type: application/json
Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "areas": [
      {
        "id": 1,
        "name": "Kolding"
      }
    ],
    "categories": [
      {
        "id": 1,
        "name": "Kultur"
      }
    ],
    "venues": [
      {
        "id": 1,
        "name": "Venue name"
      }
    ],
    "event_groups": [
      {
        "id": 1,
        "name": "Group1"
      }
    ],
    "last_updated": 1487157180
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "areas": {
          "type": "array"
        },
        "categories": {
          "type": "array"
        },
        "venues": {
          "type": "array"
        },
        "event_groups": {
          "type": "array"
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        }
      }
    }
  }
}

Event Groups

Event Groups List

Get Event Groups
GET/event_groups{?language,timestamp}

Get event groups.

Example URI

GET https://admin.pindle.dk/api/v2/event_groups?language=da&timestamp=1441630671
URI Parameters
HideShow
language
string (required) Example: da

Language

timestamp
number (required) Example: 1441630671

Event groups update time

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "event_groups": [
      {
        "id": 1,
        "name": "Group1",
        "description": "Desc",
        "active": true,
        "start_date": 1487157180,
        "end_date": 1487157180,
        "user_id": 5,
        "created_at": 1431954813,
        "updated_at": 1431954813
      }
    ],
    "last_updated": 1487157180
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "event_groups": {
          "type": "array"
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        }
      }
    }
  }
}

Event Group

Get Event Group
GET/event_groups/{id}{?language}

Get one event group.

Example URI

GET https://admin.pindle.dk/api/v2/event_groups/1?language=da
URI Parameters
HideShow
id
number (required) Example: 1

Event group id

language
string (required) Example: da

Language

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "status": 200,
  "message": "``",
  "data": {
    "event_group": {
      "id": 1,
      "name": "Group1",
      "events": [
        {
          "id": 1,
          "title": "Title",
          "description": "Description",
          "start_date": 1487157180,
          "end_date": 1487157180,
          "price": "25",
          "status": "active",
          "number_of_tickets": 10,
          "reject_message": "null",
          "user_id": 2312,
          "location_info": "Odense M, 5999 Odense, Danmark",
          "lat": "55.493317",
          "lng": "9.478003",
          "venue_id": 112,
          "disclaimer_accepted": true,
          "exposure": "large",
          "main_category_id": 9,
          "event_groups": [
            1
          ],
          "rank": 3,
          "ticket_link": "http://tickets.com/buy",
          "ticket_description": "``",
          "website2_link": "http://moreinfo.com/event",
          "website2_description": "``",
          "push_messages": "none",
          "images": {
            "listview": {
              "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
              "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
            },
            "detail": {
              "large": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg",
              "small": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
            },
            "original": "http://pindle-staging.s3.amazonaws.com/pictures/pic.jpg"
          },
          "created_at": 1431954813,
          "updated_at": 1487173867,
          "deleted_at": 1431954813
        }
      ]
    },
    "last_updated": 1487157180
  }
}
Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "status": {
      "type": "number",
      "description": "HTTP status code"
    },
    "message": {
      "type": "string",
      "description": "Error message"
    },
    "data": {
      "type": "object",
      "properties": {
        "event_group": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "description": "Id"
            },
            "name": {
              "type": "string",
              "description": "Event group name"
            },
            "events": {
              "type": "array"
            }
          }
        },
        "last_updated": {
          "type": "number",
          "description": "Response creation time"
        }
      }
    }
  }
}
Response  404
HideShow
Headers
Content-Type: application/json

Generated by aglio on 19 Jun 2017