Skip to main content
StickyF.A.Q.

API References > Comments

  • October 17, 2023
  • 1 reply
  • 176 views
API References > Comments
Lais Laudari

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
}
}

Did this topic help you find an answer to your question?

1 reply

marcosmelo
Forum|alt.badge.img+18
  • Pipefy Legend
  • 1465 replies
  • October 17, 2023

👍👏


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings