Line 27:
Line 27:
:'''ErrorCode''' - 0 on success
:'''ErrorCode''' - 0 on success
:'''ContentPrefixURL''' - always https://nus.cdn.shop.wii.com/ccs/download (HTTP before [[2.0rev03]])
:'''ContentPrefixURL''' - always https://nus.cdn.shop.wii.com/ccs/download (HTTP before [[2.0rev03]])
−
:'''UncachedPrefixURL''' - always http://ccs.shop.wii.com/ccs/download (HTTP before 2.0rev03, this is the URL the Wii uses)
+
:'''UncachedPrefixURL''' - always https://ccs.shop.wii.com/ccs/download (HTTP before 2.0rev03, this is the URL the Wii uses)
:Several '''TitleVersion''' structs:
:Several '''TitleVersion''' structs:
::'''TitleId''' - 16-digit title ID in hex
::'''TitleId''' - 16-digit title ID in hex
Line 35:
Line 35:
== Download a TMD, ticket, or content ==
== Download a TMD, ticket, or content ==
+
There are a few prefixes that point to NUS. HTTP and HTTPS do not matter.
+
* https://nus.cdn.shop.wii.com/ccs/download (does not seem to work)
+
* https://ccs.shop.wii.com/ccs/download
+
* https://ccs.cdn.c.shop.nintendowifi.net/ccs/download
+
These can be downloaded from <prefix>/<titleid>/<name>, where prefix is the base URL returned from the SOAP request, titleid is the title ID in hex, and name is one of three things:
These can be downloaded from <prefix>/<titleid>/<name>, where prefix is the base URL returned from the SOAP request, titleid is the title ID in hex, and name is one of three things:
* tmd[version] - downloads the TMD for the version provided, or the latest version if no version is provided
* tmd[version] - downloads the TMD for the version provided, or the latest version if no version is provided