Method HIUGCUndeleteAsset
HIUGCUndeleteAsset(String, String, String)
Undeletes a previously deleted asset.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<bool,Den.Dev.Grunt.Models.RawResponseContainer>> HIUGCUndeleteAsset (string title, string assetType, string assetId);
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title for the game for which the authoring session needs to be spawned. Example variant is "hi" for "Halo Infinite". |
System.String | assetType | Type of asset to check. Example value is "UgcGameVariants". |
System.String | assetId | Unique asset ID for the asset type specified earlier. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<System.Boolean,RawResponseContainer>> | If the request to undelete an asset was successful, returns true. Otherwise, returns false. |
Remarks
Interestingly enough, the API itself, as seen in the settings endpoint, does not contain the /recover
suffix. I had to add it manually
in this specific implementation.