Method HIUGCGetLatestAssetVersionFilm
HIUGCGetLatestAssetVersionFilm(String, String)
Gets the films for the latest asset version.
Declaration
public System.Threading.Tasks.Task<Den.Dev.Grunt.Models.HaloApiResultContainer<Den.Dev.Grunt.Models.HaloInfinite.AuthoringAssetVersion,Den.Dev.Grunt.Models.RawResponseContainer>> HIUGCGetLatestAssetVersionFilm (string title, string assetId);
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title which contains the asset. An example value here is "hi". |
System.String | assetId | Unique ID for the asset. Example value is "f96f57e2-9f15-45c5-83ac-5775a48d2ba8" for "Attrition-Default-UGC". |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HaloApiResultContainer<AuthoringAssetVersion,RawResponseContainer>> | If successful, returns an instance of AuthoringAssetVersion containing film data in the CustomData property. Otherwise, returns null. |
Remarks
Interestingly enough, this API call did not contain the Film suffix in the name. I added it for explicit identification because otherwise it would be confusing.
Examples
Here is an example response from the API, as snapshotted on 7/18/2022:
{
"CustomData": {
"FilmLength": 0,
"Chunks": [],
"HasGameEnded": false,
"ManifestRefreshSeconds": 30,
"MatchId": "00000000-0000-0000-0000-000000000000",
"FilmMajorVersion": 0
},
"AssetVersionFiles": {
"Prefix": "https://blobs-infiniteugc.svc.halowaypoint.com/ugcstorage/film/b5ed517c-ce50-4919-95b2-41197f644ad6/b583ff12-40f3-44e5-9471-186ee8332e74/",
"FileRelativePaths": [],
"PrefixEndpoint": {
"AuthorityId": "iUgcFiles",
"Path": "/ugcstorage/film/b5ed517c-ce50-4919-95b2-41197f644ad6/b583ff12-40f3-44e5-9471-186ee8332e74/",
"QueryString": null,
"RetryPolicyId": "linearretry",
"TopicName": "",
"AcknowledgementTypeId": 0,
"AuthenticationLifetimeExtensionSupported": false,
"ClearanceAware": false
}
},
"Links": {
"EngineGameVariant": [
{
"TargetAssetId": "6ada47c6-fedd-4a46-9761-e6c4a8ed11bd",
"TargetAssetVersionId": null,
"Order": 0
}
]
},
"AssetId": "b5ed517c-ce50-4919-95b2-41197f644ad6",
"AssetVersionId": "b583ff12-40f3-44e5-9471-186ee8332e74",
"PublicName": "MultiTeam",
"Description": "",
"CreatedDate": {
"ISO8601Date": "2022-07-19T04:38:25.872Z"
},
"LastModifiedDate": {
"ISO8601Date": "2022-07-19T04:38:25.876Z"
},
"VersionNumber": 12,
"Note": "Autosaved",
"AssetState": 1,
"Tags": [],
"Contributors": [],
"AssetHome": 2,
"ExemptFromAutoDelete": false,
"InspectionResult": 0,
"CloneBehavior": 0,
"Player": "xuid(PLAYER_XUID_HERE)",
"StringCulture": "",
"PreviousAssetVersionId": "c77f607f-4c21-4359-a4ee-cbe617324474"
}