To create a record in Blue, you can use the following mutation:
mutation CreateRecord {
createTodo(
input: {
todoListId:"TODOLISTID",
title: "Test",
position: 65535
}
) {
id
title
position
}
}
Here's a table explaining the input fields for creating a record:
Field | Type | Description |
---|---|---|
todoListId | String | The ID of the todo list where the record will be created |
title | String | The title of the record |
position | Integer | The position of the record in the list (default is 65535 for end of list) |
Note: The position
field can be optionally included to specify the record's placement in the list.