mirror of https://github.com/status-im/consul.git
website: update the response json fields for sessions (#4604)
Updated the response json with the true response from Consul 1.2.2
This commit is contained in:
parent
a02a6be6b9
commit
344d78dc54
|
@ -177,13 +177,17 @@ $ curl \
|
|||
```json
|
||||
[
|
||||
{
|
||||
"LockDelay": 1.5e+10,
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"Name": "test-session",
|
||||
"Node": "raja-laptop-02",
|
||||
"Checks": [
|
||||
"serfHealth"
|
||||
],
|
||||
"Node": "foobar",
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"CreateIndex": 1086449
|
||||
"LockDelay": 1.5e+10,
|
||||
"Behavior": "release",
|
||||
"TTL": "30s",
|
||||
"CreateIndex": 1086449,
|
||||
"ModifyIndex": 1086449
|
||||
}
|
||||
]
|
||||
```
|
||||
|
@ -229,14 +233,18 @@ $ curl \
|
|||
```json
|
||||
[
|
||||
{
|
||||
"LockDelay": 1.5e+10,
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"Name": "test-session",
|
||||
"Node": "raja-laptop-02",
|
||||
"Checks": [
|
||||
"serfHealth"
|
||||
],
|
||||
"Node": "foobar",
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"CreateIndex": 1086449
|
||||
},
|
||||
"LockDelay": 1.5e+10,
|
||||
"Behavior": "release",
|
||||
"TTL": "30s",
|
||||
"CreateIndex": 1086449,
|
||||
"ModifyIndex": 1086449
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -276,14 +284,18 @@ $ curl \
|
|||
```json
|
||||
[
|
||||
{
|
||||
"LockDelay": 1.5e+10,
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"Name": "test-session",
|
||||
"Node": "raja-laptop-02",
|
||||
"Checks": [
|
||||
"serfHealth"
|
||||
],
|
||||
"Node": "foobar",
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"CreateIndex": 1086449
|
||||
},
|
||||
"LockDelay": 1.5e+10,
|
||||
"Behavior": "release",
|
||||
"TTL": "30s",
|
||||
"CreateIndex": 1086449,
|
||||
"ModifyIndex": 1086449
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
|
@ -328,15 +340,17 @@ $ curl \
|
|||
```json
|
||||
[
|
||||
{
|
||||
"LockDelay": 1.5e+10,
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"Name": "test-session",
|
||||
"Node": "raja-laptop-02",
|
||||
"Checks": [
|
||||
"serfHealth"
|
||||
],
|
||||
"Node": "foobar",
|
||||
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
|
||||
"CreateIndex": 1086449,
|
||||
"LockDelay": 1.5e+10,
|
||||
"Behavior": "release",
|
||||
"TTL": "15s"
|
||||
"TTL": "15s",
|
||||
"CreateIndex": 1086449,
|
||||
"ModifyIndex": 1086449
|
||||
}
|
||||
]
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue