JetBrains Space Help

ToDo Lists

Create to-do item

post /api/http/todo

Create a new To-Do item, with an optional due date.

Request arguments
object with fields:
  • text: string( Required )

  • dueDate: string (format: full-date)( Nullable and Optional , defaults to null)

Get all to-do items

get /api/http/todo

Get all To-Do items that match given parameters. Parameters are applied as 'AND' filters.

Request arguments
$skip: string (Query) ( Nullable and Optional , defaults to null)
$top: integer (format: int32) (Query) ( Nullable and Optional , defaults to 100)
open: boolean (Query) ( Nullable and Optional , defaults to null)
from: string (format: full-date) (Query) ( Nullable and Optional , defaults to null)
till: string (format: full-date) (Query) ( Nullable and Optional , defaults to null)
Response
object with fields:
  • next: string( Required )

  • totalCount: integer (format: int32)( Nullable and Optional , defaults to null)

  • data: array of TodoItemRecord( Required )

Delete tasks

post /api/http/todo/deletetaskswithtext
Request arguments
object with fields:
  • text: string( Required )

Response
No arguments

Update to-do item

patch /api/http/todo/{id}

Update an existing To-Do item. Optional parameters will be ignored when not specified, and updated otherwise.

Request arguments
id: string (Path) ( Required )
object with fields:
  • text: string( Nullable and Optional , defaults to null)

  • dueDate: string (format: full-date)( Nullable and Optional , defaults to null)

  • open: boolean( Nullable and Optional , defaults to null)

Response
No arguments

Delete to-do item

delete /api/http/todo/{id}

Delete an existing To-Do item.

Request arguments
id: string (Path) ( Required )
Response
No arguments
Last modified: 19 May 2021