Do you need help with your API queries and/or mutation?
Here are a few that might help you!
Queries
LIST COMMENTS FROM A CARD
{
card(id:xxxxxxxx) {
title
comments {
id
author_name
created_at
text
}
}
}
Mutations
CREATE COMMENT
mutation {
createComment(
input: {
card_id: XXXXXXX
text: "Life is like a box of chocolates.."
}
) {
comment {
id
text
}
}
}
UPDATE COMMENT
mutation {
updateComment(
input: {
id: XXXXX
text: "Let me explain something to you."
}
) {
comment {
id
text
}
}
}
DELETE COMMENT
mutation {
deleteComment(input:{id: XXXX}) {
success
}
}