-
Notifications
You must be signed in to change notification settings - Fork 8
REST API
Bruno Gonçalves edited this page Oct 26, 2018
·
1 revision
Returns json data about a single user.
-
URL
/users/:id
-
Method:
GET
-
URL Params
Required:
id=[integer]
-
Data Params
None
-
Success Response:
-
Code: 200
Content:{ id : 12, name : "Michael Bloom" }
-
Code: 200
-
Error Response:
-
Code: 404 NOT FOUND
Content:{ error : "User doesn't exist" }
OR
-
Code: 401 UNAUTHORIZED
Content:{ error : "You are unauthorized to make this request." }
-
Code: 404 NOT FOUND
-
Sample Call:
$.ajax({ url: "/users/1", dataType: "json", type : "GET", success : function(r) { console.log(r); } });
- 0.1 All Users
- 0.2 Single Users
- 1.1 Checks
- 1.2 Check controller
- 1.3 Check phyloviz
- 1.4 Check general db
- 1.5 Check mlst db
- 1.6 Check ldap
- 1.7 Check allegrograph
- 1.8 Check platform state
- 1.9 Check user auth
- 1.10 Quotas
- 2.1. Messages
- 2.2. Message Templates
- 3.1 Projects
- 3.2 Single Project
- 3.3 Species Projects
- 3.4 Project Pipelines
- 4.1 Workflows
- 4.2 Single Workflow
- 4.3 Workflow availability
- 4.4 Workflow test
- 5.1 Species
- 5.2 Species schema versions
- 6.1 Protocols
- 6.2 Simple protocols
- 6.3 Protocol Params
- 7.1 Strains
- 7.2 Strains in project
- 8.1 Jobs
- 8.2 Job report
- 8.3 Job results
- 8.4 Job results download
- 8.5 Job results click download
- 8.6 Job reports download
- 8.7 Job logs
- 8.8 Job inspection
- 9.1 Reports
- 9.2 Reports from project
- 9.3 Reports from project info
- 9.4 Reports from porject filter
- 9.5 Reports by strain
- 9.6 Reports saved
- 10.1 PHYLOViZ
- 10.2 PHYLOViZ profiles
- 10.3 PHYLOViZ database profiles
- 10.4 PHYLOViZ trees
- 10.5 PHYLOViZ user trees
- 10.6 PHYLOViZ job status