operations.add_server
POST /servers
POST
/servers
Add a server to the federation.
Parameters
Query Parameters
register
boolean
Re-register all known servers/services
Request Body
object
server
required
A federated CanDIG instance in the network
object
id
required
Unique id for the server
string
url
required
Base URL of the CanDIG instance
string
location
required
object
name
string
province
string
province-code
string
testing
If True, this is only registered as a test server in Federation, not in CanDIG overall
boolean
authentication
required
One of:
object
issuer
required
Issuer associated with the OIDC token.
string
token
required
OIDC access token issued to a user from the issuer. Can be expired, as long as it’s verifiable with the current public key.
string
object
testing
required
If present and True, this is a request to register a testing server
boolean
Responses
201
Server registered successfully
204
Server already registered
403
Authorization Error
500
Internal Error