SAP Sailing Analytics Webservices API Version 1.0

URL: /api/v1/competitors/{id}/team/image


Sets the team image

Webservice Type: REST
Input format: binary (not multipart)
Output format: JSON
Mandatory headers: Content-Type: (image-png|image-jpg)
Mandatory parameters: None
Optional parameters: leaderboardName: The name of a regatta leaderboard to be used for the secret check. The secret check will only succeed if the requested competitor is part of the regatta. No secret check will happen, if the leaderboardName is not given.
secret: In case the given secret is equal to the one stored in the regatta defined by the leaderboardName, the current user does not need to be authenticated or have the required read permission.
Request method: POST
Request example:

curl -H "Content-Type:image/jpeg" --data-binary @{image-path} \{competitor-id}/team/image
Response example:

  "teamImageUri" : ""
Back to Web Service Overview