Instruments
List instruments
Requires scope `instruments:read`. Each instrument's `watcher` leaves out `hostname`, `os_info`, `version`, `watch_directory` and `shared_computer_with` unless the token also has `watchers:read`.
Requires scope instruments:read. Each instrument's watcher leaves out hostname, os_info, version, watch_directory and shared_computer_with unless the token also has watchers:read.
Authorization
bearerAuth AuthorizationBearer <token>
Personal access tokens begin with dhub_… and are restricted by their assigned scopes.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/instruments"[ { "id": "string", "display_name": "string", "status": "pending", "instrument_type": "generic", "watcher": { "id": "string", "hostname": "string", "os_info": "string", "version": "string", "status": "registered", "status_reason": "string", "last_heartbeat_at": "2019-08-24T14:15:22Z", "watch_directory": "string", "file_patterns": [ "string" ], "upload_mode": "auto", "config_state": "none", "shared_computer_with": [ { "instrument_id": "string", "display_name": "string" } ] }, "connection": { "state": "online", "reason": "folder_missing" }, "past_watcher_count": 0 }]{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}