Hello!
I'm building a Workplace Search java client and noticed there is a mistake in Workplace Search permissions API documentation:
{
"user": "user1",
"permissions": [
"permission2",
"permission3",
"permission4"
],
"user": "user2",
"permissions": [
"permission2",
"permission4"
]
}
This is an invalid json object, the response body should be a json array, containing objects like the following:
[{
"user": "user1",
"permissions": [
"permission2",
"permission3",
"permission4"
]
},
{
"user": "user2",
"permissions": [
"permission2",
"permission4"
]
}]