Changing Publish Settings

You can change publish settings of your account by sending the POST request to the following URL: /account/publish_settings.

Request Headers

Parameter Description
X-Auth-Account-Url (required) Base URL of the account, e.g. http://myaccount.ispringonline.com
X-Auth-Email (required) Administrator/Publisher e-mail address.
X-Auth-Password (required) Administrator/Publisher password.
X-Default-Content-Privacy (required) public or private
X-Is-Private-Content-Viewed-Once (required) 1 or 0
X-Manual-Upload-Enabled (required) 1 or 0

After the request has been completed, the system returns the response with Code 200.

Possible Response Codes

Code Text Description
200 Ok Publish settings have been changed.
400 Bad Request The system failed to process the request, because it did not contain all necessary parameters.

Sample Request

POST /account/publish_settings HTTP/1.1
Host: api.ispringonline.com
X-Auth-Account-Url: http://myaccount.ispringonline.com
X-Auth-Email: email@email.com
X-Auth-Password: password
X-Default-Content-Privacy: private
X-Is-Private-Content-Viewed-Once: 1
X-Manual-Upload-Enabled: 1

Sample Response

HTTP/1.1 200 OK
Server: nginx
Connection: close