Documentation ¶
Index ¶
- Constants
- func WithCursor(cursor string) queryFunction
- func WithLimit(limit int32) queryFunction
- type Client
- func (c *Client) GetContext(ctx context.Context) (*Context, *http.Response, error)
- func (c *Client) GetOrganizationMember(ctx context.Context, organizationId, userId string) (*User, *http.Response, error)
- func (c *Client) GetOrganizationMembers(ctx context.Context, organizationId, cursor string, limit int32, ...) (*GetOrganizationMembersResponse, *http.Response, error)
- func (c *Client) GetTeamMembers(ctx context.Context, organizationId, teamId, cursor string, limit int32, ...) (*GetTeamMembersResponse, *http.Response, error)
- func (c *Client) GetTeams(ctx context.Context, organizationId, cursor string, limit int32, ...) (*GetTeamsResponse, *http.Response, error)
- func (c *Client) InviteTeamMember(ctx context.Context, organizationId, teamId, email, role string) (*InviteTeamMemberResponse, *http.Response, error)
- func (c *Client) RemoveTeamMember(ctx context.Context, organizationId, teamId, userId string) (*http.Response, error)
- type Context
- type GetOrganizationMembersResponse
- type GetTeamMembersResponse
- type GetTeamsResponse
- type InviteTeamMemberBody
- type InviteTeamMemberResponse
- type Organization
- type Team
- type TeamMember
- type User
Constants ¶
View Source
const BaseUrl = "https://api.miro.com"
Variables ¶
This section is empty.
Functions ¶
func WithCursor ¶
func WithCursor(cursor string) queryFunction
Types ¶
type Client ¶
type Client struct { uhttp.BaseHttpClient // contains filtered or unexported fields }
func (*Client) GetContext ¶
func (*Client) GetOrganizationMember ¶
func (*Client) GetOrganizationMembers ¶
func (*Client) GetTeamMembers ¶
func (*Client) InviteTeamMember ¶
type Context ¶
type Context struct { Type string `json:"type"` Team *Team `json:"team"` Scopes []string `json:"scopes"` User *User `json:"user"` Organization *Organization `json:"organization"` }
type GetTeamMembersResponse ¶
type GetTeamMembersResponse struct { Limit int32 `json:"limit"` Size int32 `json:"size"` Cursor string `json:"cursor"` Data []TeamMember `json:"data"` }
type GetTeamsResponse ¶
type InviteTeamMemberBody ¶
type Organization ¶
type TeamMember ¶
Click to show internal directories.
Click to hide internal directories.