Admin

Admin endpints to handle the supported Wrapper APIs

Register a new Wrapper API

This method allows you to enable an API for a currency in the specified network. A currency can be supported in multiple networks

post

This method allows you to enable an API for a currency in the specified network. A currency can be supported in multiple networks. Configuration properties required (config parameter) to enable the currency API in a specific network are different for each API. Default values are used if custom config is not used.

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /addcoin HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Updating a Wrapper API

This method allows you to update the configuration properties that a currency API is using for a specific network.

post

This method allows you to update the configuration properties that a currency API is using for a specific network. Configuration properties required (config parameter) to update the currency API in a specific network are different for each API.

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /updatecoin HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Get information of some Wrapper API

This method allows you to get the configuration properties that a currency API is using for a specific network.

post

This method allows you to get the configuration properties that a currency API is using for a specific network. Configuration properties (config parameter) returned are different for each API.

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /getcoin HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Unregister a Wrapper API

This method allows you to disable an API for a currency in the specified network.

post

This method allows you to disable an API for a currency in the specified network.

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /removecoin HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Last updated