- Previous: Update Pages: Add Photo To Album
- Up: SiteManager Services - Update Pages
- Next: FileManager Services
Update Pages: Add Entry To Blog
Add entry to blog
| Endpoint URLs | http://api.webs.com/v1/sitemanager/[user]/pages/blog | |
| HTTP Method | POST | |
| Parameters | apikey=[partner key] (String) token=[session token] (String) password=[password] (String) required if token not provided title=[title of blog entry] (String) required body=[body of blog entry] (String) 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 |
| 330 | Cannot find blog for user [username] |
| 340 | Does not support this HTTP method for this operation |
| 360 | Username [name] does not exist |
| 370 | Encountered errors during user existence check |
| 380 | Encountered errors creating blog entry |

Comments
NIJIL – 6 days ago
When i have tried to post a comment in blog ,I got the good response on my request but when i couldnt find the newly added comment in my blog. Can you give me a solution?
Please sign in to post a comment.