Closed mjstealey closed 1 year ago
Create new endpoint for FABlib to host JSON data
/testbed-info
GET: JSON response open to all - array of JSON objects
{ "results": [ { "name": "site1", "more": "JSON structure" }, { "name": "site2", "more": "JSON structure" }, { "name": "site3", "more": "JSON structure" } ], "size": 3, "status": 200, "type": "testbed.info" }
POST: JSON data open to facility-operators only - assumed to be an array of JSON objects named testbed_info
facility-operators
testbed_info
{ "testbed_info": [ { "name": "site1", "more": "JSON structure" }, { "name": "site2", "more": "JSON structure" }, { "name": "site3", "more": "JSON structure" } ] }
Create new endpoint for FABlib to host JSON data
/testbed-info
GET: JSON response open to all - array of JSON objects
POST: JSON data open to
facility-operators
only - assumed to be an array of JSON objects namedtestbed_info