Closed merforga closed 6 years ago
reverse order of returned encounters. Currently returns oldest to newest. Should be newest to oldest
Also need to add areaid : (optional) Array to specify only specific encounters to pull back to API endpoint
encounters
now ordered by started_by
descendingencounters
does not return name
, but area_id
encounters
can be filtered by area_id
areas
to map area id
to name
One more additional thing, can we add categories and tags as in the returned json? Ie:
{
"time": "Datetimestamp",
"name": "Name of Boss",
"URL": "URL of encounter"
"category": "Category of encounter"
"tags": "Tags of encounter, comma delimited"
},
Version 1.0.14 released on 2018-03-12 11:42:13
New API endpoint : /api/encounters.json
Returns json of encounters in the format:
If null return message "No encounters found"
Parameters
Authentication via token, see #254
count: (optional) Number of encounters to return if requesttype = 1. Default value 1 date: (optional) Format = Epoch, Date range from which to pull encounters from (date range = date to current date). Default value = previous day success : (optional) Boolean, 1 = Success flag only, 0 = Unsuccessful, no value = ALL areaid : (optional) Array to specify only specific encounters to pull back
Responses
200 - Success, include response XML 401 - Invalid username password 500 - Invalid parameters (e.g. incorrect date format, count etc)