GitHub v3 REST API

Organization Full

object

Organization Full

loginstringrequired

Example:github

idintegerrequired

Example:1

node_idstringrequired

Example:MDEyOk9yZ2FuaXphdGlvbjE=

urlstring(uri)required

Example:https://api.github.com/orgs/github

repos_urlstring(uri)required

Example:https://api.github.com/orgs/github/repos

events_urlstring(uri)required

Example:https://api.github.com/orgs/github/events

hooks_urlstringrequired

Example:https://api.github.com/orgs/github/hooks

issues_urlstringrequired

Example:https://api.github.com/orgs/github/issues

members_urlstringrequired

Example:https://api.github.com/orgs/github/members{/member}

public_members_urlstringrequired

Example:https://api.github.com/orgs/github/public_members{/member}

avatar_urlstringrequired

Example:https://github.com/images/error/octocat_happy.gif

descriptionstringrequired

Example:A great organization

namestring

Example:github

companystring

Example:GitHub

blogstring(uri)

Example:https://github.com/blog

locationstring

Example:San Francisco

emailstring(email)

Example:octocat@github.com

twitter_usernamestring

Example:github

is_verifiedboolean

Example:true

has_organization_projectsbooleanrequired

Example:true

has_repository_projectsbooleanrequired

Example:true

public_reposintegerrequired

Example:2

public_gistsintegerrequired

Example:1

followersintegerrequired

Example:20

followingintegerrequired
html_urlstring(uri)required

Example:https://github.com/octocat

created_atstring(date-time)required

Example:2008-01-14T04:33:35Z

typestringrequired

Example:Organization

total_private_reposinteger

Example:100

owned_private_reposinteger

Example:100

private_gistsinteger

Example:81

disk_usageinteger

Example:10000

collaboratorsinteger

Example:8

billing_emailstring(email)

Example:org@example.com

planobject
Show Child Parameters
default_repository_permissionstring
members_can_create_repositoriesboolean

Example:true

two_factor_requirement_enabledboolean

Example:true

members_allowed_repository_creation_typestring

Example:all

members_can_create_public_repositoriesboolean

Example:true

members_can_create_private_repositoriesboolean

Example:true

members_can_create_internal_repositoriesboolean

Example:true

members_can_create_pagesboolean

Example:true

members_can_create_public_pagesboolean

Example:true

members_can_create_private_pagesboolean

Example:true

members_can_fork_private_repositoriesboolean
updated_atstring(date-time)required
Example

enabled-repositories

string

The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.

Allowed values:allnoneselected

actions-organization-permissions

object
enabled_repositoriesstringrequired

The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: all, none, or selected.

Allowed values:allnoneselected

selected_repositories_urlstring

The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when enabled_repositories is set to selected.

allowed_actionsstring

The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.

Allowed values:alllocal_onlyselected

selected_actions_urlstring

The API URL to use to get or set the actions that are allowed to run, when allowed_actions is set to selected.

Example

runner-groups-org

object
idnumberrequired
namestringrequired
visibilitystringrequired
defaultbooleanrequired
selected_repositories_urlstring

Link to the selected repositories resource for this runner group. Not present unless visibility was set to selected

runners_urlstringrequired
inheritedbooleanrequired
inherited_allows_public_repositoriesboolean
allows_public_repositoriesbooleanrequired
Example

Actions Secret for an Organization

object

Secrets for GitHub Actions for an organization.

namestringrequired

The name of the secret.

Example:SECRET_TOKEN

created_atstring(date-time)required
updated_atstring(date-time)required
visibilitystringrequired

Visibility of a secret

Allowed values:allprivateselected

selected_repositories_urlstring(uri)

Example:https://api.github.com/organizations/org/secrets/my_secret/repositories

Example