Use this API to find out the SSL port number for HTTPS communications.
The Discovery Service advertises the plain HTTP location via mDns (Bonjour); so you can easily find the URL for plain HTTP. If you need to use HTTPS for API communications, you must first access the Secure Port API via plain HTTP to find the SSL port.
HTTP method and URL | GET /csvn/api/1/securePort?format=json |
Authentication / Authorization | All Subversion Edge users (ROLE_USER) |
Response | The response contains the SSL port number and whether or not SSL is required for all other API calls
are indicated in the response. Example: |