AnsweredAssumed Answered

Add a tag with RESTful API

Question asked by pyt on Dec 20, 2013
Latest reply on Dec 20, 2013 by pyt
Hello,

I want to add a tag with RESTful API.
I know the HTTP request I have to send but not what arguments I have to append to my the request.

This is the request:

http://localhost:8080/alfresco/service/api/node/{store_type}/{store_id}/{id}/tags

This is my json string I am appending to my request:

{
"id" : "879486de-77c5-463f-8768-7e44baaeefc8",
"tag" : "test"
}


Every time I send my request with Google Chromes Dev HTTP Client I receive this error message:

"status":{
"code":500,
"name":"Internal Error",
"description":"An error inside the HTTP server which prevented it from fulfilling the request."
}


How does my json string has to look like? And is it possible to add a tag to a node which has not the "taggable" aspect? If not, how do I add the taggabel with REST API?

Thanks
pyt

Outcomes