mirror of
https://github.com/writeas/go-writeas.git
synced 2025-07-27 21:18:19 +00:00
Support author
parameter on posts
This commit is contained in:
parent
22e135ac8a
commit
c00064f688
2
post.go
2
post.go
@ -52,6 +52,8 @@ type (
|
|||||||
IsRTL *bool `json:"rtl,omitempty"`
|
IsRTL *bool `json:"rtl,omitempty"`
|
||||||
Language *string `json:"lang,omitempty"`
|
Language *string `json:"lang,omitempty"`
|
||||||
|
|
||||||
|
AuthorSlug *string `json:"author"`
|
||||||
|
|
||||||
// Parameters only for creating
|
// Parameters only for creating
|
||||||
Crosspost []map[string]string `json:"crosspost,omitempty"`
|
Crosspost []map[string]string `json:"crosspost,omitempty"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user