Skip to content

Commit

Permalink
feat: .migrations.listReposForOrg(), .migrations.listReposForUser()
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 18, 2020
1 parent 53b8021 commit 8777073
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions plugins/rest-api-endpoints/routes.json
Expand Up @@ -1970,10 +1970,28 @@
},
"url": "/orgs/:org/migrations"
},
"mapCommitAuthor": {
"headers": {
"accept": "application/vnd.github.barred-rock-preview+json"
"listReposForOrg": {
"headers": { "accept": "application/vnd.github.wyandotte-preview+json" },
"method": "GET",
"params": {
"migration_id": { "required": true, "type": "integer" },
"org": { "required": true, "type": "string" },
"page": { "type": "integer" },
"per_page": { "type": "integer" }
},
"url": "/orgs/:org/migrations/:migration_id/repositories"
},
"listReposForUser": {
"headers": { "accept": "application/vnd.github.wyandotte-preview+json" },
"method": "GET",
"params": {
"migration_id": { "required": true, "type": "integer" },
"page": { "type": "integer" },
"per_page": { "type": "integer" }
},
"url": "/user/:migration_id/repositories"
},
"mapCommitAuthor": {
"method": "PATCH",
"params": {
"author_id": { "required": true, "type": "integer" },
Expand Down

0 comments on commit 8777073

Please sign in to comment.