forked from FelixMembrive/xp42-lavie-handson3-grupo2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia_2022-05-26.json
1 lines (1 loc) · 15.6 KB
/
Insomnia_2022-05-26.json
1
{"_type":"export","__export_format":4,"__export_date":"2022-05-26T07:55:12.330Z","__export_source":"insomnia.desktop.app:v2022.3.0","resources":[{"_id":"req_f13779c731bb4dd9a7b57a3564382b84","parentId":"fld_68dc70035c314a1584686cd49bfc7f4a","modified":1653551640090,"created":1653412141235,"url":"localhost:3000/dashboard/media-atendimento","name":"Média De Atendimentos","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_a23d0e54431944c8b2c15ab9016746bd","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653412141235,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_68dc70035c314a1584686cd49bfc7f4a","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653521499005,"created":1653410143669,"name":"DASHBOARD","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1653410143669,"_type":"request_group"},{"_id":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","parentId":null,"modified":1653312441197,"created":1653312441197,"name":"lavie","description":"","scope":"collection","_type":"workspace"},{"_id":"req_2c0227d3a8ef4aa99a8c77c0aabf4dc3","parentId":"fld_68dc70035c314a1584686cd49bfc7f4a","modified":1653521684179,"created":1653411305518,"url":"localhost:3000/dashboard/numero-atendimento","name":"Visualizar Atendimentos","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_fd55042c890746f99fb2c42e0487567c","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653411935173.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_20dce5550eac4a1b9b2e8d2bd4c1ebb3","parentId":"fld_68dc70035c314a1584686cd49bfc7f4a","modified":1653521556871,"created":1653411729112,"url":"localhost:3000/dashboard/numero-psicologo","name":"Visualizar Números De Psicólogos","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_ff4fe77ad4474d8fab53e4ada9972080","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653411729112,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_251debd235ac4e3da12f81100a88a29c","parentId":"fld_68dc70035c314a1584686cd49bfc7f4a","modified":1653521680639,"created":1653410158200,"url":"localhost:3000/dashboard/numero-paciente","name":"Visualizar Número De Pacientes","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_3899da282ad9402bb62fc8a05c56f4c3","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653411517315,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b383e80c6e494edca4b3f058ee86bc96","parentId":"fld_352ff8941adb4486919ad54b671d3430","modified":1653522090529,"created":1653517946376,"url":"{{ _.baseUrl }}/atendimentos","name":"Criar Atendimento","description":"Endpoint para criação de novo atendimento.\n\nConteúdo esperado no body:\n- paciente_id: número, requerido\n- data_atendimento: data em formato americano, requerido\n- obs: string, requerido\n\n","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"paciente_id\": 1,\n\t\"data_atendimento\": \"2020-01-01T10:10:00z\",\n\t\"obs\": \"Descrição do atendimento para o paciente 299\"\n}\n"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_df86c5fe969f4021bb93b42626aa584b"},{"id":"pair_7022d9c990954ac8a22155c1a3783d68","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDQsIm5vbWUiOiJhZG1pbiIsImVtYWlsIjoiYWRtaW5AZW1haWwuY29tIiwiaWF0IjoxNjUzNTE3NTk5fQ.dov-Ut1EdyNsLewvLVmStkpG-vlaUHD1kWKuqdVgNFQ","description":""}],"authentication":{},"metaSortKey":-1653517946376,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_352ff8941adb4486919ad54b671d3430","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653331771163,"created":1653331771163,"name":"Atendimentos","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1653331771163,"_type":"request_group"},{"_id":"req_8e8ba185c596441aa5093609fe43c5a1","parentId":"fld_352ff8941adb4486919ad54b671d3430","modified":1653498440017,"created":1653331781417,"url":"localhost:3000/atendimentos","name":"todos Atendimentos","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_82d1f98b20b7428685a9f0c692928503","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjgsIm5vbWUiOiJwc2kgMzIiLCJlbWFpbCI6InRAZ21haWwuY29tIiwiaWF0IjoxNjUzNDExNDg2fQ.OnMWZxqYIxBAzY34_HGxgzkk87GFnUjH2dTmCQ4zyNQ","description":""}],"authentication":{},"metaSortKey":-1653331781417,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_995361f53ecb4cf5a878398be548fa57","parentId":"fld_eabdf5535af84f319231e8865bed4c2f","modified":1653520668155,"created":1653314203644,"url":"localhost:3000/pacientes/120","name":"Deletar paciente","description":"","method":"DELETE","body":{},"parameters":[],"headers":[{"id":"pair_d93f845bcd974c839f08a7c99455c72c","name":"Authorization","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjgsIm5vbWUiOiJwc2kgMzEiLCJlbWFpbCI6InRAZ21haWwuY29tIiwiaWF0IjoxNjUzMzI0NjczfQ.Uj6X0Z-ED45oBX2ufpStkIyfxQsyXCHyI5BlAqK5bhU","description":""}],"authentication":{},"metaSortKey":-1653314203644,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_eabdf5535af84f319231e8865bed4c2f","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653313003247,"created":1653313003247,"name":"Pacientes","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1653313003247,"_type":"request_group"},{"_id":"req_27417242fe4f410ca7138cec259fb81b","parentId":"fld_eabdf5535af84f319231e8865bed4c2f","modified":1653520941481,"created":1653314067466,"url":"localhost:3000/pacientes/6","name":"Atualizar Paciente","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\t\"nome\": \"João abcde\"\n\t\t\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_3f36b525385046c089e4e8c260860135"},{"id":"pair_a0b5201d7b7e439f9bd7883f75a29c19","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653314067466,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e24e4181b268487790c8827eaee5ebaf","parentId":"fld_eabdf5535af84f319231e8865bed4c2f","modified":1653521194166,"created":1653314003819,"url":"localhost:3000/pacientes/1","name":"Pesquisar paciente","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_870d649f45fb4b94a7330f9c76167d31","name":"","value":"","description":""},{"id":"pair_72c83b9570ab439a80636f90831aa83a","name":"Authorization","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjgsIm5vbWUiOiJwc2kgMzEiLCJlbWFpbCI6InRAZ21haWwuY29tIiwiaWF0IjoxNjUzMzI0NjczfQ.Uj6X0Z-ED45oBX2ufpStkIyfxQsyXCHyI5BlAqK5bhU","description":""}],"authentication":{},"metaSortKey":-1653314003819,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ed1184e3c8e846aca8f8b2e49360197a","parentId":"fld_eabdf5535af84f319231e8865bed4c2f","modified":1653520694802,"created":1653313099531,"url":"localhost:3000/pacientes","name":"Criar paciente","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\t\"nome\": \"teste01\",\n\t\t\"email\": \"[email protected]\",\n\t\t\"idade\": \"2020-01-01\"\n\t}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_a9328a554faa4df2ba732fd92e44331b"},{"id":"pair_5dce64f8aa6a4983819e275f19c2d4f9","name":"Authorization","value":"bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjgsIm5vbWUiOiJwc2kgMzEiLCJlbWFpbCI6InRAZ21haWwuY29tIiwiaWF0IjoxNjUzMzI0NjczfQ.Uj6X0Z-ED45oBX2ufpStkIyfxQsyXCHyI5BlAqK5bhU","description":""}],"authentication":{},"metaSortKey":-1653313099531,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_65274732cb6944d8a3c4b06560b47962","parentId":"fld_eabdf5535af84f319231e8865bed4c2f","modified":1653521189142,"created":1653313010665,"url":"localhost:3000/pacientes","name":"todos pacientes","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_3b3684fc2924450fa990070212facfb0","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653313010665,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0a8af112fdcf49b9b80faa0a3928e668","parentId":"fld_c6fdeecf71e84e1a92b5be45d14177b8","modified":1653521372431,"created":1653315583886,"url":"localhost:3000/login","name":"login","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"email\": \"[email protected]\",\n\t\"senha\" : \"12345678\"\n}"},"parameters":[{"id":"pair_03a476eba0294a269819c27040fef2be","name":"","value":"","description":""}],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_5c5dd7c03b5a4fb6ada0796121c7f9be"},{"id":"pair_d76ac5593f3c4c0491ce60bf2ea91be8","name":"","value":"","description":""},{"id":"pair_d0d61bdf2e944105988ec1f854ddafb1","name":"","value":"","description":""}],"authentication":{"type":"bearer"},"metaSortKey":-1653315583886,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c6fdeecf71e84e1a92b5be45d14177b8","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653312452692,"created":1653312452692,"name":"Psicologos","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1653312452693,"_type":"request_group"},{"_id":"req_39e724bf72864ccfb3e3488ca3f8b3d3","parentId":"fld_c6fdeecf71e84e1a92b5be45d14177b8","modified":1653521364467,"created":1653312884681,"url":"localhost:3000/psicologos/500","name":"Deletar psicologo","description":"","method":"DELETE","body":{},"parameters":[],"headers":[{"id":"pair_b9b1b05c11fd4f1dbe140a16d5a042e0","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653312884681,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a65c80ec930446c5a12fd2210a1062b0","parentId":"fld_c6fdeecf71e84e1a92b5be45d14177b8","modified":1653521317580,"created":1653312855840,"url":"localhost:3000/psicologos/45","name":"Atualizar Psicologo","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\t\"nome\": \"teste novo 01\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_3afc3d1bbe0147cf8014238ce1c54624"},{"id":"pair_9b1089092ab34d5da72db6c34c982dd7","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653312855840,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f788a7e0766e40c3a9c6de68d3f1094e","parentId":"fld_c6fdeecf71e84e1a92b5be45d14177b8","modified":1653521357189,"created":1653312806080,"url":"localhost:3000/psicologos/45","name":"Pesquisar psicologo","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_9cfd347ff081411a83e537e6d34a30df","name":"Authorization","value":"{{ _.token }}","description":""}],"authentication":{},"metaSortKey":-1653312806080,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3781520352c2465e8b1e3424ffa2265d","parentId":"fld_c6fdeecf71e84e1a92b5be45d14177b8","modified":1653521274522,"created":1653312740460,"url":"localhost:3000/psicologos","name":"Criar psicologo","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\t\"nome\": \"psi teste 01\",\n\t\t\"email\": \"[email protected]\",\n\t\t\"senha\": \"12345678\",\n\t\t\"apresentacao\": \"teste\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_b348259b9a744e2d9286873ceb8212be"}],"authentication":{},"metaSortKey":-1653312740460,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_900e52d0117f4bc592b7a55d2f318d95","parentId":"fld_c6fdeecf71e84e1a92b5be45d14177b8","modified":1653312777512,"created":1653312471020,"url":"localhost:3000/psicologos","name":"Todos psicologos","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1653312471020,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_20c65e1d6ec29ebecca0b6552ca8e5e2275732fa","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653520727090,"created":1653312441207,"name":"Base Environment","data":{"baseUrl":"http://localhost:3000","token":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NDQsIm5vbWUiOiJhZG1pbiIsImVtYWlsIjoiYWRtaW5AZW1haWwuY29tIiwiaWF0IjoxNjUzNTE3NTk5fQ.dov-Ut1EdyNsLewvLVmStkpG-vlaUHD1kWKuqdVgNFQ"},"dataPropertyOrder":{"&":["baseUrl","token"]},"color":null,"isPrivate":false,"metaSortKey":1653312441207,"_type":"environment"},{"_id":"jar_20c65e1d6ec29ebecca0b6552ca8e5e2275732fa","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653312441210,"created":1653312441210,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_7c0f0e038dbb46e7998797604e838eae","parentId":"wrk_c0c4f4cbd62d4c978353d19480c9dd21","modified":1653312441198,"created":1653312441198,"fileName":"lavie","contents":"","contentType":"yaml","_type":"api_spec"}]}