Add Labels
Adds a list of labels to the specified content. The body is the json representation of the list.
POST
/rest/api/content/{id}/labelPath parameters
idstringrequiredthe id of the content to get the labels for
Request body
application/jsona single label object or a list of labels to add
prefixstringnamestringidstringlabelstringResponses
200
returns a JSON representation of the existing and added labels on the content with the given id, or a 404 NOT FOUND if there is no content with the given id or if the user is not permitted. An empty list will be returned if there are no labels on the given content
resultsLabel[]Show propertiesHide properties
Array of
Labelprefixstringnamestringidstringlabelstringstartnumberlimitnumbersizenumber_linksobjectShow propertiesHide properties
basestringselfstringcontextstringnextstringprevstring404
Returned if there is no content with the given id, or if the calling user does not have permission to view the content.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring