Update Pages: Add Page Content

Add content to normal page


Endpoint URLs http://api.webs.com/v1/sitemanager/[user]/pages/normal/[pageID]

HTTP Method POST

Parameters apikey=[partner key] (String)
token=[session token] (String)
password=[password] (String) required if token not provided
title=[title of new paragraph] (String) required
body=[body of new paragraph] (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]
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
395 Too many paragraphs on the page

Comments

  1. IconGamez2 years ago

    It would help - a clear step by step process.

  2. nik2 years ago

    yu

Please sign in to post a comment.