Project

General

Profile

API » History » Version 2

Version 1 (Maarten Plieger, 10/22/2015 03:04 PM) → Version 2/72 (Maarten Plieger, 10/22/2015 03:05 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 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>" https://climate4impact.eu/impactportal/DAP/<access_token>/<userid>/<file>"
* Impact service requests can be done via https://climate4impact.eu/impactportal/ImpactService/<accesstoken>/? https://climate4impact.eu/impactportal/ImpactService/131794f2-dd2b-4420-af3f-a84c5ae6a98b/?

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&
service=basket&request=getoverview