Line 7: |
Line 7: |
| To query a list of titles, a SOAP request is sent to /nus/services/NetUpdateSOAP, with action urn:nus.wsapi.broadon.com/. The result is an XML structure containing all titles that require updating. | | To query a list of titles, a SOAP request is sent to /nus/services/NetUpdateSOAP, with action urn:nus.wsapi.broadon.com/. The result is an XML structure containing all titles that require updating. |
| | | |
− | The request uses the following XML structure:
| + | === Request structure === |
− | | |
| '''GetSystemUpdateRequest''' xmlns=urn:nus.wsapi.broadon.com | | '''GetSystemUpdateRequest''' xmlns=urn:nus.wsapi.broadon.com |
− | :'''Version''' - unknown | + | :'''Version''' - always 1.0? |
| :'''MessageId''' - unknown | | :'''MessageId''' - unknown |
| :'''DeviceId''' - unknown | | :'''DeviceId''' - unknown |
| :'''RegionId''' - USA, JAP, EUR, or KOR | | :'''RegionId''' - USA, JAP, EUR, or KOR |
| :'''CountryCode''' - unknown | | :'''CountryCode''' - unknown |
− | :Several '''TitleVersion''': | + | :Several '''TitleVersion''' structs: |
| ::'''TitleId''' - 16-digit title ID in hex | | ::'''TitleId''' - 16-digit title ID in hex |
| ::'''Version''' - decimal version | | ::'''Version''' - decimal version |
| :'''Attribute''' - unknown | | :'''Attribute''' - unknown |
| :'''AuditData''' - unknown | | :'''AuditData''' - unknown |
| + | |
| + | === Response structure === |
| + | '''GetSystemUpdateResponse''' xmlns=urn:nus.wsapi.broadon.com |
| + | :'''Version''' - same as version in request? |
| + | :'''MessageId''' - same as MessageId from client |
| + | :'''DeviceId''' - same as DeviceId from client |
| + | :'''ErrorCode''' - 0 on success |
| + | :'''ContentPrefixURL''' - always https://nus.cdn.shop.wii.com/ccs/download (HTTP before [[2.0rev02]]) |
| + | :'''UncachedPrefixURL''' - always http://ccs.shop.wii.com/ccs/download (HTTP before 2.0rev02) |
| + | :Several '''TitleVersion''' structs: |
| + | ::'''TitleId''' - 16-digit title ID in hex |
| + | ::'''Version''' - latest title version available |
| + | ::'''FsSize''' - size in bytes? |
| + | :'''UploadAuditData''' - unknown, possibly boolean? |
| | | |
| === Download a TMD, ticket, or content=== | | === Download a TMD, ticket, or content=== |