You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: github/orgs_organization_properties.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ type OrganizationCustomPropertyValues struct {
18
18
19
19
// GetOrganizationCustomPropertyValues returns all custom property names and their values for an organization.
20
20
//
21
-
// GitHub API docs: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization
21
+
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization
22
22
//
23
23
//meta:operation GET /organizations/{org}/org-properties/values
@@ -41,7 +41,7 @@ func (s *OrganizationsService) GetOrganizationCustomPropertyValues(ctx context.C
41
41
// CreateOrUpdateOrganizationCustomPropertyValues creates or updates custom property values for an organization.
42
42
// To remove a custom property value from an organization, set the property value to null.
43
43
//
44
-
// GitHub API docs: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization
44
+
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization
Copy file name to clipboardExpand all lines: github/teams_discussions.go
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ type DiscussionListOptions struct {
49
49
// ListDiscussionsByID lists all discussions on team's page given Organization and Team ID.
50
50
// Authenticated user must grant read:discussion scope.
51
51
//
52
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#list-discussions
52
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#list-discussions
53
53
//
54
54
//meta:operation GET /orgs/{org}/teams/{team_slug}/discussions
@@ -76,7 +76,7 @@ func (s *TeamsService) ListDiscussionsByID(ctx context.Context, orgID, teamID in
76
76
// ListDiscussionsBySlug lists all discussions on team's page given Organization name and Team's slug.
77
77
// Authenticated user must grant read:discussion scope.
78
78
//
79
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#list-discussions
79
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#list-discussions
80
80
//
81
81
//meta:operation GET /orgs/{org}/teams/{team_slug}/discussions
// GetDiscussionByID gets a specific discussion on a team's page given Organization and Team ID.
104
104
// Authenticated user must grant read:discussion scope.
105
105
//
106
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#get-a-discussion
106
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion
107
107
//
108
108
//meta:operation GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}
// GetDiscussionBySlug gets a specific discussion on a team's page given Organization name and Team's slug.
126
126
// Authenticated user must grant read:discussion scope.
127
127
//
128
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#get-a-discussion
128
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#get-a-discussion
129
129
//
130
130
//meta:operation GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}
// CreateDiscussionByID creates a new discussion post on a team's page given Organization and Team ID.
148
148
// Authenticated user must grant write:discussion scope.
149
149
//
150
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#create-a-discussion
150
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#create-a-discussion
151
151
//
152
152
//meta:operation POST /orgs/{org}/teams/{team_slug}/discussions
@@ -169,7 +169,7 @@ func (s *TeamsService) CreateDiscussionByID(ctx context.Context, orgID, teamID i
169
169
// CreateDiscussionBySlug creates a new discussion post on a team's page given Organization name and Team's slug.
170
170
// Authenticated user must grant write:discussion scope.
171
171
//
172
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#create-a-discussion
172
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#create-a-discussion
173
173
//
174
174
//meta:operation POST /orgs/{org}/teams/{team_slug}/discussions
// Authenticated user must grant write:discussion scope.
193
193
// User is allowed to change Title and Body of a discussion only.
194
194
//
195
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#update-a-discussion
195
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#update-a-discussion
@@ -215,7 +215,7 @@ func (s *TeamsService) EditDiscussionByID(ctx context.Context, orgID, teamID int
215
215
// Authenticated user must grant write:discussion scope.
216
216
// User is allowed to change Title and Body of a discussion only.
217
217
//
218
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#update-a-discussion
218
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#update-a-discussion
// DeleteDiscussionByID deletes a discussion from team's page given Organization and Team ID.
238
238
// Authenticated user must grant write:discussion scope.
239
239
//
240
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#delete-a-discussion
240
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#delete-a-discussion
@@ -253,7 +253,7 @@ func (s *TeamsService) DeleteDiscussionByID(ctx context.Context, orgID, teamID i
253
253
// DeleteDiscussionBySlug deletes a discussion from team's page given Organization name and Team's slug.
254
254
// Authenticated user must grant write:discussion scope.
255
255
//
256
-
// GitHub API docs: https://docs.github.com/rest/teams/discussions#delete-a-discussion
256
+
// GitHub API docs: https://docs.github.com/enterprise-server@3.13/rest/teams/discussions#delete-a-discussion
0 commit comments