-
Notifications
You must be signed in to change notification settings - Fork 1
Admin
Borja Gorriz edited this page Sep 23, 2013
·
3 revisions
Base URL: /api/dime/rest/{main said}/admin
| Method | Path | Description |
| GET | /@all | Returns a collection of all the users registered in the PS |
| GET | /{userName} | Returns a user registered in the PS |
| DELETE | /{userName} | Removes a user from the PS |
Parameters:
- userName: user name intended to register.
Examples:
- Call: api/dime/rest/1234/admin/testName
- Response case Not found:
{
"response":{
"meta":{
"v":"0.9",
"status":"OK",
"code":200,
"timeRef":"2011-08-30T15:01:59+02:00",
"msg": ""
},
"data":{
"startIndex":0,
"itemsPerPage":2,
"totalResults":2,
"entry": [
"username":"testName"
]
}
}- Response case found:
{
"response":{
"meta":{
"v":"0.9",
"status":"OK",
"code":200,
"timeRef":"2011-08-30T15:01:59+02:00",
"msg": ""
},
"data":{
"startIndex":0,
"itemsPerPage":2,
"totalResults":2,
"entry": [
]
}
}