Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

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);

Parameters

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

Description

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

Clone this wiki locally