Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Using the Comments API

Chris_LLChris_LL Member Posts: 4
Hi all,

I've been working with Onshape's API to retrieve comments from parts within a document via the GET /comments endpoint. This seems to work fine for the original comments that were added to the part, but it does not return any of the replies to those comments. The original comments themselves have a replyCount field showing the correct number of replies, but there are no comment Ids (cid) listed in the JSON response that would allow retrieval of those comments via the GET /comment endpoint.

Has anyone had experience with the Comments API and seen this issue? The Glassworks API docs specifies that when calling GET /comments the paramater "objectType" should be set to 6, but it doesn't specify what objectType is or why it should be set to this value. Any help on this would be appreciated.

Cheers
Chris LL

Comments

Sign In or Register to comment.