This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
ModIO.APIClient.EditMod
Jackson Wood edited this page Mar 6, 2019
·
11 revisions
APIClient.EditMod
public static void EditMod(int modId, EditModParameters parameters, Action<ModProfile> successCallback, Action<WebRequestError> errorCallback);
Name | Description |
---|---|
modId | Id of the mod profile to update |
parameters | Altered values to submit in the request |
successCallback | Action to execute if the request succeeds |
errorCallback | Action to execute if the request returns an error |
Submits changes to an existing mod profile.
This function is only able to update the parameters found in the EditModParameters class. To update the logo or media associated with a mod, use ModIO.APIClient.AddModMedia. The same applies to Modfiles, Metadata Key Value Pairs and Dependencies which are all managed via other endpoints. A successful request will return the updated ModProfile.
See also: docs.mod.io page