You can get publish settings of your account by sending the GET request to the following URL: /account/publish_settings.
Parameter | Description |
---|---|
X-Auth-Account-Url (required) | Base URL of the account, e.g. http://myaccount.ispringlearn.com |
X-Auth-Email (required) | Administrator/Publisher e-mail address. |
X-Auth-Password (required) | Administrator/Publisher password. |
After the request has been completed, the system returns the response with Code 200. The body of the reponse will contain xml data with publish settings of your account.
Code | Text | Description |
---|---|---|
200 | Ok | The request has been processed successfully. |
GET /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
HTTP/1.1 200 OK
Server: nginx
Connection: close
<publishSettings>
<defaultContentPrivacy>private</defaultContentPrivacy>
<isPrivateContentViewedOnce>1</isPrivateContentViewedOnce>
<manualUploadEnabled>1</manualUploadEnabled>
</publishSettings>