smartAPI
smartAPI copied to clipboard
Create a new /api/metakg/parse endpoint for on-the-fly metakg parsing
This new endpoint can be useful to access the internal metakg parser on any API metadata given by a url of the actual content. It will support both GET and POST:
-
GET:
GET /api/metakg/parse?url=<api_metadata_url> -
POST:
POST /api/metakg/parsewith the body as the API metadata content
The output should be a list of parsed metakg edges, similar to what the existing /api/metakg endpoint returns.