Project

General

Profile

API » History » Version 3

Version 2 (Maarten Plieger, 10/22/2015 03:05 PM) → Version 3/72 (Maarten Plieger, 10/22/2015 03:06 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> https://climate4impact.eu/impactportal/WMS/<accesstoken>/?
* WPS can be used via https://climate4impact.eu/impactportal/WPS/<accesstoken>/?
* File download requests and OpenDAP requests from the basket can be done via https://climate4impact.eu/impactportal/DAP/<accesstoken>/<userid>/<file>"
* Impact service requests can be done via https://climate4impact.eu/impactportal/ImpactService/<accesstoken>/?

h2 Basket requests

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