D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

UserManager Resource

GET /users

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
Response Body
media type data type description
application/json array of string (JSON)

Example

Request
GET /users
Content-Type: */*
Accept: application/json
Authorization: ...

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...
                
              

POST /users

Request Parameters
name type description
password form
user form
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
Response Body
media type data type description
application/json string (JSON)

Example

Request
POST /users
Content-Type: application/x-www-form-urlencoded
Accept: application/json
Authorization: ...

                
...
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
...
                
              

DELETE /users/{user}

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
user path
Response Body
media type data type description
application/json string (JSON)

Example

Request
DELETE /users/{user}
Content-Type: */*
Accept: application/json
Authorization: ...

                
...
                
              
Response
HTTP/1.1 204 No Content
Content-Type: application/json

                
...
                
              

GET /users/{user}

Request Parameters
name type description
Authorization header Bearer token, see https://dev.d4science.org/how-to-access-resources
user path
Response Body
media type data type description
application/json string (JSON)

Example

Request
GET /users/{user}
Content-Type: */*
Accept: application/json
Authorization: ...

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...