POST (/json/users/batch/scids/{scid}/data/{pathAndFileName},json)
Article
Downloads multiple files from multiple users with the same filename. The file to be downloaded is determined by the URI of the request. The body of the request contains the list of XUIDs of the users whose files to download. The body of the response will be a multi-part MIME message, with each part representing a file for a particular user with its own set of headers. It's possible for the parts of the response to be a mix of successes and failures.
The domain for these URIs is titlestorage.xboxlive.com.
Path and file name for the item to be accessed. Valid characters for the path portion (up to and including the final forward slash) include uppercase letters (A-Z), lowercase letters (a-z), numbers (0-9), underscore (), and forward slash (/). The path portion may be empty. Valid characters for the file name portion (everything after the final forward slash) include uppercase letters (A-Z), lowercase letters (a-z), numbers (0-9), underscore (), period (.), and hyphen (-). The file name may not be empty, end in a period or contain two consecutive periods.
Authorization
The request must include a valid Xbox LIVE authorization header. If caller is not allowed to access this resource, the service will return a 403 Forbidden response. If the header is invalid or missing, the service will return a 401 Unauthorized response.
Request body
Property
Type
Description
xuids
array of unsigned 64-bit integers
The list of XUIDs for which to download files.
Sample request
{
"xuids" :
[
12345,
45678,
78901
]
}
HTTP status codes
The service returns one of the status codes in this section in response to a request made with this method on this resource. For a complete list of standard HTTP status codes used with Xbox Live Services, see Standard HTTP status codes.
Code
Reason phrase
Description
200
OK
The request was successful.
201
Created
The entity was created.
400
Bad Request
Service could not understand malformed request. Typically an invalid parameter.
401
Unauthorized
The request requires user authentication.
403
Forbidden
The request is not allowed for the user or service.
404
Not Found
The specified resource could not be found.
406
Not Acceptable
Resource version is not supported.
408
Request Timeout
The request took too long to complete.
500
Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
Service Unavailable
Request has been throttled, try the request again after the client-retry value in seconds (e.g. 5 seconds later).
Required Response Headers
Header
Description
Content-Disposition
Describes the contents of the part. The "name" and "filename" parts of the header are the XUID of the user that this file belongs to.
HttpStatusCode
The HTTP status code related to retrieving this particular file.
Optional Response Headers
Header
Description
ETag
ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL. If the resource content at that URL ever changes, a new and different ETag is assigned.
Content-Type
If the file was successfully retrieved, this is the Content-Type of the file.
Content-Range
If the file was successfully retrieved and is a partial download, this is the range of bytes of the file contained in the response.
Response body
If the call is successful, the service will return the contents of the requested files in a multi-part response.