Skip to content

Commit

Permalink
Update GH definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
migueleliasweb committed Feb 23, 2024
1 parent 39fa6ba commit 35555fd
Showing 1 changed file with 97 additions and 2 deletions.
99 changes: 97 additions & 2 deletions src/mock/endpointpattern.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,11 @@ var PatchNotificationsThreadsByThreadId EndpointPattern = EndpointPattern{
Method: "PATCH",
}

var DeleteNotificationsThreadsByThreadId EndpointPattern = EndpointPattern{
Pattern: "/notifications/threads/{thread_id}",
Method: "DELETE",
}

var GetNotificationsThreadsSubscriptionByThreadId EndpointPattern = EndpointPattern{
Pattern: "/notifications/threads/{thread_id}/subscription",
Method: "GET",
Expand Down Expand Up @@ -1017,6 +1022,76 @@ var GetOrgsMigrationsRepositoriesByOrgByMigrationId EndpointPattern = EndpointPa
Method: "GET",
}

var GetOrgsOrganizationFineGrainedPermissionsByOrg EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-fine-grained-permissions",
Method: "GET",
}

var GetOrgsOrganizationRolesByOrg EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles",
Method: "GET",
}

var PostOrgsOrganizationRolesByOrg EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles",
Method: "POST",
}

var DeleteOrgsOrganizationRolesTeamsByOrgByTeamSlug EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/teams/{team_slug}",
Method: "DELETE",
}

var PutOrgsOrganizationRolesTeamsByOrgByTeamSlugByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}",
Method: "PUT",
}

var DeleteOrgsOrganizationRolesTeamsByOrgByTeamSlugByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}",
Method: "DELETE",
}

var DeleteOrgsOrganizationRolesUsersByOrgByUsername EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/users/{username}",
Method: "DELETE",
}

var PutOrgsOrganizationRolesUsersByOrgByUsernameByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/users/{username}/{role_id}",
Method: "PUT",
}

var DeleteOrgsOrganizationRolesUsersByOrgByUsernameByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/users/{username}/{role_id}",
Method: "DELETE",
}

var GetOrgsOrganizationRolesByOrgByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/{role_id}",
Method: "GET",
}

var PatchOrgsOrganizationRolesByOrgByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/{role_id}",
Method: "PATCH",
}

var DeleteOrgsOrganizationRolesByOrgByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/{role_id}",
Method: "DELETE",
}

var GetOrgsOrganizationRolesTeamsByOrgByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/{role_id}/teams",
Method: "GET",
}

var GetOrgsOrganizationRolesUsersByOrgByRoleId EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/organization-roles/{role_id}/users",
Method: "GET",
}

var GetOrgsOutsideCollaboratorsByOrg EndpointPattern = EndpointPattern{
Pattern: "/orgs/{org}/outside_collaborators",
Method: "GET",
Expand Down Expand Up @@ -3137,8 +3212,18 @@ var GetReposPagesBuildsByOwnerByRepoByBuildId EndpointPattern = EndpointPattern{
Method: "GET",
}

var PostReposPagesDeploymentByOwnerByRepo EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/pages/deployment",
var PostReposPagesDeploymentsByOwnerByRepo EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/pages/deployments",
Method: "POST",
}

var GetReposPagesDeploymentsByOwnerByRepoByPagesDeploymentId EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}",
Method: "GET",
}

var PostReposPagesDeploymentsCancelByOwnerByRepoByPagesDeploymentId EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel",
Method: "POST",
}

Expand Down Expand Up @@ -3172,6 +3257,11 @@ var GetReposPropertiesValuesByOwnerByRepo EndpointPattern = EndpointPattern{
Method: "GET",
}

var PatchReposPropertiesValuesByOwnerByRepo EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/properties/values",
Method: "PATCH",
}

var GetReposPullsByOwnerByRepo EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/pulls",
Method: "GET",
Expand Down Expand Up @@ -3507,6 +3597,11 @@ var PostReposSecurityAdvisoriesCveByOwnerByRepoByGhsaId EndpointPattern = Endpoi
Method: "POST",
}

var PostReposSecurityAdvisoriesForksByOwnerByRepoByGhsaId EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks",
Method: "POST",
}

var GetReposStargazersByOwnerByRepo EndpointPattern = EndpointPattern{
Pattern: "/repos/{owner}/{repo}/stargazers",
Method: "GET",
Expand Down

0 comments on commit 35555fd

Please sign in to comment.