Skip to content

Instantly share code, notes, and snippets.

@alvaroaleman
Last active August 12, 2020 19:42
Show Gist options
  • Save alvaroaleman/ef8ff8baef880d2407c15b647595cad2 to your computer and use it in GitHub Desktop.
Save alvaroaleman/ef8ff8baef880d2407c15b647595cad2 to your computer and use it in GitHub Desktop.
$ rg 'path:' prow/github/client.go
849: path: "/user",
919: path: fmt.Sprintf("/orgs/%s/members/%s", org, user),
987: path: path,
1021: path: path,
1052: path: path,
1082: path: fmt.Sprintf("/orgs/%s", name),
1102: path: fmt.Sprintf("/orgs/%s", name),
1197: path: fmt.Sprintf("/repos/%s/%s/collaborators/%s/permission", org, repo, user),
1226: path: fmt.Sprintf("/orgs/%s/memberships/%s", org, user),
1240: path: fmt.Sprintf("/orgs/%s/memberships/%s", org, user),
1256: path: fmt.Sprintf("/repos/%s/%s/issues/%d/comments", org, repo, number),
1270: path: fmt.Sprintf("/repos/%s/%s/issues/comments/%d", org, repo, id),
1286: path: fmt.Sprintf("/repos/%s/%s/issues/comments/%d", org, repo, id),
1301: path: fmt.Sprintf("/repos/%s/%s/issues/comments/%d/reactions", org, repo, id),
1339: path: fmt.Sprintf("/repos/%s/%s/issues", org, repo),
1357: path: fmt.Sprintf("/repos/%s/%s/issues/%d/reactions", org, repo, id),
1552: path: fmt.Sprintf("/repos/%s/%s/pulls/%d", org, repo, number),
1580: path: fmt.Sprintf("/repos/%s/%s/pulls/%d", org, repo, number),
1603: path: fmt.Sprintf("/repos/%s/%s/issues/%d", org, repo, number),
1631: path: fmt.Sprintf("/repos/%s/%s/issues/%d", org, repo, number),
1651: path: fmt.Sprintf("/repos/%s/%s/pulls/%d", org, repo, number),
1690: path: fmt.Sprintf("/repos/%s/%s/pulls", org, repo),
1732: path: fmt.Sprintf("/repos/%s/%s/pulls/%d", org, repo, number),
1836: path: fmt.Sprintf("/repos/%s/%s/statuses/%s", org, repo, SHA),
1875: path: fmt.Sprintf("/repos/%s/%s", owner, name),
1903: path: path,
1926: path: path,
1980: path: fmt.Sprintf("/repos/%s/%s/commits/%s", org, repo, SHA),
2028: path: fmt.Sprintf("/repos/%s/%s/branches/%s/protection", org, repo, branch),
2075: path: fmt.Sprintf("/repos/%s/%s/branches/%s/protection", org, repo, branch),
2091: path: fmt.Sprintf("/repos/%s/%s/branches/%s/protection", org, repo, branch),
2107: path: fmt.Sprintf("/repos/%s/%s/labels", org, repo),
2124: path: fmt.Sprintf("/repos/%s/%s/labels/%s", org, repo, label),
2142: path: fmt.Sprintf("/repos/%s/%s/labels/%s", org, repo, label),
2223: path: fmt.Sprintf("/repos/%s/%s/issues/%d/labels", org, repo, number),
2243: path: fmt.Sprintf("/repos/%s/%s/issues/%d/labels/%s", org, repo, number, label),
2298: path: fmt.Sprintf("/repos/%s/%s/issues/%d/assignees", org, repo, number),
2341: path: fmt.Sprintf("/repos/%s/%s/issues/%d/assignees", org, repo, number),
2372: path: fmt.Sprintf("/repos/%s/%s/pulls/%d/reviews", org, repo, number),
2428: path: fmt.Sprintf("/repos/%s/%s/pulls/%d/requested_reviewers", org, repo, number),
2485: path: fmt.Sprintf("/repos/%s/%s/pulls/%d/requested_reviewers", org, repo, number),
2521: path: fmt.Sprintf("/repos/%s/%s/issues/%d", org, repo, number),
2565: path: fmt.Sprintf("/repos/%s/%s/issues/%d", org, repo, number),
2582: path: fmt.Sprintf("/repos/%s/%s/pulls/%d", org, repo, number),
2599: path: fmt.Sprintf("/repos/%s/%s/pulls/%d", org, repo, number),
2618: path: fmt.Sprintf("/repos/%s/%s/git/refs/%s", org, repo, ref),
2697: path: fmt.Sprintf("/repos/%s/%s/git/refs/%s", org, repo, ref),
2724: path: path,
2756: path: url,
2768: path: filepath,
2807: path: path,
2844: path: path,
2863: path: path,
2924: path: fmt.Sprintf("/teams/%d/memberships/%s", id, user),
2943: path: fmt.Sprintf("/teams/%d/memberships/%s", id, user),
3045: path: fmt.Sprintf("/teams/%d/repos/%s/%s", id, org, repo),
3065: path: fmt.Sprintf("/teams/%d/repos/%s/%s", id, org, repo),
3149: path: fmt.Sprintf("/repos/%s/%s/pulls/%d/merge", org, repo, pr),
3213: path: fmt.Sprintf("/repos/%s/%s/collaborators/%s", org, repo, user),
3275: path: fmt.Sprintf("/repos/%s/%s/forks", owner, repo),
3384: path: fmt.Sprintf("/repos/%v/%v/issues/%d", org, repo, num),
3404: path: fmt.Sprintf("/repos/%v/%v/issues/%d", org, repo, issueNum),
3572: path: path,
3636: path: fmt.Sprintf("/projects/columns/cards/%d/moves", projectCardID),
3654: path: fmt.Sprintf("/projects/columns/cards/:%d", projectCardID),
3690: path: fmt.Sprintf("/orgs/%s/teams/%s", org, slug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment