{ "lang": [{ "id": "fr", "name": "Français", "src": "https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg", "active": true }, { "id": "en", "name": "English", "src": "https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg", "active": false }], "user_logged": { "logged": true, "user": { "id": 5, "username": "Smoi", "firstname": "Côme", "lastname": "Stoilenom", "email": "osef@algoo.fr", "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4", "role": "Utilisateur", "job": "Integrateur | Webdesigner", "company": "Algoo", "caldav_url": "http://algoo.trac.im/caldav/user/5.ics/" } }, "app_config": [{ "name": "PageHtml", "label": { "fr": "Page Html", "en": "Html page" }, "componentLeft": "PageHtml", "componentRight": "Timeline", "customClass": "wsContentPageHtml", "icon": "fa fa-fw fa-file-word-o", "color": "#65c7f2" }, { "name": "PageMarkdown", "label": { "fr": "Page Markdown", "en": "Markdown page" }, "componentLeft": "PageMarkdown", "componentRight": "undefined", "customClass": "wsContentPageMarkdown", "icon": "fa fa-fw fa-file-code-o", "color": "#e0082b" }, { "name": "File", "label": { "fr": "Fichier", "en": "File" }, "componentLeft": "File", "componentRight": "undefined", "customClass": "wsContentFile", "icon": "fa fa-fw fa-file-text-o", "color": "#263462" }, { "name": "Thread", "label": { "fr": "Discussion", "en": "Thread" }, "componentLeft": "Thread", "componentRight": "undefined", "customClass": "wsContentThread", "icon": "fa fa-fw fa-comments-o", "color": "#2674d3" }, { "name": "Task", "label": { "fr": "Tâche", "en": "Task" }, "componentLeft": "Task", "componentRight": "undefined", "customClass": "wsContentTask", "icon": "fa fa-fw fa-list-ul", "color": "#2d5a88" }, { "name": "Issue", "label": { "fr": "Ticket", "en": "Issue" }, "componentLeft": "Issue", "componentRight": "undefined", "customClass": "wsContentIssue", "icon": "fa fa-fw fa-ticket", "color": "#a4835e" }], "workspace_detail": { "id": 1, "title": "Mission interne - développement", "owner_id": 5, "content": [ { "id": 1, "parent_id": null, "workspace_id": 1, "title": "La programmation fonctionnelle", "type": "PageHtml", "status": "validated" }, { "id": 2, "parent_id": null, "workspace_id": 1, "title": "La programmation fonctionnelle est-elle vraiment utile ?", "type": "Thread", "status": "current" }, { "id": 6, "parent_id": null, "workspace_id": 1, "title": "Une photo moche", "type": "File", "status": "current" }, { "id": 10, "parent_id": null, "workspace_id": 1, "title": "le README.md d'un random repo github", "type": "PageMarkdown", "status": "current" }, { "id": 7, "parent_id": null, "workspace_id": 1, "title": "Une liste de truc à faire que je ferai jamais", "type": "Task", "status": "current" }, { "id": 8, "parent_id": null, "workspace_id": 1, "title": "Ça, ça marche pas. Merci de le fix", "type": "Issue", "status": "current" }, { "id": 3, "parent_id": null, "workspace_id": 1, "title": "Programmation objet", "type": "folder", "content": [] } ] }, "folder_content_3": [ { "id": 4, "parent_id": 3, "workspace_id": 1, "title": "des trucs de backend", "type": "File", "status": "outdated" }, { "id": 5, "parent_id": 3, "workspace_id": 1, "title": "on s'emmerde", "type": "PageHtml", "status": "outdated" }, { "id": 11, "parent_id": 3, "workspace_id": 1, "title": "Hidden features", "type": "folder", "content": [] } ], "folder_content_11": [ { "id": 12, "parent_id": 11, "workspace_id": 1, "title": "flatMap", "type": "PageHtml", "status": "current" }, { "id": 13, "parent_id": 11, "workspace_id": 1, "title": "c'est tout pété", "type": "Issue", "status": "current" } ], "timeline": [{ "id": 0, "type": "message", "author": { "id": 5, "username": "Stoi", "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4" }, "createdAt": { "day": "27/11/17", "hour": "11h45" }, "text": "Proident esse laboris in sed officia exercitation ut anim ea." }, { "id": 1, "type": "message", "author": { "id": 1, "username": "smoi", "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg" }, "createdAt": { "day": "27/11/16", "hour": "10h30" }, "text": "Proident esse laboris in sed officia exercitation ut anim ea. in sed officia exercitation ut" }, { "id": 2, "type": "message", "author": { "id": 1, "username": "smoi", "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg" }, "createdAt": { "day": "27/11/15", "hour": "10h30" }, "text": "Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea." }, { "id": 3, "type": "version", "author": { "id": 1, "username": "smoi", "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg" }, "createdAt": { "day": "27/11/11" }, "number": "5" }], "content_data_pageHtml": { "id": "1", "type": "pageHtml", "title": "La programmation fonctionnelle", "status": "validated", "version": "3", "text": "

Mon titre nul

Je suis le contenu de cette fameuse page HTML
sur la programmation fonctionnelle" }, "content_data_thread": { "id": 2, "type": "thread", "title": "La programmation fonctionnelle est-elle vraiment utile ?", "status": "validated", "message_list": [{ "id": 0, "author": { "id": 5, "username": "Peter", "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4" }, "text": "Tu aurais envie de manger quoi exactement ?", "createdAt": { "day": "05/03/18", "hour": "10h00" } }, { "id": 1, "author": { "id": 3, "username": "Steven", "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4" }, "createdAt": { "day": "05/03/18", "hour": "09h59" }, "text": "Ben je sais pas, par exemple une quiche lorraine." }, { "id": 2, "author": { "id": 5, "username": "Peter", "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4" }, "text": "Une ouiche.", "createdAt": { "day": "05/03/18", "hour": "09h59" } }, { "id": 3, "author": { "id": 3, "username": "Steven", "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4" }, "createdAt": { "day": "05/03/18", "hour": "09h59" }, "text": "Quoi ?" }, { "id": 4, "author": { "id": 5, "username": "Peter", "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4" }, "text": "On dit « une ouiche lorraine ».", "createdAt": { "day": "05/03/18", "hour": "09h59" } }, { "id": 5, "author": { "id": 3, "username": "Steven", "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4" }, "createdAt": { "day": "05/03/18", "hour": "09h58" }, "text": "Tu es sûr ?" }, { "id": 6, "author": { "id": 3, "username": "Steven", "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4" }, "text": "Ça fait bizarre, « ouiche lorraine ».", "createdAt": { "day": "05/03/18", "hour": "09h59" } }] }, "workspace_list": [{ "id": 0, "title": "Ressources humaine" }, { "id": 1, "title": "Marketing" }, { "id": 2, "title": "Missions externes" }, { "id": 3, "title": "Recherche et développement" }, { "id": 4, "title": "Commercialisation" }, { "id": 5, "title": "Évolutions" }], "user_role": [{ "workspace": { "id": 0, "title": "Ressources humaine" }, "role": "reader", "subscribed_to_notif": true }, { "workspace": { "id": 1, "title": "Marketing" }, "role": "manager", "subscribed_to_notif": true }, { "workspace": { "id": 2, "title": "Missions externes" }, "role": "contributor", "subscribed_to_notif": false }, { "workspace": { "id": 3, "title": "Recherche et développement" }, "role": "content_manager", "subscribed_to_notif": true }, { "workspace": { "id": 4, "title": "Commercialisation" }, "role": "reader", "subscribed_to_notif": false }, { "workspace": { "id": 5, "title": "Évolutions" }, "role": "content_manager", "subscribed_to_notif": true }] }