Skip to content

operations.add_service

POST
/services
curl --request POST \
--url https://raw.githubusercontent.com/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 type application/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
Example generated
{
"id": "example",
"url": "example",
"version": "example"
}

Service registered successfully

Authorization Error

Internal Error