forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
openapi.yaml
58 lines (58 loc) · 3.63 KB
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
openapi: "3.0.0"
info:
version: 1.0.0
title: Sourcify API
description: API to interact with Sourcify
license:
name: MIT
url: https://github.com/ethereum/sourcify/blob/master/LICENSE
servers:
- url: https://sourcify.dev/server
description: Production server
- url: https://staging.sourcify.dev/server
description: Staging server
- url: http://localhost:5555
description: Local development server address on default port 5555.
paths:
/session/data:
$ref: "src/server/controllers/verification/session-state/data.session-state.paths.yaml#/paths/~1session~1data"
/session/clear:
$ref: "src/server/controllers/verification/session-state/clear.session-state.paths.yaml#/paths/~1session~1clear"
/session/input-files:
$ref: "src/server/controllers/verification/session-state/input-files.session-state.paths.yaml#/paths/~1session~1input-files"
/session/input-contract:
$ref: "src/server/controllers/verification/session-state/input-contract.session-state.paths.yaml#/paths/~1session~1input-contract"
/verify:
$ref: "src/server/controllers/verification/verify/stateless/verify.stateless.paths.yaml#/paths/~1verify"
/session/verify-checked:
$ref: "src/server/controllers/verification/verify/session/verify.session.paths.yaml#/paths/~1session~1verify-checked"
/verify/solc-json:
$ref: "src/server/controllers/verification/solc-json/stateless/solc-json.stateless.paths.yaml#/paths/~1verify~1solc-json"
/session/input-solc-json:
$ref: "src/server/controllers/verification/solc-json/session/solc-json.session.paths.yaml#/paths/~1session~1input-solc-json"
/verify/create2:
$ref: "src/server/controllers/verification/create2/stateless/create2.stateless.paths.yaml#/paths/~1verify~1create2"
/session/verify/create2:
$ref: "src/server/controllers/verification/create2/session/create2.session.paths.yaml#/paths/~1session~1verify~1create2"
/session/verify/create2/compile:
$ref: "src/server/controllers/verification/create2/session/compile.create2.session.paths.yaml#/paths/~1session~1verify~1create2~1compile"
/verify/etherscan:
$ref: "src/server/controllers/verification/etherscan/stateless/etherscan.stateless.paths.yaml#/paths/~1verify~1etherscan"
/session/verify/etherscan:
$ref: "src/server/controllers/verification/etherscan/session/etherscan.session.paths.yaml#/paths/~1session~1verify~1etherscan"
/check-all-by-addresses:
$ref: "src/server/controllers/repository/check-all-by-addresses.stateless.paths.yaml#/paths/~1check-all-by-addresses"
/check-by-addresses:
$ref: "src/server/controllers/repository/check-by-addresses.stateless.paths.yaml#/paths/~1check-by-addresses"
/files/contracts/{chain}:
$ref: "src/server/controllers/repository/get-contract-addresses-all.stateless.paths.yaml#/paths/~1files~1contracts~1{chain}"
/contracts/{full_match | partial_match}/{chain}/{address}/{filePath}:
$ref: "src/server/controllers/repository/get-file-static.stateless.paths.yaml#/paths/~1contracts~1{full_match | partial_match}~1{chain}~1{address}~1{filePath}"
/files/tree/any/{chain}/{address}:
$ref: "src/server/controllers/repository/get-file-tree-all.stateless.paths.yaml#/paths/~1files~1tree~1any~1{chain}~1{address}"
/files/tree/{chain}/{address}:
$ref: "src/server/controllers/repository/get-file-tree-full.stateless.paths.yaml#/paths/~1files~1tree~1{chain}~1{address}"
/files/any/{chain}/{address}:
$ref: "src/server/controllers/repository/get-source-files-all.stateless.paths.yaml#/paths/~1files~1any~1{chain}~1{address}"
/files/{chain}/{address}:
$ref: "src/server/controllers/repository/get-source-files-full.stateless.paths.yaml#/paths/~1files~1{chain}~1{address}"