LIVE events

live#index - Filter by slug

Parameters

Name Description
offset Filter parameter: define the amount of records to be skipped
per_page Filter parameter: define the amount of records sent per call (default 20, max 50)
older Filter parameter: get only records with older "start_at" date than the provided date (format "YYYY-MM-DD")
newer Filter parameter: get only records with newer "start_at" date (includes events with unspeficifed date) than the provided date (format "YYYY-MM-DD")
search[category] Retrieve events for a specific category
search[date] Retrieve events for a specific month (format "YYYY-MM"), use "false" for events without a start_at date
search[live_video] Retrieve LIVE on camera events. true or false. Default: false
search[slug] Filter by the url slug of the collection

Request

Route

GET /v1/live?search[slug]=awesome-ama-session-16

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com

Response

Status

200 OK

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Rate-Limit-Limit: 900
X-Rate-Limit-Remaining: 900
X-Rate-Limit-Reset: 900
ETag: "bbd351500bdaa8ccd1c3b5e1c7ec9dee"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 397

Body

{
  "live_events" : [
    {
      "background_image_url" : null,
      "category_id" : 1,
      "ends_at" : "2017-07-13T14:22:12.725-07:00",
      "id" : 16,
      "name" : "Awesome AMA Session #16",
      "schedule_image_url" : null,
      "starts_at" : "2017-07-13T13:22:12.725-07:00",
      "subscriber_count" : 0,
      "tagline" : "Learn the best things from 16",
      "live_video" : false,
      "guests" : [],
      "twitter_username" : null,
      "url" : "http://www.producthunt.com/live/awesome-ama-session-16"
    }
  ]
}