Nozomi Morimoto
135ef8c421
Support retrieve a block ( #19 )
...
* support retrieve block by id
* Update client.go
Co-authored-by: David Stotijn <dstotijn@gmail.com>
* Update client_test.go
Co-authored-by: David Stotijn <dstotijn@gmail.com>
* Update client.go
Co-authored-by: David Stotijn <dstotijn@gmail.com>
* fix find block's client test
Co-authored-by: David Stotijn <dstotijn@gmail.com>
2021-12-09 16:44:31 +01:00
David Stotijn
5e7e8ed54c
Add "create database" endpoint
2021-07-20 22:50:53 +02:00
David Stotijn
d087d4b000
Add tests for "query database" endpoint
2021-05-18 21:19:03 +02:00
David Stotijn
843e655c11
Add search endpoint support
2021-05-15 23:06:37 +02:00
David Stotijn
874858ea2a
Add "list users" endpoint support
2021-05-15 20:50:47 +02:00
David Stotijn
9b807dd473
Add "retrieve a user" endpoint support
2021-05-15 20:30:07 +02:00
David Stotijn
019301c714
Remove stray code
2021-05-15 20:17:21 +02:00
David Stotijn
205f94cc89
Add "append block children" endpoint support
2021-05-15 20:16:26 +02:00
David Stotijn
cd696c1624
Add "retrieve block children" endpoint support
2021-05-15 19:04:57 +02:00
David Stotijn
304d7d2d8c
Remove stray log call
2021-05-15 18:06:34 +02:00
David Stotijn
e32f7422cd
Add "update page properties" endpoint support
2021-05-15 18:06:11 +02:00
David Stotijn
b2af8b7d0b
Add "create a page" endpoint
2021-05-15 13:42:01 +02:00
David Stotijn
14a12ab965
Fix error message when newRequest
returns err
2021-05-15 00:20:11 +02:00
David Stotijn
807f08dace
Add endpoint for getting page by ID
2021-05-15 00:19:30 +02:00
David Stotijn
4726db0bf2
Add context.Context
arg for Client methods, move methods to client.go
2021-05-15 00:02:08 +02:00
David Stotijn
0c1e15e0a7
Add "query database" endpoint
2021-05-14 23:48:30 +02:00
David Stotijn
56b18f60ee
Add User-Agent
HTTP req header
2021-05-14 18:25:44 +02:00
David Stotijn
e9e9dca708
Initial commit
2021-05-13 22:11:32 +02:00