Skip to content

Commit

Permalink
Adding org installations csv script (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
gm3dmo authored Dec 3, 2024
1 parent 4d79a51 commit d1569f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions list-org-installations-csv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
. ./.gh-api-examples.conf

# https://docs.github.com/en/rest/reference/orgs#list-app-installations-for-an-organization
# GET /orgs/{org}/installations


curl ${curl_custom_flags} \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
"${GITHUB_API_BASE_URL}/orgs/${org}/installations" > tmp/list-app-installations-for-an-organization.json


0 comments on commit d1569f1

Please sign in to comment.