Change Wiki Page
| Suitable Enviroment | SaaS |
| Private Deployment |
Requirements
| ONES |
|---|
| v6.94.2+ |
Payload
EventData
| Field | Type | Description |
|---|---|---|
organizationID | string | Organization that triggered the event. |
teamID | string | Team that triggered the event. |
triggerUserID | string | User that triggered the event. |
pageID | string | ID of the wiki page. |
action | string | Action of the wiki page. |
referenceType | string | Reference type of the wiki page. |
subReferenceType | string | Sub-reference type of the wiki page. |
action enumerated value
| Enum | Description |
|---|---|
create | Create page. |
update | Update page. |
delete | Delete page. |
purge | Purge page. |
restore | Restore page. |
revert | Revert page. |
move | Move page. |
archive | Archive page. |
unarchive | Unarchive page. |
referenceType enumerated value
| Enum | Description |
|---|---|
default | Default. |
word | WPS word. |
excel | WPS excel. |
ppt | WPS ppt. |
collaboration | Collaboration. |
collaborationPlugin | Collaboration plugin. |
Example
{
"eventType": "ones:wiki:page:changed",
"eventID": "dMdWqKZK-1994253064611065856",
"timestamp": 1764301956689,
"eventContext": {
"organizationID": "RJ6KHjmn",
"teamID": "FBa6c6ww",
"triggerUserID": "Sx4h7pMQ"
},
"eventSubscriber": {
"subscriberID": "dMdWqKZK",
"clientID": "pen9Uzq2"
},
"eventData": {
"organizationID": "RJ6KHjmn",
"teamID": "FBa6c6ww",
"triggerUserID": "Sx4h7pMQ",
"pageID": "APBUwGGK",
"action": "update",
"referenceType": "collaboration",
"subReferenceType": "Aq3wU8pL"
}
}