Code Monkey home page Code Monkey logo

pathdb's Introduction

QuIP - PathDB

Building:

git clone https://github.com/SBU-BMI/PathDB.git

cd PathDB

docker build -t quip_pathdb:1.0 .

Running:

docker run --name quip_pathdb --net=quip_nw --restart unless-stopped -itd -p 80:80 quip_pathdb:1.0

Using the REST API

Examples:

this will return metadata on a sample uploaded image in prototype. http auth will work

  1. to use JWT on REST:

a) get JWT at: https://vinculum.bmi.stonybrookmedicine.edu/jwt/token

b) Construct HTTP GET request to https://vinculum.bmi.stonybrookmedicine.edu/node/6?_format=json

c) add Authorization Bearer <insert JWT> from (b) header to request

d) send

Results:

failed JWT and Http auth yields 403 with: json response

{"message": "Internal Server Error"}

success yields 200 response code and json payload containing the metadata for node.

Interfaces: http://yourhost.com/idlookup/CollectionName/studyid/subjectid/imageid ==> returns singular entry http://yourhost.com/idmap/CollectionName ==> returns all CollectionName/studyid/subjectid/imageid and corresponding PathDBIds for a particular collection

pathdb's People

Contributors

ebremer avatar birm avatar tdiprima avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.