-
Notifications
You must be signed in to change notification settings - Fork 2
2.3 Yank
nitsuga5124 edited this page Feb 27, 2021
·
2 revisions
POST GET - /yank
Yanks a mod; removing it from the search index, and force marking it as Unsafe.
- Yanked mods are still available for download, but should not be used.
- This action cannot be undone.
- Requires the user to own the mod they try to yank.
- A team token must be provided to yank mods owned by a team.
Content-Type: application/text
-
200The mod was successfully yanked. -
400Mod already yanked. -
403User does not own the mod.
-
checksum:- 64 hex characters String.
- The checksum of the mod to verify.
-
reason:- String.
- The reason of the yank.
- Default to null.
curl -i -X POST -H 'Authorization: $TOKEN' "http://5124.mywire.org:1232/api/yank?checksum=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"