-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAPI.json
More file actions
1 lines (1 loc) · 11.8 KB
/
API.json
File metadata and controls
1 lines (1 loc) · 11.8 KB
1
{"_type":"export","__export_format":4,"__export_date":"2022-09-20T12:48:15.771Z","__export_source":"insomnia.desktop.app:v2022.5.1","resources":[{"_id":"req_120b222b8dd1459787c91a0947f3bb25","parentId":"fld_8b5e8934c344451abb866f40f6efee20","modified":1663678030435,"created":1663503423305,"url":"http://127.0.0.1:8080/transaction","name":"Payment DocSeeker","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"user_id\":3,\n\t\"gross_amount\":210000,\n\t\"ongkir_service\":\"Reg\",\n\t\"ongkir_courier\":\"JNE\",\n\t\"ongkir_cost\":10000,\n\t\"first_name\":\"Bagas\",\n\t\"last_name\":\"Prabaswara\",\n\t\"email\":\"[email protected]\",\n\t\"phone\":\"0812992239329\",\n\t\"address\":\"JL ketapang xv\",\n\t\"zip_code\":\"17148\",\n\t\"cities\":\"Bekasi\",\n\t\"province\":\"Jawa Barat\",\n\t\"country\":\"Indonesia\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_0b3853c0e6674109a38beb29db3ffe19"}],"authentication":{},"metaSortKey":-1661517296833,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_8b5e8934c344451abb866f40f6efee20","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1661518215234,"created":1661518215234,"name":"Payment shit","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1661518215234,"_type":"request_group"},{"_id":"wrk_23075590c88c4c75aa2c008ee30741ef","parentId":null,"modified":1657884426522,"created":1657884426522,"name":"docseeker","description":"","scope":"collection","_type":"workspace"},{"_id":"req_34728be84a1d4ebbbd9df0f66bc0264f","parentId":"fld_8b5e8934c344451abb866f40f6efee20","modified":1663503440570,"created":1661517296783,"url":"http://127.0.0.1:8000/charge","name":"Payment","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"payment_type\": \"gopay\",\n \"transaction_details\": {\n\t\t\t\"gross_amount\": 44000\n\t\t}\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_7da96bd643f24a288c0a2785ff6630ee"}],"authentication":{"type":"basic","useISO88591":false,"disabled":false,"username":"SB-Mid-server-hU-imcc36WU9VEZoV5nI0MIn","password":""},"metaSortKey":-1661517296783,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c33f37b56f534aee9d72f1ffc8f5f1c9","parentId":"fld_8b5e8934c344451abb866f40f6efee20","modified":1663503441431,"created":1661518225233,"url":"https://api.sandbox.midtrans.com/v2/2782b020-230a-4d17-97a7-8d2480511585/cancel","name":"Cancel Payment","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_7da96bd643f24a288c0a2785ff6630ee"}],"authentication":{"type":"basic","useISO88591":false,"disabled":false,"username":"SB-Mid-server-hU-imcc36WU9VEZoV5nI0MIn","password":""},"metaSortKey":-1661433122056,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e85d20e7cbf54b61bc46c922b358c7b5","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1663502750381,"created":1661348947329,"url":"http://127.0.0.1:8000/cost-ongkir","name":"Get Cost","description":"","method":"GET","body":{"mimeType":"application/json","text":"{\n\t\"city_origin\":11,\n\t\"city_destination\":15,\n\t\"weight\":100,\n\t\"courier\":\"pos\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_59dc08a68afb4e71a86d0d673e9feb78"}],"authentication":{},"metaSortKey":-1661348947329,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_19e780c6240d4d4a85aaed383ca7de00","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1661964368438,"created":1661348880261,"url":"http://127.0.0.1:8000/cities/9","name":"Get Cities by Province","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1661348880261,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_538c772e011344bf928f9f049081c409","parentId":"fld_4a08fce33ca94ff0a8dc9ed0c4ae8cee","modified":1663169208254,"created":1662270319622,"url":"http://127.0.0.1:8000/create-admin","name":"New Request","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\":\"[email protected]\",\n\t\"password\":\"test123\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_713f61a542864fb2a271b87d6617088f"}],"authentication":{},"metaSortKey":-1660645237611,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_4a08fce33ca94ff0a8dc9ed0c4ae8cee","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1660645231274,"created":1660645231274,"name":"Admin","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1660645231274,"_type":"request_group"},{"_id":"req_3d7d9faced38478d87f0cc34fa3cddd9","parentId":"fld_4a08fce33ca94ff0a8dc9ed0c4ae8cee","modified":1660645250029,"created":1660645237561,"url":"http://127.0.0.1:8000/admin-product","name":"New Request","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660645237561,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cf3d7d2382e14b4ab4efc1f5062c0c79","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1662013867777,"created":1660574583067,"url":"http://127.0.0.1:8000/admin/product/6","name":"Get Product","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_db53c63fcb3447388729910202f2b12c","name":"key","value":"c2eb385be7bf8b742597c09582ffbf06","description":""}],"authentication":{},"metaSortKey":-1660574583067,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4e90adc234624066822ac6069e3165ac","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1661779887911,"created":1657894953781,"url":"http://127.0.0.1:8000/product","name":"Store Product","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\t\n\t\"product_cat\":\"2\",\t\n\t\"product_gender\":\"1\",\n\t\"product_brand\":12,\t\n\t\"product_title\":\"Kacamata terbaru 3!\",\t\n\t\"product_harga\":10000,\t\n\t\"product_image\":\"xyz\",\t\n\t\"stock\":100\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_7f9236aa19e443eaa8c00a17bce9d943"},{"id":"pair_da583d4cabd449779ded64b7dffeb514","name":"csrf-token","value":"1111","description":"","disabled":true}],"authentication":{"type":"bearer"},"metaSortKey":-1657894953782,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ed6d620fd368482fbc539a0436de27cc","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1662270288179,"created":1658041428437,"url":"http://127.0.0.1:8000/register","name":"Register User","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\t\n\t\"first_name\":\"bagazzz prabas\",\t\n\t\"last_name\":\"wira\",\n\t\"email\":\"[email protected]\",\t\n\t\"password\":\"test123\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_7f9236aa19e443eaa8c00a17bce9d943"},{"id":"pair_da583d4cabd449779ded64b7dffeb514","name":"csrf-token","value":"1111","description":"","disabled":true}],"authentication":{"type":"bearer"},"metaSortKey":-1657889693442,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_224d2367c80249509057433495e35b6c","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1657938812874,"created":1657884433102,"url":"http://127.0.0.1:8000/product","name":"Get All Products","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1657884433102,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_bf5ee04e987e4db1b9d310530329b124","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1657938827596,"created":1657938169876,"url":"http://127.0.0.1:8000/product/1","name":"Get Product by ID","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1656801317954,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_990989f1e5d80d662ef6a06ae7ef4ba71ccf274c","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1657904919540,"created":1657884426566,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1657884426567,"_type":"environment"},{"_id":"jar_990989f1e5d80d662ef6a06ae7ef4ba71ccf274c","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1663582026972,"created":1657884426574,"name":"Default Jar","cookies":[{"key":"XSRF-TOKEN","value":"eyJpdiI6Ijh0TmY4bklOS3lFR1Rab0FmOU1VWkE9PSIsInZhbHVlIjoiT2UvWVBmeVB3L0FZeVpmWkNVSnRIOVF3cUlPM1FXcTQ5WHhFNHRuc29KNmkvS1pJVkJGV05ZWFFUZE1VT3hRUXExcDJNalFzWm5adXB1bXFQdUU5ZTZCYU1ZM1F0UFhYNnpkTkZhRS91My9seVZuRU94MEdnNjk4SE9saDYvOWgiLCJtYWMiOiJjYTkzYmVlMjhkMGU2MzViZjI2ZWEyN2I5MDcyODhmNjhlNGFmYzRkMTQxMDIyYjhkODY3MTFlNjY3YzczYTRhIiwidGFnIjoiIn0%3D","expires":"2022-09-19T12:07:06.000Z","maxAge":7200,"domain":"127.0.0.1","path":"/","extensions":["samesite=lax"],"hostOnly":true,"creation":"2022-07-15T13:02:26.440Z","lastAccessed":"2022-09-19T10:07:06.971Z","id":"7091998662964301"},{"key":"laravel_session","value":"eyJpdiI6IlpleklqRzFDRlZ0QWJ0N21NOW1WMVE9PSIsInZhbHVlIjoialFvcHFON2l0VER3STBWaHY2anF2WFZlYU5Ya2tuV3JKdS9DVTVwUE13aVU2dG9tNW1FZCtwMVFEK05UczFWMzNHNERhSEZGMU9pbEhscW9SMFRZRzBqQU1EUDk3K3Y2Vy9tTnRUb0toR2p2RW0vVkdQdzRpaUwxTDR5K1V1dTIiLCJtYWMiOiIzMzVkOTAxMzUyODM0NmMwN2U5ZGEwOWRkYjU0MTJhYTRkZmZmNTBkNmRhMWRhMThkZWQ5OTQzOGIyZGI1YmZkIiwidGFnIjoiIn0%3D","expires":"2022-09-19T12:07:06.000Z","maxAge":7200,"domain":"127.0.0.1","path":"/","httpOnly":true,"extensions":["samesite=lax"],"hostOnly":true,"creation":"2022-07-15T13:02:26.441Z","lastAccessed":"2022-09-19T10:07:06.971Z","id":"6096441160445911"}],"_type":"cookie_jar"},{"_id":"spc_b9edf3ce0b8e43eb9d84d81aa8ccf4c2","parentId":"wrk_23075590c88c4c75aa2c008ee30741ef","modified":1657884426540,"created":1657884426540,"fileName":"docseeker","contents":"","contentType":"yaml","_type":"api_spec"}]}