Baskets
baskets
This relation targets the collection of baskets the authenticated user can see.
4.0.2+
basket
This relation targets the canonical representation of a basket.
Get the collaborative users of a board
You can get all the collaborative users of a basket.
GET - http://baobab.keepeek.com/api/dam/baskets/78/users
Expected result is 200
.
{
"users": [
{
"id": 460,
"fullName": "Test1",
"email": "test1@keepeek.com",
"permission": "contribute",
"isGuest": true,
"_links": {
"self": {
"href": "http://baobab.keepeek.com/api/dam/users/460"
},
"kpk:user-url": {
"href": "http://baobab.keepeek.com/ebum0CC2Wu"
}
}
},
{
"id": 158,
"fullName": "test2",
"email": "test2@keepeek.com",
"permission": "read",
"isGuest": false,
"_links": {
"self": {
"href": "http://baobab.keepeek.com/api/dam/users/158"
},
"kpk:user-url": {
"href": "http://baobab.keepeek.com/#/baskets/edit?id=12"
}
}
}
],
"_links": {
"self": {
"href": "http://baobab.keepeek.com/api/dam/baskets/12/users"
},
"curies": [
{
"name": "kpk",
"href": "http://baobab.keepeek.com/api/doc/rels/{rel}",
"templated": true
}
]
}
}
Possible errors are :
-
401
user gave bad credentials -
403
user has not access to collaborative users of the basket -
404
basket can not be found of collaborative is not activated on the basket -
500
internal server error
4.0.2+