[3020] add sample response in documentation
This commit is contained in:
parent
c5cacacb23
commit
b86f596c80
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
type: add
|
type: add
|
||||||
issue: 3020
|
issue: 3020
|
||||||
|
jira: SMILE-685,SMILE-3146
|
||||||
title: "Added documentation for `$partition-management-read-partition`. Added `$partition-management-list-partitions` operation and documentation."
|
title: "Added documentation for `$partition-management-read-partition`. Added `$partition-management-list-partitions` operation and documentation."
|
||||||
|
|
|
@ -243,5 +243,35 @@ An HTTP POST to the following URL would be used to invoke this operation:
|
||||||
http://example.com/DEFAULT/$partition-management-list-partitions
|
http://example.com/DEFAULT/$partition-management-list-partitions
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This operation returns a `Parameters` resource that looks like the following:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"resourceType": "Parameters",
|
||||||
|
"parameter": [ {
|
||||||
|
"name": "partition",
|
||||||
|
"part": [ {
|
||||||
|
"name": "id",
|
||||||
|
"valueInteger": 1
|
||||||
|
}, {
|
||||||
|
"name": "name",
|
||||||
|
"valueCode": "PARTITION-1"
|
||||||
|
}, {
|
||||||
|
"name": "description",
|
||||||
|
"valueString": "a description1"
|
||||||
|
} ]
|
||||||
|
}, {
|
||||||
|
"name": "partition",
|
||||||
|
"part": [ {
|
||||||
|
"name": "id",
|
||||||
|
"valueInteger": 2
|
||||||
|
}, {
|
||||||
|
"name": "name",
|
||||||
|
"valueCode": "PARTITION-2"
|
||||||
|
}, {
|
||||||
|
"name": "description",
|
||||||
|
"valueString": "a description2"
|
||||||
|
} ]
|
||||||
|
} ]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue