Deprecate plan["collaborators"] in user JSON · JavaLeaks/developer.github.com@ccd46a5 · GitHub
Skip to content

Commit ccd46a5

Browse files
committed
Deprecate plan["collaborators"] in user JSON
Personal plans and organization plans used to allow a finite number of collaborators. The API used to return the allowed number of collaborators for each plan in the `collaborators` attribute: { "login": "jasonrudolph", ... "plan": { "name": "medium", "space": 2516582, "collaborators": 10, "private_repos": 20 } } Now, these plans allow unlimited collaborators. As a result, this attribute is no longer meaningful. We will remove it in the next major version of the API. In the meantime, for backwards compatibility purposes, the API continues to return this attribute and continues to provide an integer value (0) for the attribute. { "login": "jasonrudolph", ... "plan": { "name": "medium", "space": 2516582, "collaborators": 0, "private_repos": 20 } }
1 parent cf73296 commit ccd46a5

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

content/v3/versions.md

Lines changed: 3 additions & 0 deletions

lib/resources.rb

Lines changed: 5 additions & 2 deletions

0 commit comments

Comments
 (0)