- Previous: Update Pages: Add Page Content
- Up: SiteManager Services - Update Pages
- Next: Update Pages: Add Entry To Blog
Update Pages: Add Photo To Album
Add photo to album
| Endpoint URLs | http://api.webs.com/v1/sitemanager/[user]/pages/albums/[pageID] | |
| HTTP Method | POST | |
| Parameters | apikey=[partner key] (String) token=[session token] (String) password=[password] (String) required if token not provided title=[photo title] (String) optional caption=[photo caption] (String) optional imagesrc=[URL to photo] (URL) required |
Example Good Response
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<user name=”fred”>
<token>8dbb03893f96ab32110957f10ce</token>
</user>
</rsp>
Error Codes (see response format in Technical Description)
| Code | Response |
|---|---|
| 300 | Received unknown page type: [page type] | |
| 310 | Did not receive enough information |
| 320 | Cannot find or create session for user with information provided] |
| 340 | Does not support this HTTP method for this operation |
| 360 | Username [name] does not exist |
| 370 | Encountered errors during user existence check |
| 384 | Encountered malformed photo URL |
| 386 | Encountered errors adding photo to album |
| 390 | Encountered non-numeric page ID |
| 392 | Requires page ID for this operation |

Comments
chennaitaekwondo – 3 months ago
hi
Please sign in to post a comment.