Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[CHORE] Add insomnia workspace example #664

Merged
merged 1 commit into from
Sep 11, 2020

Conversation

ntallar
Copy link

@ntallar ntallar commented Sep 11, 2020

Description

Add initial insomnia workspace file, further examples should be added when required/used

@ntallar ntallar requested a review from mmrozek September 11, 2020 12:12
@@ -0,0 +1 @@
{"_type":"export","__export_format":4,"__export_date":"2020-09-11T12:07:41.513Z","__export_source":"insomnia.desktop.app:v2020.2.1","resources":[{"_id":"req_dd6e5c718f974407bb79fe3c953b7106","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"personal_newAccount\", \n \"params\": [\"12345678\"],\n \"id\": 1\n}"},"created":1599825723950,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552939150156.7344,"method":"POST","modified":1599825736386,"name":"personal_newAccount","parameters":[],"parentId":"fld_72829b866f0441e184e0d1a2030f8220","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"fld_72829b866f0441e184e0d1a2030f8220","created":1599825702694,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1599825702694,"modified":1599825702694,"name":"Personal","parentId":"wrk_097d43914a4d4aea8b6f73f647921182","_type":"request_group"},{"_id":"wrk_097d43914a4d4aea8b6f73f647921182","created":1552662762769,"description":"","modified":1599825617921,"name":"Mantis","parentId":null,"scope":null,"_type":"workspace"},{"_id":"req_105cb28c6f774eadbf099a28617a6d1f","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"debug_listPeersInfo\", \n \"params\": [],\n \"id\": 1\n}"},"created":1553869501399,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552939150157.125,"method":"POST","modified":1566369370577,"name":"debug_listPeersInfo","parameters":[],"parentId":"fld_f75b249a780c4b5e97a0a2980ad1d4b8","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"fld_f75b249a780c4b5e97a0a2980ad1d4b8","created":1553869483792,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1553869483792,"modified":1580406808158,"name":"Debug","parentId":"wrk_097d43914a4d4aea8b6f73f647921182","_type":"request_group"},{"_id":"req_b60c1a4f9d604d868910f967c6a070d7","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getBlockByNumber\", \n\t\"params\": [\"latest\", true],\n \"id\": 1\n}"},"created":1570730266922,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1565685344804,"method":"POST","modified":1573216252176,"name":"eth_getBlockByNumber (get latest block)","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"fld_a06eb77e183c4727800eb7dc43ceabe1","created":1552939140291,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1552939140292,"modified":1599825661277,"name":"Eth","parentId":"wrk_097d43914a4d4aea8b6f73f647921182","_type":"request_group"},{"_id":"req_97fa82439e3e46bfb8ee26400af6215d","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getBlockByNumber\", \n\t\"params\": [\"0x6\", true],\n \"id\": 1\n}"},"created":1552939150179,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1565685344791.5,"method":"POST","modified":1599825902802,"name":"eth_getBlockByNumber","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_eb7e7cc907c1418dafd9f2e23efa28cd","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_protocolVersion\", \n\t\"params\": [],\n \"id\": 1\n}"},"created":1570133539625,"description":"","headers":[{"id":"pair_76cd4cbd61404c5f8248b3ec90f2ae07","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1565685344779,"method":"POST","modified":1570133555400,"name":"eth_protocolVersion","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_f8b418fc0e37401c8166f0b0273b9df0","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getTransactionCount\", \n\t\"params\": [\"$address\", \"latest\"],\n \"id\": 1\n}"},"created":1565685344729,"description":"","headers":[{"id":"pair_76cd4cbd61404c5f8248b3ec90f2ae07","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1565685344729,"method":"POST","modified":1599825889791,"name":"eth_getNonce","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_2034d05a112d45618f94f061dfb85c1e","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getCode\", \n\t\"params\": [\"$address\", \"latest\"],\n \"id\": 1\n}"},"created":1573656184339,"description":"","headers":[{"id":"pair_76cd4cbd61404c5f8248b3ec90f2ae07","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1565457623961.5,"method":"POST","modified":1599825884356,"name":"eth_getCode","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_02c0c2a541ef4fa89129da240eea3054","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getStorageAt\", \n\t\"params\": [\"$address\", \"0\", \"latest\"],\n \"id\": 1\n}"},"created":1573652476586,"description":"","headers":[{"id":"pair_76cd4cbd61404c5f8248b3ec90f2ae07","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1565229903194,"method":"POST","modified":1599825899842,"name":"eth_getStorageAt","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":false,"url":"{{ node_url }}","_type":"request"},{"_id":"req_c5fdcb0e4a6f4b5da3bb68d2cc236e0d","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_call\", \n \"params\": [{\"from\": \"0x0000000000000000000000000000000000000000\"},\"latest\"],\n \"id\": 1\n}"},"created":1553865545629,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552939150166.5,"method":"POST","modified":1566369387323,"name":"eth_call","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_0baf45afc1014ca4b814a5fe2c1623c0","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getWork\", \n \"params\": [],\n \"id\": 1\n}"},"created":1553869425689,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552939150160.25,"method":"POST","modified":1566369392085,"name":"eth_getWork","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_056e84d22c8e498b868eef70ff9cb27d","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getBlockByHash\", \n\t\"params\": [\"0x7b42b3e569fe867bc2267f4213cfafe0793fa94753a1629c1efeee838f3aa569\", true],\n \"id\": 1\n}"},"created":1553806228056,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552939150154,"method":"POST","modified":1566369401143,"name":"eth_getBlockByHash","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_7770f112c5cb4fc4a0f2d7fea4f6166e","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getTransactionByHash\", \n\t\"params\": [\"0x926db397ed35bedee660fe5bf6879679fa71f1fe8c27823f7f6a1e5d96a49b94\"],\n \"id\": 1\n}"},"created":1554490202940,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552766867330.875,"method":"POST","modified":1599825954655,"name":"eth_getTransactionByHash","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_2af48bb22c004b4faf58a2d19954b872","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getTransactionReceipt\", \n\t\"params\": [\"0x926db397ed35bedee660fe5bf6879679fa71f1fe8c27823f7f6a1e5d96a49b94\"],\n \"id\": 1\n}"},"created":1554488485885,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552732410766.25,"method":"POST","modified":1599825962625,"name":"eth_getTransactionReceipt","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_71950018809a482da79fc927070de862","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getBalance\", \n\t\"params\": [\n\t\t\"$address\", \"$hexBlockNumber\"\n\t],\n \"id\": 1\n}"},"created":1576585718979,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552732410716.25,"method":"POST","modified":1599825973333,"name":"eth_getBalance","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_579a127b434b4ac7aa51ee6c93f04630","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getLogs\", \n\t\"params\": [{\n\t\t\"from_block\": \"earliest\", \n\t\t\"to_block\": \"latest\",\n\t\t\"address\":\"$address\"\n\t}],\n \"id\": 1\n}"},"created":1576678912496,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552697615936.625,"method":"POST","modified":1599825980741,"name":"eth_getLogs","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_ba739cbbb7704ca5a56b85a4a54461d4","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_newFilter\", \n\t\"params\": [{\n\t\t\"from_block\": \"earliest\",\n\t\t\"to_block\": \"latest\", \n\t\t\"address\":\"$address\"\n\t}],\n \"id\": 1\n}"},"created":1576679268522,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552680218546.8125,"method":"POST","modified":1599825990271,"name":"eth_newFilter","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"req_6ea302a10ad94d91bc468a6b5de100e0","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"jsonrpc\": \"2.0\",\n \"method\": \"eth_getFilterLogs\", \n\t\"params\": [\"$newFilterResponse\"],\n \"id\": 1\n}"},"created":1576679570457,"description":"","headers":[{"id":"pair_9f4d6a9dde554cd384487e04fa3b21aa","name":"Content-Type","value":"application/json"},{"id":"pair_088edc31f5e04f20a16b465a673871bb","name":"Cache-Control","value":"no-cache"}],"isPrivate":false,"metaSortKey":-1552671519851.9062,"method":"POST","modified":1576781874557,"name":"eth_getFilterLogs","parameters":[],"parentId":"fld_a06eb77e183c4727800eb7dc43ceabe1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ node_url }}","_type":"request"},{"_id":"env_ee4c8118750744559d3b1020845fe5d4","color":null,"created":1552662762810,"data":{},"dataPropertyOrder":null,"isPrivate":false,"metaSortKey":1552662762810,"modified":1552663132622,"name":"New Environment","parentId":"wrk_097d43914a4d4aea8b6f73f647921182","_type":"environment"},{"_id":"jar_58c53fc81ace48f7a26358d5677d4280","cookies":[],"created":1552662762812,"modified":1552662762812,"name":"Default Jar","parentId":"wrk_097d43914a4d4aea8b6f73f647921182","_type":"cookie_jar"},{"_id":"spc_fdaf789c47cc409da097e11e2c0120e5","contentType":"yaml","contents":"","created":1592230124247,"fileName":"Mantis","modified":1592230124247,"parentId":"wrk_097d43914a4d4aea8b6f73f647921182","_type":"api_spec"},{"_id":"env_2e1a8d7b5f3649308cb3c524e84a3f33","color":null,"created":1552663140073,"data":{"node_url":"http://127.0.0.1:8546"},"dataPropertyOrder":{"&":["node_url"]},"isPrivate":false,"metaSortKey":1552663140073,"modified":1599825641645,"name":"Develop","parentId":"env_ee4c8118750744559d3b1020845fe5d4","_type":"environment"}]}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format please =) (you could use vscode to do that.)

@ntallar ntallar force-pushed the chore/add-insomnia-examples branch from f39c8e6 to 91dd949 Compare September 11, 2020 18:31
Copy link
Contributor

@mirkoAlic mirkoAlic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mirkoAlic mirkoAlic merged commit 6e919da into develop Sep 11, 2020
@mirkoAlic mirkoAlic deleted the chore/add-insomnia-examples branch September 11, 2020 18:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants