synbiohub icon indicating copy to clipboard operation
synbiohub copied to clipboard

Test download endpoints

Open jvscholz opened this issue 4 years ago • 3 comments

The following endpoints still require testing:

  • [x] GET <URI>/sbol OR GET <URI>

  • [x] GET <URI>/sbolnr

  • [ ] GET <URI>/metadata

  • [ ] GET <URI>/gb

  • [ ] GET <URI>/fasta

  • [ ] GET <URI>/gff

  • [ ] GET <URI>/download

    Successful download Not found due to wrong URI, both with and without accept header text/html Not found due to URI not allowed to access, both with and without accept header text/html For gff, gb, fasta there should be a test to download an object that cannot to convert to these formats both with and without accept header text/html

jvscholz avatar Jun 22 '20 17:06 jvscholz

updates issue #1093

jvscholz avatar Jun 22 '20 19:06 jvscholz

Also include /summary and add to api docs too (returns JSON)

cjmyers avatar Mar 04 '21 15:03 cjmyers

/metadata and /summary return JSON, must compare with diff

/download returns an attachment, so if you attach a text, can compare with diff

All other use SBOL Validator

cjmyers avatar Mar 04 '21 15:03 cjmyers