box api - How do I get the comments added to a comment in the in the Box REST API? -


how comments added comment in in box rest api?

for example, how return comments (marked in red) comment (marked in black)?

enter image description here

they should included in list comments on file. difference reply comments have is_reply_comment field set true.

note ordering of returned comments important. since replies can 1 level deep, reply comment associated first non-reply comment above it.

here's sample response including comment , reply first comment:

get https://api.box.com/2.0/files/28785720644/comments  {   "total_count": 2,   "offset": 0,   "limit": 100,   "entries": [     {       "type": "comment",       "id": "63003535",       "is_reply_comment": false,       "message": "first message",       "created_by": {         "type": "user",         "id": "221860571",         "name": "name",         "login": "login@gmail.com"       },       "created_at": "2015-04-14t17:49:07-07:00"     },     {       "type": "comment",       "id": "63003537",       "is_reply_comment": true,       "message": "reply message",       "created_by": {         "type": "user",         "id": "221860571",         "name": "name",         "login": "login@gmail.com"       },       "created_at": "2015-04-14t17:49:07-07:00"     }   ] } 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -