========================
Participation Management
========================
This is the request for answer an event participation, it's used for the private and for the public event
Client respond to an invite
---------------------------
Someone send the his participation to the buddy, the buddy must update the configuration
+---------------------+---------------------+-------------------------------------+---------------------------------------------------------------------+
| **Tag** | **Required** | **Value** | **Description** |
+=====================+=====================+=====================================+=====================================================================+
| **x**:type | true | event_creation | Fixed value for the message |
+---------------------+---------------------+-------------------------------------+---------------------------------------------------------------------+
| **x**:payload |true | json object | Represents message content |
+---------------------+---------------------+-------------------------------------+---------------------------------------------------------------------+
| **payload**:event |true | Event object | DOC :doc:`event_objects_description` |
+---------------------+---------------------+-------------------------------------+---------------------------------------------------------------------+
**Client request example:**
.. code-block:: xml
event_set_participation
{
"event":
{
"jid": "event-jid",
"occupants":
[{
"jabberId": "user0",
"status": "joined"
}]
}
}
**Buddy action:**
The buddy must only send changed tags
-------------------------------------
.. code-block:: xml
[
{jabberId: "user0", "status": "joined", isAdmin:true},
{jabberId: "user1", "status": "maybe", isAdmin:false},
{jabberId: "user3", "status": "maybe", isAdmin:false},
{jabberId: "user4", "status": "maybe", isAdmin:true}
]