LadyRhonwyn.2501:

I noticed there was a suggestion for guild events, but not for regular events…

I have the following requests for the events:

Group status (I have seen this one before somewhere, but can’t find the thread anymore)
Level requirement.

If location would be added, it would be the icing on the cake, but I have no idea if that’s even possible…

Khisanth.2948:

Location should also have 3 different fields. Start, current and final location.

Another thing that would be nice to go with the location is the path.

It would also be nice to have a timestamp for when an event has entered its current state. This can be used to figure out how much time is left on on timed events. It can also be used to find all potentially stalled events.

Many events also have some sort of objective. It would be nice to have the state of those objectives too. Examples would be when the pirates burn the town in Gendarran Fields and you have to put out x/y fires. Another example is when you have to take down the door in the Taidha Covington pre-event.

Primal Zed.9714:

I disagree with specifically ‘start’, ‘current’, and ‘final’ locations.

For starters, an escort only needs ‘current’ and ‘destination’.

Secondly, there might be events with different kinds of locations, for example “destroy 3 towers” with the location of each tower.

To that end, there should be a “locations” array, with the x, y, (z?) of each location for the event, the type of icon for that location (shield, star, swords, etc), and possibly a brief description of it (i.e. “Tower” or “Destination”)

I don’t think the full path of an escort is necessary.

Also, a primary icon to use for the event would be handy (similar to what klaufel set up at http://klaufel.info/gw2-active-events/ – he’s just parsing the first word of the event name and guessing what icon to use with it).

Khisanth.2948:

Start and path are not necessary but they are useful. The thing I have in mind is calculating current status.

DarkSpirit.7046:

A good example that I have in mind would be the website shown here. The fields for each event record should also include:

1. Location (called as Area in the above website) or a x/y co-ordinate position on the map.
2. Type of Event: Normal/Skill Challenge/Meta/Chest
3. DateTime of last status update to the event
4. Number of players participating/participated in the event, if possible.

Rawrfaec.6412:

A luxury problem but would it be possible to have events sorted by ID? It’s a lot of client overhead that seems like it could be avoided. I realize they probably aren’t indexed by public IDs and requiring an ORDER BY on every request would add unnecessary server overhead, which is even worse.

Primal Zed.9714:

A luxury problem but would it be possible to have events sorted by ID? It’s a lot of client overhead that seems like it could be avoided. I realize they probably aren’t indexed by public IDs and requiring an ORDER BY on every request would add unnecessary server overhead, which is even worse.

What’s the point in sorting by ID? It’s just a GUID, so putting it in alphabetical order by ID won’t have any value.

edit: Also, if these web services become widely used, it’d be much more efficient to do things like sorting client-side so to keep the web service response as fast and efficient as possible for tons of requesters.

Rawrfaec.6412:

There are certainly cases where having guaranteed sorted data wins you something without costing you anything for not having sorted data. But I did say it was a luxury problem.

DarkSpirit.7046:

For web services like these, sorted list from the server would be useful if the number of items in the list can change between calls very often. For example, the number of items in a search query from the Trading Post can change at anytime. The TP client can do all the sorting, but that would mean:

1. Getting the entire list from the server first (some performance hit) instead of a partial list (typically done if the list is long).
2. Sort the list
3. Keep the list static as the user navigates between pages of your search result.

All that time, the number of items in that list could have changed, or their prices could have changed, etc while the user is looking through it. This is the price to pay for a client-sorted list. But if the list is quite static, then client-sorted is fine and we save some server resources.

Currently, with the simple data and short list from events.json, I don’t think we need any sorting from the server, but feel free to disagree.

smiley.1438:

Please add the map_id to the event_names API – currently it’s a pain to find the right map for a given event (without a database driven backend) since its not assured that a given event is listed in the events response for a single world.

Khisanth.2948:

The timestamp would also help with dealing with server restarts.