Gamma API

List NTRIP caster mount points

POST
/api/projects/{projectId}/gnss/ntrip/test

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.

Authorization

session
cookiegamma.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.

Path Parameters

projectId*string

The project's id.

Request Body

application/json
  1. body
host*string
Match^[\w.:[\]-]+$
Length1 <= length <= 253
port*integer
Range1 <= value <= 65535
username?string
Lengthlength <= 200
password?string

Absent: the saved one, but only when host and port are the saved caster's.

Lengthlength <= 200

Response Body

OK.

application/json
  1. 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"  ]}