{"info":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","description":"<html><head></head><body><p>Documentation des routes composant le back-end.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33567119","collectionId":"b0933ab9-9a33-4568-96fa-13a1008f94aa","publishedId":"2sA2xjzrS2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-03-13T11:40:28.000Z"},"item":[{"name":"Authentication","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"c42e736f-5eb8-4175-83af-31a615ef4028","exec":["let accessToken = pm.response.json().accessToken;\r","pm.collectionVariables.set('access_token', accessToken);\r","pm.environment.set('access_token', accessToken);"],"type":"text/javascript","packages":{}}}],"id":"865bf23a-52d7-4155-bb7c-7c29cdc563b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"alex@atlas-em.dev\",\r\n\t\"password\": \"Conceded%Chirping%Bulgur%Cannabis8%Skyrocket%Tapeless\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://scapino.meca.vision/api/v1/auth/login","urlObject":{"path":["login"],"host":["https://scapino.meca.vision/api/v1/auth"],"query":[],"variable":[]}},"response":[],"_postman_id":"865bf23a-52d7-4155-bb7c-7c29cdc563b0"},{"name":"Register","id":"928f942b-36d5-48b5-8ac1-b75a40b3fefc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"pr222@email.com\",\r\n\t\"password\": \"Proutasse1\",\r\n\t\"repeat_password\": \"Proutasse1\",\r\n\t\"firstname\": \"Jean\",\r\n\t\"lastname\": \"Pude\",\r\n    \"token\": \"aaabbbcccddd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/auth/register","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["auth","register"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"928f942b-36d5-48b5-8ac1-b75a40b3fefc"},{"name":"Revoke refresh tokens","id":"eec9c78d-28ef-4293-84ea-862ccc2ade34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"userId\": \"6803d0bc-8968-4dbf-8a07-7531f0d65ac1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/auth/revokeRefreshTokens","urlObject":{"path":["auth","revokeRefreshTokens"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"eec9c78d-28ef-4293-84ea-862ccc2ade34"},{"name":"Refresh access token","id":"26936933-f1be-445c-ba5c-4df1229309bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI3MmNjYzlkNS0zZmI5LTQyMmMtODdjMS1hNTI3ZDdhMjY3ZTkiLCJqdGkiOiJkMmE3ZjBlMS05YWRmLTQxYzUtYmE1ZC1jZGQ5ZDg1YWE2YTciLCJpYXQiOjE3MTAzMjQ4ODUsImV4cCI6MTcxMDM1MzY4NX0.DxoXD9b1JUm-mvmzOaKS0rY5jCKxAk4efkYk6Ycgugw\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/auth/refresh","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["auth","refresh"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"26936933-f1be-445c-ba5c-4df1229309bf"},{"name":"Validate confirmation token","id":"9292e70d-0b11-47ec-96c2-50486770b16d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3100/api/v1/auth/confirm?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1NTY4ZDE5MC1kYzY5LTQyZTctYTkxMC1jYzg3OTk1ZTc5YjgiLCJpYXQiOjE3MTEwMTIxMDksImV4cCI6MTcxMTE4NDkwOX0.wbYrdimdqtkJSeo0Ym108ZsNmDKt98NnZ6t5Pf1LyCM","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["auth","confirm"],"host":["http://localhost:3100/api/v1"],"query":[{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1NTY4ZDE5MC1kYzY5LTQyZTctYTkxMC1jYzg3OTk1ZTc5YjgiLCJpYXQiOjE3MTEwMTIxMDksImV4cCI6MTcxMTE4NDkwOX0.wbYrdimdqtkJSeo0Ym108ZsNmDKt98NnZ6t5Pf1LyCM"}],"variable":[]}},"response":[],"_postman_id":"9292e70d-0b11-47ec-96c2-50486770b16d"},{"name":"Refresh access token","id":"7d21a6c7-78b4-4772-ba2a-94bdf6bc5b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/auth/refresh","urlObject":{"path":["auth","refresh"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d21a6c7-78b4-4772-ba2a-94bdf6bc5b71"},{"name":"Logout","id":"72d48460-d59c-4378-adb4-4c26964086c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/auth/logout","urlObject":{"path":["auth","logout"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"72d48460-d59c-4378-adb4-4c26964086c1"},{"name":"Test mail","id":"eadc44e2-de50-42a8-b09a-51e0a0628e64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3100/api/v1/auth/test","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["auth","test"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"eadc44e2-de50-42a8-b09a-51e0a0628e64"}],"id":"698fcf53-d0cf-47fc-a61c-b528b9f090fd","description":"<p>Les routes disponible pour la partie authentification.</p>\n","_postman_id":"698fcf53-d0cf-47fc-a61c-b528b9f090fd","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"Users","item":[{"name":"Views","item":[{"name":"Add views","id":"462120d4-78f5-475c-a08d-d1afdc5d6e7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"user\": \"b6804e46-2270-40f0-b609-5e4f219c7a5a\",\r\n\t\"projects\": [\"MV0000007\", \"MV0000007\", \"MV0000007\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/view/add","urlObject":{"path":["users","view","add"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"462120d4-78f5-475c-a08d-d1afdc5d6e7c"},{"name":"Delete view","id":"0f56b118-b5c9-46a3-bbd6-f5371f1a6f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"user\": \"6803d0bc-8968-4dbf-8a07-7531f0d65ac1\",\r\n\t\"projectId\": \"MV0000002\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/view","urlObject":{"path":["users","view"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f56b118-b5c9-46a3-bbd6-f5371f1a6f02"}],"id":"16db17d3-bd7a-4866-ae17-4123481dd0cb","description":"<p>Les <em>Views</em> font référence aux permissions de visionnage d'un projet par un utilisateur lambda.</p>\n","_postman_id":"16db17d3-bd7a-4866-ae17-4123481dd0cb","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"Reset password","item":[{"name":"Reset password","id":"85f461af-9059-4c0b-a26e-2eb9d2541488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"password\": \"Proutasse1\",\r\n\t\"repeat_password\": \"Proutasse1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://scapino.meca.vision/api/v1//users/reset/update?id=&token=","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["users","reset","update"],"host":["https://scapino.meca.vision/api/v1/"],"query":[{"description":{"content":"<p>identifiant utilisateur</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>token de réinitialisation</p>\n","type":"text/plain"},"key":"token","value":""}],"variable":[]}},"response":[],"_postman_id":"85f461af-9059-4c0b-a26e-2eb9d2541488"},{"name":"Reset user details","id":"894f9706-2833-49b1-a9f1-6c16b852cfd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3100/api/v1/users/reset/get?id=&token=","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["users","reset","get"],"host":["http://localhost:3100/api/v1"],"query":[{"description":{"content":"<p>identifiant utilisateur</p>\n","type":"text/plain"},"key":"id","value":""},{"description":{"content":"<p>token de réinitialisation</p>\n","type":"text/plain"},"key":"token","value":""}],"variable":[]}},"response":[],"_postman_id":"894f9706-2833-49b1-a9f1-6c16b852cfd8"},{"name":"Generate reset token","event":[{"listen":"test","script":{"id":"762468a1-3198-4659-94a6-5615f34a9c37","exec":["let reset_token = pm.response.json().token;\r","let id = pm.response.json().id;\r","pm.collectionVariables.set('reset_token', reset_token);\r","pm.collectionVariables.set('reset_id', id);"],"type":"text/javascript","packages":{}}}],"id":"ea65b2cb-47a8-4ac1-97fb-ea3a468d65ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"pasdrout55@email.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/reset","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"path":["users","reset"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea65b2cb-47a8-4ac1-97fb-ea3a468d65ed"}],"id":"899b891c-2773-4f2d-ac9d-37899db7dfd2","description":"<p>Les routes disponible pour la réinitialisation de mot de passe d'un utilisateur.</p>\n","_postman_id":"899b891c-2773-4f2d-ac9d-37899db7dfd2","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"Profile","id":"f2e28522-0b07-406c-9a9a-25de0568cccc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"https://scapino.meca.vision/api/v1/users/profile","urlObject":{"path":["profile"],"host":["https://scapino.meca.vision/api/v1/users"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2e28522-0b07-406c-9a9a-25de0568cccc"},{"name":"Members","id":"0d469c89-b0f3-4bca-afcc-a3027ee1a206","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/users/members","urlObject":{"path":["users","members"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0d469c89-b0f3-4bca-afcc-a3027ee1a206"},{"name":"Role update","id":"1c8d8029-5505-4acf-aa17-03bf1cd77b29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"id\": \"6803d0bc-8968-4dbf-8a07-7531f0d65ac1\",\r\n\t\"role\": 1777 // role utilisateur\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/role?id=6803d0bc-8968-4dbf-8a07-7531f0d65ac1&attr=down","urlObject":{"path":["users","role"],"host":["http://localhost:3100/api/v1"],"query":[{"key":"id","value":"6803d0bc-8968-4dbf-8a07-7531f0d65ac1"},{"key":"attr","value":"down"}],"variable":[]}},"response":[],"_postman_id":"1c8d8029-5505-4acf-aa17-03bf1cd77b29"},{"name":"Delete user","id":"d85090e0-8113-47d4-bf5e-44f27cfa9c2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"50266d73-669e-4763-99bf-b4c3d738cbf5\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/","urlObject":{"path":["users",""],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d85090e0-8113-47d4-bf5e-44f27cfa9c2d"},{"name":"Validation update","id":"5a08a3c3-9fac-4f26-95e5-eb8476e511a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"e4794299-2bb8-4986-9ef6-1891871212fc\",\r\n    \"validate\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/validate","urlObject":{"path":["users","validate"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a08a3c3-9fac-4f26-95e5-eb8476e511a1"},{"name":"User info update","id":"69d31106-3e88-44c6-a124-dbae78ce13c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstname\": \"Prout\",\r\n    \"lastname\": \"Asse\",\r\n    \"password\": \"\",\r\n    \"repeat_password\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/edit","urlObject":{"path":["users","edit"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"69d31106-3e88-44c6-a124-dbae78ce13c6"},{"name":"Admin create user","id":"d1f7891d-23ea-41be-b724-64c0873fc8b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"ghghgh2@test.com\",\r\n    \"firstname\": \"Detest\",\r\n    \"lastname\": \"Hub\",\r\n    \"password\": \"Proutasse1\",\r\n    \"repeat_password\": \"Proutasse1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/users/new","urlObject":{"path":["users","new"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1f7891d-23ea-41be-b724-64c0873fc8b4"}],"id":"27e1b357-8237-4314-9738-a11db3970b53","description":"<p>Les routes disponible pour les utilisateurs/administrateurs.</p>\n","_postman_id":"27e1b357-8237-4314-9738-a11db3970b53","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"Projects","item":[{"name":"GLPI","item":[{"name":"Retrieve projects from GLPI","id":"84e7ff2d-174f-443f-a2a5-e3f0afdde1d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/glpi/","urlObject":{"path":["glpi",""],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"84e7ff2d-174f-443f-a2a5-e3f0afdde1d9"},{"name":"Merge admins","id":"6bd2bcc1-595c-4fd9-8ea1-739752d43507","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/glpi/update?token=c075469e15779a396c7ac94fd810009ac36ec76009a61265733a20156158c8440cabe8a1bdc6b591c9b21db2ba7a466dd9b41b68b57fe695427a3177c9db6707","urlObject":{"path":["glpi","update"],"host":["http://localhost:3100/api/v1"],"query":[{"key":"token","value":"c075469e15779a396c7ac94fd810009ac36ec76009a61265733a20156158c8440cabe8a1bdc6b591c9b21db2ba7a466dd9b41b68b57fe695427a3177c9db6707"}],"variable":[]}},"response":[],"_postman_id":"6bd2bcc1-595c-4fd9-8ea1-739752d43507"}],"id":"c89a0fcb-0f8b-4adb-b08f-c6fb627ca32b","description":"<p>Les routes disponible concernant l'API GPLI.</p>\n","_postman_id":"c89a0fcb-0f8b-4adb-b08f-c6fb627ca32b","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"Delete project","id":"bd6fa6eb-cf3d-42f8-bec4-425fc6166150","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/projects/","urlObject":{"path":["projects",""],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd6fa6eb-cf3d-42f8-bec4-425fc6166150"},{"name":"All GLPI projects","id":"39a50038-78c1-4e6d-b468-cc41f1362955","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/projects/all","urlObject":{"path":["projects","all"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"39a50038-78c1-4e6d-b468-cc41f1362955"},{"name":"All user projects Copy","id":"6982043f-3162-4180-b299-11db85ca2cd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/projects","urlObject":{"path":["projects"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6982043f-3162-4180-b299-11db85ca2cd4"},{"name":"Project by ID","id":"db7723a6-8121-4f1a-847f-a065b90af9da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3100/api/v1/projects/with-id?id=MV0000004","urlObject":{"path":["projects","with-id"],"host":["http://localhost:3100/api/v1"],"query":[{"description":{"content":"<p>identifiant unique du projet</p>\n","type":"text/plain"},"key":"id","value":"MV0000004"}],"variable":[]}},"response":[],"_postman_id":"db7723a6-8121-4f1a-847f-a065b90af9da"},{"name":"Update project","id":"48e95042-0632-4b8c-93ed-50ae2f320ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"PATCH","header":[],"url":"http://localhost:3100/api/v1/projects/?id","urlObject":{"path":["projects",""],"host":["http://localhost:3100/api/v1"],"query":[{"description":{"content":"<p>identifiant unique du projet</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"48e95042-0632-4b8c-93ed-50ae2f320ceb"},{"name":"New project *DEPRECATED*","id":"297de806-a837-4290-bf1e-8b2f517e62b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"projectName\":\"Kimia\",\r\n\t\"projectAddress\":\"20th Floor\",\r\n\t\"projectCity\":\"Mayong\",\r\n\t\"projectCountry\":\"China\",\r\n\t\"projectZipCode\":\"\",\r\n\t\"projectLat\":\"23.0604451\",\r\n\t\"projectLng\":\"113.5883876\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3100/api/v1/projects/new","urlObject":{"path":["projects","new"],"host":["http://localhost:3100/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"297de806-a837-4290-bf1e-8b2f517e62b6"}],"id":"6875475c-5d81-4cee-8203-d63cc6f2f482","description":"<p>Les routes disponible pour les projets stockés en BDD.</p>\n","_postman_id":"6875475c-5d81-4cee-8203-d63cc6f2f482","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"InfluxDB","item":[{"name":"Authenticate","id":"4d3dc6a5-167f-4742-a3af-07e9f44439b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"Pma4NfgCIbizcR77t-EO0f6feJesODkwdQMSPX9V9viNlB0tQEsM340WaoCHzlRR89tx_neYdzYj40KyxtvxOA=="}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://influx.meca.vision/api/v2/authorizations","urlObject":{"protocol":"https","path":["api","v2","authorizations"],"host":["influx","meca","vision"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d3dc6a5-167f-4742-a3af-07e9f44439b8"},{"name":"Query scapino","id":"60d6be67-606a-49d0-9958-eca457af517f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"Pma4NfgCIbizcR77t-EO0f6feJesODkwdQMSPX9V9viNlB0tQEsM340WaoCHzlRR89tx_neYdzYj40KyxtvxOA=="}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.flux","type":"text"}],"body":{"mode":"raw","raw":"from(bucket:\"MecaDashboard_datamqtt\")\r\n  |> range(start: -12h, stop: now())\r\n  |> filter(fn: (r) => r[\"_measurement\"] =~ /^MV/)\r\n  |> filter(fn: (r) => r[\"_field\"] == \"energy_apparent_power\" or r[\"_field\"] == \"ping_10.69.110.110\" or r[\"_field\"] == \"temperature_actual\")\r\n  |> drop(columns: [\"_start\", \"_stop\"])\r\n  |> sort(columns: [\"_time\"], desc: false)\r\n  |> tail(n: 1)","options":{"raw":{"language":"text"}}},"url":"https://influx.meca.vision/api/v2/query?orgID=8bbd359f2202de99","urlObject":{"protocol":"https","path":["api","v2","query"],"host":["influx","meca","vision"],"query":[{"key":"orgID","value":"8bbd359f2202de99"}],"variable":[]}},"response":[],"_postman_id":"60d6be67-606a-49d0-9958-eca457af517f"}],"id":"027893a8-e401-44be-b631-ae40f154a629","_postman_id":"027893a8-e401-44be-b631-ae40f154a629","description":"","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}},{"name":"Prod","item":[{"name":"Test","id":"6b67426f-0dea-414a-8545-9ff3a67328af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://scapino.mecavision.fr/mecadashboard/api/auth/recaptcha","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}},"urlObject":{"protocol":"https","path":["mecadashboard","api","auth","recaptcha"],"host":["scapino","mecavision","fr"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b67426f-0dea-414a-8545-9ff3a67328af"}],"id":"917d7b58-ba8b-4a00-81ef-4553fc73f8c3","_postman_id":"917d7b58-ba8b-4a00-81ef-4553fc73f8c3","description":"","auth":{"type":"inherit","inherit":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","id":"b0933ab9-9a33-4568-96fa-13a1008f94aa","name":"Panneaux","type":"collection"}}}],"auth":{"type":"inherit","inherit":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"80083502-aa6d-4ea3-bdd7-b99ca431e5bc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dc03d9aa-ae1e-4e29-ae5a-1b2f7dc269ea","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"http://localhost:3100/api/v1"},{"key":"access_token","value":""},{"key":"session","value":""},{"key":"reset_token","value":""},{"key":"reset_id","value":""},{"key":"influxdb_token","value":"Pma4NfgCIbizcR77t-EO0f6feJesODkwdQMSPX9V9viNlB0tQEsM340WaoCHzlRR89tx_neYdzYj40KyxtvxOA=="},{"key":"influxdb_org","value":"8bbd359f2202de99"},{"key":"base_url_prod","value":"https://scapino.meca.vision/api/v1/"}]}