Skip to main content

Point Network Node API (1.0.0)

Download OpenAPI specification:Download

Point Network Node API Specification

Status

Checks if the server is alive.

Checks if the server is alive.

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns the Point Network Node meta data

Returns the Point Network Node meta data

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Contract

Returns a contract instance for the specified cont

Returns a contract instance for the specified contract as an ABI array

Authorizations:
None
path Parameters
contract
required
string

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns true if the contract exists at the address

Returns true if the contract exists at the address with the specified ABI

Authorizations:
None
Request Body schema: application/json

The contract to instantiate

address
required
string
abi
required
Array of objects (ContractABI) [ items ]

Responses

Request samples

Content type
application/json
{
  • "address": "0xc6AE7d2708633F2cb4c1aC93714873170b5Fd3CC",
  • "abi": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Calls a contract function and returns the data

Calls a contract function and returns the data

Authorizations:
None
Request Body schema: application/json

The contract, method and params to pass to the called function

contract
required
string
method
required
string
params
required
Array of strings

Responses

Request samples

Content type
application/json
{
  • "contract": "Store",
  • "method": "getProductsByStoreId",
  • "params": [
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Sends Eth to a payable contract function to be min

Sends Eth to a payable contract function to be mined in the blockchain and returns the data

Authorizations:
None
Request Body schema: application/json

The contract, method and params to pass to the called function

contract
required
string
method
required
string
params
required
Array of strings
amountInWei
required
string

Responses

Request samples

Content type
application/json
{
  • "contract": "Store",
  • "method": "buyProduct",
  • "params": [
    ],
  • "amountInWei": 1000000000000000000
}

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Identity

Returns owner address from given identity handle

Returns owner address from given identity handle

Authorizations:
None
path Parameters
identity
required
string

The identiy handle for example 'twitter'

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns identity handle by owner address

Returns identity handle by owner address

Authorizations:
None
path Parameters
owner
required
string

The owner address for example '0x4f5877E51067d0d68784aA74C39871cb2eF2D9eB'

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns the content signed by the nodes default id

Returns the content signed by the nodes default identity private key

Authorizations:
None
Request Body schema: application/json

The data payload to sign

data
required
object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns the content encrypted by the nodes default

Returns the content encrypted by the nodes default identity private key

Authorizations:
None
Request Body schema: application/json

The data payload to encrypt

data
required
object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns the content decrypted by the nodes default

Returns the content decrypted by the nodes default identity private key

Authorizations:
None
Request Body schema: application/json

The data payload to decrypt

data
required
object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns verification that the content was indeed s

Returns verification that the content was indeed signed by the provided owner address

Authorizations:
None
path Parameters
owner
required
string

The owner address to verify the signed content. For example '0x4f5877E51067d0d68784aA74C39871cb2eF2D9eB'

Request Body schema: application/json

The data payload to verify

object
signed
object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Storage

Returns a file from the Storage Layer

Returns a file from the Storage Layer

Authorizations:
None
query Parameters
encoding
string
Enum: "utf-8" "base64" "binary" "hex"

Responses

Response samples

Content type
application/json
{
  • "data": "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAADXwElEQVR42ux9B5wU5fn/d8r23StwdBGw0pQmYscSa6xRY6LRoMbEFltiT4z5+dcktqiJJVbsGmPvvYEKUgRBaTY6"
}

Returns a list of metadata about all the files rec

Returns a list of metadata about all the files recorded in the node database

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "files": [
    ]
}

Returns a single files metadata loaded from the no

Returns a single files metadata loaded from the nodes database

Authorizations:
None
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "file": {
    }
}

Returns a list of metadata about all the chunks re

Returns a list of metadata about all the chunks recorded in the node database

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "chunks": [
    ]
}

Returns a single chunks metadata loaded from the n

Returns a single chunks metadata loaded from the nodes database

Authorizations:
None
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "chunk": {
    }
}

Wallet

Returns Node Wallets Address

Returns Node Wallets Address

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns Node Wallets Hash

Returns Node Wallets Hash

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Returns Node Wallets Balance

Returns Node Wallets Balance

Authorizations:
None

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}