Project

General

Profile

API » History » Version 3

Maarten Plieger, 10/22/2015 03:06 PM

1 1 Maarten Plieger
h1. API
2 1 Maarten Plieger
3 1 Maarten Plieger
h2. Access token API
4 1 Maarten Plieger
5 1 Maarten Plieger
Generate a token which can be used to access C4I services:
6 1 Maarten Plieger
* https://climate4impact.eu/impactportal/ImpactService?service=account&request=generatetoken
7 1 Maarten Plieger
8 1 Maarten Plieger
List all tokens available for the current user:
9 1 Maarten Plieger
* https://climate4impact.eu/impactportal/ImpactService?service=account&request=listtokens
10 1 Maarten Plieger
11 3 Maarten Plieger
* WMS can be used via <pre>https://climate4impact.eu/impactportal/WMS/<accesstoken>/?</pre>
12 1 Maarten Plieger
* WPS can be used via https://climate4impact.eu/impactportal/WPS/<accesstoken>/?
13 2 Maarten Plieger
* File download requests and OpenDAP requests from the basket can be done via https://climate4impact.eu/impactportal/DAP/<accesstoken>/<userid>/<file>"
14 2 Maarten Plieger
* Impact service requests can be done via https://climate4impact.eu/impactportal/ImpactService/<accesstoken>/?
15 1 Maarten Plieger
16 1 Maarten Plieger
h2 Basket requests
17 1 Maarten Plieger
18 2 Maarten Plieger
* Get overview of all files in the users basket: service=basket&request=getoverview, 
19 2 Maarten Plieger
** e.g. https://climate4impact.eu/impactportal/ImpactService?&service=basket&request=getoverview&
20 2 Maarten Plieger
** Or with an access token: https://climate4impact.eu/impactportal/ImpactService/<accesstoken>/?&service=basket&request=getoverview&