From d0b7268041678f19f1eea04504434c00b24716de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Fri, 7 Jul 2023 09:42:13 +0200 Subject: [PATCH] Remove Postman collection, update license year Removing the Postman collection in favor of https://sourcify.dev/server/api-docs/swagger.json --- LICENSE | 2 +- Sourcify.postman_collection.json | 1143 ------------------------------ 2 files changed, 1 insertion(+), 1144 deletions(-) delete mode 100644 Sourcify.postman_collection.json diff --git a/LICENSE b/LICENSE index 8b23445f4..e1fd273f0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 +Copyright (c) 2023 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Sourcify.postman_collection.json b/Sourcify.postman_collection.json deleted file mode 100644 index 1bd3c2f4e..000000000 --- a/Sourcify.postman_collection.json +++ /dev/null @@ -1,1143 +0,0 @@ -{ - "info": { - "_postman_id": "1ccf8bed-6f1c-468f-842e-e1edf1346003", - "name": "Sourcify", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" - }, - "item": [ - { - "name": "Server", - "item": [ - { - "name": "Verification API 1", - "item": [ - { - "name": "check-by-addresses", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{host}}/check-by-addresses?addresses=0x0000A906D248Cc99FB8CB296C8Ad8C6Df05431c9,0x0A67477639a71bf98528280D3724f465A1814740,0x0A67477639a71bf98528280D3724f465A1814741,0x0a06cc1Ce1105d90ce01752813449A029906aD7b&chainIds=1,3,4,5,42", - "host": [ - "{{host}}" - ], - "path": [ - "check-by-addresses" - ], - "query": [ - { - "key": "addresses", - "value": "0x0000A906D248Cc99FB8CB296C8Ad8C6Df05431c9,0x0A67477639a71bf98528280D3724f465A1814740,0x0A67477639a71bf98528280D3724f465A1814741,0x0a06cc1Ce1105d90ce01752813449A029906aD7b" - }, - { - "key": "chainIds", - "value": "1,3,4,5,42" - } - ] - } - }, - "response": [] - }, - { - "name": "verify", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "address", - "value": "0x656d0062eC89c940213E3F3170EA8b2add1c0143", - "type": "text" - }, - { - "key": "chain", - "value": "100", - "type": "text" - }, - { - "key": "files", - "type": "file", - "src": [ - "test/testcontracts/1_Storage/1_Storage.sol", - "test/testcontracts/1_Storage/metadata.json" - ] - } - ] - }, - "url": { - "raw": "{{host}}", - "host": [ - "{{host}}" - ] - } - }, - "response": [] - }, - { - "name": "verify - missing - fetch", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "address", - "value": "0x656d0062eC89c940213E3F3170EA8b2add1c0143", - "type": "text" - }, - { - "key": "chain", - "value": "100", - "type": "text" - }, - { - "key": "files", - "type": "file", - "src": "test/testcontracts/1_Storage/metadata.json" - } - ] - }, - "url": { - "raw": "{{host}}", - "host": [ - "{{host}}" - ] - } - }, - "response": [ - { - "name": "verify - missing - fetch", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "address", - "value": "0x656d0062eC89c940213E3F3170EA8b2add1c0143", - "type": "text" - }, - { - "key": "chain", - "value": "100", - "type": "text" - }, - { - "key": "files", - "type": "file", - "src": "test/testcontracts/1_Storage/metadata.json" - } - ] - }, - "url": { - "raw": "{{host}}", - "host": [ - "{{host}}" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "88" - }, - { - "key": "ETag", - "value": "W/\"58-J/J2ShSm6vDzcetM7QhLTil+co8\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3A1MUnH1uhcDyJytHrXoYrnU3pnYpHwg4k.ESJevK%2BKUpvwiC9MxqT%2FJTXaU%2BGKSIv3yYqJlJ4W6MA; Path=/; Expires=Wed, 20 Jan 2021 23:50:51 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Wed, 20 Jan 2021 11:50:51 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"result\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"status\": \"perfect\"\n }\n ]\n}" - } - ] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "Verification API 2", - "item": [ - { - "name": "Add input files - success", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "files", - "type": "file", - "src": [ - "test/testcontracts/1_Storage/1_Storage.sol", - "test/testcontracts/1_Storage/metadata.json" - ] - } - ] - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "response": [ - { - "name": "Add input files - success", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "files", - "type": "file", - "src": [ - "test/testcontracts/1_Storage/1_Storage.sol", - "test/testcontracts/1_Storage/metadata.json" - ] - } - ] - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "287" - }, - { - "key": "ETag", - "value": "W/\"11f-g6j9TfRz4+JLOVlzsIMF7fjowkQ\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3Ai8fGEBmscCNl4g5Lr-55tEiTPRIFJZI3.i%2Bg%2B9doxHuunTqq5V6nPPsnkc5GIc8RUpuzVm2wFGqo; Path=/; Expires=Wed, 13 Jan 2021 05:40:19 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Tue, 12 Jan 2021 17:40:19 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"contracts\": [\n {\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"status\": \"error\"\n }\n ],\n \"unused\": []\n}" - } - ] - }, - { - "name": "Add input files - source only", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "files", - "type": "file", - "src": "test/testcontracts/1_Storage/1_Storage.sol" - } - ] - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "response": [] - }, - { - "name": "Add input files - metadata only", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "files", - "type": "file", - "src": "test/testcontracts/1_Storage/metadata.json" - } - ] - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "response": [] - }, - { - "name": "Add input files - under wrong property", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "foo", - "type": "file", - "src": [ - "test/testcontracts/1_Storage/1_Storage.sol", - "test/testcontracts/1_Storage/metadata.json" - ] - } - ], - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "response": [ - { - "name": "Add input files - under wrong property", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "foo", - "type": "file", - "src": [ - "test/testcontracts/1_Storage/1_Storage.sol", - "test/testcontracts/1_Storage/metadata.json" - ] - } - ], - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "121" - }, - { - "key": "ETag", - "value": "W/\"79-9Pl/9IcyFnuW3N/TtnrOPa2mtiI\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3Ai8fGEBmscCNl4g5Lr-55tEiTPRIFJZI3.i%2Bg%2B9doxHuunTqq5V6nPPsnkc5GIc8RUpuzVm2wFGqo; Path=/; Expires=Wed, 13 Jan 2021 05:40:02 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Tue, 12 Jan 2021 17:40:02 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"message\": \"Validation Error: files\",\n \"errors\": [\n {\n \"field\": \"files\",\n \"message\": \"There should be files in the field\"\n }\n ]\n}" - } - ] - }, - { - "name": "Add input files - limit exceeded", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "files", - "type": "file", - "src": "test/sources/too_big.txt" - } - ], - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - }, - "description": "Be sure that a large enough file exists in your working directory under `test/sources/too_big.txt`." - }, - "response": [ - { - "name": "Add input files - limit exceeded", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "formdata", - "formdata": [ - { - "key": "files", - "type": "file", - "src": "test/sources/too_big.txt" - } - ], - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/input-files", - "host": [ - "{{host}}" - ], - "path": [ - "input-files" - ] - } - }, - "status": "Payload Too Large", - "code": 413, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "83" - }, - { - "key": "ETag", - "value": "W/\"53-drvEjmV76+06di6ugalMhxKurUg\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3ArrXhReeKS3eFvZpiy4H2DRrDkNx4WCKA.IGXMS8eeq3xUA9rj6%2Bh0MkOJxSTbVcO5FxizXeHIvQk; Path=/; Expires=Wed, 13 Jan 2021 03:45:02 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Tue, 12 Jan 2021 15:45:02 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"error\": \"Too much session memory used. Delete some files or restart the session.\"\n}" - } - ] - }, - { - "name": "Verify validated contracts - sending an updated previously received object", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"contracts\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"status\": \"error\"\n }\n ],\n \"unused\": []\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/verify-validated", - "host": [ - "{{host}}" - ], - "path": [ - "verify-validated" - ] - } - }, - "response": [ - { - "name": "Verify validated contracts - timestamp indicates the contract has already been verified", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"contracts\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"status\": \"error\"\n }\n ],\n \"unused\": []\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/verify-validated", - "host": [ - "{{host}}" - ], - "path": [ - "verify-validated" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "408" - }, - { - "key": "ETag", - "value": "W/\"198-9VloxskbFwLWQol6jAR4WZGqD5c\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3ArrXhReeKS3eFvZpiy4H2DRrDkNx4WCKA.IGXMS8eeq3xUA9rj6%2Bh0MkOJxSTbVcO5FxizXeHIvQk; Path=/; Expires=Wed, 13 Jan 2021 03:47:52 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Tue, 12 Jan 2021 15:47:52 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"contracts\": [\n {\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"status\": \"perfect\",\n \"storageTimestamp\": \"2021-01-12T15:41:56.502Z\"\n }\n ],\n \"unused\": []\n}" - }, - { - "name": "Verify validated contracts - no pending contracts", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"contracts\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"status\": \"error\"\n }\n ],\n \"unused\": []\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/verify-validated", - "host": [ - "{{host}}" - ], - "path": [ - "verify-validated" - ] - } - }, - "status": "Bad Request", - "code": 400, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "53" - }, - { - "key": "ETag", - "value": "W/\"35-C1PLshiV2v4d8cihT1ADwOqiWu8\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3AIPLSfpM1nXFH5HzRLCxiDBDF8S7DN3BL.rInlSM2GiOhHRm8EVf6%2FN1ykqgoMW0u2YBA7Hgqa9Zw; Path=/; Expires=Thu, 07 Jan 2021 21:38:57 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Thu, 07 Jan 2021 09:38:57 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"error\": \"There are currently no pending contracts.\"\n}" - }, - { - "name": "Verify validated contracts - perfect match", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"contracts\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"status\": \"error\"\n }\n ],\n \"unused\": []\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/verify-validated", - "host": [ - "{{host}}" - ], - "path": [ - "verify-validated" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "362" - }, - { - "key": "ETag", - "value": "W/\"16a-c5JVmIjf98P3pRQ6N75RG//EK8Q\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3AY72SfocDgz-kMzhjVWAiW4H0QjTMYdd1.n56BahjKffoLe6jRXu7xBoGiTEb2qdbTpOfPalfqSG0; Path=/; Expires=Fri, 08 Jan 2021 21:06:09 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Fri, 08 Jan 2021 09:06:09 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"contracts\": [\n {\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"status\": \"perfect\"\n }\n ],\n \"unused\": []\n}" - } - ] - }, - { - "name": "Verify validated contracts - sending a minimum required object", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"contracts\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\"\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/verify-validated", - "host": [ - "{{host}}" - ], - "path": [ - "verify-validated" - ] - } - }, - "response": [ - { - "name": "Verify validated contracts - sending a minimum required object", - "originalRequest": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"contracts\": [\n {\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\"\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{host}}/verify-validated", - "host": [ - "{{host}}" - ], - "path": [ - "verify-validated" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "362" - }, - { - "key": "ETag", - "value": "W/\"16a-c5JVmIjf98P3pRQ6N75RG//EK8Q\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3AN5vxbIbh-WH2Kn0G4HAl-RSCJZ0fVAVp.vcISnogjFLgYcuZV8SwCnfI7WD46zVSzBYctSLR9g8o; Path=/; Expires=Fri, 08 Jan 2021 21:26:12 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Fri, 08 Jan 2021 09:26:12 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"contracts\": [\n {\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"address\": \"0x656d0062eC89c940213E3F3170EA8b2add1c0143\",\n \"chainId\": \"100\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"status\": \"perfect\"\n }\n ],\n \"unused\": []\n}" - } - ] - }, - { - "name": "Restart session", - "request": { - "method": "POST", - "header": [], - "url": { - "raw": "{{host}}/restart-session", - "host": [ - "{{host}}" - ], - "path": [ - "restart-session" - ] - } - }, - "response": [ - { - "name": "Restart session", - "originalRequest": { - "method": "POST", - "header": [], - "url": { - "raw": "{{host}}/restart-session", - "host": [ - "{{host}}" - ], - "path": [ - "restart-session" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "html", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "text/html; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "30" - }, - { - "key": "ETag", - "value": "W/\"1e-5baQulxfW2hoUqBadpVkJw0XQGo\"" - }, - { - "key": "Date", - "value": "Tue, 12 Jan 2021 17:40:40 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "Session successfully restarted" - } - ] - }, - { - "name": "Get session data", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{host}}/session-data", - "host": [ - "{{host}}" - ], - "path": [ - "session-data" - ] - } - }, - "response": [ - { - "name": "Get session data", - "originalRequest": { - "method": "GET", - "header": [], - "url": { - "raw": "{{host}}/session-data", - "host": [ - "{{host}}" - ], - "path": [ - "session-data" - ] - } - }, - "status": "OK", - "code": 200, - "_postman_previewlanguage": "json", - "header": [ - { - "key": "X-Powered-By", - "value": "Express" - }, - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Content-Type", - "value": "application/json; charset=utf-8" - }, - { - "key": "Content-Length", - "value": "287" - }, - { - "key": "ETag", - "value": "W/\"11f-g6j9TfRz4+JLOVlzsIMF7fjowkQ\"" - }, - { - "key": "Set-Cookie", - "value": "sourcify_vid=s%3AWLIDNCfu5-qhHy-k9GKHZnaE7t9PSZY6.empt4QqQV4BWfUJO0P4lOdu97W0gV5Ab%2BS40ME%2FE4SU; Path=/; Expires=Wed, 13 Jan 2021 05:41:09 GMT; HttpOnly" - }, - { - "key": "Date", - "value": "Tue, 12 Jan 2021 17:41:09 GMT" - }, - { - "key": "Connection", - "value": "keep-alive" - } - ], - "cookie": [], - "body": "{\n \"contracts\": [\n {\n \"verificationId\": \"0x3f67e9f57515bb1e7195c7c5af1eff630091567c0bb65ba3dece57a56da766fe\",\n \"compiledPath\": \"browser/1_Storage.sol\",\n \"name\": \"Storage\",\n \"compilerVersion\": \"0.6.6+commit.6c089d02\",\n \"files\": {\n \"found\": [\n \"browser/1_Storage.sol\"\n ],\n \"missing\": []\n },\n \"status\": \"error\"\n }\n ],\n \"unused\": []\n}" - } - ] - } - ] - }, - { - "name": "health", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{host}}/health", - "host": [ - "{{host}}" - ], - "path": [ - "health" - ] - }, - "description": "Check server health status" - }, - "response": [] - }, - { - "name": "getTreeByChainAndAddress", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{host}}/files/tree/:chain/:address", - "host": [ - "{{host}}" - ], - "path": [ - "files", - "tree", - ":chain", - ":address" - ], - "variable": [ - { - "key": "chain", - "value": "5" - }, - { - "key": "address", - "value": "0x1fE5d745beABA808AAdF52057Dd7AAA47b42cFD0" - } - ] - } - }, - "response": [] - }, - { - "name": "getByChainAndAddress", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{host}}/files/:chain/:address", - "host": [ - "{{host}}" - ], - "path": [ - "files", - ":chain", - ":address" - ], - "variable": [ - { - "key": "chain", - "value": "5" - }, - { - "key": "address", - "value": "0x1fE5d745beABA808AAdF52057Dd7AAA47b42cFD0" - } - ] - } - }, - "response": [] - } - ] - } - ] -} \ No newline at end of file