Table of Contents |
---|
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
# | URI | Design Notes | Comment(s) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | POST /ncmp/v1/data/ch/searches | Scenario : Request received to return all cm handles matching properties given Request Body
Response Body Example 1
|
...
# | Scenario | Screenshot | cURL Command | REST |
---|---|---|---|---|
1 | Both properties match (CM Handles Returned that Match) | curl --location --request POST 'http://localhost:8883/ncmp/v1/data/ch/searches' \ | { | |
2 | One property doesn't match (Nothing Returned) | curl --location --request POST 'http://localhost:8883/ncmp/v1/data/ch/searches' \ | { | |
3 | unknown properties given - NO cm handles returned | { "publicCmHandleProperties": { | ||
4 | InvalidEmpty property name Return 400 (BAD_REQUEST) | curl --location --request POST 'http://localhost:8883/ncmp/v1/data/ch/searches' \ | { | |
5 | No properties given - all cm handles returned (that contain public properties) | { | ||
6 | Return 400 (BAD_REQUEST) | curl --location --request POST 'http://localhost:8883/ncmp/v1/data/ch/searches' \ | { | |
7 | empty value |
Future Example (Out-of-scope)
...