Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

To access the API and its documentation, authentication on the Data Fabric is mandatory.

It's possible to use basic HTTP authentication. The form is filled in, the identifiers are sent on the url `/ login_check`. This responds with a cookie creation containing a token that can be used to call the API. For security, this token has a very short life (one minute) but will be automatically renewed when it expires. This will be done via a new cookie creation in the same HTTP response as the result requested from the API.

You will find all the necessary information for the use of this API here : DATAFABRIC_URL/api/doc


Example

To retrieve your platforms list:

curl https://manager.prod.saagie.io/api/v1/platform -u myUser:myPassword


To retrieve your jobs list

curl https://manager.prod.saagie.io/api/v1/platform/3 -u myUser:myPassword



  • No labels