Escrow tutorial: consistent IDs in example requests/responses

This commit is contained in:
mDuo13
2017-08-31 15:23:35 -07:00
parent 48b2598c32
commit c4798438f2
8 changed files with 14 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
{
"id": 1,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {

View File

@@ -1,4 +1,5 @@
{
"id": 2,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {

View File

@@ -1,4 +1,5 @@
{
"id": 4,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {

View File

@@ -1,4 +1,5 @@
{
"id": 5,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {

View File

@@ -1,5 +1,5 @@
{
"id": 1,
"id": 5,
"status": "success",
"type": "response",
"result": {

View File

@@ -1,4 +1,5 @@
{
"id": 3,
"command": "tx",
"transaction": "E22D1F6EB006CAD35E0DBD3B4F3748427055E4C143EBE95AA6603823AEEAD324"
}

View File

@@ -1,5 +1,5 @@
{
"id": 2,
"id": 21,
"status": "success",
"type": "response",
"result": {

View File

@@ -210,6 +210,7 @@ console.log(release_date_ripple);
<div class="multicode" id="code-1"><ul class="codetabs"><li><a href="#code-1-0">Websocket</a></li></ul>
<div class="code_sample" id="code-1-0" style="position: static;"><pre><code class="json">{
"id": 2,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {
@@ -404,6 +405,7 @@ console.log(release_date_ripple);
<div class="multicode" id="code-7"><ul class="codetabs"><li><a href="#code-7-0">Websocket</a></li></ul>
<div class="code_sample" id="code-7-0" style="position: static;"><pre><code class="json">{
"id": 5,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {
@@ -419,7 +421,7 @@ console.log(release_date_ripple);
<div class="multicode" id="code-8"><ul class="codetabs"><li><a href="#code-8-0">Websocket</a></li></ul>
<div class="code_sample" id="code-8-0" style="position: static;"><pre><code class="json">{
"id": 1,
"id": 5,
"status": "success",
"type": "response",
"result": {
@@ -463,7 +465,7 @@ console.log(release_date_ripple);
<div class="multicode" id="code-10"><ul class="codetabs"><li><a href="#code-10-0">Websocket</a></li></ul>
<div class="code_sample" id="code-10-0" style="position: static;"><pre><code class="json">{
"id": 2,
"id": 21,
"status": "success",
"type": "response",
"result": {
@@ -595,6 +597,7 @@ console.log(CancelAfter);
<div class="multicode" id="code-12"><ul class="codetabs"><li><a href="#code-12-0">Websocket</a></li></ul>
<div class="code_sample" id="code-12-0" style="position: static;"><pre><code class="json">{
"id": 1,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {
@@ -647,6 +650,7 @@ console.log(CancelAfter);
<div class="multicode" id="code-14"><ul class="codetabs"><li><a href="#code-14-0">Websocket</a></li></ul>
<div class="code_sample" id="code-14-0" style="position: static;"><pre><code class="json">{
"id": 3,
"command": "tx",
"transaction": "E22D1F6EB006CAD35E0DBD3B4F3748427055E4C143EBE95AA6603823AEEAD324"
}
@@ -745,6 +749,7 @@ console.log(CancelAfter);
<div class="multicode" id="code-16"><ul class="codetabs"><li><a href="#code-16-0">Websocket</a></li></ul>
<div class="code_sample" id="code-16-0" style="position: static;"><pre><code class="json">{
"id": 4,
"command": "submit",
"secret": "s████████████████████████████",
"tx_json": {