Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
feat: apps/list-accounts-for-plan-stubbed, deprecates `apps/list-ac…
Browse files Browse the repository at this point in the history
…counts-user-or-org-on-plan-stubbed`
  • Loading branch information
gr2m committed Mar 10, 2020
1 parent 8c442d0 commit eff36cb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
4 changes: 1 addition & 3 deletions openapi/api.github.com/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@
"get": { "$ref": "operations/apps/list-plans-stubbed.json" }
},
"/marketplace_listing/stubbed/plans/{plan_id}/accounts": {
"get": {
"$ref": "operations/apps/list-accounts-user-or-org-on-plan-stubbed.json"
}
"get": { "$ref": "operations/apps/list-accounts-for-plan-stubbed.json" }
},
"/meta": { "get": { "$ref": "operations/meta/get.json" } },
"/networks/{owner}/{repo}/events": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"summary": "List all GitHub accounts (user or organization) on a specific plan (stubbed)",
"description": "Returns any accounts associated with a plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.",
"operationId": "apps/list-accounts-user-or-org-on-plan-stubbed",
"summary": "List accounts for a plan (stubbed)",
"description": "Returns repository and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change.\n\nGitHub Apps must use a [JWT](https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. OAuth Apps must use [basic authentication](https://developer.github.com/v3/auth/#basic-authentication) with their client ID and client secret to access this endpoint.",
"operationId": "apps/list-accounts-for-plan-stubbed",
"tags": ["apps"],
"externalDocs": {
"description": "API method documentation",
"url": "https://developer.github.com/v3/apps/marketplace/#list-all-github-accounts-user-or-organization-on-a-specific-plan"
"url": "https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed"
},
"parameters": [
{
Expand Down Expand Up @@ -205,18 +205,25 @@
},
{
"lang": "JS",
"source": "octokit.apps.listAccountsUserOrOrgOnPlanStubbed({\n plan_id: 42\n})"
"source": "octokit.apps.listAccountsForPlanStubbed({\n plan_id: 42\n})"
},
{
"lang": "Ruby",
"source": "octokit.accounts_user_or_org_on_plan_stubbed(\n 42\n)"
}
{ "lang": "Ruby", "source": "octokit.accounts_for_plan_stubbed(\n 42\n)" }
],
"x-github": {
"legacy": false,
"enabledForApps": false,
"githubCloudOnly": false,
"previews": []
},
"x-changes": []
"x-changes": [
{
"type": "operation",
"date": "2020-03-04",
"note": "\"apps/list-accounts-user-or-org-on-plan-stubbed\" operation ID is now \"apps/list-accounts-for-plan-stubbed\"",
"before": {
"operationId": "apps/list-accounts-user-or-org-on-plan-stubbed"
},
"after": { "operationId": "apps/list-accounts-for-plan-stubbed" }
}
]
}

0 comments on commit eff36cb

Please sign in to comment.