-
Notifications
You must be signed in to change notification settings - Fork 2
2.2 Verify
nitsuga5124 edited this page Feb 27, 2021
·
4 revisions
POST
GET
- /verify
Verifies a mod. Requires the user to have the Verify role.
Content-Type: application/text
-
200
The mod was successfully verified. -
400
Bad query info or impossible to verify mod. -
401
User does not have the Verify role.
-
checksum
:- 64 hex characters String.
- The checksum of the mod to verify.
-
is_good
:- Boolean.
- Weather the mod is safe or unsafe.
-
reason
:- String.
- Must be provided if is_good is False.
- The reason of the verification.
- Default to null.
curl -i -X POST -H 'Authorization: ...' "http://5124.mywire.org:1232/api/verify?checksum=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855&is_good=true"