Skip to content

Commit

Permalink
Merge pull request #96 from okto-hq/main
Browse files Browse the repository at this point in the history
bulk order is server aandraw txnexec
  • Loading branch information
oviawork authored Oct 23, 2024
2 parents c849d02 + 3715c70 commit 0929bca
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
24 changes: 13 additions & 11 deletions public/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,12 @@ paths:
application/json:
schema:
"$ref": "#/components/responses/BadRequest"
"/s2s/api/v1/nft/order_details/:userId":
"/s2s/api/v2/bulk_order_details/{orderId}":
get:
tags:
- Server
summary: Get bulk order details
description: Get order details of the all the jobs ongoing by the user using their user_id and bulk_order_id.
description: Get order details of all ongoing jobs by using `order_id`.
operationId: getBulkOrderDetails
security: [
{
Expand All @@ -382,7 +382,6 @@ paths:
- "$ref": "#/components/parameters/x_api_key"
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/size"
- "$ref": "#/components/parameters/bulk_order_id"
responses:
"201":
description: Fetched
Expand Down Expand Up @@ -479,15 +478,18 @@ paths:
<details>
<summary>transaction_APT</summary>
Use this transaction object if <code>network_name</code> is <code>APTOS</code> or <code>APTOS_TESTNET</code>.
<details>
<summary><b>transactions</b><code>array object[]</code></summary>
<ul>
<li><b>function</b><code>function</code> Required:
This is the identifier for the smart contract entry function on-chain that will trigger when you execute this transaction.</li>
<li><b>typeArugements</b><code>array</code> Required:
Data type for each function arguement in the same order.</li>
- **function** `function`:
This is the identifier for the smart contract entry function on-chain that will trigger when you execute this transaction.
- **typeArugements** `array`:
Data type for each function arguement in the same order.
- **fuctionArugements** `array`
This is any data the function needs to run.
<li><b>fuctionArugements</b><code>array</code> Required:
This is any data the function needs to run.</li>
</ul>
</details>
</details>
properties:
transactions:
Expand Down
19 changes: 11 additions & 8 deletions public/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,15 +512,18 @@ paths:
<details>
<summary>transaction_APT</summary>
Use this transaction object if <code>network_name</code> is <code>APTOS</code> or <code>APTOS_TESTNET</code>.
<details>
<summary><b>transactions</b><code>array object[]</code></summary>
<ul>
<li><b>function</b><code>function</code> Required:
This is the identifier for the smart contract entry function on-chain that will trigger when you execute this transaction.</li>
<li><b>typeArugements</b><code>array</code> Required:
Data type for each function arguement in the same order.</li>
- **function** `function`:
This is the identifier for the smart contract entry function on-chain that will trigger when you execute this transaction.
- **typeArugements** `array`:
Data type for each function arguement in the same order.
- **fuctionArugements** `array`
This is any data the function needs to run.
<li><b>fuctionArugements</b><code>array</code> Required:
This is any data the function needs to run.</li>
</ul>
</details>
</details>
properties:
from:
Expand Down

0 comments on commit 0929bca

Please sign in to comment.