Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Removed

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
indent10px

API List

Image Added

The final generic parser APIs link:  Generic Parser API_v1.yaml

Parse API Example

Code Block
linenumberstrue
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

...