Skip to content

Commit

Permalink
Add support for more updatable block types to PATCH /blocks/:id
Browse files Browse the repository at this point in the history
Add support for Equation, TableRow, Quote types
  • Loading branch information
evanfuller authored and jomei committed Jul 14, 2023
1 parent 7e483cd commit 14f278a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions block.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ type BlockUpdateRequest struct {
Bookmark *Bookmark `json:"bookmark,omitempty"`
Template *Template `json:"template,omitempty"`
Callout *Callout `json:"callout,omitempty"`
Equation *Equation `json:"equation,omitempty"`
Quote *Quote `json:"quote,omitempty"`
TableRow *TableRow `json:"table_row,omitempty"`
}

// Sets a Block object, including page blocks, to archived: true using the ID
Expand Down

0 comments on commit 14f278a

Please sign in to comment.