-
Notifications
You must be signed in to change notification settings - Fork 0
/
insomnia-collection.json
1 lines (1 loc) · 10.9 KB
/
insomnia-collection.json
1
{"_type":"export","__export_format":4,"__export_date":"2023-09-03T18:56:45.886Z","__export_source":"insomnia.desktop.app:v2023.5.7","resources":[{"_id":"req_fed6dae0dc1d45acb5dbbd7f4343ee40","parentId":"fld_8e3373c55cd246418bf8739faa740ea3","modified":1693766531602,"created":1693765701281,"url":"http://localhost:8080/payment/order/1/","name":"Get Payment State by Order Id","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"Insomnia/2023.5.7"}],"authentication":{},"metaSortKey":-1693765704112,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_8e3373c55cd246418bf8739faa740ea3","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1693765669844,"created":1693765669844,"name":"Payment","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1693765669844,"_type":"request_group"},{"_id":"wrk_fc7dd085f49946f495ce602a37bccf29","parentId":null,"modified":1693765260357,"created":1693765260357,"name":"Tech Challenge - SOAT 1 - Post Tech","description":"","scope":"collection","_type":"workspace"},{"_id":"req_1c9753e6b00c44b6b5c239345ae96d0c","parentId":"fld_590ed90a69c545a8ae60f5dbcc6706e2","modified":1693699010154,"created":1693697676423,"url":"http://localhost:8080/payment/webhook","name":"Payment Webhook","description":"","method":"POST","body":{"mimeType":"application/json","text":"\n{\n \"id\": 12345,\n \"order_id\": 3,\n \"live_mode\": true,\n \"type\": \"approved\",\n \"date_created\": \"2015-03-25T10:04:58.396-04:00\",\n \"user_id\": 0,\n \"api_version\": \"v1\",\n \"action\": \"payment.created\",\n \"data\": [\n {\n \"id\": \"999999999\"\n }\n ]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1693697676423,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_590ed90a69c545a8ae60f5dbcc6706e2","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1688693925941,"created":1688693925941,"name":"Checkout","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1688693925941,"_type":"request_group"},{"_id":"req_50d855c1c75141b0af1ee5f076c8a6ea","parentId":"fld_590ed90a69c545a8ae60f5dbcc6706e2","modified":1688694011608,"created":1688693935575,"url":"http://localhost:8080/checkout?orderId=1&totalAmount=15","name":"Create Checkout","description":"","method":"POST","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688693935575,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_718846ad6bd74590869794a916031e78","parentId":"fld_219e1d077612438ebc9a0a62bb816455","modified":1693704509221,"created":1688691092468,"url":"http://localhost:8080/orders","name":"Create Order","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"customerId\": 1,\n\t\"totalPrice\": 21.00,\n\t\"items\": [\n\t\t{\n\t\t\t\"productId\": 1,\n\t\t\t\"quantity\": 1,\n\t\t\t\"price\": 15.00,\n\t\t\t\"observation\": \"sem cebola\"\n\t\t},\n\t\t{\n\t\t\t\"productId\": 2,\n\t\t\t\"quantity\": 1,\n\t\t\t\"price\": 6.00,\n\t\t\t\"observation\": \"\"\n\t\t}\n\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_38deb32a51354a1682f25ee3a14dbc26"}],"authentication":{},"metaSortKey":-1688685020026,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_219e1d077612438ebc9a0a62bb816455","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1688689570457,"created":1688689570457,"name":"Orders","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1688689570457,"_type":"request_group"},{"_id":"req_64bbe298a96c4cdbb47a87c5c8c97196","parentId":"fld_219e1d077612438ebc9a0a62bb816455","modified":1688691292369,"created":1688691259628,"url":"http://localhost:8080/orders/status/CREATED","name":"Get Orders by Status","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688684435192.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_abf5f98ec74c40b5a1166fbb253055df","parentId":"fld_a7d39d6a12964691aecef26efe9ed45e","modified":1688691666013,"created":1688690314716,"url":"http://localhost:8080/products","name":"Get Products","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688690088633,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_a7d39d6a12964691aecef26efe9ed45e","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1688689564051,"created":1688689564051,"name":"Products","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1688689564051,"_type":"request_group"},{"_id":"req_73c0490851c441e48fb8094eae6730b6","parentId":"fld_a7d39d6a12964691aecef26efe9ed45e","modified":1688690661865,"created":1688690337793,"url":"http://localhost:8080/products/categories/MEAL","name":"Get Products by Category","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688690088608,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_653d908199f14444a077c45d15d5e790","parentId":"fld_a7d39d6a12964691aecef26efe9ed45e","modified":1688692763392,"created":1688690088583,"url":"http://localhost:8080/products/1","name":"Get Product by Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688690088583,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_38e6d28f545b4ecabf6f5327f3ec23d9","parentId":"fld_a7d39d6a12964691aecef26efe9ed45e","modified":1688693109694,"created":1688690377491,"url":"http://localhost:8080/products/4","name":"Update Product by Id","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n \"category\": \"MEAL\",\n \"name\": \"Fried Chicken\",\n \"description\": \"Galinha frita na air fryer\",\n \"price\": 10.99,\n\t\"isAvailable\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4c259fa0102e4451925ba72252dc3545"}],"authentication":{},"metaSortKey":-1688688529027,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1362650776434048b44ed15edbd916c7","parentId":"fld_a7d39d6a12964691aecef26efe9ed45e","modified":1688692800722,"created":1688690396785,"url":"http://localhost:8080/products/4","name":"Delete Product by Id","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688687359360,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_fb5920ae923443869178830c0cb1afff","parentId":"fld_a7d39d6a12964691aecef26efe9ed45e","modified":1693704518737,"created":1688690357064,"url":"http://localhost:8080/products","name":"Create Product","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"category\": \"MEAL\",\n \"name\": \"Fried Chicken\",\n \"description\": \"Galinha frita\",\n \"price\": 10.99,\n\t\"isAvailable\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_38deb32a51354a1682f25ee3a14dbc26"}],"authentication":{},"metaSortKey":-1688686189693,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7f7611d8b17b407daab2cd532e3a42a1","parentId":"fld_264e1c02786940e89389d04a7d9b1fba","modified":1693765767122,"created":1688683850358,"url":"http://localhost:8080/customers/10000000000","name":"Get Customer by Document","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1688683850359,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_264e1c02786940e89389d04a7d9b1fba","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1688683809416,"created":1688683809416,"name":"Customers","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1688683809416,"_type":"request_group"},{"_id":"req_ca479f3f3c49499d949a2bfc0d82a94b","parentId":"fld_264e1c02786940e89389d04a7d9b1fba","modified":1688692987328,"created":1688684055200,"url":"http://localhost:8080/customers","name":"Create Customer","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane.doe@fiap.com.br\",\n \"document\": \"10000000000\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_27fd93c7107d4fdf9b1a2704338e8316"}],"authentication":{},"metaSortKey":-1671384889863,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_b92a59450a1e49dfab0379e37c5d1c9f","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1688690582375,"created":1688683801653,"name":"Base Environment","data":{"key":"value"},"dataPropertyOrder":{"&":["key"]},"color":null,"isPrivate":false,"metaSortKey":1688683801653,"_type":"environment"},{"_id":"jar_7f1cace0a718463d943a83c92c305985","parentId":"wrk_fc7dd085f49946f495ce602a37bccf29","modified":1688683801654,"created":1688683801654,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]}