POST /api/catalog/v1/packages
request:
{
csarId:"" # M uuid in sdc
}
response: #HTTP_202_ACCEPTED successful
202
POST /api/catalog/v1/parser
request:
{
csarId:"" # M uuid in sdc
input: "........" # O it is an optional parameter
...
Table of Contents | ||
---|---|---|
|
API List
The final generic parser APIs link: Generic Parser API_v1.yaml
Parse API Example
Code Block | ||
---|---|---|
| ||
curl -X POST \
http://127.0.0.1:8000/api/parser/v1/parser \
-H 'Content-Type: application/json' \
-d '{
"csarId": "0734e398-a427-49f2-9abe-de8eb02542ad",
"inputs": "",
"packageType": "Service"
}' |
- Response Design Example
response: #HTTP_202_ACCEPTED successful
...