09407b8f79f47058814a0e9d3789c2d375bd93f3
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/home/desktop/places/whatsnew/resources/SailingAnalyticsNotes.html
| ... | ... | @@ -17,6 +17,9 @@ |
| 17 | 17 | their dampened COG/SOG values based on the newer fixes. This sacrifices short |
| 18 | 18 | maneuver calculation delays for better performance due to fewer re-calculations |
| 19 | 19 | and reliable results with no difference between live and replay analysis.</li> |
| 20 | + <li>The polar data export service now allows clients to filter the result down to one or |
|
| 21 | + more boat classes. See <a href="/polars/webservices/api/polar_data.html">https://dev.sapsailing.com/polars/webservices/api/polar_data.html</a> |
|
| 22 | + for more details.</li> |
|
| 20 | 23 | </ul> |
| 21 | 24 | <h5 class="articleSubheadline">December 2025</h5> |
| 22 | 25 | <ul class="bulletList"> |
java/com.sap.sailing.polars/webservices/api/polar_data.html
| ... | ... | @@ -13,7 +13,9 @@ |
| 13 | 13 | |
| 14 | 14 | <b>Description:</b> |
| 15 | 15 | <p> |
| 16 | -Gets the binary representation of the server's polar data for all boat classes. |
|
| 16 | +Gets the binary representation of the server's polar data. By default, data for all boat classes is returned. |
|
| 17 | +Optionally, the results can be filtered to specific boat classes using the <tt>boatClassName</tt> query parameter, |
|
| 18 | +which may be specified multiple times to include several boat classes. |
|
| 17 | 19 | </p> |
| 18 | 20 | <p> |
| 19 | 21 | You need the <tt>POLAR_DATA:READ</tt> permission for this. The output can be deserialized into a Java object of type |
| ... | ... | @@ -36,9 +38,29 @@ class. |
| 36 | 38 | <td>Binary Java Object</td> |
| 37 | 39 | </tr> |
| 38 | 40 | <tr> |
| 39 | - <td>Example:</td> |
|
| 40 | - <td><a href="https://www.sapsailing.com/polars/api/polar_data"> |
|
| 41 | - curl -o polar.dat -H 'Authorization: Bearer {your-access-token-here}' <a href="https://www.sapsailing.com/polars/api/polar_data">https://www.sapsailing.com/polars/api/polar_data</a> |
|
| 41 | + <td valign="top">Query Parameters:</td> |
|
| 42 | + <td> |
|
| 43 | + <table border="1" cellpadding="4" cellspacing="0"> |
|
| 44 | + <tr> |
|
| 45 | + <th>Name</th><th>Required</th><th>Description</th> |
|
| 46 | + </tr> |
|
| 47 | + <tr> |
|
| 48 | + <td><tt>boatClassName</tt></td> |
|
| 49 | + <td>No</td> |
|
| 50 | + <td>Name of a boat class to include in the response. May be specified multiple times |
|
| 51 | + to request data for several boat classes. If omitted, data for all boat classes is returned.</td> |
|
| 52 | + </tr> |
|
| 53 | + </table> |
|
| 54 | + </td> |
|
| 55 | + </tr> |
|
| 56 | + <tr> |
|
| 57 | + <td valign="top">Examples:</td> |
|
| 58 | + <td> |
|
| 59 | + All boat classes:<br/> |
|
| 60 | + <tt>curl -o polar.dat -H 'Authorization: Bearer {your-access-token-here}' <a href="https://www.sapsailing.com/polars/api/polar_data">https://www.sapsailing.com/polars/api/polar_data</a></tt> |
|
| 61 | + <br/><br/> |
|
| 62 | + Filtered to specific boat classes:<br/> |
|
| 63 | + <tt>curl -o polar.dat -H 'Authorization: Bearer {your-access-token-here}' "<a href="https://www.sapsailing.com/polars/api/polar_data?boatClassName=49er&boatClassName=Nacra17">https://www.sapsailing.com/polars/api/polar_data?boatClassName=49er&boatClassName=Nacra17</a>"</tt> |
|
| 42 | 64 | </td> |
| 43 | 65 | </tr> |
| 44 | 66 | </table> |