myxer.wallpaper.create
Creates a new wallpaper.
Note: This method requires a
multipart form post.
Arguments
- api_key
- Your API application key. See here for more details on api_key.
- method
- myxer.wallpaper.create
- name
- wallpaper name
- profile_id (optional)
- only used when share_mode is 'public'
profile_id value return from myxer.profile.create
the primary profile for the account is used if none is specified
- price (optional)
- defaults to free
allowed prices: 0, .99, 1.25, 1.50, 1.75, 1.99, 2.25, 2.49, 2.99
- category (optional)
- category to assign to the new wallpaper (None, PopRock, Gospel, Dance, Classical, HipHop, Country, Comedy, Other, Latin)
- distrights (optional)
- comma-separated regions we will have the rights to distribute in (two letter ISO standard country codes
- api_sig
- Secure signature of the api parameters excluding file. See here for details on api_sig.
- file
- binary image file (not included in api_sig)
Example Response
The response format is a simple XML block.
Success Response
<?xml version="1.0" encoding="utf-8" ?>
<response status="ok">
<id>c-123456</id>
</response>
Error Response
<?xml version="1.0" encoding="utf-8" ?>
<response status="fail">
<code>[error-code]</code>
<msg>[error-message]</msg>
</response>