Sequence Steps

Create a Sequence Step

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

Path Parameters

Name
Type
Description

sequenceid

string

templateid

string

registryid

string

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

templatestepid

string

attributes

array

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

Update a Sequence Step

PATCH https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences/:sequenceid/sequence_steps/:sequencestepid

Path Parameters

Name
Type
Description

sequencestepid

string

sequenceid

string

definitionid

string

registryid

string

Request Body

Name
Type
Description

update_attributes

string

add_attributes

string

remove_attributes

string

Attest a Sequence Step

POST https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences/:sequenceid/sequence_steps/:sequencestepid/attest

Path Parameters

Name
Type
Description

sequencestepid

string

sequenceid

string

definitionid

string

registryid

string

Get Sequence Steps

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

Path Parameters

Name
Type
Description

sequenceid

number

definitionid

number

registryid

number

Query Parameters

Name
Type
Description

pages

string

per_page

number

search

number

sort_by

string

order

string

Get a single Sequence Step

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

Path Parameters

Name
Type
Description

sequencestepid

number

sequenceid

number

definitionid

number

registryid

number

Get Attributes of a Sequence Step

GET https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences/:sequenceid/sequence_steps/:sequencestepid/attributes

Get Attributes of a Sequence Step in a paged, searchable, sortable manner

Path Parameters

Name
Type
Description

sequencestepid

number

sequenceid

number

definitionid

number

registryid

number

Query Parameters

Name
Type
Description

page

string

per_page

string

search

string

sort_by

string

order

string

Delete a Sequence Step

DELETE https://api.borlaug.network/provenance/registries/:registryid/definitions/:definitionid/sequences/:sequenceid/sequence_steps/:sequencestepid

Path Parameters

Name
Type
Description

sequencestepid

string

sequenceid

string

definitionid

string

registryid

string

Last updated

Was this helpful?