Skip to content

Commit

Permalink
Add Verification API 2
Browse files Browse the repository at this point in the history
  • Loading branch information
FabijanC committed Jan 13, 2021
1 parent dc96576 commit 87bfe97
Show file tree
Hide file tree
Showing 42 changed files with 2,668 additions and 652 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ metacoin-source-verify/
**/sort.log
**/.env.secrets
logs
**/too_big.txt
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,22 @@
"services/validation/test/files/single"
]
},
// {
// "type": "node",
// "request": "launch",
// "name": "Validation service (standard-json file input)",
// "skipFiles": [
// "<node_internals>/**"
// ],
// "program": "${workspaceFolder}/services/validation/build/index.js",
// "preLaunchTask": "tsc: build - services/validation/tsconfig.json",
// "outFiles": [
// "${workspaceFolder}/services/validation/build/**/*.js"
// ],
// "args": [
// "services/validation/test/expected-output/single.json"
// ]
// },
{
"type": "node",
"request": "launch",
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,16 @@ You can find examples in our Postman collection in the root of this project `Sou

### Server API

* [Verify](docs/api/server/verify.md) : `POST /`
* [Check by address](docs/api/server/checkByAddress.md) : `GET /checkByAddresses?addresses={address}&chainIds={chainIds}`
* [Check by addresses](docs/api/server/verification1/check-by-addresses.md) : `GET /check-by-addresses?addresses={address}&chainIds={chainIds}`
* Verification API (v1)
* [Verify](docs/api/server/verification1/verify.md) : `POST /` or `POST /verify`
* Verification API (v2 - session based)
* [Add input files](docs/api/server/verification2/input-files.md) : `POST /input-files`
* [Verify validated](docs/api/server/verification2/verify-validated.md) : `POST /verify-validated`
* [Get session data](docs/api/server/verification2/session-data.md) : `GET /session-data`
* [Restart session](docs/api/server/verification2/restart-session.md) : `POST /restart-session`
* [Get file tree (full match)](docs/api/server/getTreeByChainAndAddress.md) : `GET /files/tree/:chain/:address`
* [Get source files (full match)](docs/api/server/getByChainAndAddress.md) : `GET /files/:chain/:address`
* [Get file tree (full or partial match)](docs/api/server/getAnyTreeByChainAndAddess.md) : `GET /files/tree/any/:chain/:address`
* [Get file tree (full or partial match)](docs/api/server/getAnyTreeByChainAndAddress.md) : `GET /files/tree/any/:chain/:address`
* [Get source files (full or partial match)](docs/api/server/getAnyByChainAndAddress.md) : `GET /files/any/:chain/:address`
* [Server health](docs/api/server/health.md) : `GET /health`
Loading

0 comments on commit 87bfe97

Please sign in to comment.