Skip to main content
Version: 8.1.0

๐Ÿ‘ฅ 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.

POST /{typeCompte}/{id}/espacestravail.awp?verbe=get&typeModule={context}&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"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โ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"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
}
}
]
}
}

Create a workspaceโ€‹

POST /{typeCompte}/{id}/espacestravail.awp?verbe=post&v=8.1.0
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: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Id of the new workspace
}
}

Edit a workspaceโ€‹

Send the whole workspace. description is limited to 1 MB.

POST /{typeCompte}/{id}/espacestravail/{idEspace}.awp?verbe=put&v=8.1.0
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: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"estAdmin": true // The user is administrator
}
}

Delete a workspaceโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": ""
}

Joinโ€‹

Joins an open workspace. Send the workspace as data.

POST /{typeCompte}/{id}/espacestravail/{idEspace}/acces.awp?verbe=post&v=8.1.0
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).

Response
{
"code": 200,
"message": ""
}

Leaveโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/acces.awp?verbe=delete&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": ""
}

Membersโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/membres.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"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
}
}
]
}

Add membersโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/membres.awp?verbe=post&v=8.1.0
data={
"membres": [{}] // Contacts picked with the contacts endpoints
}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": ""
}

Remove a memberโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/membres/{profil}/{idMembre}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": ""
}

Remove several membersโ€‹

{profil} is the account type of the first member of the selection; 0 means "the selection".

POST /{typeCompte}/{id}/espacestravail/{idEspace}/membres/{profil}/0.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": ""
}

Topicsโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"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โ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics.awp?verbe=post&v=8.1.0
data={
"idEspace": 1234,
"titre": ""
}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Id of the new topic
}
}

Edit a topicโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics/{idTopic}.awp?verbe=put&v=8.1.0
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).

Response
{
"code": 200,
"message": ""
}

Delete a topicโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics/{idTopic}.awp?verbe=delete&v=8.1.0
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).

Response
{
"code": 200,
"message": ""
}

Messages of a topicโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics/{idTopic}/messages.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"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โ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics/{idTopic}/messages.awp?verbe=post&v=8.1.0
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).

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Id of the new message
}
}

Edit a messageโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics/{idTopic}/messages/{idMessage}.awp?verbe=put&v=8.1.0
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).

Response
{
"code": 200,
"message": ""
}

Delete a messageโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/topics/{idTopic}/messages/{idMessage}.awp?verbe=delete&v=8.1.0
data={
"titleTopic": "" // Title of the topic, for the notification
}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": ""
}

Activity feedโ€‹

What happened lately in the workspace. Returned as-is.

POST /{typeCompte}/{id}/espacestravail/{idEspace}/activites.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": []
}

Clear the activity feedโ€‹

POST /{typeCompte}/{id}/espacestravail/{idEspace}/activites.awp?verbe=delete&v=8.1.0
data={
"all": 0 // 1 clears everything, 0 only what was seen
}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": ""
}

Agenda or post-its of my workspacesโ€‹

Workspaces the user can read or write agenda events or post-its in. Returned as-is.

POST /{agenda|postits}/espacesTravail.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": []
}