Mark code sample languages explicitly

This commit is contained in:
mDuo13
2020-09-10 02:18:40 -07:00
parent eb6142f270
commit d46202a04f
92 changed files with 531 additions and 450 deletions

View File

@@ -17,7 +17,7 @@ _`validation_create`メソッドは、権限のないユーザーは実行でき
*WebSocket*
```
```json
{
"id": 0,
"command": "validation_create",
@@ -27,7 +27,7 @@ _`validation_create`メソッドは、権限のないユーザーは実行でき
*JSON-RPC*
```
```json
{
"method": "validation_create",
"params": [
@@ -40,7 +40,7 @@ _`validation_create`メソッドは、権限のないユーザーは実行でき
*コマンドライン*
```
```sh
#Syntax: validation_create [secret]
rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE"
```
@@ -63,7 +63,7 @@ rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIR
*JSON-RPC*
```
```json
{
"result" : {
"status" : "success",
@@ -76,9 +76,10 @@ rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIR
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -17,7 +17,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 0,
"command": "validation_create",
@@ -27,7 +27,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "validation_create",
"params": [
@@ -40,7 +40,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: validation_create [secret]
rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE"
```
@@ -63,7 +63,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"status" : "success",
@@ -76,9 +76,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -15,7 +15,7 @@
*WebSocketキータイプあり*
```
```json
{
"command": "wallet_propose",
"seed": "snoPBrXtMeMyMHUVTgbuqAfg1SUTb",
@@ -25,7 +25,7 @@
*WebSocketキータイプなし*
```
```json
{
"command": "wallet_propose",
"passphrase": "masterpassphrase"
@@ -34,7 +34,7 @@
*JSON-RPCキータイプあり*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -48,7 +48,7 @@
*JSON-RPCキータイプなし*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -61,7 +61,7 @@
*コマンドライン*
```
```sh
#Syntax: wallet_propose [passphrase]
rippled wallet_propose masterpassphrase
```
@@ -108,7 +108,7 @@ rippled wallet_propose masterpassphrase
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -127,7 +127,7 @@ rippled wallet_propose masterpassphrase
*JSON-RPC*
```
```json
{
"result": {
"account_id": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
@@ -144,9 +144,10 @@ rippled wallet_propose masterpassphrase
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"account_id" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",

View File

@@ -15,7 +15,7 @@ An example of the request format:
*WebSocket (with key type)*
```
```json
{
"command": "wallet_propose",
"seed": "snoPBrXtMeMyMHUVTgbuqAfg1SUTb",
@@ -25,7 +25,7 @@ An example of the request format:
*WebSocket (no key type)*
```
```json
{
"command": "wallet_propose",
"passphrase": "masterpassphrase"
@@ -34,7 +34,7 @@ An example of the request format:
*JSON-RPC (with key type)*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -48,7 +48,7 @@ An example of the request format:
*JSON-RPC (no key type)*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -61,7 +61,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: wallet_propose [passphrase]
rippled wallet_propose masterpassphrase
```
@@ -108,7 +108,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -127,7 +127,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"account_id": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
@@ -144,9 +144,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"account_id" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",