/api/events
Returns the list of the upcoming events
Request
CORS: Publicly Accessible
Query params Event representation | ||
limit | uint | |
offset | uint | |
position | string | Filter events that will happend in a specific position pattern: "^-?\\d{1,3},-?\\d{1,3}$" |
estate_id | int | Filter events that will happend in a specific estate |
creator | address | Filter events created by a user |
only_attendee | "1" "true" | Filter events that user will go (requires authentication) |
search | string | Filter events that contains a websearch expression, should have at least 3 characters otherwise the resultant list will be empty |
schedule | uuid | Filter events by specifyc schedule |
list | Filter event using one of the following list default: "active" | |
"all" | All events | |
"active" | Only current and future events | |
"live" | Only current events | |
"upcoming" | Only future events | |
order | "asc" "desc" | List order default: "asc" |
world | "1" "true" "0" "false" | True for events in Worlds, false for events not in Worlds, null for all events |
Response
Body | ||
ok | boolean | Define where the request was completed |
data | array | Event list |
data[] | object | |
data[].id | uudi | event id |
data[].name | string | The event name minLength: 0 maxLength: 150 |
data[].image | uri | Url to the event cover |
data[].description | string | The event description on markdown minLength: 0 maxLength: 5000 |
data[].start_at | date-time | The initial date of the event |
data[].finish_at | date-time | The latest data of the event |
data[].coordinates | array | The specific position |
data[].coordinates[] | string | pattern: "^-?\\d{1,3}$" |
data[].user | string | |
data[].approved | boolean | True if the event was approved by an admin |
data[].created_at | date-time | the time the event was created |
data[].updated_at | date-time | The time the event was last updated |
data[].total_attendees | number | The number of users who specified that they will attend the event minimum: 0 |
data[].latest_attendees | array | A list of the latest users who specified that they will attend the event |
data[].latest_attendees[] | address | |
data[].url | uri | The url where the event will take place |
data[].scene_name | string | The scene name where the event will take place |
data[].user_name | address | |
data[].rejected | boolean | True if the event was rejected by an admin |
data[].trending | boolean | True if the event is tending |
data[].server | string | Realm name |
data[].estate_id | uudi | state id |
data[].estate_name | string | The state name |
data[].x | number | minimum: -170 maximum: 170 |
data[].y | number | minimum: -170 maximum: 170 |
data[].all_day | boolean | True if the event is all day long |
data[].recurrent | boolean | True if the event si recurrent |
data[].recurrent_frequency | "YEARLY" "MONTHLY" "WEEKLY" "DAILY" "HOURLY" "MINUTELY" "SECONDLY" null | Rrule FREQ configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 |
data[].recurrent_weekday_mask | number | Rrule WEEKDAY configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 minimum: 0 |
data[].recurrent_month_mask | number | Rrule BYMONTH configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 minimum: 0 |
data[].recurrent_interval | number | Rrule INTERVAL configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 minimum: 0 |
data[].recurrent_count | number null | Rrule COUNT configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 |
data[].recurrent_until | date-time null | Rrule UNTIL configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 |
data[].duration | number | |
data[].recurrent_dates | array | The specific position |
data[].recurrent_dates[] | date-time | |
data[].recurrent_setpos | number null | Rrule BYSETPOS configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 minimum: 0 |
data[].recurrent_monthday | number null | Rrule BYMONTHDAY configuration, see: https://datatracker.ietf.org/doc/html/rfc5545 |
data[].highlighted | boolean | True if the event is highlighted |
data[].next_start_at | date-time | The next start of the event |
data[].next_finish_at | date-time | The next finish of the event |
data[].categories | array | List of categories |
data[].categories[] | string | |
data[].schedules | array | List of schedule ids |
data[].schedules[] | uudi | |
data[].approved_by | address | |
data[].rejected_by | address | |
data[].attending | boolean | Show if user is attending when searching by user |
data[].notify | boolean | Show if user get notify when searching by user |
data[].position | array | The specific position |
data[].position[] | string | pattern: "^-?\\d{1,3}$" |
data[].live | boolean | If event is live |
data[].world | boolean | True if the event is in a World |