Process

This is a given instance of a process taking place, recording completion of steps on chain.

Create a Process

POST https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences

Path Parameters

Name
Type
Description

definitionid

number

registryid

number

ID of the cake to get, for free of course.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

Request Body

Name
Type
Description

name

string

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}

Update a Process

PATCH https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences/:processid

Path Parameters

Name
Type
Description

processid

number

definitionid

number

registryid

number

Headers

Name
Type
Description

Authentication

string

Request Body

Name
Type
Description

name

string

Get Processes

GET https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences

Path Parameters

Name
Type
Description

definitionid

number

registryid

number

Headers

Name
Type
Description

Authentication

string

Get a single Process

GET https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/processes/:processid

Path Parameters

Name
Type
Description

processid

number

definitionid

number

registryid

number

Headers

Name
Type
Description

Authentication

string

Delete a Process

DELETE https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences/:processid

Path Parameters

Name
Type
Description

processid

number

definitionid

number

registryid

number

Headers

Name
Type
Description

Authentication

string

Last updated

Was this helpful?