I asked because I have never received a request with more than one action and wanna know possible cases of callback actions and status pair.
Is it possible to get the request case as below?
example 1. status 1 with action types 0(disconnect) and 1(connect)
A case that I think will happen
{
"actions": [
{
"type": 0,
"userid": "78e1e841"
},
{
"type": 1,
"userid": "78e1e842"
}
],
"status": 1,
"url": "https://documentserver/url-to-edited-document.docx",
...
}
example 2. status 1 with three different action types
A case that I don’t think will happen
{
"actions": [
{
"type": 0,
"userid": "78e1e841"
},
{
"type": 1,
"userid": "78e1e842"
},
{
"type": 2,
"userid": "78e1e843"
}
],
"status": 1,
"url": "https://documentserver/url-to-edited-document.docx",
...
}
example 3. status 2 with action types 0(disconnect)
A case that I think will happen
{
"actions": [
{
"type": 0,
"userid": "78e1e841"
},
{
"type": 0,
"userid": "78e1e842"
},
{
"type": 0,
"userid": "78e1e843"
}
],
"status": 2,
"url": "https://documentserver/url-to-edited-document.docx",
...
}
example 4. status 2 with three different actions
A case that I don’t think will happen
{
"actions": [
{
"type": 0,
"userid": "78e1e841"
},
{
"type": 1,
"userid": "78e1e842"
},
{
"type": 2,
"userid": "78e1e843"
}
],
"status": 2,
"url": "https://documentserver/url-to-edited-document.docx",
...
}
example 5. status 6 with three same actions type(2)
A case that I don’t think will happen
{
"actions": [
{
"type": 2,
"userid": "78e1e841"
},
{
"type": 2,
"userid": "78e1e842"
},
{
"type": 2,
"userid": "78e1e843"
}
],
"status": 6,
"url": "https://documentserver/url-to-edited-document.docx",
...
}