- CPS-644Getting issue details... STATUS
Open Issues
Issue | Decision | |
---|---|---|
1 | Should the response be a string or describe using a schema? | |
2 | What approach is best for getting the data from the DB?
| I propose to use option 1 to improve performance and readability. |
API details
Description | URI | Request Body | Response Body |
---|---|---|---|
Get all cm handles that support all modules in a given list of modules | POST {ncmpRoot}/ncmp/v1/ch/searches | { "conditions": { "hasAllModules": [ { "moduleName": "", (Mandatory) "revision": "" (Optional) } ] } } | { { |
Implementation details
- The above API will be implemented in NCMP open API
- moduleName is mandatory
- revision is optional
The request body will be described using the schema below
Conditions: type: object properties: conditions: type: object properties: hasAllModules: type: array items: type: object properties: moduleName: type: string required: true revision: type: string
The response body will return the JSON example above as a string