mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
Add created_by
and last_edited_by
support, add archived
for DB (#30)
This commit is contained in:
2
page.go
2
page.go
@ -13,7 +13,9 @@ import (
|
||||
type Page struct {
|
||||
ID string `json:"id"`
|
||||
CreatedTime time.Time `json:"created_time"`
|
||||
CreatedBy *BaseUser `json:"created_by,omitempty"`
|
||||
LastEditedTime time.Time `json:"last_edited_time"`
|
||||
LastEditedBy *BaseUser `json:"last_edited_by,omitempty"`
|
||||
Parent Parent `json:"parent"`
|
||||
Archived bool `json:"archived"`
|
||||
URL string `json:"url"`
|
||||
|
Reference in New Issue
Block a user