-
Notifications
You must be signed in to change notification settings - Fork 18
MapAPI
http://resource.openra.net/map/MAPHASH
where MAPHASH is a hash uid for requested map.
Map will be served with Content-Disposition header and name will look like: mapname-revisionid.oramap.
If map with specified hash is not found, 404 error is served.
http://resource.openra.net/map/hash/MAPHASH[,MAPHASH1,MAPHASHn]
where MAPHASH is a hash uid for requested map.
As a result of request, you will get a JSON page with basic map information.
If map with specified hash is not found, 404 error is served.
If /yaml/ prefix is added in the end of URL, YAML page will be served.
http://resource.openra.net/map/id/MAP_ID[,MAP_ID1,MAP_IDn]
where MAP_ID is an ID for requested map.
As a result of request, you will get a JSON page with basic map information.
If map with specified ID is not found, 404 error is served.
If /yaml/ prefix is added in the end of URL, YAML page will be served.
http://resource.openra.net/map/url/MAPHASH
where MAPHASH is a hash uid for requested map.
AS a result of request, you will get a JSON page containing map's url and some additional info you might need.
If map with specified hash is not found, 404 error is served.
If /yaml/ prefix is added in the end of URL, YAML page will be served.
http://resource.openra.net/map/lastmap/
As a result of request, you will get a JSON page with basic map information.
If /yaml/ prefix is added in the end of URL, YAML page will be served.