API reference
The reference is generated from the OpenAPI description of the Exchange API: fil-exchange-v1.yaml. You can load that file into an API client or a code generator.
Send every request to https://backend.fraudintelligencelimited.com. See Calling the API.
Start with Responses and error codes: the envelope of every response, the Authorization header and the numbered errors.
Session
| Operation | Endpoint |
|---|---|
| Sign in | POST /auth/api/v1/authentication-management/session |
| Refresh the tokens | PATCH /auth/api/v1/authentication-management/session |
| Sign out | POST /auth/api/v1/authentication-management/logout |
Account, balance and limit
| Operation | Endpoint |
|---|---|
| Get own account | GET /auth/api/v1/peer-management/account |
| Get the token balance | GET /data/api/v1/wallet-management/balance |
| Get the upload limit | GET /data/api/v1/peer-management/limit |
Contributions
| Operation | Endpoint |
|---|---|
| Assemble an upload | POST /data/api/v1/contribution-management/contribution/assemble |
| Submit an upload | POST /data/api/v1/contribution-management/contribution |
| Assemble a flag | PATCH /data/api/v1/contribution-management/contribution/flag/assemble |
| Submit a flag | PATCH /data/api/v1/contribution-management/contribution/flag |
| Look up an identifier | GET /data/api/v1/contribution-management/contribution/{id} |
| Query contributions | GET /data/api/v1/contribution-management/contribution |
| Download contributions as CSV | GET /data/api/v1/contribution-management/contribution/download |
Rates
| Operation | Endpoint |
|---|---|
| Get the query prices | GET /data/api/v1/contribution-management/contribution/price |
| Get the reward tables | GET /data/api/v1/contribution-management/rewards |