Skip to content

Send a request to the CanDIG network

POST
/fanout

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

Parameters

Header Parameters

federation
string

Flag for federated query. Federation assumed unless false is specified

Request Body

object
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

Responses

200

Response to a search request, either federated or not

400

Invalid input, object invalid

403

Authorization Error

404

Expression not found

500

Internal Error

504

Federation node time out