GW2Raidar / gw2raidar

A log parsing website for Guild Wars 2 combat logs
http://www.gw2raidar.com
GNU General Public License v3.0
20 stars 14 forks source link

API : Status call / URL check #200

Closed merforga closed 6 years ago

merforga commented 6 years ago

Current API allows for upload. Nice to have will be to allow a call to the server to see if the file has been processed successfully, return the URL parameter.

I believe filename might be the easiest way to do this (though if someone else uploads a different file it won't detect which IMO isn't too big of an issue)

API ENDPOINT status.json or something similar filename = [filename]

RESPONSE The server will check if filename exists in encounters table.

immortius commented 6 years ago

An alternative would be to have the upload service provide back some sort of id that would be used to track the upload status.

merforga commented 6 years ago

Feedback from Max: https://www.reddit.com/r/Guildwars2/comments/7850ly/mega_update_gw2raidarcom_apis_global_raid_reports/dosbe7y/

(include more error message returns)

merforga commented 6 years ago

Rethinking solution for this , will raise a new Issue