Skip to content

Send a request to the CanDIG network

POST
/fanout
curl --request POST \
--url https://raw.githubusercontent.com/federation/v1/fanout \
--header 'Content-Type: application/json' \
--data '{ "user_jwt": "example", "method": "GET", "path": "example", "payload": {}, "service": "example" }'

Entry point for Tyk to pass ALL requests to CanDIG microservices. Federation broadcasting defined by ‘federation’ header.

federation
string

Flag for federated query. Federation assumed unless false is specified

Media type application/json
object
user_jwt

User jwt, if not the one in the Authorization header

string
method
required

Method to be called on the endpoint

string
Allowed values: GET POST
path
required

Path to be called at the endpoint

string
payload
required

Body of the request to be made

object
service
required

Name of service to be called, e.g. katsu or htsget

string

Response to a search request, either federated or not

Invalid input, object invalid

Authorization Error

Expression not found

Internal Error

Federation node time out