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

ModIO.APIClient.AddGameMedia

Jackson Wood edited this page Mar 6, 2019 · 11 revisions

APIClient.AddGameMedia

public static void AddGameMedia(AddGameMediaParameters parameters, Action<APIMessage> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
parameters Game media to be added
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Submit new game media to the mod.io servers.

The game profile that receives the media is the one matching ModIO.APIClient.gameId. A successful request will return a confirmation APIMessage.

NOTE: You can also edit game media directly via the mod.io web interface. This is the recommended approach.

See also: docs.mod.io page

Clone this wiki locally