post

/apps/{appId}/objects/{objectId}/hashes

This endpoint inputs a json object in it’s body which defines a hash property. This hash should be a Base58 encoded hash in Multihash format.

Please see https://github.com/multiformats/multihash for more information regarding the Multihash format. To generate Multihashes, first make sure Golang is installed and configured on your machine (https://golang.org/doc/install), then:

$ go get github.com/multiformats/go-multihash/multihash
$ echo -n "hello world" | multihash -a sha2-256
QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4

Authorization

apiKey - Authorization

Request Parameters

2 Path Parameters

Request Body

Pass in a single hash string, in Base58 encoded Multihash format, to create a hash

1 Example
Schema
object

The properties that are allowed when creating or updating a Hash.

hash
string
required

Responses

Notice how the proofId is null. It will become populated during the next time that this app’s interval ticks over, and a blockchain transaction is created.

1 Example
Schema
object

The properties that are included when fetching a single Hash.

hash
string
required
id
string
required
format: uuid
unixTimestamp
integer
required
objectId
string
required
format: uuid
proofId
string
format: uuid

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
appId
objectId
$$.env
1 variable not set
Authorization