BTL-REST

The University of South Dakota

REST Endpoints

Base URL http://jacksons.usd.edu/BTL-REST

URLHTTP VERBReturns
Tools
/resources/tools/GETDisabled - Get ranges instead - List of All Tools
/resources/tools/{id}GETTool by ID
/resources/tools/{from}/{to}GETTools within a range
/resources/tools/countGETCount of All Tools
/resources/tools/namesGETAll Tool Names
/resources/tools/summariesGETAll Tool Summaries
BETS
/resources/bets/GETDisabled - Get individual bets - All BETS data for each tools
/resources/bets/{id}GETBETS for tool by ID
/resources/bets/inputs/{id}GETInputs for Tool by ID
Bridges
/resources/bridges/GETAll Bridges data
/resources/bridges/{id}GETBridge by ID
/resources/bets/{from}/{to}GETBridges within a range
/resources/bets/countGETCount of the Bridges
Repositories
/resources/repos/GETList of the Repositories our tools came from
/resources/repos/toolsGETList of Every Tool ID and its Repo ID
/resources/repos/tools/{id}GETResourceTool by ID
/resources/repos/getbytoolidsGETGet example JSON for posting
/resources/repos/getbytoolidsPOSTPost an array of tool ids to get their repository names
Storing Bridges or Tools (these are normally disabled)
/resources/store-bridgesGETAn example Bridge JSON to POST
/resources/store-bridgesPOSTReturns the URI of the created bridge
/resources/store-bridges/listPOSTDisabled
/resources/store-bridges/{id}POSTAccepted if it updates the bridge id specified
/resources/store-toolsGETReturns an example Tool JSON to Post
/resources/store-toolsPOSTDisabled
/resources/store-tools/listPOSTDisabled
/resources/store-tools/{id}POSTAccepted if it updates the tool id specified

*Subject to change

*Query parameter 'PrettyPrint=true' will return prettified JSON