AlbumHierarchyNodeRelationshipResource Resource

POST /albumhierarchynoderelationships/{albumHierarchyNodeRelationshipId}/prepare

Request an album (relationship) to be prepared for download

Request Parameters
name type description
X-Callback-Url header A full URL which will be requested using the GET method upon completion.
X-Company-Name header A base64 encoded company name which is to be written to audio file metadata
X-Composer-Prefix header A base64 encoded prefix to prepend to metadata composer details
X-External-User-ID header An integer representing an external user ID
X-File-Quality header The file AudioFile.Quality which is to be used. Defaults to High
X-File-Type header The file AudioFileType which is to be used. Defaults to MP3
X-Filename-Format header The FilenameFormat by which filenames will be generated. Defaults to Default
X-Filename-Prefix header A base64 encoded prefix to prepend to filenames
X-Title header A base64 encoded title for the download preparation
albumHierarchyNodeRelationshipId path a String holding an id which represents the relationship which is to be prepared for download
Response Codes
code condition
202 The album is being prepared for download
404 The album does not exist
500 An error occured
Response Body
media type data type description
application/xml;charset=utf-8 (custom)


POST /albumhierarchynoderelationships/{albumHierarchyNodeRelationshipId}/prepare
Content-Type: */*
Accept: application/xml;charset=utf-8
X-Callback-Url: ...
X-Company-Name: ...
X-Composer-Prefix: ...
X-External-User-ID: ...
X-File-Quality: ...
X-File-Type: ...
X-Filename-Format: ...
X-Filename-Prefix: ...
X-Title: ...

HTTP/1.1 202 Accepted
Content-Type: application/xml;charset=utf-8