Project

General

Profile

API » History » Version 5

Version 4 (Maarten Plieger, 10/22/2015 03:06 PM) → Version 5/72 (Maarten Plieger, 10/22/2015 03:07 PM)

h1. API

h2. Access token API

Generate a token which can be used to access C4I services:
* https://climate4impact.eu/impactportal/ImpactService?service=account&request=generatetoken

List all tokens available for the current user:
* https://climate4impact.eu/impactportal/ImpactService?service=account&request=listtokens

* WMS can be used via <pre>https://climate4impact.eu/impactportal/WMS/<accesstoken>/?</pre>
* WPS can be used via <pre>https://climate4impact.eu/impactportal/WPS/<accesstoken>/?</pre>
* File download requests and OpenDAP requests from the basket can be done via <pre>https://climate4impact.eu/impactportal/DAP/<accesstoken>/<userid>/<file>"</pre>
* Impact service requests can be done via <pre>https://climate4impact.eu/impactportal/ImpactService/<accesstoken>/?</pre>

h2. h2 Basket requests

* Get overview of all files in the users basket: service=basket&request=getoverview,
** e.g. <pre>https://climate4impact.eu/impactportal/ImpactService?&service=basket&request=getoverview&</pre>
** Or with an access token: <pre>https://climate4impact.eu/impactportal/ImpactService/<accesstoken>/?&service=basket&request=getoverview&</pre>