Extracted Data

<< Click to Display Table of Contents >>

Raynet One Data Hub > 14.0 > Connectors > Alphabetic Connector List > GitHub 

Extracted Data

The GitHub connector retrieves the following metadata:

list of the organizations for the authenticated user

details of the organization

summary of the free and paid GitHub Actions minutes used

members of specific organization

summary of the free and paid GitHub Actions minutes used for an enterprise

the free and paid storage used for GitHub packages in gigabytes

the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages of an enterprise

 

Endpoint:

{+serverUrl}/user/orgs

Description:

Gets the list of the organisations for the authenticated user. Requires the 'read:org' scope or at least the 'user' scope.

Documentation:

https://docs.github.com/en/rest/reference/orgs#list-organizations-for-the-authenticated-user

 

Endpoint:

{+serverUrl}/orgs/{org}

Description:

Gets the details of the organisation. To see many of the organization response values, it needs to be authenticated organization onwer with the 'admin:org' scope.

Documentation:

https://docs.github.com/en/rest/reference/orgs#get-an-organization

 

Endpoint:

{+serverUrl}/orgs/{org}/settings/billing/actions

Description:

Gets the summary of the free and paid GitHub Actions minutes used. Paid minute only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system with 'admin:org' scope.

Documentation:

https://docs.github.com/en/rest/reference/billing#get-github-actions-billing-for-an-organization

 

Endpoint:

{+serverUrl}/orgs/{org}/settings/billing/packages

Description:

Gets the free and paid storage used for GitHub Packages in gigabytes. Paid minutes only apply to packages stored for private repositories. Access tokens must have the repo or the 'admin:org' scope.

Documentation:

https://docs.github.com/en/rest/reference/billing#get-github-packages-billing-for-an-organization

 

Endpoint:

{+serverUrl}/orgs/{org}/members

Description:

Get members of specific organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned, otherwise only public members will be returned.

Documentation:

https://docs.github.com/en/rest/reference/orgs#list-organization-members

 

Endpoint:

{+serverUrl}/users/{username}

Description:

Get specific user with all user details.

Documentation:

https://docs.github.com/en/rest/reference/users#get-a-user

 

Endpoint:

{+serverUrl}/enterprises/{enterprise}

/settings/billing/actions

Description:

Gets the summary of the free and paid GitHub Actions minutes used for an Enterprise. The authenticated user must be an enterprise admin.

Documentation:

https://docs.github.com/rest/reference/enterprise-admin#get-github-actions-billing-for-an-enterprise

 

Endpoint:

{+serverUrl}/enterprises/{enterprise}

/settings/billing/packages

Description:

Gets the free and paid storage used for GitHub Packages in gigabytes for an Enterprise. The authenticated user must be an enterprise admin.

Documentation:

https://docs.github.com/rest/reference/enterprise-admin#get-github-packages-billing-for-an-enterprise

 

Endpoint:

{+serverUrl}/enterprises/{enterprise}

/settings/billing/shared-storage

Description:

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages for an enterprise. Paid minutes only apply to packages stored for private repositories. The authenticated user must be an enterprise admin.

Documentation:

https://docs.github.com/rest/reference/enterprise-admin#get-github-packages-billing-for-an-enterprise