ProjectsProject settings
List NTRIP caster mount points
POST
Connects to the caster and reads its sourcetable, to test it and pick a mount point. Only public addresses are reached. 400 when the host does not resolve or is not public; 502 when the caster cannot be reached, refuses the credentials or answers with anything but its sourcetable.
Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
application/json- body
host*stringMatch
^[\w.:[\]-]+$Length
1 <= length <= 253port*integerRange
1 <= value <= 65535username?stringLength
length <= 200password?stringAbsent: the saved one, but only when host and port are the saved caster's.
Length
length <= 200OK.
application/json- response
mountPoints*array<string>In the caster's order.
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/gnss/ntrip/test' \ -H 'Content-Type: application/json' \ -d '{ "host": "string", "port": 1}'Example Response
{ "mountPoints": [ "string" ]}