Versions in this module Expand all Collapse all v0 v0.0.16 Feb 22, 2022 v0.0.15 Feb 22, 2022 v0.0.14 Feb 9, 2022 Changes in this version type CreateTaskRequest + PriorityID *int v0.0.13 Feb 9, 2022 v0.0.12 Feb 9, 2022 Changes in this version type UpdateTaskRequest + Priority *int v0.0.11 Feb 9, 2022 v0.0.10 Feb 9, 2022 v0.0.9 Feb 9, 2022 v0.0.8 Jan 24, 2022 v0.0.7 Jan 24, 2022 v0.0.6 Jan 23, 2022 v0.0.5 Jan 23, 2022 v0.0.4 Jan 23, 2022 v0.0.3 Jan 23, 2022 v0.0.2 Jan 23, 2022 v0.0.1 Jan 22, 2022 Changes in this version + func WebhookVerifier(secret string) func(r *http.Request) bool + type API struct + func NewAPI(accessToken string) *API + func (a *API) AddCommentToTask(ctx context.Context, newComment *AddCommentToTaskRequest) *AddCommentToTaskResponse + func (a *API) CreateTask(ctx context.Context, newTask *CreateTaskRequest) *CreateTaskResponse + func (a *API) FolderByID(ctx context.Context, folderID string) *FolderByIDResponse + func (a *API) FolderLists(ctx context.Context, folderID string) *FolderListsReponse + func (a *API) ListByID(ctx context.Context, listID string) *ListByIDResponse + func (a *API) ListFolders(ctx context.Context, spaceID string) *ListFoldersResponse + func (a *API) ListMembersOfList(ctx context.Context, listID string) *ListMembersResponse + func (a *API) ListSpaces(ctx context.Context, teamID string) *ListSpacesResponse + func (a *API) ListTeams(ctx context.Context) *ListTeamsResponse + func (a *API) SearchCommentsInTask(ctx context.Context, taskID string, startTaskID string, startTaskTs int64) *ListTeamsResponse + func (a *API) SearchTasksInTeam(ctx context.Context, req *SearchTasksInTeamRequest) *SearchTasksInTeamResponse + func (a *API) SpaceByID(ctx context.Context, spaceID string) *SpaceByIDResponse + func (a *API) SpaceFolderlessLists(ctx context.Context, spaceID string) *SpaceFolderlessListsResponse + func (a *API) TaskByID(ctx context.Context, taskID string) *TaskByIDResponse + func (a *API) UpdateTask(ctx context.Context, updTask *UpdateTaskRequest) *UpdateTaskResponse + type AddCommentToTaskRequest struct + AssignToMemberID string + CommentText string + TaskID string + type AddCommentToTaskResponse struct + func (r *AddCommentToTaskResponse) SetDecodeErr(err error) + func (r *AddCommentToTaskResponse) SetResponseStatusCode(in int) + func (r AddCommentToTaskResponse) DecodeOK() bool + func (r AddCommentToTaskResponse) IsStatus(in int) bool + func (r AddCommentToTaskResponse) NotFound() bool + func (r AddCommentToTaskResponse) StatusOK() bool + type CreateTaskRequest struct + AssignIDs []string + DescriptionMarkdown string + ListID string + Name string + RefTaskID string + StatusName string + Tags []string + type CreateTaskResponse struct + TaskID string + func (r *CreateTaskResponse) SetDecodeErr(err error) + func (r *CreateTaskResponse) SetResponseStatusCode(in int) + func (r CreateTaskResponse) DecodeOK() bool + func (r CreateTaskResponse) IsStatus(in int) bool + func (r CreateTaskResponse) NotFound() bool + func (r CreateTaskResponse) StatusOK() bool + type FolderByIDRequest struct + FolderID string + type FolderByIDResponse struct + Archived bool + Hidden bool + ID string + Lists []FolderByIDResponse_ListItem + Name string + OverrideStatuses bool + PermissionLevel string + Space struct{ ... } + Statuses []ListStatuses + TaskCount int64 + func (r *FolderByIDResponse) SetDecodeErr(err error) + func (r *FolderByIDResponse) SetResponseStatusCode(in int) + func (r FolderByIDResponse) DecodeOK() bool + func (r FolderByIDResponse) IsStatus(in int) bool + func (r FolderByIDResponse) NotFound() bool + func (r FolderByIDResponse) StatusOK() bool + type FolderByIDResponse_ListItem struct + Archived bool + ID string + Name string + OverrideStatuses bool + PermissionLevel string + Statuses []ListStatuses + TaskCount int64 + type FolderListsReponse struct + Lists []FolderListsReponse_ListItem + func (r *FolderListsReponse) SetDecodeErr(err error) + func (r *FolderListsReponse) SetResponseStatusCode(in int) + func (r FolderListsReponse) DecodeOK() bool + func (r FolderListsReponse) IsStatus(in int) bool + func (r FolderListsReponse) NotFound() bool + func (r FolderListsReponse) StatusOK() bool + type FolderListsReponse_ListItem struct + Archived bool + Folder struct{ ... } + ID string + Name string + Space struct{ ... } + type FolderListsRequest struct + FolderID string + type ListByIDRequest struct + ListID string + type ListByIDResponse struct + Archived bool + Content string + Folder struct{ ... } + ID string + InboundAddress string + Name string + OverrideStatuses bool + Space struct{ ... } + Statuses []ListStatuses + func (r *ListByIDResponse) SetDecodeErr(err error) + func (r *ListByIDResponse) SetResponseStatusCode(in int) + func (r ListByIDResponse) DecodeOK() bool + func (r ListByIDResponse) IsStatus(in int) bool + func (r ListByIDResponse) NotFound() bool + func (r ListByIDResponse) StatusOK() bool + type ListFoldersRequest struct + SpaceID string + type ListFoldersResponse struct + Folders []struct{ ... } + func (r *ListFoldersResponse) SetDecodeErr(err error) + func (r *ListFoldersResponse) SetResponseStatusCode(in int) + func (r ListFoldersResponse) DecodeOK() bool + func (r ListFoldersResponse) IsStatus(in int) bool + func (r ListFoldersResponse) NotFound() bool + func (r ListFoldersResponse) StatusOK() bool + type ListFoldersResponse_FolderItem struct + type ListFoldersResponse_FolderListItem struct + Archived bool + ID string + Name string + PermissionLevel string + Space struct{ ... } + Statuses []ListStatuses + TaskCount int64 + type ListMembersRequest struct + ListID string + type ListMembersResponse struct + Members []Member + func (r *ListMembersResponse) SetDecodeErr(err error) + func (r *ListMembersResponse) SetResponseStatusCode(in int) + func (r ListMembersResponse) DecodeOK() bool + func (r ListMembersResponse) IsStatus(in int) bool + func (r ListMembersResponse) NotFound() bool + func (r ListMembersResponse) StatusOK() bool + type ListSpacesRequest struct + TeamID string + type ListSpacesResponse struct + Spaces []ListSpacesResponse_SpaceItem + func (r *ListSpacesResponse) SetDecodeErr(err error) + func (r *ListSpacesResponse) SetResponseStatusCode(in int) + func (r ListSpacesResponse) DecodeOK() bool + func (r ListSpacesResponse) IsStatus(in int) bool + func (r ListSpacesResponse) NotFound() bool + func (r ListSpacesResponse) StatusOK() bool + type ListSpacesResponse_SpaceItem struct + Features struct{ ... } + ID string + MultipleAssignees bool + Name string + Private bool + Statuses []struct{ ... } + type ListStatuses []Status + type ListTeamsRequest struct + type ListTeamsResponse struct + Teams []struct{ ... } + func (r *ListTeamsResponse) SetDecodeErr(err error) + func (r *ListTeamsResponse) SetResponseStatusCode(in int) + func (r ListTeamsResponse) DecodeOK() bool + func (r ListTeamsResponse) IsStatus(in int) bool + func (r ListTeamsResponse) NotFound() bool + func (r ListTeamsResponse) StatusOK() bool + type Member struct + Color string + Email string + ID int64 + Initials string + ProfilePicture string + Username string + func (m *Member) IDString() string + type ResponseMetadata interface + DecodeOK func() bool + IsStatus func(in int) bool + NotFound func() bool + StatusOK func() bool + type SearchCommentsInTaskRequest struct + StartTaskID string + StartTimeTS int64 + TaskID string + type SearchCommentsInTaskResponse struct + Comments []struct{ ... } + type SearchTasksInTeamRequest struct + AssignUserIDs []string + DateUpdatedGtTs int64 + FolderIDs []string + IncludeClosed bool + IncludeSubtasks bool + ListIDs []string + OrderBy string + Page int + SpaceIDs []string + StatuseNames []string + TeamID string + type SearchTasksInTeamResponse struct + Tasks []Task + func (r *SearchTasksInTeamResponse) SetDecodeErr(err error) + func (r *SearchTasksInTeamResponse) SetResponseStatusCode(in int) + func (r SearchTasksInTeamResponse) DecodeOK() bool + func (r SearchTasksInTeamResponse) IsStatus(in int) bool + func (r SearchTasksInTeamResponse) NotFound() bool + func (r SearchTasksInTeamResponse) StatusOK() bool + type SearchTasksRequest struct + AssignUserIDs []string + DateUpdatedGtTs int64 + IncludeClosed bool + IncludeSubtasks bool + ListID string + OrderBy string + Page int + StatuseNames []string + type SearchTasksResponse struct + Tasks []Task + type SpaceByIDRequest struct + SpaceID string + type SpaceByIDResponse struct + Features struct{ ... } + ID string + MultipleAssignees bool + Name string + Private bool + Statuses []struct{ ... } + func (r *SpaceByIDResponse) SetDecodeErr(err error) + func (r *SpaceByIDResponse) SetResponseStatusCode(in int) + func (r SpaceByIDResponse) DecodeOK() bool + func (r SpaceByIDResponse) IsStatus(in int) bool + func (r SpaceByIDResponse) NotFound() bool + func (r SpaceByIDResponse) StatusOK() bool + type SpaceFolderlessListsRequest struct + SpaceID string + type SpaceFolderlessListsResponse struct + Lists []SpaceFolderlessListsResponse_ListItem + func (r *SpaceFolderlessListsResponse) SetDecodeErr(err error) + func (r *SpaceFolderlessListsResponse) SetResponseStatusCode(in int) + func (r SpaceFolderlessListsResponse) DecodeOK() bool + func (r SpaceFolderlessListsResponse) IsStatus(in int) bool + func (r SpaceFolderlessListsResponse) NotFound() bool + func (r SpaceFolderlessListsResponse) StatusOK() bool + type SpaceFolderlessListsResponse_ListItem struct + Archived bool + Folder struct{ ... } + ID string + Name string + Space struct{ ... } + type Status struct + Color string + ID string + Status string + Type string + type Task struct + Archived bool + Assignees []struct{ ... } + Creator struct{ ... } + CustomID *string + DateClosedTs *int64 + DateCreatedTs int64 + DateUpdatedTs int64 + Description string + DueDate *int64 + Folder struct{ ... } + ID string + LinkedTasks []struct{ ... } + List struct{ ... } + Name string + Parent *string + PermissionLevel string + Priority ... + Project struct{ ... } + Space struct{ ... } + StartDate *int64 + Status struct{ ... } + Tags []struct{ ... } + TeamID string + TextContent string + TimeEstimateMs *int64 + URL string + func (r *Task) ListLinkedTaskIDs() []string + func (r Task) ListTags() []string + type TaskByIDRequest struct + TaskID string + type TaskByIDResponse struct + func (r *TaskByIDResponse) SetDecodeErr(err error) + func (r *TaskByIDResponse) SetResponseStatusCode(in int) + func (r TaskByIDResponse) DecodeOK() bool + func (r TaskByIDResponse) IsStatus(in int) bool + func (r TaskByIDResponse) NotFound() bool + func (r TaskByIDResponse) StatusOK() bool + type TaskMembersRequest struct + TaskID string + type TaskMembersResponse struct + Members []Member + type TaskMembersResponse_Member struct + type UpdateTaskRequest struct + AssigneeAdds []int64 + AssigneeRemoves []int64 + Description string + DueDate int64 + Name string + StartDate int64 + StatusName string + TaskID string + TimeEstimateMs int64 + type UpdateTaskResponse struct + func (r *UpdateTaskResponse) SetDecodeErr(err error) + func (r *UpdateTaskResponse) SetResponseStatusCode(in int) + func (r UpdateTaskResponse) DecodeOK() bool + func (r UpdateTaskResponse) IsStatus(in int) bool + func (r UpdateTaskResponse) NotFound() bool + func (r UpdateTaskResponse) StatusOK() bool + type WebhookMessage struct + EventName string + FolderID *string + HistoryItems json.RawMessage + ListID *string + SpaceID *string + TaskID *string + WebhookID string + func ParseWebhook(req *http.Request) *WebhookMessage