Skip to content

Removed APIs in v0.12.0

Andrew Richardson edited this page Feb 2, 2022 · 2 revisions

The APIs on the left side of the table below are permanently removed in FireFly v0.12.0. All were deprecated as of v0.11.0 or earlier. If any of these APIs were in use, the right side of the table provides pointers on migrating to the newer versions of these APIs.

If you were using... You should switch to using...
POST /network/register/node POST /network/nodes/self
POST /network/register/node/organization POST /network/organizations/self
POST /network/register/organization POST /network/organizations
POST /broadcast/namespace POST /namespaces
POST /namespaces/{ns}/broadcast/datatype POST /namespaces/{ns}/datatypes
POST /namespaces/{ns}/broadcast/message POST /namespaces/{ns}/messages/broadcast
POST /namespaces/{ns}/send/message POST /namespaces/{ns}/messages/private
POST /namespaces/{ns}/request/message POST /namespaces/{ns}/messages/requestreply
GET /namespaces/{ns}/datatypes/{dtid} GET /namespaces/{ns}/datatypes/{name}/{version}
GET /namespaces/{ns}/messages/{msgid}?data GET /namespaces/{ns}/messages/{msgid}?fetchdata
GET /namespaces/{ns}/tokens/{type}/pools GET /namespaces/{ns}/tokens/pools
POST /namespaces/{ns}/tokens/{type}/pools POST /namespaces/{ns}/tokens/pools
GET /namespaces/{ns}/tokens/{type}/pools/{name} GET /namespaces/{ns}/tokens/pools/{nameOrId}
GET /namespaces/{ns}/tokens/{type}/pools/{name}/accounts GET /namespaces/{ns}/tokens/balances
GET /namespaces/{ns}/tokens/{type}/pools/{name}/transfers GET /namespaces/{ns}/tokens/transfers
POST /namespaces/{ns}/tokens/{type}/pools/{name}/transfers POST /namespaces/{ns}/tokens/transfers
POST /namespaces/{ns}/tokens/{type}/pools/{name}/mint POST /namespaces/{ns}/tokens/mint
POST /namespaces/{ns}/tokens/{type}/pools/{name}/burn POST /namespaces/{ns}/tokens/burn