smartAPI icon indicating copy to clipboard operation
smartAPI copied to clipboard

Create a new /api/metakg/parse endpoint for on-the-fly metakg parsing

Open newgene opened this issue 1 year ago • 0 comments

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/parse with 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.

newgene avatar Oct 07 '24 20:10 newgene