Skip to content

Commit

Permalink
extend rest-client-flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornkihlberg committed Dec 14, 2023
1 parent 3c831c0 commit 56ea3ee
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 79 deletions.
79 changes: 0 additions & 79 deletions examples/merkleization-flow/index.html

This file was deleted.

37 changes: 37 additions & 0 deletions examples/rest-client-flow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,43 @@ <h2>Request</h2>
>/contracts/:contractId/transactions/:transactionId</a
>
<br />
<input
id="getContractSourceById"
type="button"
value="Get contract source by contract Source id"
class="endpoint"
/>
GETs contract source by contract Source ID
<a
href="https://input-output-hk.github.io/marlowe-ts-sdk/interfaces/_marlowe_io_runtime_rest_client.index.RestClient.html#getContractSourceById"
>/contracts/sources/:contractSourceId</a
>
<br />
<input
id="getContractSourceAdjacency"
type="button"
value="Get adjacent contract Source IDs"
class="endpoint"
/>
GETs the contract Source IDs which are adjacent to a contract
<a
href="https://input-output-hk.github.io/marlowe-ts-sdk/interfaces/_marlowe_io_runtime_rest_client.index.RestClient.html#getContractSourceAdjacency"
>/contracts/sources/:contractSourceId/adjacency</a
>
<br />
<input
id="getContractSourceClosure"
type="button"
value="Get contract Source IDs in contract"
class="endpoint"
/>
GETs the contract Source IDs which appear in the full hierarchy of a
contract source
<a
href="https://input-output-hk.github.io/marlowe-ts-sdk/interfaces/_marlowe_io_runtime_rest_client.index.RestClient.html#getContractSourceClosure"
>/contracts/sources/:contractSourceId/closure</a
>
<br />
</div>

<h2>Console</h2>
Expand Down

0 comments on commit 56ea3ee

Please sign in to comment.