๐ฅ Workspaces
{typeCompte} / {id}: the account letter and id of the current user. {idEspace}: workspace id. Descriptions, summaries and messages are Base64 HTML. Dates yyyy-MM-dd HH:mm:ss.
My workspacesโ
typeModule is the context the list is shown in: messagerie (default) or the module picking a workspace.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": [
{
"droitUtilisateur": 0, // Rights of the current user
"id": 0,
"titre": "",
"type": "",
"description": "",
"resume": "", // Short description, Base64
"cloud": false, // Cloud enabled
"discussion": false, // Discussion enabled
"agenda": false, // Agenda enabled
"messagerieEleve": false, // Students may message members
"messagerieFamille": false, // Families may message members
"paramAdminDroitEcritureMessagerieEleve": false, // Admin setting: students may write
"paramAdminDroitEcritureMessagerieFamille": false, // Admin setting: families may write
"public": false, // Anyone can find it
"ouvert": false, // Anyone can join
"estMembre": false, // The current user is a member
"estAdmin": false, // The current user is an administrator
"salleDesProfs": false, // It is the staff room
"creePar": "", // Created by
"nbMembres": 0, // optional; Number of members
"creeLe": "", // optional; Creation date
"couleurEvenementAgenda": "", // optional; Color of its agenda events
"fullLoaded": "", // optional; Full details loaded
"membres": [ // optional; Members
{
"idMembre": 0, // Member id
"nom": "",
"prenom": "",
"profil": "", // Member account type
"droit": 0, // Member rights
"civilite": "",
"libelleClasse": "", // Class label
"isAdministrateur": false, // Is an administrator
"messagerieActive": false, // Messaging enabled for this member
"fonction": { // Role at school
"id": 0,
"libelle": "" // Label
}
}
]
}
]
}
Workspace detailsโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"droitUtilisateur": 0, // Rights of the current user
"id": 0,
"titre": "",
"type": "",
"description": "",
"resume": "", // Short description, Base64
"cloud": false, // Cloud enabled
"discussion": false, // Discussion enabled
"agenda": false, // Agenda enabled
"messagerieEleve": false, // Students may message members
"messagerieFamille": false, // Families may message members
"paramAdminDroitEcritureMessagerieEleve": false, // Admin setting: students may write
"paramAdminDroitEcritureMessagerieFamille": false, // Admin setting: families may write
"public": false, // Anyone can find it
"ouvert": false, // Anyone can join
"estMembre": false, // The current user is a member
"estAdmin": false, // The current user is an administrator
"salleDesProfs": false, // It is the staff room
"creePar": "", // Created by
"nbMembres": 0, // optional; Number of members
"creeLe": "", // optional; Creation date
"couleurEvenementAgenda": "", // optional; Color of its agenda events
"fullLoaded": "", // optional; Full details loaded
"membres": [ // optional; Members
{
"idMembre": 0, // Member id
"nom": "",
"prenom": "",
"profil": "", // Member account type
"droit": 0, // Member rights
"civilite": "",
"libelleClasse": "", // Class label
"isAdministrateur": false, // Is an administrator
"messagerieActive": false, // Messaging enabled for this member
"fonction": { // Role at school
"id": 0,
"libelle": "" // Label
}
}
]
}
}
Joinโ
Joins an open workspace. Send the workspace as data.
data={
"droitUtilisateur": 0, // Rights of the current user
"id": 0,
"titre": "",
"type": "",
"description": "",
"resume": "", // Short description, Base64
"cloud": false, // Cloud enabled
"discussion": false, // Discussion enabled
"agenda": false, // Agenda enabled
"messagerieEleve": false, // Students may message members
"messagerieFamille": false, // Families may message members
"paramAdminDroitEcritureMessagerieEleve": false, // Admin setting: students may write
"paramAdminDroitEcritureMessagerieFamille": false, // Admin setting: families may write
"public": false, // Anyone can find it
"ouvert": false, // Anyone can join
"estMembre": false, // The current user is a member
"estAdmin": false, // The current user is an administrator
"salleDesProfs": false, // It is the staff room
"creePar": "", // Created by
"nbMembres": 0, // optional; Number of members
"creeLe": "", // optional; Creation date
"couleurEvenementAgenda": "", // optional; Color of its agenda events
"fullLoaded": "", // optional; Full details loaded
"membres": [ // optional; Members
{
"idMembre": 0, // Member id
"nom": "",
"prenom": "",
"profil": "", // Member account type
"droit": 0, // Member rights
"civilite": "",
"libelleClasse": "", // Class label
"isAdministrateur": false, // Is an administrator
"messagerieActive": false, // Messaging enabled for this member
"fonction": { // Role at school
"id": 0,
"libelle": "" // Label
}
}
]
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Leaveโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Membersโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": [
{
"idMembre": 0, // Member id
"nom": "",
"prenom": "",
"profil": "", // Member account type
"droit": 0, // Member rights
"civilite": "",
"libelleClasse": "", // Class label
"isAdministrateur": false, // Is an administrator
"messagerieActive": false, // Messaging enabled for this member
"fonction": { // Role at school
"id": 0,
"libelle": "" // Label
}
}
]
}
Topicsโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"titre": "",
"idAuteur": 0, // Author id
"profilAuteur": "", // Author account type
"dateCreation": "",
"nbMessages": 0, // Number of messages
"dernierMessage": { // Last message
"date": "",
"nom": "",
"prenom": false,
"profil": "" // Member account type
}
}
]
}
Create a topicโ
data={
"idEspace": 1234,
"titre": ""
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Id of the new topic
}
}
Edit a topicโ
data={
"id": 0,
"titre": "",
"idAuteur": 0, // Author id
"profilAuteur": "", // Author account type
"dateCreation": "",
"nbMessages": 0, // Number of messages
"dernierMessage": { // Last message
"date": "",
"nom": "",
"prenom": false,
"profil": "" // Member account type
}
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Delete a topicโ
data={
"id": 0,
"titre": "",
"idAuteur": 0, // Author id
"profilAuteur": "", // Author account type
"dateCreation": "",
"nbMessages": 0, // Number of messages
"dernierMessage": { // Last message
"date": "",
"nom": "",
"prenom": false,
"profil": "" // Member account type
}
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Messages of a topicโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": [
{
"id": "",
"dateCreation": "",
"isModere": false, // Moderated
"contenu": "", // HTML content, Base64
"auteur": {
"idAuteur": 0, // Author id
"profil": "", // Member account type
"nom": "",
"prenom": "",
"photo": "", // Photo URL
"libelleClasse": "", // Class label
"fonctionPersonnel": "" // Staff role
},
"idTopic": 1234 // optional
}
]
}
Post a messageโ
data={
"id": "",
"dateCreation": "",
"isModere": false, // Moderated
"contenu": "", // HTML content, Base64
"auteur": {
"idAuteur": 0, // Author id
"profil": "", // Member account type
"nom": "",
"prenom": "",
"photo": "", // Photo URL
"libelleClasse": "", // Class label
"fonctionPersonnel": "" // Staff role
},
"idTopic": 1234 // optional
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Id of the new message
}
}
Edit a messageโ
data={
"id": "",
"dateCreation": "",
"isModere": false, // Moderated
"contenu": "", // HTML content, Base64
"auteur": {
"idAuteur": 0, // Author id
"profil": "", // Member account type
"nom": "",
"prenom": "",
"photo": "", // Photo URL
"libelleClasse": "", // Class label
"fonctionPersonnel": "" // Staff role
},
"idTopic": 1234 // optional
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Delete a messageโ
data={
"titleTopic": "" // Title of the topic, for the notification
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Activity feedโ
What happened lately in the workspace. Returned as-is.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": []
}
Agenda or post-its of my workspacesโ
Workspaces the user can read or write agenda events or post-its in. Returned as-is.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": []
}