-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia.json
1 lines (1 loc) · 9.19 KB
/
Insomnia.json
1
{"_type":"export","__export_format":4,"__export_date":"2022-04-12T13:01:07.357Z","__export_source":"insomnia.desktop.app:v2022.2.1","resources":[{"_id":"req_d9fffeabc2f7466382319b05ca13dd46","parentId":"fld_d11d9eb73b5343f6b733df196c311a88","modified":1649768043389,"created":1649245688065,"url":"{{ _.baseURL }}/authenticate","name":"Authenticate User","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"username\": \"{{ _.baseUsername }}\",\n\t\"password\": \"{{ _.passwordTest }}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_8ca7b576091149b088d6a2ef14bddc3f"}],"authentication":{},"metaSortKey":-1649245688065,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_d11d9eb73b5343f6b733df196c311a88","parentId":"wrk_d63863021b7146f383466be37ee952b6","modified":1649245640667,"created":1649245640667,"name":"Authenticate","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1649245640668,"_type":"request_group"},{"_id":"wrk_d63863021b7146f383466be37ee952b6","parentId":null,"modified":1648594464411,"created":1648594464411,"name":"Template - Node/TS/Prisma/PostgreSQL","description":"","scope":"collection","_type":"workspace"},{"_id":"req_5c4aac756a6b4a9da3224c07d43ae43d","parentId":"fld_d92e14e34dc54889a1687f6f19938fac","modified":1649768324689,"created":1648594481897,"url":"{{ _.baseURL }}/users","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"New User\",\n\t\"username\": \"new_user\",\n\t\"email\": \"newuser@email.com\",\n\t\"password\": \"userpassword\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_357b3e90c8474e5f90e1737354bbf5d1"}],"authentication":{},"metaSortKey":-1649198743309,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_d92e14e34dc54889a1687f6f19938fac","parentId":"wrk_d63863021b7146f383466be37ee952b6","modified":1649122237748,"created":1648594472353,"name":"Users","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1648594472453,"_type":"request_group"},{"_id":"req_db44e2df4fba46e39e7f11c4b01708c9","parentId":"fld_d92e14e34dc54889a1687f6f19938fac","modified":1649768051305,"created":1648640015783,"url":"{{ _.baseURL }}/users","name":"List All","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1649198743284,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e41eed2c27334d608f886cbcea4809ee","parentId":"fld_d92e14e34dc54889a1687f6f19938fac","modified":1649506004835,"created":1649198743259,"url":"{{ _.baseURL }}/users/id/{{ _.userID }}","name":"Find By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1649198743259,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_85f80633157f4a57937623ba27a9b37f","parentId":"fld_d92e14e34dc54889a1687f6f19938fac","modified":1649768282150,"created":1649085399083,"url":"{{ _.baseURL }}/users/username/{{ _.baseUsername }}","name":"Find By Username","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1649085399084,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_85906fe428f84b3d8f7ac7706fc15456","parentId":"fld_d92e14e34dc54889a1687f6f19938fac","modified":1649505992031,"created":1648853260559,"url":"{{ _.baseURL }}/users/email/{{ _.baseUserEmail }}","name":"Find By Email","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1648853260559,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1ed667e100054177b765042561e0ec1f","parentId":"fld_bea79c0b283c406f8d0e85ca89de4676","modified":1649768251144,"created":1649122247622,"url":"{{ _.baseURL }}/posts","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"title\": \"Sample\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_8d02ead8324a440783c65753efa4e45f"}],"authentication":{"type":"bearer","token":"{{ _.tokenUser }}","disabled":false},"metaSortKey":-1649767973349,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_bea79c0b283c406f8d0e85ca89de4676","parentId":"wrk_d63863021b7146f383466be37ee952b6","modified":1649122235230,"created":1649122225285,"name":"Posts","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1648594472403,"_type":"request_group"},{"_id":"req_094ee1e4d1464ca1a711ddf2651c1f0a","parentId":"fld_bea79c0b283c406f8d0e85ca89de4676","modified":1649768179643,"created":1649554491593,"url":"{{ _.baseURL }}/posts/{{ _.postID }}","name":"Find Post By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1649554491593,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ec0e3eb540b840fda21af9f7ee9e032e","parentId":"fld_bea79c0b283c406f8d0e85ca89de4676","modified":1649768194362,"created":1649767973299,"url":"{{ _.baseURL }}/posts/{{ _.postID }}","name":"Update Post By Id","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"title\": \"Update Title\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_1019b8dde0094995933b951f77629ba5"}],"authentication":{"type":"bearer","token":"{{ _.tokenUser }}"},"metaSortKey":-1649553969720,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d651583e52a2420586844d89b3022a95","parentId":"fld_bea79c0b283c406f8d0e85ca89de4676","modified":1649768248567,"created":1649553447847,"url":"{{ _.baseURL }}/posts/{{ _.postID }}","name":"Delete By Post Id","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.tokenUser }}"},"metaSortKey":-1649553447847,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_48dc78b4aa79e232fb3dda9a21cf4d06edc98379","parentId":"wrk_d63863021b7146f383466be37ee952b6","modified":1648639964353,"created":1648594464415,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1648594464415,"_type":"environment"},{"_id":"jar_48dc78b4aa79e232fb3dda9a21cf4d06edc98379","parentId":"wrk_d63863021b7146f383466be37ee952b6","modified":1648594464416,"created":1648594464416,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_966544a826d2412dbf35e1dbce7d8fb2","parentId":"wrk_d63863021b7146f383466be37ee952b6","modified":1648594464412,"created":1648594464412,"fileName":"Template - Node/TS/Prisma/PostgreSQL","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_0470eb7766e0448ca48f513275b40513","parentId":"env_48dc78b4aa79e232fb3dda9a21cf4d06edc98379","modified":1649768157298,"created":1648639966809,"name":"Local Development","data":{"baseURL":"localhost:3000","tokenUser":"{% response 'body', 'req_d9fffeabc2f7466382319b05ca13dd46', 'b64::JC50b2tlbg==::46b', 'never', 60 %}","userID":"{% response 'body', 'req_db44e2df4fba46e39e7f11c4b01708c9', 'b64::JC5bMF0uaWQ=::46b', 'never', 60 %}","baseUsername":"{% response 'body', 'req_db44e2df4fba46e39e7f11c4b01708c9', 'b64::JC5bMF0udXNlcm5hbWU=::46b', 'never', 60 %}","baseUserEmail":"{% response 'body', 'req_db44e2df4fba46e39e7f11c4b01708c9', 'b64::JC5bMF0uZW1haWw=::46b', 'never', 60 %}","passwordTest":"A7v8xTemp16x","postID":"{% response 'body', 'req_1ed667e100054177b765042561e0ec1f', 'b64::JC5wb3N0Lmlk::46b', 'never', 60 %}"},"dataPropertyOrder":{"&":["baseURL","tokenUser","userID","baseUsername","baseUserEmail","passwordTest","postID"]},"color":"#2340d1","isPrivate":false,"metaSortKey":1648639966809,"_type":"environment"}]}