Project

General

Profile

API » History » Version 8

Version 7 (Maarten Plieger, 10/22/2015 03:08 PM) → Version 8/72 (Maarten Plieger, 10/23/2015 07:17 AM)

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. Basket requests

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

h2. WMS requests

h2. OpenDAP requests