Created
February 7, 2019 22:06
-
-
Save markdon/dd32724f2e5b317aeb80403fb35c2843 to your computer and use it in GitHub Desktop.
Create a comment with Boards API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fetch(`./node`, { | |
| method: "POST", | |
| headers:{"Content-Type":"application/json"}, | |
| body:`{ | |
| "boardId" : "${Boards.current.boardNode.id}", | |
| "priv" : 0, | |
| "parentId" : "${Boards.current.node.id}", | |
| "position" : 1000000, | |
| "template" : 0, | |
| "commonType" : "reply", | |
| "name" : "Test creating a comment with API", | |
| "description" : "Test creating a comment with API", | |
| "assignedToUsers" : [], | |
| "boardsMeta" : null | |
| }` | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment