orgs: Fixup ListPendingOrgInvitations. by thorduri · Pull Request #738 · google/go-github · GitHub
Skip to content

orgs: Fixup ListPendingOrgInvitations.#738

Closed
thorduri wants to merge 1 commit into
google:masterfrom
thorduri:org-invites
Closed

orgs: Fixup ListPendingOrgInvitations.#738
thorduri wants to merge 1 commit into
google:masterfrom
thorduri:org-invites

Conversation

@thorduri

@thorduri thorduri commented Oct 3, 2017

Copy link
Copy Markdown
Contributor

The API doesn't take an organization ID, but rather the name.

This is obviously a breaking change to the API -- and I'm unsure how to handle that,
given that it doesn't function as is, compare:

curl -vvv -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/orgs/<id>/invitations
curl -vvv -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/orgs/<name>/invitations

The API doesn't take an organization ID, but rather the name.
@googlebot googlebot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Oct 3, 2017
@dmitshur

dmitshur commented Oct 3, 2017

Copy link
Copy Markdown
Member

@thorduri

thorduri commented Oct 3, 2017

Copy link
Copy Markdown
Contributor Author

@thorduri thorduri closed this Oct 3, 2017
@thorduri thorduri deleted the org-invites branch October 4, 2017 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Indication that the PR author has signed a Google Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants