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 BEL Evidence from supported BEL formats #82

abargnesi opened this issue Oct 16, 2015 · 0 comments


None yet
1 participant
Copy link

commented Oct 16, 2015

A POST /api/evidence should allow for BEL Evidence to be created from a request body with supported media types:

Format Media Type
BEL Script application/bel
XBEL application/xml
JGF application/vnd.jgf+json
RDF application/n-quads, application/n-triples, application/rdf+xml, application/turtle, application/x-turtle, text/turtle

We should return a 201 status with Location header pointing to a dataset resource. This dataset would allow users to retrieve all Evidence described in the POST-ed dataset.

We should process the request body without buffering in memory.

In this case it is valid to return a 201 with dataset resource as all evidence will eventually be processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.