Brizo v0.9.3

Brizo is the technical component executed by Publishers allowing them to provide extended data services. When running with our Docker images, it is exposed under `http://localhost:8030`.

/services/compute

delete

Deletes a workflow.

Parameters

signaturestring

Signature of the documentId to verify that the consumer has rights to download the asset.

serviceAgreementId*string

The ID of the service agreement.

consumerAddress*string

The consumer address.

jobIdstring

JobId.

Responses

200 Call to the operator-service was successful.
400 One of the required attributes is missing.
401 Invalid asset data.
500 Error

get

Get status for a specific jobid/agreementId/owner

Parameters

signaturestring

Signature of the documentId to verify that the consumer has rights to download the asset.

serviceAgreementId*string

The ID of the service agreement.

consumerAddress*string

The consumer address.

jobIdstring

JobId.

Responses

200 Call to the operator-service was successful.
400 One of the required attributes is missing.
401 Invalid asset data.
500 Error

post

Call the execution of a workflow.

Parameters

signaturestring

Signature of the documentId to verify that the consumer has rights to run the compute service..

serviceAgreementId*string

The ID of the service agreement on-chain

consumerAddress*string

The consumer ethereum address.

algorithmDidstring

hex str the did of the algorithm to be executed

algorithmMetajson string

json object that define the algorithm attributes and url or raw code

output*json string

json object that define the output section

Responses

200 Call to the operator-service was successful.
400 One of the required attributes is missing.
401 Invalid asset data.
500 Error

put

Stop the execution of a workflow.

Parameters

signaturestring

Signature of the documentId to verify that the consumer has rights to download the asset.

serviceAgreementId*string

The ID of the service agreement.

consumerAddress*string

The consumer address.

jobIdstring

JobId.

Responses

200 Call to the operator-service was successful.
400 One of the required attributes is missing.
401 Invalid asset data.
500 Error

/services/consume

get

Allows download of asset data file.

Parameters

consumerAddress*string

The consumer address.

serviceAgreementId*string

The ID of the service agreement.

url*string

This URL is only valid if Brizo acts as a proxy. Consumer can't download using the URL if it's not through Brizo.

signature

Signature of the documentId to verify that the consumer has rights to download the asset.

index

Index of the file in the array of files.

Responses

200 Redirect to valid asset url.
400 One of the required attributes is missing.
401 Invalid asset data.
500 Error