Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
newgene opened this issue Oct 7, 2024 · 0 comments
Open
Assignees

Comments

@newgene
Copy link
Contributor

newgene commented Oct 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants