Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions plugins/chain_api_plugin/chain.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -528,17 +528,25 @@ paths:

/abi_json_to_bin:
post:
description: Returns an object containing rows from the specified table.
description: Returns an object containing the serialized action data.
operationId: abi_json_to_bin
requestBody:
content:
application/json:
schema:
type: object
title: AbiJsonToBinRequest
- code
- action
- args
properties:
binargs:
$ref: "https://eosio.github.io/schemata/v2.0/oas/Hex.yaml"
code:
$ref: "https://eosio.github.io/schemata/v2.0/oas/Name.yaml"
action:
$ref: "https://eosio.github.io/schemata/v2.0/oas/Name.yaml"
args:
type: object
description: json object of the action parameters that will be serialized.

responses:
"200":
Expand All @@ -553,14 +561,18 @@ paths:

/abi_bin_to_json:
post:
description: Returns an object containing rows from the specified table.
description: Returns an object containing the deserialized action data.
operationId: abi_bin_to_json
requestBody:
content:
application/json:
schema:
type: object
title: AbiBinToJsonRequest
required:
- code
- action
- binargs
properties:
code:
$ref: "https://eosio.github.io/schemata/v2.0/oas/Name.yaml"
Expand All @@ -578,7 +590,7 @@ paths:

/get_code:
post:
description: Returns an object containing rows from the specified table.
description: Returns an object containing the smart contract WASM code.
operationId: get_code
requestBody:
content:
Expand Down Expand Up @@ -617,7 +629,7 @@ paths:

/get_raw_abi:
post:
description: Returns an object containing rows from the specified table.
description: Returns an object containing the smart contract abi.
operationId: get_raw_abi
requestBody:
content:
Expand Down