123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341 |
- {
- "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",
- "componentLeft": "PageHtml",
- "componentRight": "Timeline",
- "customClass": "wsContentPageHtml",
- "icon": "fa fa-file-word-o"
- }, {
- "name": "PageMarkdown",
- "componentLeft": "PageMarkdown",
- "componentRight": "undefined",
- "customClass": "wsContentPageMarkdown",
- "icon": "fa fa-file-code-o"
- }, {
- "name": "File",
- "componentLeft": "File",
- "componentRight": "undefined",
- "customClass": "wsContentFile",
- "icon": "fa fa-file-text-o"
- }, {
- "name": "Thread",
- "componentLeft": "Thread",
- "componentRight": "undefined",
- "customClass": "wsContentThread",
- "icon": "fa fa-comments-o"
- }, {
- "name": "Task",
- "componentLeft": "Task",
- "componentRight": "undefined",
- "customClass": "wsContentTask",
- "icon": "fa fa-list-ul"
- }, {
- "name": "Issue",
- "componentLeft": "Issue",
- "componentRight": "undefined",
- "customClass": "wsContentIssue",
- "icon": "fa fa-ticket"
- }],
- "workspace_detail": {
- "id": 1,
- "title": "Mission interne - développement",
- "owner_id": 5,
- "content": [
- {
- "id": 1,
- "title": "La programmation fonctionnelle",
- "type": "PageHtml",
- "status": "validated"
- },
- {
- "id": 2,
- "title": "La programmation fonctionnelle est-elle vraiment utile ?",
- "type": "Thread",
- "status": "current"
- },
- {
- "id": 6,
- "title": "Une photo moche",
- "type": "File",
- "status": "current"
- },
- {
- "id": 10,
- "title": "le README.md d'un random repo github",
- "type": "PageMarkdown",
- "status": "current"
- },
- {
- "id": 7,
- "title": "Une liste de truc à faire que je ferai jamais",
- "type": "Task",
- "status": "current"
- },
- {
- "id": 8,
- "title": "Ça, ça marche pas. Merci de le fix",
- "type": "Issue",
- "status": "current"
- },
- {
- "id": 3,
- "title": "Programmation objet",
- "type": "folder",
- "content": [
- {
- "id": 4,
- "title": "des trucs de backend",
- "type": "File",
- "status": "outdated"
- },
- {
- "id": 5,
- "title": "on s'emmerde",
- "type": "PageHtml",
- "status": "outdated"
- }
- ]
- }
- ]
- },
- "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": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> 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
- }]
- }
|