Documentation
¶
Index ¶
- Constants
- type API
- type BoardKind
- type BoardParams
- type BoardsOrderBy
- type ColumnType
- type Get
- func (c *Get) Account() (out models.Account, err error)
- func (c *Get) Assets(id []ID) (out []models.Assets, err error)
- func (c *Get) Board(id ID) (out models.Board, err error)
- func (c *Get) Boards(page, limit int) (out []models.Board, err error)
- func (c *Get) BoardsByWorkspace(page, limit int, workspaceID []ID) (out []models.Board, err error)
- func (c *Get) CustomQuery(query interface{}, vars map[string]interface{}) (out interface{}, err error)
- func (c *Get) Groups(id []ID) (out []models.NestedGroup, err error)
- func (c *Get) Items(ids []ID, newestFirst, excludeNonActive bool, limit, page int) (out []models.Item, err error)
- func (c *Get) ItemsPageByColumnValues(boardID ID, columns []ItemsPageByColumnValuesQuery) (out []models.Item, err error)
- func (c *Get) Me() (out models.User, err error)
- func (c *Get) Team(ids []ID) (out []models.Teams, err error)
- func (c *Get) Teams() (out []models.Teams, err error)
- func (c *Get) Update(ids []string) (out []models.UpdateReplies, err error)
- func (c *Get) User(ids []ID) (out []models.User, err error)
- func (c *Get) Users() (out []models.User, err error)
- func (c *Get) Webhooks(boardID ID) (out []Webhooks, err error)
- func (c *Get) Workspaces() (out []models.Workspace, err error)
- type ID
- type ItemsPageByColumnValuesQuery
- type ItemsResponse
- type JSON
- type Mutate
- func (c *Mutate) ChangeColumnValue(boardID, itemID, columnID string, columnValue JSON) (out models.Nested, err error)
- func (c *Mutate) ChangeMultipleColumnValue(boardID, itemID, columnValues JSON) (out models.Nested, err error)
- func (c *Mutate) CreateBoard(name string, kind BoardKind, workspace ID) (out models.Board, err error)
- func (c *Mutate) CreateColumn(boardID ID, title string, columnType ColumnType) (out models.Column, err error)
- func (c *Mutate) CreateItem(boardID ID, name, groupID string, clim bool) (out models.Item, err error)
- func (c *Mutate) CreateItemWithColumnValues(boardID ID, name, groupID string, columnValues JSON, clim bool) (out models.Item, err error)
- func (c *Mutate) CreateNotification(text string, userID, targetID ID, targetType models.NotificationTargetType) (out models.Notification, err error)
- func (c *Mutate) CreateOrGetTag(boardID ID, tagName string) (out models.Tag, err error)
- func (c *Mutate) CreateUpdate(itemID, parentID ID, body string) (out models.Update, err error)
- func (c *Mutate) CreateWebhook(boardID ID, uri string, event WebhookEventType) (wh Webhooks, err error)
- func (c *Mutate) CustomMutation(mutation interface{}, vars map[string]interface{}) (out interface{}, err error)
- func (c *Mutate) DeleteUpdate(updateID ID) (err error)
- func (c *Mutate) DeleteWebhook(id ID) (err error)
- func (c *Mutate) LikeUpdate(updateID ID) (out models.Update, err error)
- type State
- type Tokens
- type WebhookEventType
- type Webhooks
Constants ¶
View Source
const (
October2023 = "2024-01"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { ClientID string ClientSecret string Domain string Auth string Version string Debug bool // contains filtered or unexported fields }
func (*API) SetLogPath ¶
func (*API) SetOptions ¶
type BoardParams ¶
type ColumnType ¶
type ColumnType string
type Get ¶
type Get struct {
// contains filtered or unexported fields
}
func (*Get) BoardsByWorkspace ¶
func (*Get) CustomQuery ¶
func (c *Get) CustomQuery(query interface{}, vars map[string]interface{}) (out interface{}, err error)
CustomQuery query should be pointer &query
func (*Get) ItemsPageByColumnValues ¶
type ItemsResponse ¶
type Mutate ¶
type Mutate struct {
// contains filtered or unexported fields
}
func (*Mutate) ChangeColumnValue ¶
func (*Mutate) ChangeMultipleColumnValue ¶
func (*Mutate) CreateBoard ¶
func (*Mutate) CreateColumn ¶
func (*Mutate) CreateItem ¶
func (*Mutate) CreateItemWithColumnValues ¶
func (*Mutate) CreateNotification ¶
func (c *Mutate) CreateNotification(text string, userID, targetID ID, targetType models.NotificationTargetType) (out models.Notification, err error)
func (*Mutate) CreateOrGetTag ¶
func (*Mutate) CreateUpdate ¶
func (*Mutate) CreateWebhook ¶
func (*Mutate) CustomMutation ¶
func (*Mutate) DeleteUpdate ¶
func (*Mutate) DeleteWebhook ¶
type State ¶
type State string
State example: all / active / archived / deleted the default is active.
type WebhookEventType ¶
type WebhookEventType string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.