Files
sailing-analytics/java/com.sap.sailing.landscape.gateway/webservices/api/getsessioncredentials.html
T

56 lines
1.8 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href='../../../../sailing-fontface-1.0.cache.css' media='screen' rel='stylesheet' title='Default stylesheet' type='text/css' />
<link href='../../../main.css' media='screen' rel='stylesheet' title='Default stylesheet' type='text/css' />
<link rel='icon' href='../../../../sap.ico' type='image/x-icon'>
<title>SAP Sailing Analytics Webservices API Version 1.0</title>
</head>
<body>
<h1>SAP Sailing Analytics Webservices API</h1>
<h2>URL: /sailinglandscape/api/landscape/getsessioncredentials</h2>
<b>Description:</b>
<p>Obtains information about active hyperscaler (e.g., AWS) session credentials, in particular
their expiry time point.
</p>
<br />
<table>
<tr>
<td>Webservice Type:</td>
<td>GET</td>
</tr>
<tr>
<td>Output format:</td>
<td>json</td>
</tr>
<tr>
<td>Mandatory query parameters:</td>
<td>
None
</td>
</tr>
<tr>
<td>Request method:</td>
<td>GET</td>
</tr>
<tr>
<td>Example:</td>
<td>curl -X GET -H 'Authorization: Bearer RwGK+DV38LKjeuDu+Bx87/3blLJHD7Ff+NCLeud9nRQ=' "https://sapsailing.com/sailinglandscape/api/landscape/getsessioncredentials"<br>
produces output:<pre>
{
"sessionTokenExpiryMillis": 1639712346000,
"sessionTokenExpiryISO": "2021-12-17T04:39:06.000Z"
}
</pre>
If the subject is not properly authenticated or does not have any active credentials stored, a 404 (not found) status will result.
</td>
</tr>
</table>
<div style="height: 1em;"></div>
<a href="index.html">Back to Web Service Overview</a>
</body>
</html>