Method HIUGCGetSpecificAssetVersion
HIUGCGetSpecificAssetVersion(String, String, String, String)
Gets metadata related to a concrete version of a specified asset.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.AuthoringAssetVersion,Den.Dev.Grunt.Models.RawResponseContainer>> HIUGCGetSpecificAssetVersion (string title, string assetType, string assetId, string versionId);
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title which contains the asset. An example value here is "hi". |
System.String | assetType | Type of asset to check. Example value is "UgcGameVariants". |
System.String | assetId | Unique ID for the asset. Example value is "f96f57e2-9f15-45c5-83ac-5775a48d2ba8" for "Attrition-Default-UGC". |
System.String | versionId | Unique ID for the version of the asset. Example value is "2674c887-7aa1-42ab-a6cd-4a2c60611d0e" for the "f96f57e2-9f15-45c5-83ac-5775a48d2ba8" asset. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<AuthoringAssetVersion,RawResponseContainer>> | If successful, returns an instance of AuthoringAssetVersion that contains asset version information. Otherwise, returns null. |
Examples
Here is an example response from the API, as snapshotted on 7/10/2022:
{
"CustomData": {
"KeyValues": {}
},
"AssetVersionFiles": {
"Prefix": "https://blobs-infiniteugc.svc.halowaypoint.com/ugcstorage/ugcgamevariant/f96f57e2-9f15-45c5-83ac-5775a48d2ba8/2674c887-7aa1-42ab-a6cd-4a2c60611d0e/",
"FileRelativePaths": [
"images/hero.png",
"images/screenshot1.png",
"images/screenshot2.png",
"images/screenshot3.png",
"images/thumbnail.png"
],
"PrefixEndpoint": {
"AuthorityId": "iUgcFiles",
"Path": "/ugcstorage/ugcgamevariant/f96f57e2-9f15-45c5-83ac-5775a48d2ba8/2674c887-7aa1-42ab-a6cd-4a2c60611d0e/",
"QueryString": null,
"RetryPolicyId": "linearretry",
"TopicName": "",
"AcknowledgementTypeId": 0,
"AuthenticationLifetimeExtensionSupported": false,
"ClearanceAware": false
}
},
"Links": {
"EngineGameVariant": [
{
"TargetAssetId": "5308a91a-4499-4a04-8764-861ad5803a21",
"TargetAssetVersionId": null,
"Order": 0
}
]
},
"AssetId": "f96f57e2-9f15-45c5-83ac-5775a48d2ba8",
"AssetVersionId": "2674c887-7aa1-42ab-a6cd-4a2c60611d0e",
"PublicName": "Arena:Attrition",
"Description": "Deplete the enemy’s respawns and then wipe them out.",
"CreatedDate": {
"ISO8601Date": "2022-05-23T23:59:02.154Z"
},
"LastModifiedDate": {
"ISO8601Date": "2022-05-23T23:59:18.306Z"
},
"VersionNumber": 1,
"Note": "",
"AssetState": 1,
"Tags": [],
"Contributors": [],
"AssetHome": 2,
"ExemptFromAutoDelete": false,
"InspectionResult": 0,
"CloneBehavior": 0,
"Player": "xuid(PLAYER_XUID_HERE)",
"StringCulture": "",
"PreviousAssetVersionId": null
}