Using the Active Collab API, can a comment be created on behalf of another user? Like it's possible with everything else by setting created_by_id
.
Using:
POST http://AC-SERVER/api/v1/comments/discussion/30 HTTP/1.1
{"body":"TEST","created_by_id":5,"updated_by_id":5}
the creator isn't set correctly (with every other datatype, it works well):
{"single":
{"id":81,
"class":"Comment",
"url_path":"\/comments\/81",
"attachments":[],
"is_trashed":false,
"trashed_on":null,
"trashed_by_id":0,
"parent_type":"Discussion",
"parent_id":30,
"body":"TEST",
"body_formatted":"TEST",
"body_plain_text":"TEST",
"created_on":1474039019,
"created_by_id":1,
"updated_on":1474039019,
"updated_by_id":5
}
}
See "created_by_id":1
.