Skip to content

Add a service to the federation

POST
/services
curl --request POST \
--url https://your-candig-domain/federation/v1/services \
--header 'Content-Type: application/json' \
--data '{ "id": "example", "url": "example", "version": "example" }'

Add a service to the federation

register
boolean

Re-register all known servers/services

Media typeapplication/json

A local CanDIG service that can be queried by the federation service

object
id
string
url

Local URL for use by the federation service

string
version

Version of the service

string
Examplegenerated
{
"id": "example",
"url": "example",
"version": "example"
}

Service registered successfully

Authorization Error

Internal Error