Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can update the list of tags of a content item by sending the POST request to the following URL: /content/<content_item_id>/tags.

Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.


Request Headers

ParameterDescription
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-Tags (required)A comma-separated list of tags for a given content item

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

 

Possible Response Codes

CodeTextDescription
200OkTags of the specified content item have been updated.

 

Sample Request

Code Block
languagexml
POST /content/1/tags HTTP/1.1


Host: api.ispringonline.com


X-Auth-Account-Url: http://myaccount.
ispringonline
ispringlearn.com


X-Auth-Email: email@email.com


X-Auth-Password: password


X-Tags: tag1,tag2

 

Sample Response

Code Block
languagexml
HTTP/1.1
 
 200 OK

Server:

nginx
Connection: close