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: src/generated/method-types.ts
+70Lines changed: 70 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8075,6 +8075,20 @@ export type RestEndpointMethods = {
8075
8075
defaults: RequestInterface["defaults"];
8076
8076
endpoint: EndpointInterface<{ url: string }>;
8077
8077
};
8078
+
/**
8079
+
* Creates a deployment branch policy for an environment.
8080
+
*
8081
+
* You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.
* Users with `push` access can create deployment statuses for a given deployment.
8080
8094
*
@@ -8411,6 +8425,20 @@ export type RestEndpointMethods = {
8411
8425
defaults: RequestInterface["defaults"];
8412
8426
endpoint: EndpointInterface<{ url: string }>;
8413
8427
};
8428
+
/**
8429
+
* Deletes a deployment branch policy for an environment.
8430
+
*
8431
+
* You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.
@@ -8982,6 +9010,20 @@ export type RestEndpointMethods = {
8982
9010
defaults: RequestInterface["defaults"];
8983
9011
endpoint: EndpointInterface<{ url: string }>;
8984
9012
};
9013
+
/**
9014
+
* Gets a deployment branch policy for an environment.
9015
+
*
9016
+
* Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
* Users with pull access can view a deployment status for a deployment:
8987
9029
*/
@@ -9428,6 +9470,20 @@ export type RestEndpointMethods = {
9428
9470
defaults: RequestInterface["defaults"];
9429
9471
endpoint: EndpointInterface<{ url: string }>;
9430
9472
};
9473
+
/**
9474
+
* Lists the deployment branch policies for an environment.
9475
+
*
9476
+
* Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.
* Users with pull access can view deployment statuses for a deployment:
9433
9489
*/
@@ -9954,6 +10010,20 @@ export type RestEndpointMethods = {
9954
10010
defaults: RequestInterface["defaults"];
9955
10011
endpoint: EndpointInterface<{ url: string }>;
9956
10012
};
10013
+
/**
10014
+
* Updates a deployment branch policy for an environment.
10015
+
*
10016
+
* You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.
0 commit comments