Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Add a bunch of new APIs #16

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

supercharlesliu
Copy link

  • Add Team CRUD APIs & TeamMember APIs
  • Add User API: Get & Update
  • Add Datasource API: Datasources
  • Add OrgPreferences API: Get & Update
  • Add foler permission API: GET & Update

@nlamirault
Copy link

Can you merge this request?

@fspijkerman
Copy link

Any update on when this will be merged?

}

func (c *Client) Team(id int64) (Team, error) {
team := Team{}
Copy link

@fspijkerman fspijkerman Aug 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not be?

func (c *Client) Team(id int64) (*Team, error) {
	team := &Team{}

return team, err
}

func (c *Client) UpdateTeam(id string, name string) error {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id string needs to be id int64

return err
}

func (c *Client) DeleteTeam(id string) error {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id string needs to be id int64

@mlclmj mlclmj added the size/XL Denotes a PR that changes 500-999 lines label Oct 19, 2019
Copy link
Contributor

@tonglil tonglil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to have left this PR to rot for a while.
As you may understand, it is challenging to review a such a large changeset.

If you (or someone else) don't mind breaking this PR into individual API PRs, that would help accelerate our ability to review and accept the changes.

NOTE, there are already PRs for these APIs, so you can probably merge or omit breaking out the changes for them:

@tonglil tonglil added waiting response Waiting for a response from the author help wanted new feature labels Jun 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted new feature size/XL Denotes a PR that changes 500-999 lines waiting response Waiting for a response from the author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants