Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GET /event

Browse events

Example URI

[http://example.com/restful_api/event?search[search]=christmas&when=this-month]

Parameter

Type

Require ?

Description

search[search]

string

no

Keyword for searching

user_id

string

no

Browse by owner id

sort

string

no

Support sort return results, available options: latest, most-liked, most-talked

when

string

no

Browse events by start time, available options: all-time, this-month, this-week, today, upcoming, ongoing

limit

number

no

Limit return results

page

number

no

Paging return results

item_id

number

no

Support browse events on item (pages/groups)

module_id

string

no

Support search events on item (pages/groups)

category

number

no

Support search events by category id

view

string

no

Support some view mode: featured, pending, my, attending, may-attend, not-attending, invites

...