You can update a content item by sending the POST request to the following URL: /content/<content_item_id>.
Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.
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. |
X-Title (required) | A title of the specified content item. |
X-Description (optional) | A description of the specified content item. |
After the request has been completed, the system returns the response with Code 200.
Code | Text | Description |
---|---|---|
404 | Unknown content item | The specified content item was not found. |
400 | Bad Request | The system failed to process the request, because it did not contain all necessary parameters. |
403 | Duplicated title | A content item with the specified title already exists. |
200 | Ok | The specified content item has been updated. |
POST /content/1 HTTP/1.1 Host: api.ispringonline.com X-Auth-Account-Url: http://myaccount.ispringlearn.com X-Auth-Email: email@email.com X-Auth-Password: password X-Title: title X-Description: description |
HTTP/1.1 200 OK Connection: close |