Blockchain API Interactions
"Communication protocol, each API interaction must adhere to the syntax described below."
Last updated
"Communication protocol, each API interaction must adhere to the syntax described below."
Last updated
https://<cluster>-<node>.cloud.nxtfi.org/v2/<ENDPOINT>
cluster
: Available public option test
node
: Node number i.g: 001-node
Endpoint
: Available public options described in the section.
As a general rule, on the NxtFi API, each HTTPS call that points towards a directory folder in the storage system must end with a forward slash /, otherwise the response will prompt:
On the other hand, HTTPS calls pointing to files won't admit a forward slash at the end or the file extension. If that is the case, they will also prompt the same error message.
For example SUCCESS
:
https://test-001-node.cloud.nxtfi.org/v2/_storage/<scope>/<directory>/
https://test-001-node.cloud.nxtfi.org/v2/_storage/<scope>/<filename>
For example {"error": "notFound"}
:
https://test-001-node.cloud.nxtfi.org/v2/_storage/<scope>/<directory>
https://test-001-node.cloud.nxtfi.org/v2/_storage/<scope>/<filename>/
https://test-001-node.cloud.nxtfi.org/v2/_storage/<scope>/<filename>.json