diff --git a/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache b/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache index bab1879d85..56b48b17eb 100644 --- a/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache +++ b/modules/openapi-generator/src/main/resources/jetbrains-http-client/api.mustache @@ -32,5 +32,6 @@ Authorization: Bearer {{#lambda.doubleMustache}}{bearerToken}{{/lambda.doubleMus {{#body}} {{{.}}} + {{/body}} {{/vendorExtensions.requests}}{{/operation}}{{/operations}} \ No newline at end of file diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenModelTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenModelTest.java deleted file mode 100644 index 417b61c26c..0000000000 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenModelTest.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.openapitools.codegen.jetbrains.http.client; - -import org.openapitools.codegen.*; -import org.openapitools.codegen.languages.JetbrainsHttpClientClientCodegen; -import io.swagger.models.*; -import io.swagger.models.properties.*; - -import org.testng.Assert; -import org.testng.annotations.Test; - -@SuppressWarnings("static-method") -public class JetbrainsHttpClientClientCodegenModelTest { - - @Test(description = "convert a simple java model") - public void simpleModelTest() { - final Model model = new ModelImpl() - .description("a sample model") - .property("id", new LongProperty()) - .property("name", new StringProperty()) - .required("id") - .required("name"); - final DefaultCodegen codegen = new JetbrainsHttpClientClientCodegen(); - - // TODO: Complete this test. -// Assert.fail("Not implemented."); - } - -} - diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenTest.java index 006da2439c..24d6620f08 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/jetbrains/http/client/JetbrainsHttpClientClientCodegenTest.java @@ -1,19 +1,482 @@ package org.openapitools.codegen.jetbrains.http.client; +import org.junit.Test; import org.openapitools.codegen.*; +import org.openapitools.codegen.config.CodegenConfigurator; import org.openapitools.codegen.languages.JetbrainsHttpClientClientCodegen; -import io.swagger.models.*; -import io.swagger.parser.SwaggerParser; -import org.testng.Assert; -import org.testng.annotations.Test; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.List; + +import static org.openapitools.codegen.TestUtils.assertFileExists; public class JetbrainsHttpClientClientCodegenTest { - JetbrainsHttpClientClientCodegen codegen = new JetbrainsHttpClientClientCodegen(); + @Test + public void testBasicGenerationYaml() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/Basic.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/BasicApi.http"); + assertFileExists(path); + TestUtils.assertFileContains(path, "## BasicApi\n" + + "\n" + + "### Get User\n" + + "## Get User\n" + + "GET http://localhost:5001/users/{{userId}}\n" + + "Accept: application/json\n" + + "Accept: application/xml"); + } @Test - public void shouldSucceed() throws Exception { - // TODO: Complete this test. -// Assert.fail("Not implemented."); + public void testBasicGenerationJson() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/BasicJson.json") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/BasicApi.http"); + assertFileExists(path); + TestUtils.assertFileContains(path, "## BasicApi\n" + + "\n" + + "### Get User\n" + + "## Get User\n" + + "GET http://localhost:5000/v1/users/{{userId}}\n" + + "Accept: application/json\n" + + "Accept: application/xml"); + } + + @Test + public void testBasicGenerationVariables() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/BasicVariablesInExample.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/BasicApi.http"); + assertFileExists(path); + TestUtils.assertFileContains(path, "## BasicApi\n" + + "\n" + + "### Patch User\n" + + "## Example patch user\n" + + "PATCH http://localhost:5001/users/{{userId}}\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "Accept: application/xml\n" + + "\n" + + "{\n" + + " \"id\": 1,\n" + + " \"firstName\": \"MY_VAR_NAME\",\n" + + " \"lastName\": \"MY_VAR_LAST_NAME\",\n" + + " \"email\": \"alotta.rotta@gmail.com\",\n" + + " \"dateOfBirth\": \"1997-10-31\",\n" + + " \"emailVerified\": true,\n" + + " \"createDate\": \"RANDOM_VALUE\"\n" + + "}"); + } + + @Test + public void testBasicGenerationVariablesWithBodyVariables() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/BasicVariablesInExample.yaml") + .addAdditionalProperty(JetbrainsHttpClientClientCodegen.BODY_VARIABLES, "MY_VAR_NAME-MY_VAR_LAST_NAME") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/BasicApi.http"); + assertFileExists(path); + TestUtils.assertFileContains(path, "## BasicApi\n" + + "\n" + + "### Patch User\n" + + "## Example patch user\n" + + "PATCH http://localhost:5001/users/{{userId}}\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "Accept: application/xml\n" + + "\n" + + "{\n" + + " \"id\": 1,\n" + + " \"firstName\": \"{{MY_VAR_NAME}}\",\n" + + " \"lastName\": \"{{MY_VAR_LAST_NAME}}\",\n" + + " \"email\": \"alotta.rotta@gmail.com\",\n" + + " \"dateOfBirth\": \"1997-10-31\",\n" + + " \"emailVerified\": true,\n" + + " \"createDate\": \"RANDOM_VALUE\"\n" + + "}"); + } + + @Test + public void testBasicGenerationWithCustomHeaders() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasic.yaml") + .addAdditionalProperty(JetbrainsHttpClientClientCodegen.CUSTOM_HEADERS, "Cookie:X-API-KEY={{cookieKey}}&Accept-Encoding=gzip") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + TestUtils.assertFileContains(path, "### Make a payment\n" + + "## GooglePay request\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "Cookie:X-API-KEY={{cookieKey}}\n" + + "Accept-Encoding=gzip"); + } + + @Test + public void testBasicGenerationAuthBearer() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicBearer.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + // Checking first and last + TestUtils.assertFileContains(path, "## PaymentsApi\n" + + "\n" + + "### Get payment method by id\n" + + "## Get payment method by id\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}\n" + + "Accept: application/json\n" + + "Authorization: Bearer {{bearerToken}}"); + + TestUtils.assertFileContains(path, "### Make a payment\n" + + "## Example with a merchant account that doesn't exist\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "Authorization: Bearer {{bearerToken}}"); + } + + @Test + public void testBasicGenerationAuthCookie() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicCookie.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + // Checking first and last + TestUtils.assertFileContains(path, "## PaymentsApi\n" + + "\n" + + "### Get payment method by id\n" + + "## Get payment method by id\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}\n" + + "Accept: application/json\n" + + "Cookie: X-API-Key={{cookieKey}}"); + + TestUtils.assertFileContains(path, "### Make a payment\n" + + "## Example with a merchant account that doesn't exist\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "Cookie: X-API-Key={{cookieKey}}"); + } + + @Test + public void testBasicGenerationAuthQuery() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicQuery.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + // Checking first and last + TestUtils.assertFileContains(path, "## PaymentsApi\n" + + "\n" + + "### Get payment method by id\n" + + "## Get payment method by id\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}?api_key={{queryKey}}"); + + TestUtils.assertFileContains(path, "### Make a payment\n" + + "## Example with a merchant account that doesn't exist\n" + + "POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}}\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "\n" + + "{\n" + + " \"paymentMethod\" : {\n" + + " \"name\" : \"googlepay\"\n" + + " },\n" + + " \"amount\" : {\n" + + " \"currency\" : \"EUR\",\n" + + " \"value\" : 1000\n" + + " },\n" + + " \"merchantAccount\" : \"INVALID MERCHANT ACCOUNT\",\n" + + " \"reference\" : \"YOUR_REFERENCE\",\n" + + " \"channel\" : \"Android\"\n" + + "}"); + } + + @Test + public void testBasicGenerationAuthBasic() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicBasic.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + TestUtils.assertFileContains(path, "## PaymentsApi\n" + + "\n" + + "### Get payment method by id\n" + + "## Get payment method by id\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}\n" + + "Accept: application/json\n" + + "Authorization: Basic: {{username-password}}"); + } + + @Test + public void testBasicGenerationAuthHeader() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicHeader.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + TestUtils.assertFileContains(path, "## PaymentsApi\n" + + "\n" + + "### Get payment method by id\n" + + "## Get payment method by id\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}\n" + + "Accept: application/json\n" + + "X-API-Key: {{apiKey}}"); + } + + @Test + public void testBasicGenerationManyAuths() throws IOException { + + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicBearerCookieQueryHeaderBasicBearer.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + TestUtils.assertFileContains(path, "### Get payment method by id\n" + + "## Get payment method by id\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}?api_key={{queryKey}}\n" + + "Accept: application/json\n" + + "Authorization: Bearer {{bearerToken}}"); + + TestUtils.assertFileContains(path, "### Get payment methods\n" + + "## Get payment methods\n" + + "GET https://checkout-test.adyen.com/v71/paymentMethods\n" + + "Accept: application/json\n" + + "Authorization: Basic: {{username-password}}\n" + + "Authorization: Bearer {{bearerToken}}"); + + TestUtils.assertFileContains(path, "### Make a payment\n" + + "## Example with a merchant account that doesn't exist\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "Cookie: X-API-Key={{cookieKey}}\n" + + "Authorization: Bearer {{bearerToken}}"); + } + + @Test + public void testBasicGenerationMultipleRequests() throws IOException { + // Checking that each request example is present in the output file + File output = Files.createTempDirectory("jetbrainstest_").toFile(); + output.deleteOnExit(); + + final CodegenConfigurator configurator = new CodegenConfigurator() + .setGeneratorName("jetbrains-http-client") + .setInputSpec("src/test/resources/3_0/jetbrains/CheckoutBasicMultiplekeys.yaml") + .setOutputDir(output.getAbsolutePath().replace("\\", "/")); + + final ClientOptInput clientOptInput = configurator.toClientOptInput(); + DefaultGenerator generator = new DefaultGenerator(); + List files = generator.opts(clientOptInput).generate(); + + files.forEach(File::deleteOnExit); + + Path path = Paths.get(output + "/Apis/PaymentsApi.http"); + assertFileExists(path); + + // Checking first and last + TestUtils.assertFileContains(path, "### Make a payment\n" + + "## ApplePay request\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "\n" + + "{\n" + + " \"paymentMethod\" : {\n" + + " \"name\" : \"applepay\"\n" + + " },\n" + + " \"amount\" : {\n" + + " \"currency\" : \"EUR\",\n" + + " \"value\" : 1000\n" + + " },\n" + + " \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n" + + " \"reference\" : \"YOUR_REFERENCE\",\n" + + " \"channel\" : \"iOS\"\n" + + "}\n" + + "\n" + + "### Make a payment\n" + + "## GooglePay request\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "\n" + + "{\n" + + " \"paymentMethod\" : {\n" + + " \"name\" : \"googlepay\"\n" + + " },\n" + + " \"amount\" : {\n" + + " \"currency\" : \"EUR\",\n" + + " \"value\" : 1000\n" + + " },\n" + + " \"merchantAccount\" : \"YOUR_MERCHANT_ACCOUNT\",\n" + + " \"reference\" : \"YOUR_REFERENCE\",\n" + + " \"channel\" : \"Android\"\n" + + "}\n" + + "\n" + + "### Make a payment\n" + + "## Example with a merchant account that doesn't exist\n" + + "POST https://checkout-test.adyen.com/v71/payments\n" + + "Content-Type: application/json\n" + + "Accept: application/json\n" + + "\n" + + "{\n" + + " \"paymentMethod\" : {\n" + + " \"name\" : \"googlepay\"\n" + + " },\n" + + " \"amount\" : {\n" + + " \"currency\" : \"EUR\",\n" + + " \"value\" : 1000\n" + + " },\n" + + " \"merchantAccount\" : \"INVALID MERCHANT ACCOUNT\",\n" + + " \"reference\" : \"YOUR_REFERENCE\",\n" + + " \"channel\" : \"Android\"\n" + + "}"); } } diff --git a/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicBasic.yaml b/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicBasic.yaml new file mode 100644 index 0000000000..5c882e0727 --- /dev/null +++ b/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicBasic.yaml @@ -0,0 +1,262 @@ +openapi: 3.0.3 +info: + title: Checkout Basic + description: Checkout Basic + version: 1.0.0 +servers: + - url: 'https://checkout-test.adyen.com/v71' +paths: + + /paymentMethods: + get: + tags: + - Payments + summary: Get payment methods + operationId: get-payment-methods + security: + - BasicAuth: [ ] + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PaymentMethod' + examples: + basic: + $ref: '#/components/examples/list-payment-methods' + + /paymentMethods/{id}: + get: + tags: + - Payments + summary: Get payment method by id + operationId: get-payment-method-by-id + security: + - BasicAuth: [ ] + parameters: + - description: Id of the payment method + name: id + in: path + required: true + schema: + type: string + examples: + basic: + value: googlepay + get-applepay: + value: applepay + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentMethod' + examples: + basic: + $ref: '#/components/examples/googlepay-payment-method' + get-applepay: + $ref: '#/components/examples/applepay-payment-method' + 422: + description: Unprocessable Entity - a request validation error. + content: + application/json: + schema: + $ref: '#/components/schemas/CheckoutError' + examples: + basic: + $ref: '#/components/examples/merchant-account-validation-error' + /payments: + post: + tags: + - Payments + summary: Make a payment + operationId: post-make-payment + security: + - BasicAuth: [ ] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Payment' + examples: + basic: + $ref: '#/components/examples/applepay-request' + googlepay-success: + $ref: '#/components/examples/googlepay-request' + invalid-merchant-account: + $ref: '#/components/examples/invalid-merchant-account' + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentResult' + examples: + basic: + $ref: '#/components/examples/payment-response-success' + googlepay-success: + $ref: '#/components/examples/payment-response-success' + 422: + description: Unprocessable Entity - a request validation error. + content: + application/json: + schema: + $ref: '#/components/schemas/CheckoutError' + examples: + invalid-merchant-account: + $ref: '#/components/examples/merchant-account-validation-error' + +components: + securitySchemes: + BasicAuth: + scheme: basic + type: http + schemas: + Payment: + type: object + properties: + paymentMethod: + $ref: '#/components/schemas/PaymentMethod' + amount: + $ref: '#/components/schemas/Amount' + merchantAccount: + type: string + reference: + type: string + channel: + type: string + enum: + - Web + - iOS + - Android + required: + - paymentMethod + - amount + - merchantAccount + PaymentMethod: + type: object + properties: + name: + description: Name of the payment method + type: string + enum: + - scheme + - applepay + - googleplay + type: + description: Type of the payment method + type: string + Amount: + type: object + properties: + currency: + description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + maxLength: 3 + minLength: 3 + type: string + value: + description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + format: int64 + type: integer + required: + - value + - currency + PaymentResult: + type: object + properties: + pspReference: + description: PSP ref + type: string + resultCode: + description: Result code + type: string + enum: + - success + - error + - pending + required: + - pspReference + - resultCode + CheckoutError: + type: object + properties: + code: + description: Error code + type: string + message: + description: User-friendly message + type: string + required: + - code + - message + examples: + applepay-request: + summary: ApplePay request + value: + paymentMethod: + name: applepay + amount: + currency: EUR + value: 1000 + merchantAccount: YOUR_MERCHANT_ACCOUNT + reference: YOUR_REFERENCE + channel: iOS + googlepay-request: + summary: GooglePay request + value: + paymentMethod: + name: googlepay + amount: + currency: EUR + value: 1000 + merchantAccount: YOUR_MERCHANT_ACCOUNT + reference: YOUR_REFERENCE + channel: Android + invalid-merchant-account: + summary: Example with a merchant account that doesn't exist + value: + paymentMethod: + name: googlepay + amount: + currency: EUR + value: 1000 + merchantAccount: INVALID MERCHANT ACCOUNT + reference: YOUR_REFERENCE + channel: Android + payment-response-success: + summary: A successful payment response + value: + pspReference: PSP1234567890 + resultCode: success + generic-error-400: + summary: An error sample + value: + code: 400 + message: Invalid JSON payload + merchant-account-validation-error: + summary: Merchant account validation error + value: + code: 422 - 900 + message: Merchant account does not exist + googlepay-payment-method: + summary: The GooglePay payment method + value: + name: googlepay + type: wallet + applepay-payment-method: + summary: The ApplePay payment method + value: + name: applepay + type: wallet + list-payment-methods: + summary: List of all payment methods + value: + - name: googlepay + type: wallet + - name: applepay + type: wallet \ No newline at end of file diff --git a/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicBearerCookieQueryHeaderBasicBearer.yaml b/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicBearerCookieQueryHeaderBasicBearer.yaml new file mode 100644 index 0000000000..1d99a5f565 --- /dev/null +++ b/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicBearerCookieQueryHeaderBasicBearer.yaml @@ -0,0 +1,281 @@ +openapi: 3.0.3 +info: + title: Checkout Basic + description: Checkout Basic + version: 1.0.0 +servers: + - url: 'https://checkout-test.adyen.com/v71' +paths: + + /paymentMethods: + get: + tags: + - Payments + summary: Get payment methods + operationId: get-payment-methods + security: + - BearerAuth: [ ] + - BasicAuth: [ ] + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PaymentMethod' + examples: + basic: + $ref: '#/components/examples/list-payment-methods' + + /paymentMethods/{id}: + get: + tags: + - Payments + summary: Get payment method by id + operationId: get-payment-method-by-id + security: + - BearerAuth: [ ] + - ApiKeyAuthQuery: [ ] + parameters: + - description: Id of the payment method + name: id + in: path + required: true + schema: + type: string + examples: + basic: + value: googlepay + get-applepay: + value: applepay + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentMethod' + examples: + basic: + $ref: '#/components/examples/googlepay-payment-method' + get-applepay: + $ref: '#/components/examples/applepay-payment-method' + 422: + description: Unprocessable Entity - a request validation error. + content: + application/json: + schema: + $ref: '#/components/schemas/CheckoutError' + examples: + basic: + $ref: '#/components/examples/merchant-account-validation-error' + /payments: + post: + tags: + - Payments + summary: Make a payment + operationId: post-make-payment + security: + - BearerAuth: [ ] + - ApiKeyAuthCookie: [ ] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Payment' + examples: + basic: + $ref: '#/components/examples/applepay-request' + googlepay-success: + $ref: '#/components/examples/googlepay-request' + invalid-merchant-account: + $ref: '#/components/examples/invalid-merchant-account' + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentResult' + examples: + basic: + $ref: '#/components/examples/payment-response-success' + googlepay-success: + $ref: '#/components/examples/payment-response-success' + 422: + description: Unprocessable Entity - a request validation error. + content: + application/json: + schema: + $ref: '#/components/schemas/CheckoutError' + examples: + invalid-merchant-account: + $ref: '#/components/examples/merchant-account-validation-error' + +components: + securitySchemes: + BearerAuth: + type: http + scheme: bearer + bearerFormat: JWT + BasicAuth: + scheme: basic + type: http + ApiKeyAuthQuery: + in: query + name: api_key + type: apiKey + ApiKeyAuthHeader: + in: header + name: X-API-Key + type: apiKey + ApiKeyAuthCookie: + in: cookie + name: X-API-Key + type: apiKey + schemas: + Payment: + type: object + properties: + paymentMethod: + $ref: '#/components/schemas/PaymentMethod' + amount: + $ref: '#/components/schemas/Amount' + merchantAccount: + type: string + reference: + type: string + channel: + type: string + enum: + - Web + - iOS + - Android + required: + - paymentMethod + - amount + - merchantAccount + PaymentMethod: + type: object + properties: + name: + description: Name of the payment method + type: string + enum: + - scheme + - applepay + - googleplay + type: + description: Type of the payment method + type: string + Amount: + type: object + properties: + currency: + description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + maxLength: 3 + minLength: 3 + type: string + value: + description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + format: int64 + type: integer + required: + - value + - currency + PaymentResult: + type: object + properties: + pspReference: + description: PSP ref + type: string + resultCode: + description: Result code + type: string + enum: + - success + - error + - pending + required: + - pspReference + - resultCode + CheckoutError: + type: object + properties: + code: + description: Error code + type: string + message: + description: User-friendly message + type: string + required: + - code + - message + examples: + applepay-request: + summary: ApplePay request + value: + paymentMethod: + name: applepay + amount: + currency: EUR + value: 1000 + merchantAccount: YOUR_MERCHANT_ACCOUNT + reference: YOUR_REFERENCE + channel: iOS + googlepay-request: + summary: GooglePay request + value: + paymentMethod: + name: googlepay + amount: + currency: EUR + value: 1000 + merchantAccount: YOUR_MERCHANT_ACCOUNT + reference: YOUR_REFERENCE + channel: Android + invalid-merchant-account: + summary: Example with a merchant account that doesn't exist + value: + paymentMethod: + name: googlepay + amount: + currency: EUR + value: 1000 + merchantAccount: INVALID MERCHANT ACCOUNT + reference: YOUR_REFERENCE + channel: Android + payment-response-success: + summary: A successful payment response + value: + pspReference: PSP1234567890 + resultCode: success + generic-error-400: + summary: An error sample + value: + code: 400 + message: Invalid JSON payload + merchant-account-validation-error: + summary: Merchant account validation error + value: + code: 422 - 900 + message: Merchant account does not exist + googlepay-payment-method: + summary: The GooglePay payment method + value: + name: googlepay + type: wallet + applepay-payment-method: + summary: The ApplePay payment method + value: + name: applepay + type: wallet + list-payment-methods: + summary: List of all payment methods + value: + - name: googlepay + type: wallet + - name: applepay + type: wallet \ No newline at end of file diff --git a/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicHeader.yaml b/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicHeader.yaml new file mode 100644 index 0000000000..7b65b9e440 --- /dev/null +++ b/modules/openapi-generator/src/test/resources/3_0/jetbrains/CheckoutBasicHeader.yaml @@ -0,0 +1,263 @@ +openapi: 3.0.3 +info: + title: Checkout Basic + description: Checkout Basic + version: 1.0.0 +servers: + - url: 'https://checkout-test.adyen.com/v71' +paths: + + /paymentMethods: + get: + tags: + - Payments + summary: Get payment methods + operationId: get-payment-methods + security: + - ApiKeyAuth: [ ] + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PaymentMethod' + examples: + basic: + $ref: '#/components/examples/list-payment-methods' + + /paymentMethods/{id}: + get: + tags: + - Payments + summary: Get payment method by id + operationId: get-payment-method-by-id + security: + - ApiKeyAuth: [ ] + parameters: + - description: Id of the payment method + name: id + in: path + required: true + schema: + type: string + examples: + basic: + value: googlepay + get-applepay: + value: applepay + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentMethod' + examples: + basic: + $ref: '#/components/examples/googlepay-payment-method' + get-applepay: + $ref: '#/components/examples/applepay-payment-method' + 422: + description: Unprocessable Entity - a request validation error. + content: + application/json: + schema: + $ref: '#/components/schemas/CheckoutError' + examples: + basic: + $ref: '#/components/examples/merchant-account-validation-error' + /payments: + post: + tags: + - Payments + summary: Make a payment + operationId: post-make-payment + security: + - ApiKeyAuth: [ ] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Payment' + examples: + basic: + $ref: '#/components/examples/applepay-request' + googlepay-success: + $ref: '#/components/examples/googlepay-request' + invalid-merchant-account: + $ref: '#/components/examples/invalid-merchant-account' + responses: + 200: + description: OK - the request has succeeded. + content: + application/json: + schema: + $ref: '#/components/schemas/PaymentResult' + examples: + basic: + $ref: '#/components/examples/payment-response-success' + googlepay-success: + $ref: '#/components/examples/payment-response-success' + 422: + description: Unprocessable Entity - a request validation error. + content: + application/json: + schema: + $ref: '#/components/schemas/CheckoutError' + examples: + invalid-merchant-account: + $ref: '#/components/examples/merchant-account-validation-error' + +components: + securitySchemes: + ApiKeyAuth: + in: header + name: X-API-Key + type: apiKey + schemas: + Payment: + type: object + properties: + paymentMethod: + $ref: '#/components/schemas/PaymentMethod' + amount: + $ref: '#/components/schemas/Amount' + merchantAccount: + type: string + reference: + type: string + channel: + type: string + enum: + - Web + - iOS + - Android + required: + - paymentMethod + - amount + - merchantAccount + PaymentMethod: + type: object + properties: + name: + description: Name of the payment method + type: string + enum: + - scheme + - applepay + - googleplay + type: + description: Type of the payment method + type: string + Amount: + type: object + properties: + currency: + description: The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + maxLength: 3 + minLength: 3 + type: string + value: + description: The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). + format: int64 + type: integer + required: + - value + - currency + PaymentResult: + type: object + properties: + pspReference: + description: PSP ref + type: string + resultCode: + description: Result code + type: string + enum: + - success + - error + - pending + required: + - pspReference + - resultCode + CheckoutError: + type: object + properties: + code: + description: Error code + type: string + message: + description: User-friendly message + type: string + required: + - code + - message + examples: + applepay-request: + summary: ApplePay request + value: + paymentMethod: + name: applepay + amount: + currency: EUR + value: 1000 + merchantAccount: YOUR_MERCHANT_ACCOUNT + reference: YOUR_REFERENCE + channel: iOS + googlepay-request: + summary: GooglePay request + value: + paymentMethod: + name: googlepay + amount: + currency: EUR + value: 1000 + merchantAccount: YOUR_MERCHANT_ACCOUNT + reference: YOUR_REFERENCE + channel: Android + invalid-merchant-account: + summary: Example with a merchant account that doesn't exist + value: + paymentMethod: + name: googlepay + amount: + currency: EUR + value: 1000 + merchantAccount: INVALID MERCHANT ACCOUNT + reference: YOUR_REFERENCE + channel: Android + payment-response-success: + summary: A successful payment response + value: + pspReference: PSP1234567890 + resultCode: success + generic-error-400: + summary: An error sample + value: + code: 400 + message: Invalid JSON payload + merchant-account-validation-error: + summary: Merchant account validation error + value: + code: 422 - 900 + message: Merchant account does not exist + googlepay-payment-method: + summary: The GooglePay payment method + value: + name: googlepay + type: wallet + applepay-payment-method: + summary: The ApplePay payment method + value: + name: applepay + type: wallet + list-payment-methods: + summary: List of all payment methods + value: + - name: googlepay + type: wallet + - name: applepay + type: wallet \ No newline at end of file diff --git a/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator-ignore b/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator/FILES b/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator/FILES deleted file mode 100644 index abe4b410c2..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,8 +0,0 @@ -Apis/ClassicCheckoutSDKApi.http -Apis/ModificationsApi.http -Apis/OrdersApi.http -Apis/PaymentLinksApi.http -Apis/PaymentsApi.http -Apis/RecurringApi.http -Apis/UtilityApi.http -README.md diff --git a/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator/VERSION b/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator/VERSION deleted file mode 100644 index 757e674004..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -7.0.0-SNAPSHOT \ No newline at end of file diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/ClassicCheckoutSDKApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/ClassicCheckoutSDKApi.http deleted file mode 100644 index 740f15fffa..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/ClassicCheckoutSDKApi.http +++ /dev/null @@ -1,13 +0,0 @@ -## ClassicCheckoutSDKApi - -### Create a payment session -## Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks). -# @name postPaymentSession -POST https://checkout-test.adyen.com/v70/paymentSession -Content-Type: application/json - -### Verify a payment result -## Verifies the payment result using the payload returned from the Checkout SDK. For more information, refer to [How it works](https://docs.adyen.com/online-payments#howitworks). -# @name postPaymentsResult -POST https://checkout-test.adyen.com/v70/payments/result -Content-Type: application/json diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/ModificationsApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/ModificationsApi.http deleted file mode 100644 index d663359dcf..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/ModificationsApi.http +++ /dev/null @@ -1,37 +0,0 @@ -## ModificationsApi - -### Cancel an authorised payment -## Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**TECHNICAL_CANCEL** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment using the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/payments/{paymentPspReference}/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel). -# @name postCancels -POST https://checkout-test.adyen.com/v70/cancels -Content-Type: application/json - -### Update an authorised amount -## Increases or decreases the authorised payment amount and returns a unique reference for this request. You get the outcome of the request asynchronously, in an [**AUTHORISATION_ADJUSTMENT** webhook](https://docs.adyen.com/development-resources/webhooks/understand-notifications#event-codes). You can only update authorised amounts that have not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures). The amount you specify in the request is the updated amount, which is larger or smaller than the initial authorised amount. For more information, refer to [Authorisation adjustment](https://docs.adyen.com/online-payments/adjust-authorisation#use-cases). -# @name postPaymentsPaymentPspReferenceAmountUpdates -POST https://checkout-test.adyen.com/v70/payments/{{paymentPspReference}}/amountUpdates -Content-Type: application/json - -### Cancel an authorised payment -## Cancels the authorisation on a payment that has not yet been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/paymentPspReference/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCELLATION** webhook](https://docs.adyen.com/online-payments/cancel#cancellation-webhook). If you want to cancel a payment but don't have the [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference), use the [`/cancels`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cancels) endpoint instead. If you want to cancel a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Cancel](https://docs.adyen.com/online-payments/cancel). -# @name postPaymentsPaymentPspReferenceCancels -POST https://checkout-test.adyen.com/v70/payments/{{paymentPspReference}}/cancels -Content-Type: application/json - -### Capture an authorised payment -## Captures an authorised payment and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CAPTURE** webhook](https://docs.adyen.com/online-payments/capture#capture-notification). You can capture either the full authorised amount or a part of the authorised amount. By default, any unclaimed amount after a partial capture gets cancelled. This does not apply if you enabled multiple partial captures on your account and the payment method supports multiple partial captures. [Automatic capture](https://docs.adyen.com/online-payments/capture#automatic-capture) is the default setting for most payment methods. In these cases, you don't need to make capture requests. However, making capture requests for payments that are captured automatically does not result in double charges. For more information, refer to [Capture](https://docs.adyen.com/online-payments/capture). -# @name postPaymentsPaymentPspReferenceCaptures -POST https://checkout-test.adyen.com/v70/payments/{{paymentPspReference}}/captures -Content-Type: application/json - -### Refund a captured payment -## Refunds a payment that has been [captured](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/captures), and returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**REFUND** webhook](https://docs.adyen.com/online-payments/refund#refund-webhook). You can refund either the full captured amount or a part of the captured amount. You can also perform multiple partial refunds, as long as their sum doesn't exceed the captured amount. > Some payment methods do not support partial refunds. To learn if a payment method supports partial refunds, refer to the payment method page such as [cards](https://docs.adyen.com/payment-methods/cards#supported-cards), [iDEAL](https://docs.adyen.com/payment-methods/ideal), or [Klarna](https://docs.adyen.com/payment-methods/klarna). If you want to refund a payment but are not sure whether it has been captured, use the [`/payments/{paymentPspReference}/reversals`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/reversals) endpoint instead. For more information, refer to [Refund](https://docs.adyen.com/online-payments/refund). -# @name postPaymentsPaymentPspReferenceRefunds -POST https://checkout-test.adyen.com/v70/payments/{{paymentPspReference}}/refunds -Content-Type: application/json - -### Refund or cancel a payment -## [Refunds](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/refunds) a payment if it has already been captured, and [cancels](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments/{paymentPspReference}/cancels) a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a [**CANCEL_OR_REFUND** webhook](https://docs.adyen.com/online-payments/reverse#cancel-or-refund-webhook). The reversed amount is always the full payment amount. > Do not use this request for payments that involve multiple partial captures. For more information, refer to [Reversal](https://docs.adyen.com/online-payments/reversal). -# @name postPaymentsPaymentPspReferenceReversals -POST https://checkout-test.adyen.com/v70/payments/{{paymentPspReference}}/reversals -Content-Type: application/json diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/OrdersApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/OrdersApi.http deleted file mode 100644 index c750413c6e..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/OrdersApi.http +++ /dev/null @@ -1,19 +0,0 @@ -## OrdersApi - -### Create an order -## Creates an order to be used for partial payments. Make a POST `/orders` call before making a `/payments` call when processing payments with different payment methods. -# @name postOrders -POST https://checkout-test.adyen.com/v70/orders -Content-Type: application/json - -### Cancel an order -## Cancels an order. Cancellation of an order results in an automatic rollback of all payments made in the order, either by canceling or refunding the payment, depending on the type of payment method. -# @name postOrdersCancel -POST https://checkout-test.adyen.com/v70/orders/cancel -Content-Type: application/json - -### Get the balance of a gift card -## Retrieves the balance remaining on a shopper's gift card. To check a gift card's balance, make a POST `/paymentMethods/balance` call and include the gift card's details inside a `paymentMethod` object. -# @name postPaymentMethodsBalance -POST https://checkout-test.adyen.com/v70/paymentMethods/balance -Content-Type: application/json diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/PaymentLinksApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/PaymentLinksApi.http deleted file mode 100644 index 30492c4a92..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/PaymentLinksApi.http +++ /dev/null @@ -1,18 +0,0 @@ -## PaymentLinksApi - -### Get a payment link -## Retrieves the payment link details using the payment link `id`. -# @name getPaymentLinksLinkId -GET https://checkout-test.adyen.com/v70/paymentLinks/{{linkId}} - -### Update the status of a payment link -## Updates the status of a payment link. Use this endpoint to [force the expiry of a payment link](https://docs.adyen.com/online-payments/pay-by-link#update-payment-link-status). -# @name patchPaymentLinksLinkId -PATCH https://checkout-test.adyen.com/v70/paymentLinks/{{linkId}} -Content-Type: application/json - -### Create a payment link -## Creates a payment link to our hosted payment form where shoppers can pay. The list of payment methods presented to the shopper depends on the `currency` and `country` parameters sent in the request. For more information, refer to [Pay by Link documentation](https://docs.adyen.com/online-payments/pay-by-link#create-payment-links-through-api). -# @name postPaymentLinks -POST https://checkout-test.adyen.com/v70/paymentLinks -Content-Type: application/json diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/PaymentsApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/PaymentsApi.http deleted file mode 100644 index 903ab4b0f1..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,37 +0,0 @@ -## PaymentsApi - -### Get the list of brands on the card -## Send a request with at least the first 6 digits of the card number to get a response with an array of brands on the card. If you include [your supported brands](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__reqParam_supportedBrands) in the request, the response also tells you if you support each [brand that was identified](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/cardDetails__resParam_details). If you have an API-only integration and collect card data, use this endpoint to find out if the shopper's card is co-branded. For co-branded cards, you must let the shopper choose the brand to pay with if you support both brands. -# @name postCardDetails -POST https://checkout-test.adyen.com/v70/cardDetails -Content-Type: application/json - -### Start a transaction for donations -## Takes in the donation token generated by the `/payments` request and uses it to make the donation for the donation account specified in the request. For more information, see [Donations](https://docs.adyen.com/online-payments/donations). -# @name postDonations -POST https://checkout-test.adyen.com/v70/donations -Content-Type: application/json - -### Get a list of available payment methods -## Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`). Although we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week. -# @name postPaymentMethods -POST https://checkout-test.adyen.com/v70/paymentMethods -Content-Type: application/json - -### Start a transaction -## Sends payment parameters (like amount, country, and currency) together with other required input details collected from the shopper. To know more about required parameters for specific payment methods, refer to our [payment method guides](https://docs.adyen.com/payment-methods). The response depends on the [payment flow](https://docs.adyen.com/payment-methods#payment-flow): * For a direct flow, the response includes a `pspReference` and a `resultCode` with the payment result, for example **Authorised** or **Refused**. * For a redirect or additional action, the response contains an `action` object. -# @name postPayments -POST https://checkout-test.adyen.com/v70/payments -Content-Type: application/json - -### Submit details for a payment -## Submits details for a payment created using `/payments`. This step is only needed when no final state has been reached on the `/payments` request, for example when the shopper was redirected to another page to complete the payment. -# @name postPaymentsDetails -POST https://checkout-test.adyen.com/v70/payments/details -Content-Type: application/json - -### Create a payment session -## Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook. -# @name postSessions -POST https://checkout-test.adyen.com/v70/sessions -Content-Type: application/json diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/RecurringApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/RecurringApi.http deleted file mode 100644 index aa3b538404..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/RecurringApi.http +++ /dev/null @@ -1,11 +0,0 @@ -## RecurringApi - -### Delete a token for stored payment details -## Deletes the token identified in the path. The token can no longer be used with payment requests. -# @name deleteStoredPaymentMethodsRecurringId -DELETE https://checkout-test.adyen.com/v70/storedPaymentMethods/{{recurringId}} - -### Get tokens for stored payment details -## Lists the tokens for stored payment details for the shopper identified in the path, if there are any available. The token ID can be used with payment requests for the shopper's payment. A summary of the stored details is included. -# @name getStoredPaymentMethods -GET https://checkout-test.adyen.com/v70/storedPaymentMethods diff --git a/samples/client/adyen_checkout/jetbrains/http/client/Apis/UtilityApi.http b/samples/client/adyen_checkout/jetbrains/http/client/Apis/UtilityApi.http deleted file mode 100644 index e2894867e8..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/Apis/UtilityApi.http +++ /dev/null @@ -1,13 +0,0 @@ -## UtilityApi - -### Get an Apple Pay session -## You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation). -# @name postApplePaySessions -POST https://checkout-test.adyen.com/v70/applePay/sessions -Content-Type: application/json - -### Create originKey values for domains -## This operation takes the origin domains and returns a JSON object containing the corresponding origin keys for the domains. > If you're still using origin key for your Web Drop-in or Components integration, we recommend [switching to client key](https://docs.adyen.com/development-resources/client-side-authentication/migrate-from-origin-key-to-client-key). This allows you to use a single key for all origins, add or remove origins without generating a new key, and detect the card type from the number entered in your payment form. -# @name postOriginKeys -POST https://checkout-test.adyen.com/v70/originKeys -Content-Type: application/json diff --git a/samples/client/adyen_checkout/jetbrains/http/client/README.md b/samples/client/adyen_checkout/jetbrains/http/client/README.md deleted file mode 100644 index 4309aa89ae..0000000000 --- a/samples/client/adyen_checkout/jetbrains/http/client/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# Adyen Checkout API - Jetbrains API Client - -## OpenAPI File description - -Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [online payments documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to Checkout API must be signed with an API key. For this, [get your API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key) from your Customer Area, and set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: YOUR_API_KEY\" \\ ... ``` ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v70/payments ``` ## Going live To access the live endpoints, you need an API key from your live Customer Area. The live endpoint URLs contain a prefix which is unique to your company account, for example: ``` https://{PREFIX}-checkout-live.adyenpayments.com/checkout/v70/payments ``` Get your `{PREFIX}` from your live Customer Area under **Developers** > **API URLs** > **Prefix**. When preparing to do live transactions with Checkout API, follow the [go-live checklist](https://docs.adyen.com/online-payments/go-live-checklist) to make sure you've got all the required configuration in place. ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=70) to find out what changed in this version! - -* API basepath : [https://checkout-test.adyen.com/v70](https://checkout-test.adyen.com/v70) -* Version : 70 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v70*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*ClassicCheckoutSDKApi* | [**postPaymentSession**](Apis/ClassicCheckoutSDKApi.http#postpaymentsession) | **POST** /paymentSession | Create a payment session -*ClassicCheckoutSDKApi* | [**postPaymentsResult**](Apis/ClassicCheckoutSDKApi.http#postpaymentsresult) | **POST** /payments/result | Verify a payment result -*ModificationsApi* | [**postCancels**](Apis/ModificationsApi.http#postcancels) | **POST** /cancels | Cancel an authorised payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceAmountUpdates**](Apis/ModificationsApi.http#postpaymentspaymentpspreferenceamountupdates) | **POST** /payments/{paymentPspReference}/amountUpdates | Update an authorised amount -*ModificationsApi* | [**postPaymentsPaymentPspReferenceCancels**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencecancels) | **POST** /payments/{paymentPspReference}/cancels | Cancel an authorised payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceCaptures**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencecaptures) | **POST** /payments/{paymentPspReference}/captures | Capture an authorised payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceRefunds**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencerefunds) | **POST** /payments/{paymentPspReference}/refunds | Refund a captured payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceReversals**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencereversals) | **POST** /payments/{paymentPspReference}/reversals | Refund or cancel a payment -*OrdersApi* | [**postOrders**](Apis/OrdersApi.http#postorders) | **POST** /orders | Create an order -*OrdersApi* | [**postOrdersCancel**](Apis/OrdersApi.http#postorderscancel) | **POST** /orders/cancel | Cancel an order -*OrdersApi* | [**postPaymentMethodsBalance**](Apis/OrdersApi.http#postpaymentmethodsbalance) | **POST** /paymentMethods/balance | Get the balance of a gift card -*PaymentLinksApi* | [**getPaymentLinksLinkId**](Apis/PaymentLinksApi.http#getpaymentlinkslinkid) | **GET** /paymentLinks/{linkId} | Get a payment link -*PaymentLinksApi* | [**patchPaymentLinksLinkId**](Apis/PaymentLinksApi.http#patchpaymentlinkslinkid) | **PATCH** /paymentLinks/{linkId} | Update the status of a payment link -*PaymentLinksApi* | [**postPaymentLinks**](Apis/PaymentLinksApi.http#postpaymentlinks) | **POST** /paymentLinks | Create a payment link -*PaymentsApi* | [**postCardDetails**](Apis/PaymentsApi.http#postcarddetails) | **POST** /cardDetails | Get the list of brands on the card -*PaymentsApi* | [**postDonations**](Apis/PaymentsApi.http#postdonations) | **POST** /donations | Start a transaction for donations -*PaymentsApi* | [**postPaymentMethods**](Apis/PaymentsApi.http#postpaymentmethods) | **POST** /paymentMethods | Get a list of available payment methods -*PaymentsApi* | [**postPayments**](Apis/PaymentsApi.http#postpayments) | **POST** /payments | Start a transaction -*PaymentsApi* | [**postPaymentsDetails**](Apis/PaymentsApi.http#postpaymentsdetails) | **POST** /payments/details | Submit details for a payment -*PaymentsApi* | [**postSessions**](Apis/PaymentsApi.http#postsessions) | **POST** /sessions | Create a payment session -*RecurringApi* | [**deleteStoredPaymentMethodsRecurringId**](Apis/RecurringApi.http#deletestoredpaymentmethodsrecurringid) | **DELETE** /storedPaymentMethods/{recurringId} | Delete a token for stored payment details -*RecurringApi* | [**getStoredPaymentMethods**](Apis/RecurringApi.http#getstoredpaymentmethods) | **GET** /storedPaymentMethods | Get tokens for stored payment details -*UtilityApi* | [**postApplePaySessions**](Apis/UtilityApi.http#postapplepaysessions) | **POST** /applePay/sessions | Get an Apple Pay session -*UtilityApi* | [**postOriginKeys**](Apis/UtilityApi.http#postoriginkeys) | **POST** /originKeys | Create originKey values for domains - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/github/jetbrains/http/client/.openapi-generator-ignore b/samples/client/github/jetbrains/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/github/jetbrains/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/github/jetbrains/http/client/.openapi-generator/FILES b/samples/client/github/jetbrains/http/client/.openapi-generator/FILES deleted file mode 100644 index 75193ca13a..0000000000 --- a/samples/client/github/jetbrains/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,36 +0,0 @@ -Apis/ActionsApi.http -Apis/ActivityApi.http -Apis/AppsApi.http -Apis/BillingApi.http -Apis/ChecksApi.http -Apis/ClassroomApi.http -Apis/CodeScanningApi.http -Apis/CodesOfConductApi.http -Apis/CodespacesApi.http -Apis/CopilotApi.http -Apis/DependabotApi.http -Apis/DependencyGraphApi.http -Apis/EmojisApi.http -Apis/GistsApi.http -Apis/GitApi.http -Apis/GitignoreApi.http -Apis/InteractionsApi.http -Apis/IssuesApi.http -Apis/LicensesApi.http -Apis/MarkdownApi.http -Apis/MetaApi.http -Apis/MigrationsApi.http -Apis/OidcApi.http -Apis/OrgsApi.http -Apis/PackagesApi.http -Apis/ProjectsApi.http -Apis/PullsApi.http -Apis/RateLimitApi.http -Apis/ReactionsApi.http -Apis/ReposApi.http -Apis/SearchApi.http -Apis/SecretScanningApi.http -Apis/SecurityAdvisoriesApi.http -Apis/TeamsApi.http -Apis/UsersApi.http -README.md diff --git a/samples/client/github/jetbrains/http/client/.openapi-generator/VERSION b/samples/client/github/jetbrains/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/github/jetbrains/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/github/jetbrains/http/client/Apis/ActionsApi.http b/samples/client/github/jetbrains/http/client/Apis/ActionsApi.http deleted file mode 100644 index 4fe36ae45c..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ActionsApi.http +++ /dev/null @@ -1,1097 +0,0 @@ -## ActionsApi - -### Add custom labels to a self-hosted runner for an organization -## Add custom labels to a self-hosted runner for an organization -POST https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "labels" : [ "gpu", "accelerated" ] -} - - -### Add custom labels to a self-hosted runner for a repository -## Add custom labels to a self-hosted runner for a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "labels" : [ "gpu", "accelerated" ] -} - - -### Add selected repository to an organization secret -## Add selected repository to an organization secret -PUT https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Add selected repository to an organization variable -## Add selected repository to an organization variable -PUT https://api.github.com/orgs/{{org}}/actions/variables/{{name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Approve a workflow run for a fork pull request -## Approve a workflow run for a fork pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/approve -Cookie:X-API-KEY={{cookieKey}} - - - - -### Cancel a workflow run -## Cancel a workflow run -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/cancel -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create an environment variable -## Create an environment variable -POST https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/variables -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "USERNAME", - "value" : "octocat" -} - - -### Create or update an environment secret -## Create or update an environment secret -PUT https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678" -} - - -### Create or update an organization secret -## Create or update an organization secret -PUT https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678", - "visibility" : "selected", - "selected_repository_ids" : [ 1296269, 1296280 ] -} - - -### Create or update a repository secret -## Create or update a repository secret -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678" -} - - -### Create an organization variable -## Create an organization variable -POST https://api.github.com/orgs/{{org}}/actions/variables -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "USERNAME", - "value" : "octocat", - "visibility" : "selected", - "selected_repository_ids" : [ 1296269, 1296280 ] -} - - -### Create a registration token for an organization -## Create a registration token for an organization -POST https://api.github.com/orgs/{{org}}/actions/runners/registration-token -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a registration token for a repository -## Create a registration token for a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/registration-token -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a remove token for an organization -## Create a remove token for an organization -POST https://api.github.com/orgs/{{org}}/actions/runners/remove-token -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a remove token for a repository -## Create a remove token for a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/remove-token -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a repository variable -## Create a repository variable -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/variables -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "USERNAME", - "value" : "octocat" -} - - -### Create a workflow dispatch event -## Create a workflow dispatch event -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows/{{workflow_id}}/dispatches -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "ref" : "topic-branch", - "inputs" : { - "name" : "Mona the Octocat", - "home" : "San Francisco, CA" - } -} - - -### Delete a GitHub Actions cache for a repository (using a cache ID) -## Delete a GitHub Actions cache for a repository (using a cache ID) -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/caches/{{cache_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete GitHub Actions caches for a repository (using a cache key) -## Delete GitHub Actions caches for a repository (using a cache key) -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/caches -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an artifact -## Delete an artifact -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/artifacts/{{artifact_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an environment secret -## Delete an environment secret -DELETE https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an environment variable -## Delete an environment variable -DELETE https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/variables/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an organization secret -## Delete an organization secret -DELETE https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an organization variable -## Delete an organization variable -DELETE https://api.github.com/orgs/{{org}}/actions/variables/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository secret -## Delete a repository secret -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository variable -## Delete a repository variable -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/variables/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a self-hosted runner from an organization -## Delete a self-hosted runner from an organization -DELETE https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a self-hosted runner from a repository -## Delete a self-hosted runner from a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a workflow run -## Delete a workflow run -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete workflow run logs -## Delete workflow run logs -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/logs -Cookie:X-API-KEY={{cookieKey}} - - - - -### Disable a selected repository for GitHub Actions in an organization -## Disable a selected repository for GitHub Actions in an organization -DELETE https://api.github.com/orgs/{{org}}/actions/permissions/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Disable a workflow -## Disable a workflow -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows/{{workflow_id}}/disable -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download an artifact -## Download an artifact -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/artifacts/{{artifact_id}}/{{archive_format}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download job logs for a workflow run -## Download job logs for a workflow run -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/jobs/{{job_id}}/logs -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download workflow run attempt logs -## Download workflow run attempt logs -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/attempts/{{attempt_number}}/logs -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download workflow run logs -## Download workflow run logs -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/logs -Cookie:X-API-KEY={{cookieKey}} - - - - -### Enable a selected repository for GitHub Actions in an organization -## Enable a selected repository for GitHub Actions in an organization -PUT https://api.github.com/orgs/{{org}}/actions/permissions/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Enable a workflow -## Enable a workflow -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows/{{workflow_id}}/enable -Cookie:X-API-KEY={{cookieKey}} - - - - -### Force cancel a workflow run -## Force cancel a workflow run -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/force-cancel -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create configuration for a just-in-time runner for an organization -## Create configuration for a just-in-time runner for an organization -POST https://api.github.com/orgs/{{org}}/actions/runners/generate-jitconfig -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "New runner", - "runner_group_id" : 1, - "labels" : [ "self-hosted", "X64", "macOS", "no-gpu" ], - "work_folder" : "_work" -} - - -### Create configuration for a just-in-time runner for a repository -## Create configuration for a just-in-time runner for a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/generate-jitconfig -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "New runner", - "runner_group_id" : 1, - "labels" : [ "self-hosted", "X64", "macOS", "no-gpu" ], - "work_folder" : "_work" -} - - -### List GitHub Actions caches for a repository -## List GitHub Actions caches for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/caches -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Actions cache usage for a repository -## Get GitHub Actions cache usage for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/cache/usage -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories with GitHub Actions cache usage for an organization -## List repositories with GitHub Actions cache usage for an organization -GET https://api.github.com/orgs/{{org}}/actions/cache/usage-by-repository -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Actions cache usage for an organization -## Get GitHub Actions cache usage for an organization -GET https://api.github.com/orgs/{{org}}/actions/cache/usage -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get allowed actions and reusable workflows for an organization -## Get allowed actions and reusable workflows for an organization -GET https://api.github.com/orgs/{{org}}/actions/permissions/selected-actions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get allowed actions and reusable workflows for a repository -## Get allowed actions and reusable workflows for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions/selected-actions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an artifact -## Get an artifact -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/artifacts/{{artifact_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the customization template for an OIDC subject claim for a repository -## Get the customization template for an OIDC subject claim for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/oidc/customization/sub -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an environment public key -## Get an environment public key -GET https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an environment secret -## Get an environment secret -GET https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an environment variable -## Get an environment variable -GET https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/variables/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get default workflow permissions for an organization -## Get default workflow permissions for an organization -GET https://api.github.com/orgs/{{org}}/actions/permissions/workflow -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get default workflow permissions for a repository -## Get default workflow permissions for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions/workflow -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Actions permissions for an organization -## Get GitHub Actions permissions for an organization -GET https://api.github.com/orgs/{{org}}/actions/permissions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Actions permissions for a repository -## Get GitHub Actions permissions for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a job for a workflow run -## Get a job for a workflow run -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/jobs/{{job_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization public key -## Get an organization public key -GET https://api.github.com/orgs/{{org}}/actions/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization secret -## Get an organization secret -GET https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization variable -## Get an organization variable -GET https://api.github.com/orgs/{{org}}/actions/variables/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get pending deployments for a workflow run -## Get pending deployments for a workflow run -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/pending_deployments -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository public key -## Get a repository public key -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository secret -## Get a repository secret -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository variable -## Get a repository variable -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/variables/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the review history for a workflow run -## Get the review history for a workflow run -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/approvals -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a self-hosted runner for an organization -## Get a self-hosted runner for an organization -GET https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a self-hosted runner for a repository -## Get a self-hosted runner for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a workflow -## Get a workflow -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows/{{workflow_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the level of access for workflows outside of the repository -## Get the level of access for workflows outside of the repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions/access -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a workflow run -## Get a workflow run -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a workflow run attempt -## Get a workflow run attempt -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/attempts/{{attempt_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get workflow run usage -## Get workflow run usage -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/timing -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get workflow usage -## Get workflow usage -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows/{{workflow_id}}/timing -Cookie:X-API-KEY={{cookieKey}} - - - - -### List artifacts for a repository -## List artifacts for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/artifacts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List environment secrets -## List environment secrets -GET https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List environment variables -## List environment variables -GET https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/variables -Cookie:X-API-KEY={{cookieKey}} - - - - -### List jobs for a workflow run -## List jobs for a workflow run -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/jobs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List jobs for a workflow run attempt -## List jobs for a workflow run attempt -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/attempts/{{attempt_number}}/jobs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List labels for a self-hosted runner for an organization -## List labels for a self-hosted runner for an organization -GET https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### List labels for a self-hosted runner for a repository -## List labels for a self-hosted runner for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization secrets -## List organization secrets -GET https://api.github.com/orgs/{{org}}/actions/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization variables -## List organization variables -GET https://api.github.com/orgs/{{org}}/actions/variables -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository organization secrets -## List repository organization secrets -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/organization-secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository organization variables -## List repository organization variables -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/organization-variables -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository secrets -## List repository secrets -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository variables -## List repository variables -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/variables -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository workflows -## List repository workflows -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows -Cookie:X-API-KEY={{cookieKey}} - - - - -### List runner applications for an organization -## List runner applications for an organization -GET https://api.github.com/orgs/{{org}}/actions/runners/downloads -Cookie:X-API-KEY={{cookieKey}} - - - - -### List runner applications for a repository -## List runner applications for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/downloads -Cookie:X-API-KEY={{cookieKey}} - - - - -### List selected repositories for an organization secret -## List selected repositories for an organization secret -GET https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List selected repositories for an organization variable -## List selected repositories for an organization variable -GET https://api.github.com/orgs/{{org}}/actions/variables/{{name}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List selected repositories enabled for GitHub Actions in an organization -## List selected repositories enabled for GitHub Actions in an organization -GET https://api.github.com/orgs/{{org}}/actions/permissions/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List self-hosted runners for an organization -## List self-hosted runners for an organization -GET https://api.github.com/orgs/{{org}}/actions/runners -Cookie:X-API-KEY={{cookieKey}} - - - - -### List self-hosted runners for a repository -## List self-hosted runners for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners -Cookie:X-API-KEY={{cookieKey}} - - - - -### List workflow run artifacts -## List workflow run artifacts -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/artifacts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List workflow runs for a workflow -## List workflow runs for a workflow -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/workflows/{{workflow_id}}/runs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List workflow runs for a repository -## List workflow runs for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs -Cookie:X-API-KEY={{cookieKey}} - - - - - - - -### Remove all custom labels from a self-hosted runner for an organization -## Remove all custom labels from a self-hosted runner for an organization -DELETE https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove all custom labels from a self-hosted runner for a repository -## Remove all custom labels from a self-hosted runner for a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a custom label from a self-hosted runner for an organization -## Remove a custom label from a self-hosted runner for an organization -DELETE https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}}/labels/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a custom label from a self-hosted runner for a repository -## Remove a custom label from a self-hosted runner for a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}}/labels/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove selected repository from an organization secret -## Remove selected repository from an organization secret -DELETE https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove selected repository from an organization variable -## Remove selected repository from an organization variable -DELETE https://api.github.com/orgs/{{org}}/actions/variables/{{name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Review custom deployment protection rules for a workflow run -## Review custom deployment protection rules for a workflow run -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/deployment_protection_rule -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "environment_name" : "prod-eus", - "state" : "approved", - "comment" : "All health checks passed." -} - - -### Review pending deployments for a workflow run -## Review pending deployments for a workflow run -POST https://api.github.com/repos/{{owner}}/{{repo}}/actions/runs/{{run_id}}/pending_deployments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "environment_ids" : [ 161171787 ], - "state" : "approved", - "comment" : "Ship it!" -} - - -### Set allowed actions and reusable workflows for an organization -## -PUT https://api.github.com/orgs/{{org}}/actions/permissions/selected-actions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "github_owned_allowed" : true, - "verified_allowed" : false, - "patterns_allowed" : [ "monalisa/octocat@*", "docker/*" ] -} - - -### Set allowed actions and reusable workflows for a repository -## -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions/selected-actions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "github_owned_allowed" : true, - "verified_allowed" : false, - "patterns_allowed" : [ "monalisa/octocat@*", "docker/*" ] -} - - -### Set custom labels for a self-hosted runner for an organization -## Set custom labels for a self-hosted runner for an organization -PUT https://api.github.com/orgs/{{org}}/actions/runners/{{runner_id}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "labels" : [ "gpu", "accelerated" ] -} - - -### Set custom labels for a self-hosted runner for a repository -## Set custom labels for a self-hosted runner for a repository -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/runners/{{runner_id}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "labels" : [ "gpu", "accelerated" ] -} - - -### Set the customization template for an OIDC subject claim for a repository -## Set the customization template for an OIDC subject claim for a repository -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/oidc/customization/sub -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "use_default" : false, - "include_claim_keys" : [ "repo", "context" ] -} - - -### Set default workflow permissions for an organization -## Give read-only permission, and allow approving PRs. -PUT https://api.github.com/orgs/{{org}}/actions/permissions/workflow -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "default_workflow_permissions" : "read", - "can_approve_pull_request_reviews" : true -} - - -### Set default workflow permissions for a repository -## Give read-only permission, and allow approving PRs. -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions/workflow -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "default_workflow_permissions" : "read", - "can_approve_pull_request_reviews" : true -} - - -### Set GitHub Actions permissions for an organization -## Set GitHub Actions permissions for an organization -PUT https://api.github.com/orgs/{{org}}/actions/permissions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "enabled_repositories" : "all", - "allowed_actions" : "selected" -} - - -### Set GitHub Actions permissions for a repository -## Set GitHub Actions permissions for a repository -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "enabled" : true, - "allowed_actions" : "selected" -} - - -### Set selected repositories for an organization secret -## Set selected repositories for an organization secret -PUT https://api.github.com/orgs/{{org}}/actions/secrets/{{secret_name}}/repositories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_repository_ids" : [ 64780797 ] -} - - -### Set selected repositories for an organization variable -## Set selected repositories for an organization variable -PUT https://api.github.com/orgs/{{org}}/actions/variables/{{name}}/repositories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_repository_ids" : [ 64780797 ] -} - - -### Set selected repositories enabled for GitHub Actions in an organization -## Set selected repositories enabled for GitHub Actions in an organization -PUT https://api.github.com/orgs/{{org}}/actions/permissions/repositories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_repository_ids" : [ 32, 42 ] -} - - -### Set the level of access for workflows outside of the repository -## -PUT https://api.github.com/repos/{{owner}}/{{repo}}/actions/permissions/access -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "access_level" : "organization" -} - - -### Update an environment variable -## Update an environment variable -PATCH https://api.github.com/repositories/{{repository_id}}/environments/{{environment_name}}/variables/{{name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "USERNAME", - "value" : "octocat" -} - - -### Update an organization variable -## Update an organization variable -PATCH https://api.github.com/orgs/{{org}}/actions/variables/{{name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "USERNAME", - "value" : "octocat", - "visibility" : "selected", - "selected_repository_ids" : [ 1296269, 1296280 ] -} - - -### Update a repository variable -## Update a repository variable -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/actions/variables/{{name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "USERNAME", - "value" : "octocat" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/ActivityApi.http b/samples/client/github/jetbrains/http/client/Apis/ActivityApi.http deleted file mode 100644 index 221a0ac487..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ActivityApi.http +++ /dev/null @@ -1,271 +0,0 @@ -## ActivityApi - -### Check if a repository is starred by the authenticated user -## Check if a repository is starred by the authenticated user -GET https://api.github.com/user/starred/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository subscription -## Delete a repository subscription -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/subscription -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a thread subscription -## Delete a thread subscription -DELETE https://api.github.com/notifications/threads/{{thread_id}}/subscription -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get feeds -## Get feeds -GET https://api.github.com/feeds -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository subscription -## Get a repository subscription -GET https://api.github.com/repos/{{owner}}/{{repo}}/subscription -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a thread -## Get a thread -GET https://api.github.com/notifications/threads/{{thread_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a thread subscription for the authenticated user -## Get a thread subscription for the authenticated user -GET https://api.github.com/notifications/threads/{{thread_id}}/subscription -Cookie:X-API-KEY={{cookieKey}} - - - - -### List events for the authenticated user -## List events for the authenticated user -GET https://api.github.com/users/{{username}}/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List notifications for the authenticated user -## List notifications for the authenticated user -GET https://api.github.com/notifications -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization events for the authenticated user -## List organization events for the authenticated user -GET https://api.github.com/users/{{username}}/events/orgs/{{org}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public events -## List public events -GET https://api.github.com/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public events for a network of repositories -## List public events for a network of repositories -GET https://api.github.com/networks/{{owner}}/{{repo}}/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public events for a user -## List public events for a user -GET https://api.github.com/users/{{username}}/events/public -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public organization events -## List public organization events -GET https://api.github.com/orgs/{{org}}/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List events received by the authenticated user -## List events received by the authenticated user -GET https://api.github.com/users/{{username}}/received_events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public events received by a user -## List public events received by a user -GET https://api.github.com/users/{{username}}/received_events/public -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository events -## List repository events -GET https://api.github.com/repos/{{owner}}/{{repo}}/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository notifications for the authenticated user -## List repository notifications for the authenticated user -GET https://api.github.com/repos/{{owner}}/{{repo}}/notifications -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories starred by the authenticated user -## List repositories starred by the authenticated user -GET https://api.github.com/user/starred -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories starred by a user -## List repositories starred by a user -GET https://api.github.com/users/{{username}}/starred -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories watched by a user -## List repositories watched by a user -GET https://api.github.com/users/{{username}}/subscriptions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List stargazers -## List stargazers -GET https://api.github.com/repos/{{owner}}/{{repo}}/stargazers -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories watched by the authenticated user -## List repositories watched by the authenticated user -GET https://api.github.com/user/subscriptions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List watchers -## List watchers -GET https://api.github.com/repos/{{owner}}/{{repo}}/subscribers -Cookie:X-API-KEY={{cookieKey}} - - - - -### Mark notifications as read -## Mark notifications as read -PUT https://api.github.com/notifications -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "last_read_at" : "2022-06-10T00:00:00Z", - "read" : true -} - - -### Mark repository notifications as read -## Mark repository notifications as read -PUT https://api.github.com/repos/{{owner}}/{{repo}}/notifications -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "last_read_at" : "2019-01-01T00:00:00Z" -} - - -### Mark a thread as done -## Mark a thread as done -DELETE https://api.github.com/notifications/threads/{{thread_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Mark a thread as read -## Mark a thread as read -PATCH https://api.github.com/notifications/threads/{{thread_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set a repository subscription -## Set a repository subscription -PUT https://api.github.com/repos/{{owner}}/{{repo}}/subscription -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "subscribed" : true, - "ignored" : false -} - - -### Set a thread subscription -## Set a thread subscription -PUT https://api.github.com/notifications/threads/{{thread_id}}/subscription -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "ignored" : false -} - - -### Star a repository for the authenticated user -## Star a repository for the authenticated user -PUT https://api.github.com/user/starred/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Unstar a repository for the authenticated user -## Unstar a repository for the authenticated user -DELETE https://api.github.com/user/starred/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/AppsApi.http b/samples/client/github/jetbrains/http/client/Apis/AppsApi.http deleted file mode 100644 index a125e3fc79..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/AppsApi.http +++ /dev/null @@ -1,331 +0,0 @@ -## AppsApi - -### Add a repository to an app installation -## Add a repository to an app installation -PUT https://api.github.com/user/installations/{{installation_id}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check a token -## Check a token -POST https://api.github.com/applications/{{client_id}}/token -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "access_token" : "e72e16c7e42f292c6912e7710c838347ae178b4a" -} - - -### Create a GitHub App from a manifest -## Create a GitHub App from a manifest -POST https://api.github.com/app-manifests/{{code}}/conversions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create an installation access token for an app -## Create an installation access token for an app -POST https://api.github.com/app/installations/{{installation_id}}/access_tokens -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repositories" : [ "Hello-World" ], - "permissions" : { - "issues" : "write", - "contents" : "read" - } -} - - -### Delete an app authorization -## Delete an app authorization -DELETE https://api.github.com/applications/{{client_id}}/grant -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "access_token" : "e72e16c7e42f292c6912e7710c838347ae178b4a" -} - - -### Delete an installation for the authenticated app -## Delete an installation for the authenticated app -DELETE https://api.github.com/app/installations/{{installation_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an app token -## Delete an app token -DELETE https://api.github.com/applications/{{client_id}}/token -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "access_token" : "e72e16c7e42f292c6912e7710c838347ae178b4a" -} - - -### Get the authenticated app -## Get the authenticated app -GET https://api.github.com/app -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an app -## Get an app -GET https://api.github.com/apps/{{app_slug}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an installation for the authenticated app -## Get an installation for the authenticated app -GET https://api.github.com/app/installations/{{installation_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization installation for the authenticated app -## Get an organization installation for the authenticated app -GET https://api.github.com/orgs/{{org}}/installation -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository installation for the authenticated app -## Get a repository installation for the authenticated app -GET https://api.github.com/repos/{{owner}}/{{repo}}/installation -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a subscription plan for an account -## Get a subscription plan for an account -GET https://api.github.com/marketplace_listing/accounts/{{account_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a subscription plan for an account (stubbed) -## Get a subscription plan for an account (stubbed) -GET https://api.github.com/marketplace_listing/stubbed/accounts/{{account_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a user installation for the authenticated app -## Get a user installation for the authenticated app -GET https://api.github.com/users/{{username}}/installation -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a webhook configuration for an app -## Get a webhook configuration for an app -GET https://api.github.com/app/hook/config -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a delivery for an app webhook -## Get a delivery for an app webhook -GET https://api.github.com/app/hook/deliveries/{{delivery_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List accounts for a plan -## List accounts for a plan -GET https://api.github.com/marketplace_listing/plans/{{plan_id}}/accounts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List accounts for a plan (stubbed) -## List accounts for a plan (stubbed) -GET https://api.github.com/marketplace_listing/stubbed/plans/{{plan_id}}/accounts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories accessible to the user access token -## List repositories accessible to the user access token -GET https://api.github.com/user/installations/{{installation_id}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List installation requests for the authenticated app -## List installation requests for the authenticated app -GET https://api.github.com/app/installation-requests -Cookie:X-API-KEY={{cookieKey}} - - - - -### List installations for the authenticated app -## List installations for the authenticated app -GET https://api.github.com/app/installations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List app installations accessible to the user access token -## List app installations accessible to the user access token -GET https://api.github.com/user/installations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List plans -## List plans -GET https://api.github.com/marketplace_listing/plans -Cookie:X-API-KEY={{cookieKey}} - - - - -### List plans (stubbed) -## List plans (stubbed) -GET https://api.github.com/marketplace_listing/stubbed/plans -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories accessible to the app installation -## List repositories accessible to the app installation -GET https://api.github.com/installation/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List subscriptions for the authenticated user -## List subscriptions for the authenticated user -GET https://api.github.com/user/marketplace_purchases -Cookie:X-API-KEY={{cookieKey}} - - - - -### List subscriptions for the authenticated user (stubbed) -## List subscriptions for the authenticated user (stubbed) -GET https://api.github.com/user/marketplace_purchases/stubbed -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deliveries for an app webhook -## List deliveries for an app webhook -GET https://api.github.com/app/hook/deliveries -Cookie:X-API-KEY={{cookieKey}} - - - - -### Redeliver a delivery for an app webhook -## Redeliver a delivery for an app webhook -POST https://api.github.com/app/hook/deliveries/{{delivery_id}}/attempts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a repository from an app installation -## Remove a repository from an app installation -DELETE https://api.github.com/user/installations/{{installation_id}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Reset a token -## Reset a token -PATCH https://api.github.com/applications/{{client_id}}/token -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "access_token" : "e72e16c7e42f292c6912e7710c838347ae178b4a" -} - - -### Revoke an installation access token -## Revoke an installation access token -DELETE https://api.github.com/installation/token -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a scoped access token -## Create a scoped access token -POST https://api.github.com/applications/{{client_id}}/token/scoped -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "access_token" : "e72e16c7e42f292c6912e7710c838347ae178b4a", - "target" : "octocat", - "permissions" : { - "metadata" : "read", - "issues" : "write", - "contents" : "read" - } -} - - -### Suspend an app installation -## Suspend an app installation -PUT https://api.github.com/app/installations/{{installation_id}}/suspended -Cookie:X-API-KEY={{cookieKey}} - - - - -### Unsuspend an app installation -## Unsuspend an app installation -DELETE https://api.github.com/app/installations/{{installation_id}}/suspended -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a webhook configuration for an app -## Update a webhook configuration for an app -PATCH https://api.github.com/app/hook/config -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content_type" : "json", - "insecure_ssl" : "0", - "secret" : "********", - "url" : "https://example.com/webhook" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/BillingApi.http b/samples/client/github/jetbrains/http/client/Apis/BillingApi.http deleted file mode 100644 index 7fe95ea5e9..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/BillingApi.http +++ /dev/null @@ -1,49 +0,0 @@ -## BillingApi - -### Get GitHub Actions billing for an organization -## Get GitHub Actions billing for an organization -GET https://api.github.com/orgs/{{org}}/settings/billing/actions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Actions billing for a user -## Get GitHub Actions billing for a user -GET https://api.github.com/users/{{username}}/settings/billing/actions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Packages billing for an organization -## Get GitHub Packages billing for an organization -GET https://api.github.com/orgs/{{org}}/settings/billing/packages -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Packages billing for a user -## Get GitHub Packages billing for a user -GET https://api.github.com/users/{{username}}/settings/billing/packages -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get shared storage billing for an organization -## Get shared storage billing for an organization -GET https://api.github.com/orgs/{{org}}/settings/billing/shared-storage -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get shared storage billing for a user -## Get shared storage billing for a user -GET https://api.github.com/users/{{username}}/settings/billing/shared-storage -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/ChecksApi.http b/samples/client/github/jetbrains/http/client/Apis/ChecksApi.http deleted file mode 100644 index 7a8a56428b..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ChecksApi.http +++ /dev/null @@ -1,151 +0,0 @@ -## ChecksApi - -### Create a check run -## Create a check run -POST https://api.github.com/repos/{{owner}}/{{repo}}/check-runs -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "mighty_readme", - "head_sha" : "ce587453ced02b1526dfb4cb910479d431683101", - "status" : "in_progress", - "external_id" : "42", - "started_at" : "2018-05-04T01:14:52Z", - "output" : { - "title" : "Mighty Readme report", - "summary" : "", - "text" : "" - } -} - - -### Create a check suite -## Create a check suite -POST https://api.github.com/repos/{{owner}}/{{repo}}/check-suites -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "head_sha" : "d6fde92930d4715a2b49857d24b940956b26d2d3" -} - - -### Get a check run -## Get a check run -GET https://api.github.com/repos/{{owner}}/{{repo}}/check-runs/{{check_run_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a check suite -## Get a check suite -GET https://api.github.com/repos/{{owner}}/{{repo}}/check-suites/{{check_suite_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List check run annotations -## List check run annotations -GET https://api.github.com/repos/{{owner}}/{{repo}}/check-runs/{{check_run_id}}/annotations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List check runs for a Git reference -## List check runs for a Git reference -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{ref}}/check-runs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List check runs in a check suite -## List check runs in a check suite -GET https://api.github.com/repos/{{owner}}/{{repo}}/check-suites/{{check_suite_id}}/check-runs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List check suites for a Git reference -## List check suites for a Git reference -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{ref}}/check-suites -Cookie:X-API-KEY={{cookieKey}} - - - - -### Rerequest a check run -## Rerequest a check run -POST https://api.github.com/repos/{{owner}}/{{repo}}/check-runs/{{check_run_id}}/rerequest -Cookie:X-API-KEY={{cookieKey}} - - - - -### Rerequest a check suite -## Rerequest a check suite -POST https://api.github.com/repos/{{owner}}/{{repo}}/check-suites/{{check_suite_id}}/rerequest -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update repository preferences for check suites -## Update repository preferences for check suites -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/check-suites/preferences -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "auto_trigger_checks" : [ { - "app_id" : 4, - "setting" : false - } ] -} - - -### Update a check run -## Update a check run -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/check-runs/{{check_run_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "mighty_readme", - "started_at" : "2018-05-04T01:14:52Z", - "status" : "completed", - "conclusion" : "success", - "completed_at" : "2018-05-04T01:14:52Z", - "output" : { - "title" : "Mighty Readme report", - "summary" : "There are 0 failures, 2 warnings, and 1 notices.", - "text" : "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", - "annotations" : [ { - "path" : "README.md", - "annotation_level" : "warning", - "title" : "Spell Checker", - "message" : "Check your spelling for 'banaas'.", - "raw_details" : "Do you mean 'bananas' or 'banana'?", - "start_line" : 2, - "end_line" : 2 - }, { - "path" : "README.md", - "annotation_level" : "warning", - "title" : "Spell Checker", - "message" : "Check your spelling for 'aples'", - "raw_details" : "Do you mean 'apples' or 'Naples'", - "start_line" : 4, - "end_line" : 4 - } ], - "images" : [ { - "alt" : "Super bananas", - "image_url" : "http://example.com/images/42" - } ] - } -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/ClassroomApi.http b/samples/client/github/jetbrains/http/client/Apis/ClassroomApi.http deleted file mode 100644 index 0588d08519..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ClassroomApi.http +++ /dev/null @@ -1,49 +0,0 @@ -## ClassroomApi - -### Get a classroom -## Get a classroom -GET https://api.github.com/classrooms/{{classroom_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an assignment -## Get an assignment -GET https://api.github.com/assignments/{{assignment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get assignment grades -## Get assignment grades -GET https://api.github.com/assignments/{{assignment_id}}/grades -Cookie:X-API-KEY={{cookieKey}} - - - - -### List accepted assignments for an assignment -## List accepted assignments for an assignment -GET https://api.github.com/assignments/{{assignment_id}}/accepted_assignments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List assignments for a classroom -## List assignments for a classroom -GET https://api.github.com/classrooms/{{classroom_id}}/assignments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List classrooms -## List classrooms -GET https://api.github.com/classrooms -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/CodeScanningApi.http b/samples/client/github/jetbrains/http/client/Apis/CodeScanningApi.http deleted file mode 100644 index 3f8845261d..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/CodeScanningApi.http +++ /dev/null @@ -1,126 +0,0 @@ -## CodeScanningApi - -### Delete a code scanning analysis from a repository -## Delete a code scanning analysis from a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/analyses/{{analysis_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a code scanning alert -## Get a code scanning alert -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/alerts/{{alert_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a code scanning analysis for a repository -## Get a code scanning analysis for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/analyses/{{analysis_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a CodeQL database for a repository -## Get a CodeQL database for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/codeql/databases/{{language}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a code scanning default setup configuration -## Get a code scanning default setup configuration -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/default-setup -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get information about a SARIF upload -## Get information about a SARIF upload -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/sarifs/{{sarif_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List instances of a code scanning alert -## List instances of a code scanning alert -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/alerts/{{alert_number}}/instances -Cookie:X-API-KEY={{cookieKey}} - - - - -### List code scanning alerts for an organization -## List code scanning alerts for an organization -GET https://api.github.com/orgs/{{org}}/code-scanning/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List code scanning alerts for a repository -## List code scanning alerts for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List CodeQL databases for a repository -## List CodeQL databases for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/codeql/databases -Cookie:X-API-KEY={{cookieKey}} - - - - -### List code scanning analyses for a repository -## List code scanning analyses for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/analyses -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a code scanning alert -## Update a code scanning alert -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/alerts/{{alert_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "state" : "dismissed", - "dismissed_reason" : "false positive", - "dismissed_comment" : "This alert is not actually correct, because there's a sanitizer included in the library." -} - - -### Update a code scanning default setup configuration -## -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/default-setup -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "state" : "configured" -} - - -### Upload an analysis as SARIF data -## Upload an analysis as SARIF data -POST https://api.github.com/repos/{{owner}}/{{repo}}/code-scanning/sarifs -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "commit_sha" : "4b6472266afd7b471e86085a6659e8c7f2b119da", - "ref" : "refs/heads/master", - "sarif" : "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/CodesOfConductApi.http b/samples/client/github/jetbrains/http/client/Apis/CodesOfConductApi.http deleted file mode 100644 index a4f608a8e7..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/CodesOfConductApi.http +++ /dev/null @@ -1,17 +0,0 @@ -## CodesOfConductApi - -### Get all codes of conduct -## Get all codes of conduct -GET https://api.github.com/codes_of_conduct -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a code of conduct -## Get a code of conduct -GET https://api.github.com/codes_of_conduct/{{key}} -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/CodespacesApi.http b/samples/client/github/jetbrains/http/client/Apis/CodespacesApi.http deleted file mode 100644 index cadc5753b5..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/CodespacesApi.http +++ /dev/null @@ -1,436 +0,0 @@ -## CodespacesApi - -### Add a selected repository to a user secret -## Add a selected repository to a user secret -PUT https://api.github.com/user/codespaces/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Add selected repository to an organization secret -## Add selected repository to an organization secret -PUT https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if permissions defined by a devcontainer have been accepted by the authenticated user -## Check if permissions defined by a devcontainer have been accepted by the authenticated user -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/permissions_check -Cookie:X-API-KEY={{cookieKey}} - - - - -### List machine types for a codespace -## List machine types for a codespace -GET https://api.github.com/user/codespaces/{{codespace_name}}/machines -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a codespace for the authenticated user -## Create a codespace for the authenticated user -POST https://api.github.com/user/codespaces -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repository_id" : 1, - "ref" : "main", - "geo" : "UsWest" -} - - -### Create or update an organization secret -## Create or update an organization secret -PUT https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678", - "visibility" : "selected", - "selected_repository_ids" : [ 1296269, 1296280 ] -} - - -### Create or update a repository secret -## Create or update a repository secret -PUT https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678" -} - - -### Create or update a secret for the authenticated user -## Create or update a secret for the authenticated user -PUT https://api.github.com/user/codespaces/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678", - "selected_repository_ids" : [ "1234567", "2345678" ] -} - - -### Create a codespace from a pull request -## Create a codespace from a pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/codespaces -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repository_id" : 1, - "ref" : "main" -} - - -### Create a codespace in a repository -## Create a codespace in a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/codespaces -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "ref" : "main", - "machine" : "standardLinux32gb" -} - - -### Remove users from Codespaces access for an organization -## Remove users from Codespaces access for an organization -DELETE https://api.github.com/orgs/{{org}}/codespaces/access/selected_users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_usernames" : [ "johnDoe", "atomIO" ] -} - - -### Delete a codespace for the authenticated user -## Delete a codespace for the authenticated user -DELETE https://api.github.com/user/codespaces/{{codespace_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a codespace from the organization -## Delete a codespace from the organization -DELETE https://api.github.com/orgs/{{org}}/members/{{username}}/codespaces/{{codespace_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an organization secret -## Delete an organization secret -DELETE https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository secret -## Delete a repository secret -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a secret for the authenticated user -## Delete a secret for the authenticated user -DELETE https://api.github.com/user/codespaces/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Export a codespace for the authenticated user -## Export a codespace for the authenticated user -POST https://api.github.com/user/codespaces/{{codespace_name}}/exports -Cookie:X-API-KEY={{cookieKey}} - - - - -### List codespaces for a user in organization -## List codespaces for a user in organization -GET https://api.github.com/orgs/{{org}}/members/{{username}}/codespaces -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get details about a codespace export -## Get details about a codespace export -GET https://api.github.com/user/codespaces/{{codespace_name}}/exports/{{export_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a codespace for the authenticated user -## Get a codespace for the authenticated user -GET https://api.github.com/user/codespaces/{{codespace_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization public key -## Get an organization public key -GET https://api.github.com/orgs/{{org}}/codespaces/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization secret -## Get an organization secret -GET https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get public key for the authenticated user -## Get public key for the authenticated user -GET https://api.github.com/user/codespaces/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository public key -## Get a repository public key -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository secret -## Get a repository secret -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a secret for the authenticated user -## Get a secret for the authenticated user -GET https://api.github.com/user/codespaces/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List devcontainer configurations in a repository for the authenticated user -## List devcontainer configurations in a repository for the authenticated user -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/devcontainers -Cookie:X-API-KEY={{cookieKey}} - - - - -### List codespaces for the authenticated user -## List codespaces for the authenticated user -GET https://api.github.com/user/codespaces -Cookie:X-API-KEY={{cookieKey}} - - - - -### List codespaces for the organization -## List codespaces for the organization -GET https://api.github.com/orgs/{{org}}/codespaces -Cookie:X-API-KEY={{cookieKey}} - - - - -### List codespaces in a repository for the authenticated user -## List codespaces in a repository for the authenticated user -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization secrets -## List organization secrets -GET https://api.github.com/orgs/{{org}}/codespaces/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository secrets -## List repository secrets -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List selected repositories for a user secret -## List selected repositories for a user secret -GET https://api.github.com/user/codespaces/secrets/{{secret_name}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List secrets for the authenticated user -## List secrets for the authenticated user -GET https://api.github.com/user/codespaces/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List selected repositories for an organization secret -## List selected repositories for an organization secret -GET https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get default attributes for a codespace -## Get default attributes for a codespace -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/new -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a repository from an unpublished codespace -## Create a repository from an unpublished codespace -POST https://api.github.com/user/codespaces/{{codespace_name}}/publish -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repository" : "monalisa-octocat-hello-world-g4wpq6h95q", - "private" : false -} - - -### Remove a selected repository from a user secret -## Remove a selected repository from a user secret -DELETE https://api.github.com/user/codespaces/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove selected repository from an organization secret -## Remove selected repository from an organization secret -DELETE https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List available machine types for a repository -## List available machine types for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/codespaces/machines -Cookie:X-API-KEY={{cookieKey}} - - - - -### Manage access control for organization codespaces -## Manage access control for organization codespaces -PUT https://api.github.com/orgs/{{org}}/codespaces/access -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "visibility" : "selected_members", - "selected_usernames" : [ "johnDoe", "atomIO" ] -} - - -### Add users to Codespaces access for an organization -## Add users to Codespaces access for an organization -POST https://api.github.com/orgs/{{org}}/codespaces/access/selected_users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_usernames" : [ "johnDoe", "atomIO" ] -} - - -### Set selected repositories for a user secret -## Set selected repositories for a user secret -PUT https://api.github.com/user/codespaces/secrets/{{secret_name}}/repositories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_repository_ids" : [ "1296269", "1296280" ] -} - - -### Set selected repositories for an organization secret -## Set selected repositories for an organization secret -PUT https://api.github.com/orgs/{{org}}/codespaces/secrets/{{secret_name}}/repositories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_repository_ids" : [ 64780797 ] -} - - -### Start a codespace for the authenticated user -## Start a codespace for the authenticated user -POST https://api.github.com/user/codespaces/{{codespace_name}}/start -Cookie:X-API-KEY={{cookieKey}} - - - - -### Stop a codespace for the authenticated user -## Stop a codespace for the authenticated user -POST https://api.github.com/user/codespaces/{{codespace_name}}/stop -Cookie:X-API-KEY={{cookieKey}} - - - - -### Stop a codespace for an organization user -## Stop a codespace for an organization user -POST https://api.github.com/orgs/{{org}}/members/{{username}}/codespaces/{{codespace_name}}/stop -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a codespace for the authenticated user -## Update a codespace for the authenticated user -PATCH https://api.github.com/user/codespaces/{{codespace_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "machine" : "standardLinux" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/CopilotApi.http b/samples/client/github/jetbrains/http/client/Apis/CopilotApi.http deleted file mode 100644 index b680dfa8d3..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/CopilotApi.http +++ /dev/null @@ -1,69 +0,0 @@ -## CopilotApi - -### Add teams to the Copilot subscription for an organization -## Add teams to the Copilot subscription for an organization -POST https://api.github.com/orgs/{{org}}/copilot/billing/selected_teams -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_teams" : [ "engteam1", "engteam2", "engteam3" ] -} - - -### Add users to the Copilot subscription for an organization -## Add users to the Copilot subscription for an organization -POST https://api.github.com/orgs/{{org}}/copilot/billing/selected_users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_usernames" : [ "cooluser1", "hacker2", "octocat" ] -} - - -### Remove teams from the Copilot subscription for an organization -## Remove teams from the Copilot subscription for an organization -DELETE https://api.github.com/orgs/{{org}}/copilot/billing/selected_teams -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_teams" : [ "engteam1", "engteam2", "engteam3" ] -} - - -### Remove users from the Copilot subscription for an organization -## Remove users from the Copilot subscription for an organization -DELETE https://api.github.com/orgs/{{org}}/copilot/billing/selected_users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_usernames" : [ "cooluser1", "hacker2", "octocat" ] -} - - -### Get Copilot seat information and settings for an organization -## Get Copilot seat information and settings for an organization -GET https://api.github.com/orgs/{{org}}/copilot/billing -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get Copilot seat assignment details for a user -## Get Copilot seat assignment details for a user -GET https://api.github.com/orgs/{{org}}/members/{{username}}/copilot -Cookie:X-API-KEY={{cookieKey}} - - - - -### List all Copilot seat assignments for an organization -## List all Copilot seat assignments for an organization -GET https://api.github.com/orgs/{{org}}/copilot/billing/seats -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/DependabotApi.http b/samples/client/github/jetbrains/http/client/Apis/DependabotApi.http deleted file mode 100644 index b52eacbc45..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/DependabotApi.http +++ /dev/null @@ -1,171 +0,0 @@ -## DependabotApi - -### Add selected repository to an organization secret -## Add selected repository to an organization secret -PUT https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create or update an organization secret -## Create or update an organization secret -PUT https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678", - "visibility" : "selected", - "selected_repository_ids" : [ "1296269", "1296280" ] -} - - -### Create or update a repository secret -## Create or update a repository secret -PUT https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/secrets/{{secret_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "encrypted_value" : "c2VjcmV0", - "key_id" : "012345678912345678" -} - - -### Delete an organization secret -## Delete an organization secret -DELETE https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository secret -## Delete a repository secret -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a Dependabot alert -## Get a Dependabot alert -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/alerts/{{alert_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization public key -## Get an organization public key -GET https://api.github.com/orgs/{{org}}/dependabot/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization secret -## Get an organization secret -GET https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository public key -## Get a repository public key -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/secrets/public-key -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository secret -## Get a repository secret -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/secrets/{{secret_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List Dependabot alerts for an enterprise -## List Dependabot alerts for an enterprise -GET https://api.github.com/enterprises/{{enterprise}}/dependabot/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List Dependabot alerts for an organization -## List Dependabot alerts for an organization -GET https://api.github.com/orgs/{{org}}/dependabot/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List Dependabot alerts for a repository -## List Dependabot alerts for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization secrets -## List organization secrets -GET https://api.github.com/orgs/{{org}}/dependabot/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository secrets -## List repository secrets -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/secrets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List selected repositories for an organization secret -## List selected repositories for an organization secret -GET https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove selected repository from an organization secret -## Remove selected repository from an organization secret -DELETE https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}}/repositories/{{repository_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set selected repositories for an organization secret -## Set selected repositories for an organization secret -PUT https://api.github.com/orgs/{{org}}/dependabot/secrets/{{secret_name}}/repositories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "selected_repository_ids" : [ 64780797 ] -} - - -### Update a Dependabot alert -## Update a Dependabot alert -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/dependabot/alerts/{{alert_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "state" : "dismissed", - "dismissed_reason" : "tolerable_risk", - "dismissed_comment" : "This alert is accurate but we use a sanitizer." -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/DependencyGraphApi.http b/samples/client/github/jetbrains/http/client/Apis/DependencyGraphApi.http deleted file mode 100644 index 0f9bee7065..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/DependencyGraphApi.http +++ /dev/null @@ -1,61 +0,0 @@ -## DependencyGraphApi - -### Create a snapshot of dependencies for a repository -## -POST https://api.github.com/repos/{{owner}}/{{repo}}/dependency-graph/snapshots -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "version" : 0, - "sha" : "ce587453ced02b1526dfb4cb910479d431683101", - "ref" : "refs/heads/main", - "job" : { - "correlator" : "yourworkflowname_youractionname", - "id" : "yourrunid" - }, - "detector" : { - "name" : "octo-detector", - "version" : "0.0.1", - "url" : "https://github.com/octo-org/octo-repo" - }, - "scanned" : "2022-06-14T20:25:00Z", - "manifests" : { - "package-lock.json" : { - "name" : "package-lock.json", - "file" : { - "source_location" : "src/package-lock.json" - }, - "resolved" : { - "@actions/core" : { - "package_url" : "pkg:/npm/%40actions/core@1.1.9", - "dependencies" : [ "@actions/http-client" ] - }, - "@actions/http-client" : { - "package_url" : "pkg:/npm/%40actions/http-client@1.0.7", - "dependencies" : [ "tunnel" ] - }, - "tunnel" : { - "package_url" : "pkg:/npm/tunnel@0.0.6" - } - } - } - } -} - - -### Get a diff of the dependencies between commits -## Get a diff of the dependencies between commits -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependency-graph/compare/{{basehead}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Export a software bill of materials (SBOM) for a repository. -## Export a software bill of materials (SBOM) for a repository. -GET https://api.github.com/repos/{{owner}}/{{repo}}/dependency-graph/sbom -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/EmojisApi.http b/samples/client/github/jetbrains/http/client/Apis/EmojisApi.http deleted file mode 100644 index d01cf4f934..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/EmojisApi.http +++ /dev/null @@ -1,9 +0,0 @@ -## EmojisApi - -### Get emojis -## Get emojis -GET https://api.github.com/emojis -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/EnterpriseAdminApi.http b/samples/client/github/jetbrains/http/client/Apis/EnterpriseAdminApi.http deleted file mode 100644 index a87f9ad891..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/EnterpriseAdminApi.http +++ /dev/null @@ -1,1195 +0,0 @@ -## EnterpriseAdminApi - -### Add an authorized SSH key -## Add an authorized SSH key -POST http://HOSTNAME/api/v3/setup/api/settings/authorized-keys -Content-Type: application/x-www-form-urlencoded - - - - -### Add custom labels to a self-hosted runner for an enterprise -## Add custom labels to a self-hosted runner for an enterprise -POST http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}}/labels -Content-Type: application/json - -{ - "labels" : [ "gpu", "accelerated" ] -} - - -### Add organization access to a self-hosted runner group in an enterprise -## Add organization access to a self-hosted runner group in an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/organizations/{{org_id}} - - - - -### Add a self-hosted runner to a group for an enterprise -## Add a self-hosted runner to a group for an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/runners/{{runner_id}} - - - - -### Create a GitHub license -## Create a GitHub license -POST http://HOSTNAME/api/v3/setup/api/start -Content-Type: multipart/form-data - - - - -### Create a global webhook -## Create a global webhook -POST http://HOSTNAME/api/v3/admin/hooks -Content-Type: application/json - -{ - "name" : "web", - "events" : [ "organization", "user" ], - "config" : { - "url" : "https://example.com/webhook", - "content_type" : "json", - "secret" : "secret" - } -} - - -### Create an impersonation OAuth token -## Create an impersonation OAuth token -POST http://HOSTNAME/api/v3/admin/users/{{username}}/authorizations -Content-Type: application/json - -{ - "scopes" : [ "public_repo" ] -} - - -### Create an organization -## Create an organization -POST http://HOSTNAME/api/v3/admin/organizations -Content-Type: application/json - -{ - "login" : "github", - "profile_name" : "GitHub, Inc.", - "admin" : "monalisaoctocat" -} - - -### Create a pre-receive environment -## Create a pre-receive environment -POST http://HOSTNAME/api/v3/admin/pre-receive-environments -Content-Type: application/json - -{ - "name" : "DevTools Hook Env", - "image_url" : "https://my_file_server/path/to/devtools_env.tar.gz" -} - - -### Create a pre-receive hook -## Create a pre-receive hook -POST http://HOSTNAME/api/v3/admin/pre-receive-hooks -Content-Type: application/json - -{ - "name" : "Check Commits", - "script" : "scripts/commit_check.sh", - "enforcement" : "disabled", - "allow_downstream_configuration" : false, - "script_repository" : { - "full_name" : "DevIT/hooks" - }, - "environment" : { - "id" : 2 - } -} - - -### Create a registration token for an enterprise -## Create a registration token for an enterprise -POST http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/registration-token - - - - -### Create a remove token for an enterprise -## Create a remove token for an enterprise -POST http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/remove-token - - - - -### Create a self-hosted runner group for an enterprise -## Create a self-hosted runner group for an enterprise -POST http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups -Content-Type: application/json - -{ - "name" : "Expensive hardware runners", - "visibility" : "selected", - "selected_organization_ids" : [ 32, 91 ], - "runners" : [ 9, 2 ] -} - - -### Create a user -## Create a user -POST http://HOSTNAME/api/v3/admin/users -Content-Type: application/json - -{ - "login" : "monalisa", - "email" : "octocat@github.com" -} - - -### Delete a global webhook -## Delete a global webhook -DELETE http://HOSTNAME/api/v3/admin/hooks/{{hook_id}} - - - - -### Delete an impersonation OAuth token -## Delete an impersonation OAuth token -DELETE http://HOSTNAME/api/v3/admin/users/{{username}}/authorizations - - - - -### Delete a SSH key -## Delete a SSH key -DELETE http://HOSTNAME/api/v3/manage/v1/access/ssh -Content-Type: application/json - -{ - "key" : "ssh-rsa AAAAB3NzaC1yc2EAAAADCIABAAAAgQCY/ZiDDOFWcZnYXPwMbvwQDofXPdHxLfxPK+HWGVPd1DLcDncYBUSB0bmCU2g9Sc+oHKLoHhXp0ivau9h+EpmQJ7V8vqsRdD9pc4aL/WAnUyF4o3Y7xL94rlRpVbVo/tNjzcvqxxyzBiYyy3GciCMpYQh/uKt56B94/5PNyIGEEw==" -} - - -### Delete a personal access token -## Delete a personal access token -DELETE http://HOSTNAME/api/v3/admin/tokens/{{token_id}} - - - - -### Delete a pre-receive environment -## Delete a pre-receive environment -DELETE http://HOSTNAME/api/v3/admin/pre-receive-environments/{{pre_receive_environment_id}} - - - - -### Delete a pre-receive hook -## Delete a pre-receive hook -DELETE http://HOSTNAME/api/v3/admin/pre-receive-hooks/{{pre_receive_hook_id}} - - - - -### Delete a public key -## Delete a public key -DELETE http://HOSTNAME/api/v3/admin/keys/{{key_ids}} - - - - -### Delete a SCIM group from an enterprise -## Delete a SCIM group from an enterprise -DELETE http://HOSTNAME/api/v3/scim/v2/Groups/{{scim_group_id}} - - - - -### Delete a self-hosted runner from an enterprise -## Delete a self-hosted runner from an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}} - - - - -### Delete a self-hosted runner group from an enterprise -## Delete a self-hosted runner group from an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}} - - - - -### Delete a user -## Delete a user -DELETE http://HOSTNAME/api/v3/admin/users/{{username}} - - - - -### Delete a SCIM user from an enterprise -## Delete a SCIM user from an enterprise -DELETE http://HOSTNAME/api/v3/scim/v2/Users/{{scim_user_id}} - - - - -### Demote a site administrator -## Demote a site administrator -DELETE http://HOSTNAME/api/v3/users/{{username}}/site_admin - - - - -### Disable a selected organization for GitHub Actions in an enterprise -## Disable a selected organization for GitHub Actions in an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions/organizations/{{org_id}} - - - - -### Enable or disable maintenance mode -## Enable or disable maintenance mode -POST http://HOSTNAME/api/v3/setup/api/maintenance -Content-Type: application/x-www-form-urlencoded - - - - -### Enable a selected organization for GitHub Actions in an enterprise -## Enable a selected organization for GitHub Actions in an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions/organizations/{{org_id}} - - - - -### Get all authorized SSH keys -## Get all authorized SSH keys -GET http://HOSTNAME/api/v3/setup/api/settings/authorized-keys - - - - -### Get all statistics -## Get all statistics -GET http://HOSTNAME/api/v3/enterprise/stats/all - - - - -### Get allowed actions for an enterprise -## Get allowed actions for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions/selected-actions - - - - -### Get the global announcement banner -## Get the global announcement banner -GET http://HOSTNAME/api/v3/enterprise/announcement - - - - -### Get the audit log for an enterprise -## Get the audit log for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/audit-log - - - - -### Get the system requirement check results for configured cluster nodes -## Get the system requirement check results for configured cluster nodes -GET http://HOSTNAME/api/v3/manage/v1/checks/system-requirements - - - - -### Get comment statistics -## Get comment statistics -GET http://HOSTNAME/api/v3/enterprise/stats/comments - - - - -### Get GHES node metadata for all nodes -## Get GHES node metadata for all nodes -GET http://HOSTNAME/api/v3/manage/v1/config/nodes - - - - -### Get the configuration status -## Get the configuration status -GET http://HOSTNAME/api/v3/setup/api/configcheck - - - - -### Get the download status for a pre-receive environment -## Get the download status for a pre-receive environment -GET http://HOSTNAME/api/v3/admin/pre-receive-environments/{{pre_receive_environment_id}}/downloads/latest - - - - -### Get gist statistics -## Get gist statistics -GET http://HOSTNAME/api/v3/enterprise/stats/gists - - - - -### Get GitHub Actions permissions for an enterprise -## Get GitHub Actions permissions for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions - - - - -### Get a global webhook -## Get a global webhook -GET http://HOSTNAME/api/v3/admin/hooks/{{hook_id}} - - - - -### Get hooks statistics -## Get hooks statistics -GET http://HOSTNAME/api/v3/enterprise/stats/hooks - - - - -### Get issue statistics -## Get issue statistics -GET http://HOSTNAME/api/v3/enterprise/stats/issues - - - - -### Get license information -## Get license information -GET http://HOSTNAME/api/v3/enterprise/settings/license - - - - -### Get the maintenance status -## Get the maintenance status -GET http://HOSTNAME/api/v3/setup/api/maintenance - - - - -### Get the status of maintenance mode -## Get the status of maintenance mode -GET http://HOSTNAME/api/v3/manage/v1/maintenance - - - - -### Get the GHES settings -## Get the GHES settings -GET http://HOSTNAME/api/v3/manage/v1/config/settings - - - - -### Get the configured SSH keys -## Get the configured SSH keys -GET http://HOSTNAME/api/v3/manage/v1/access/ssh - - - - -### Get milestone statistics -## Get milestone statistics -GET http://HOSTNAME/api/v3/enterprise/stats/milestones - - - - -### Get organization statistics -## Get organization statistics -GET http://HOSTNAME/api/v3/enterprise/stats/orgs - - - - -### Get pages statistics -## Get pages statistics -GET http://HOSTNAME/api/v3/enterprise/stats/pages - - - - -### Get a pre-receive environment -## Get a pre-receive environment -GET http://HOSTNAME/api/v3/admin/pre-receive-environments/{{pre_receive_environment_id}} - - - - -### Get a pre-receive hook -## Get a pre-receive hook -GET http://HOSTNAME/api/v3/admin/pre-receive-hooks/{{pre_receive_hook_id}} - - - - -### Get a pre-receive hook for an organization -## Get a pre-receive hook for an organization -GET http://HOSTNAME/api/v3/orgs/{{org}}/pre-receive-hooks/{{pre_receive_hook_id}} - - - - -### Get a pre-receive hook for a repository -## Get a pre-receive hook for a repository -GET http://HOSTNAME/api/v3/repos/{{owner}}/{{repo}}/pre-receive-hooks/{{pre_receive_hook_id}} - - - - -### Get SCIM provisioning information for an enterprise group -## Get SCIM provisioning information for an enterprise group -GET http://HOSTNAME/api/v3/scim/v2/Groups/{{scim_group_id}} - - - - -### Get SCIM provisioning information for an enterprise user -## Get SCIM provisioning information for an enterprise user -GET http://HOSTNAME/api/v3/scim/v2/Users/{{scim_user_id}} - - - - -### Get pull request statistics -## Get pull request statistics -GET http://HOSTNAME/api/v3/enterprise/stats/pulls - - - - -### Get the status of services running on all replica nodes -## Get the status of services running on all replica nodes -GET http://HOSTNAME/api/v3/manage/v1/replication/status - - - - -### Get repository statistics -## Get repository statistics -GET http://HOSTNAME/api/v3/enterprise/stats/repos - - - - -### Get security products statistics -## Get security products statistics -GET http://HOSTNAME/api/v3/enterprise/stats/security-products - - - - -### Get a self-hosted runner for an enterprise -## Get a self-hosted runner for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}} - - - - -### Get a self-hosted runner group for an enterprise -## Get a self-hosted runner group for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}} - - - - -### Get settings -## Get settings -GET http://HOSTNAME/api/v3/setup/api/settings - - - - -### Get users statistics -## Get users statistics -GET http://HOSTNAME/api/v3/enterprise/stats/users - - - - -### Get all GHES release versions for all nodes -## Get all GHES release versions for all nodes -GET http://HOSTNAME/api/v3/manage/v1/version - - - - -### Initialize instance configuration with license upload -## Initialize instance configuration with license upload -POST http://HOSTNAME/api/v3/manage/v1/config/init -Content-Type: multipart/form-data - - - - -### Check a license -## Check a license -GET http://HOSTNAME/api/v3/manage/v1/config/license/check - - - - -### Get the enterprise license information -## Get the enterprise license information -GET http://HOSTNAME/api/v3/manage/v1/config/license - - - - -### Upload an enterprise license -## Upload an enterprise license -PUT http://HOSTNAME/api/v3/manage/v1/config/license -Content-Type: application/octet-stream - - - - -### List global webhooks -## List global webhooks -GET http://HOSTNAME/api/v3/admin/hooks - - - - -### List labels for a self-hosted runner for an enterprise -## List labels for a self-hosted runner for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}}/labels - - - - -### List organization access to a self-hosted runner group in an enterprise -## List organization access to a self-hosted runner group in an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/organizations - - - - -### List personal access tokens -## List personal access tokens -GET http://HOSTNAME/api/v3/admin/tokens - - - - -### List pre-receive environments -## List pre-receive environments -GET http://HOSTNAME/api/v3/admin/pre-receive-environments - - - - -### List pre-receive hooks -## List pre-receive hooks -GET http://HOSTNAME/api/v3/admin/pre-receive-hooks - - - - -### List pre-receive hooks for an organization -## List pre-receive hooks for an organization -GET http://HOSTNAME/api/v3/orgs/{{org}}/pre-receive-hooks - - - - -### List pre-receive hooks for a repository -## List pre-receive hooks for a repository -GET http://HOSTNAME/api/v3/repos/{{owner}}/{{repo}}/pre-receive-hooks - - - - -### List provisioned SCIM groups for an enterprise -## List provisioned SCIM groups for an enterprise -GET http://HOSTNAME/api/v3/scim/v2/Groups - - - - -### List SCIM provisioned identities for an enterprise -## List SCIM provisioned identities for an enterprise -GET http://HOSTNAME/api/v3/scim/v2/Users - - - - -### List public keys -## List public keys -GET http://HOSTNAME/api/v3/admin/keys - - - - -### List runner applications for an enterprise -## List runner applications for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/downloads - - - - -### List selected organizations enabled for GitHub Actions in an enterprise -## List selected organizations enabled for GitHub Actions in an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions/organizations - - - - -### List self-hosted runner groups for an enterprise -## List self-hosted runner groups for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups - - - - -### List self-hosted runners for an enterprise -## List self-hosted runners for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners - - - - -### List self-hosted runners in a group for an enterprise -## List self-hosted runners in a group for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/runners - - - - -### Ping a global webhook -## Ping a global webhook -POST http://HOSTNAME/api/v3/admin/hooks/{{hook_id}}/pings - - - - -### Promote a user to be a site administrator -## Promote a user to be a site administrator -PUT http://HOSTNAME/api/v3/users/{{username}}/site_admin - - - - -### Provision a SCIM enterprise group -## Provision a SCIM enterprise group -POST http://HOSTNAME/api/v3/scim/v2/Groups -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:schemas:core:2.0:Group" ], - "externalId" : "8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159", - "displayName" : "Engineering" -} - - -### Provision a SCIM enterprise user -## User -POST http://HOSTNAME/api/v3/scim/v2/Users -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:schemas:core:2.0:User" ], - "externalId" : "E012345", - "active" : true, - "userName" : "E012345", - "name" : { - "formatted" : "Ms. Mona Lisa Octocat", - "familyName" : "Octocat", - "givenName" : "Mona", - "middleName" : "Lisa" - }, - "displayName" : "Mona Lisa", - "emails" : [ { - "value" : "mlisa@example.com", - "type" : "work", - "primary" : true - } ], - "roles" : [ { - "value" : "User", - "primary" : false - } ] -} - -### Provision a SCIM enterprise user -## Enterprise Owner -POST http://HOSTNAME/api/v3/scim/v2/Users -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:schemas:core:2.0:User" ], - "externalId" : "E012345", - "active" : true, - "userName" : "E012345", - "name" : { - "formatted" : "Ms. Mona Lisa Octocat", - "familyName" : "Octocat", - "givenName" : "Mona", - "middleName" : "Lisa" - }, - "displayName" : "Mona Lisa", - "emails" : [ { - "value" : "mlisa@example.com", - "type" : "work", - "primary" : true - } ], - "roles" : [ { - "value" : "Enterprise Owner", - "primary" : false - } ] -} - - -### Remove all custom labels from a self-hosted runner for an enterprise -## Remove all custom labels from a self-hosted runner for an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}}/labels - - - - -### Remove the global announcement banner -## Remove the global announcement banner -DELETE http://HOSTNAME/api/v3/enterprise/announcement - - - - -### Remove an authorized SSH key -## Remove an authorized SSH key -DELETE http://HOSTNAME/api/v3/setup/api/settings/authorized-keys -Content-Type: application/x-www-form-urlencoded - - - - -### Remove a custom label from a self-hosted runner for an enterprise -## Remove a custom label from a self-hosted runner for an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}}/labels/{{name}} - - - - -### Remove organization access to a self-hosted runner group in an enterprise -## Remove organization access to a self-hosted runner group in an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/organizations/{{org_id}} - - - - -### Remove pre-receive hook enforcement for an organization -## Remove pre-receive hook enforcement for an organization -DELETE http://HOSTNAME/api/v3/orgs/{{org}}/pre-receive-hooks/{{pre_receive_hook_id}} - - - - -### Remove pre-receive hook enforcement for a repository -## Remove pre-receive hook enforcement for a repository -DELETE http://HOSTNAME/api/v3/repos/{{owner}}/{{repo}}/pre-receive-hooks/{{pre_receive_hook_id}} - - - - -### Remove a self-hosted runner from a group for an enterprise -## Remove a self-hosted runner from a group for an enterprise -DELETE http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/runners/{{runner_id}} - - - - -### Set allowed actions for an enterprise -## -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions/selected-actions -Content-Type: application/json - -{ - "github_owned_allowed" : true, - "verified_allowed" : false, - "patterns_allowed" : [ "monalisa/octocat@*", "docker/*" ] -} - - -### Set the global announcement banner -## Set the global announcement banner -PATCH http://HOSTNAME/api/v3/enterprise/announcement -Content-Type: application/json - -{ - "announcement" : "Very **important** announcement about _something_.", - "expires_at" : "2021-01-01T00:00:00.000+00:00" -} - - -### Set custom labels for a self-hosted runner for an enterprise -## Set custom labels for a self-hosted runner for an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runners/{{runner_id}}/labels -Content-Type: application/json - -{ - "labels" : [ "gpu", "accelerated" ] -} - - -### Set GitHub Actions permissions for an enterprise -## Set GitHub Actions permissions for an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions -Content-Type: application/json - -{ - "enabled_organizations" : "all", - "allowed_actions" : "selected" -} - - -### Set SCIM information for a provisioned enterprise group -## Set SCIM information for a provisioned enterprise group -PUT http://HOSTNAME/api/v3/scim/v2/Groups/{{scim_group_id}} -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:schemas:core:2.0:Group" ], - "externalId" : "8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159", - "displayName" : "Engineering" -} - - -### Set SCIM information for a provisioned enterprise user -## User -PUT http://HOSTNAME/api/v3/scim/v2/Users/{{scim_user_id}} -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:schemas:core:2.0:User" ], - "externalId" : "E012345", - "active" : true, - "userName" : "E012345", - "name" : { - "formatted" : "Ms. Mona Lisa Octocat", - "familyName" : "Octocat", - "givenName" : "Mona", - "middleName" : "Lisa" - }, - "displayName" : "Mona Lisa", - "emails" : [ { - "value" : "mlisa@example.com", - "type" : "work", - "primary" : true - } ], - "roles" : [ { - "value" : "User", - "primary" : false - } ] -} - - -### Set the status of maintenance mode -## Set the status of maintenance mode -POST http://HOSTNAME/api/v3/manage/v1/maintenance -Content-Type: application/json - -{ - "enabled" : true, - "when" : "2006-01-02T15:04:05+00:00", - "ip_exception_list" : [ "192.168.1.0/24", "1.1.1.1" ] -} - - -### Set settings -## Set settings -PUT http://HOSTNAME/api/v3/manage/v1/config/settings -Content-Type: application/json - -{ - "public_pages" : true -} - - -### Set a new SSH key -## Set a new SSH key -POST http://HOSTNAME/api/v3/manage/v1/access/ssh -Content-Type: application/json - -{ - "key" : "ssh-rsa AAAAB3NzaC1yc2EAAAADCIABAAAAgQCY/ZiDDOFWcZnYXPwMbvwQDofXPdHxLfxPK+HWGVPd1DLcDncYBUSB0bmCU2g9Sc+oHKLoHhXp0ivau9h+EpmQJ7V8vqsRdD9pc4aL/WAnUyF4o3Y7xL94rlRpVbVo/tNjzcvqxxyzBiYyy3GciCMpYQh/uKt56B94/5PNyIGEEw==" -} - - -### Set organization access for a self-hosted runner group in an enterprise -## Set organization access for a self-hosted runner group in an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/organizations -Content-Type: application/json - -{ - "selected_organization_ids" : [ 32, 91 ] -} - - -### Set selected organizations enabled for GitHub Actions in an enterprise -## Set selected organizations enabled for GitHub Actions in an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/permissions/organizations -Content-Type: application/json - -{ - "selected_organization_ids" : [ 32, 91 ] -} - - -### Set self-hosted runners in a group for an enterprise -## Set self-hosted runners in a group for an enterprise -PUT http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}}/runners -Content-Type: application/json - -{ - "runners" : [ 9, 2 ] -} - - -### Set settings -## Set settings -PUT http://HOSTNAME/api/v3/setup/api/settings -Content-Type: application/x-www-form-urlencoded - - - - -### Start a configuration process -## Start a configuration process -POST http://HOSTNAME/api/v3/setup/api/configure - - - - -### Start a pre-receive environment download -## Start a pre-receive environment download -POST http://HOSTNAME/api/v3/admin/pre-receive-environments/{{pre_receive_environment_id}}/downloads - - - - -### Suspend a user -## Suspend a user -PUT http://HOSTNAME/api/v3/users/{{username}}/suspended -Content-Type: application/json - -{ - "reason" : "Suspended during leave of absence." -} - - -### Sync LDAP mapping for a team -## Sync LDAP mapping for a team -POST http://HOSTNAME/api/v3/admin/ldap/teams/{{team_id}}/sync - - - - -### Sync LDAP mapping for a user -## Sync LDAP mapping for a user -POST http://HOSTNAME/api/v3/admin/ldap/users/{{username}}/sync - - - - -### Unsuspend a user -## Unsuspend a user -DELETE http://HOSTNAME/api/v3/users/{{username}}/suspended -Content-Type: application/json - -{ - "reason" : "Unsuspended after leave of absence." -} - - -### Update an attribute for a SCIM enterprise group -## Update an attribute for a SCIM enterprise group -PATCH http://HOSTNAME/api/v3/scim/v2/Groups/{{scim_group_id}} -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], - "Operations" : [ { - "op" : "replace", - "path" : "displayName", - "value" : "Employees" - } ] -} - - -### Update an attribute for a SCIM enterprise user -## Update an attribute for a SCIM enterprise user -PATCH http://HOSTNAME/api/v3/scim/v2/Users/{{scim_user_id}} -Content-Type: application/json - -{ - "schemas" : [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], - "Operations" : [ { - "op" : "replace", - "path" : "emails[type eq 'work'].value", - "value" : "updatedEmail@microsoft.com" - }, { - "op" : "replace", - "path" : "name.familyName", - "value" : "updatedFamilyName" - } ] -} - - -### Update a global webhook -## Update a global webhook -PATCH http://HOSTNAME/api/v3/admin/hooks/{{hook_id}} -Content-Type: application/json - -{ - "events" : [ "organization" ], - "config" : { - "url" : "https://example.com/webhook" - } -} - - -### Update LDAP mapping for a team -## Update LDAP mapping for a team -PATCH http://HOSTNAME/api/v3/admin/ldap/teams/{{team_id}}/mapping -Content-Type: application/json - -{ - "ldap_dn" : "cn=Enterprise Ops,ou=teams,dc=github,dc=com" -} - - -### Update LDAP mapping for a user -## Update LDAP mapping for a user -PATCH http://HOSTNAME/api/v3/admin/ldap/users/{{username}}/mapping -Content-Type: application/json - -{ - "ldap_dn" : "uid=asdf,ou=users,dc=github,dc=com" -} - - -### Update an organization name -## Update an organization name -PATCH http://HOSTNAME/api/v3/admin/organizations/{{org}} -Content-Type: application/json - -{ - "login" : "the-new-octocats" -} - - -### Update a pre-receive environment -## Update a pre-receive environment -PATCH http://HOSTNAME/api/v3/admin/pre-receive-environments/{{pre_receive_environment_id}} -Content-Type: application/json - -{ - "name" : "DevTools Hook Env", - "image_url" : "https://my_file_server/path/to/devtools_env.tar.gz" -} - - -### Update a pre-receive hook -## Update a pre-receive hook -PATCH http://HOSTNAME/api/v3/admin/pre-receive-hooks/{{pre_receive_hook_id}} -Content-Type: application/json - -{ - "name" : "Check Commits", - "environment" : { - "id" : 1 - }, - "allow_downstream_configuration" : true -} - - -### Update pre-receive hook enforcement for an organization -## Update pre-receive hook enforcement for an organization -PATCH http://HOSTNAME/api/v3/orgs/{{org}}/pre-receive-hooks/{{pre_receive_hook_id}} -Content-Type: application/json - -{ - "enforcement" : "enabled", - "allow_downstream_configuration" : false -} - - -### Update pre-receive hook enforcement for a repository -## Update pre-receive hook enforcement for a repository -PATCH http://HOSTNAME/api/v3/repos/{{owner}}/{{repo}}/pre-receive-hooks/{{pre_receive_hook_id}} -Content-Type: application/json - -{ - "enforcement" : "enabled" -} - - -### Update a self-hosted runner group for an enterprise -## Update a self-hosted runner group for an enterprise -PATCH http://HOSTNAME/api/v3/enterprises/{{enterprise}}/actions/runner-groups/{{runner_group_id}} -Content-Type: application/json - -{ - "name" : "Expensive hardware runners", - "visibility" : "selected" -} - - -### Update the username for a user -## Update the username for a user -PATCH http://HOSTNAME/api/v3/admin/users/{{username}} -Content-Type: application/json - -{ - "login" : "thenewmonalisa" -} - - -### Upgrade a license -## Upgrade a license -POST http://HOSTNAME/api/v3/setup/api/upgrade -Content-Type: multipart/form-data - - - - -### Get code security and analysis features for an enterprise -## Get code security and analysis features for an enterprise -GET http://HOSTNAME/api/v3/enterprises/{{enterprise}}/code_security_and_analysis - - - - -### Update code security and analysis features for an enterprise -## Update code security and analysis features for an enterprise -PATCH http://HOSTNAME/api/v3/enterprises/{{enterprise}}/code_security_and_analysis -Content-Type: application/json - -{ - "advanced_security_enabled_for_new_repositories" : true, - "advanced_security_enabled_new_user_namespace_repos" : true, - "dependabot_alerts_enabled_for_new_repositories" : true, - "secret_scanning_enabled_for_new_repositories" : true, - "secret_scanning_push_protection_enabled_for_new_repositories" : true, - "secret_scanning_push_protection_custom_link" : "https://github.com/test-org/test-repo/blob/main/README.md" -} - - -### Enable or disable a security feature -## Enable or disable a security feature -POST http://HOSTNAME/api/v3/enterprises/{{enterprise}}/{{security_product}}/{{enablement}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/GistsApi.http b/samples/client/github/jetbrains/http/client/Apis/GistsApi.http deleted file mode 100644 index 80378bb2f8..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/GistsApi.http +++ /dev/null @@ -1,184 +0,0 @@ -## GistsApi - -### Check if a gist is starred -## Check if a gist is starred -GET https://api.github.com/gists/{{gist_id}}/star -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a gist -## Create a gist -POST https://api.github.com/gists -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "description" : "Example of a gist", - "public" : false, - "files" : { - "README.md" : { - "content" : "Hello World" - } - } -} - - -### Create a gist comment -## Create a gist comment -POST https://api.github.com/gists/{{gist_id}}/comments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "This is a comment to a gist" -} - - -### Delete a gist -## Delete a gist -DELETE https://api.github.com/gists/{{gist_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a gist comment -## Delete a gist comment -DELETE https://api.github.com/gists/{{gist_id}}/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Fork a gist -## Fork a gist -POST https://api.github.com/gists/{{gist_id}}/forks -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a gist -## Get a gist -GET https://api.github.com/gists/{{gist_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a gist comment -## Get a gist comment -GET https://api.github.com/gists/{{gist_id}}/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a gist revision -## Get a gist revision -GET https://api.github.com/gists/{{gist_id}}/{{sha}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List gists for the authenticated user -## List gists for the authenticated user -GET https://api.github.com/gists -Cookie:X-API-KEY={{cookieKey}} - - - - -### List gist comments -## List gist comments -GET https://api.github.com/gists/{{gist_id}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List gist commits -## List gist commits -GET https://api.github.com/gists/{{gist_id}}/commits -Cookie:X-API-KEY={{cookieKey}} - - - - -### List gists for a user -## List gists for a user -GET https://api.github.com/users/{{username}}/gists -Cookie:X-API-KEY={{cookieKey}} - - - - -### List gist forks -## List gist forks -GET https://api.github.com/gists/{{gist_id}}/forks -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public gists -## List public gists -GET https://api.github.com/gists/public -Cookie:X-API-KEY={{cookieKey}} - - - - -### List starred gists -## List starred gists -GET https://api.github.com/gists/starred -Cookie:X-API-KEY={{cookieKey}} - - - - -### Star a gist -## Star a gist -PUT https://api.github.com/gists/{{gist_id}}/star -Cookie:X-API-KEY={{cookieKey}} - - - - -### Unstar a gist -## Unstar a gist -DELETE https://api.github.com/gists/{{gist_id}}/star -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a gist -## Update a gist -PATCH https://api.github.com/gists/{{gist_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "description" : "An updated gist description", - "files" : { - "README.md" : { - "content" : "Hello World from GitHub" - } - } -} - - -### Update a gist comment -## Update a gist comment -PATCH https://api.github.com/gists/{{gist_id}}/comments/{{comment_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "This is an update to a comment in a gist" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/GitApi.http b/samples/client/github/jetbrains/http/client/Apis/GitApi.http deleted file mode 100644 index 004c269d6d..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/GitApi.http +++ /dev/null @@ -1,148 +0,0 @@ -## GitApi - -### Create a blob -## Create a blob -POST https://api.github.com/repos/{{owner}}/{{repo}}/git/blobs -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "Content of the blob", - "encoding" : "utf-8" -} - - -### Create a commit -## Create a commit -POST https://api.github.com/repos/{{owner}}/{{repo}}/git/commits -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "message" : "my commit message", - "author" : { - "name" : "Mona Octocat", - "email" : "octocat@github.com", - "date" : "2008-07-09T16:13:30+12:00" - }, - "parents" : [ "7d1b31e74ee336d15cbd21741bc88a537ed063a0" ], - "tree" : "827efc6d56897b048c772eb4087f854f46256132", - "signature" : "-----BEGIN PGP SIGNATURE-----\n\niQIzBAABAQAdFiEESn/54jMNIrGSE6Tp6cQjvhfv7nAFAlnT71cACgkQ6cQjvhfv\n7nCWwA//XVqBKWO0zF+bZl6pggvky3Oc2j1pNFuRWZ29LXpNuD5WUGXGG209B0hI\nDkmcGk19ZKUTnEUJV2Xd0R7AW01S/YSub7OYcgBkI7qUE13FVHN5ln1KvH2all2n\n2+JCV1HcJLEoTjqIFZSSu/sMdhkLQ9/NsmMAzpf/iIM0nQOyU4YRex9eD1bYj6nA\nOQPIDdAuaTQj1gFPHYLzM4zJnCqGdRlg0sOM/zC5apBNzIwlgREatOYQSCfCKV7k\nnrU34X8b9BzQaUx48Qa+Dmfn5KQ8dl27RNeWAqlkuWyv3pUauH9UeYW+KyuJeMkU\n+NyHgAsWFaCFl23kCHThbLStMZOYEnGagrd0hnm1TPS4GJkV4wfYMwnI4KuSlHKB\njHl3Js9vNzEUQipQJbgCgTiWvRJoK3ENwBTMVkKHaqT4x9U4Jk/XZB6Q8MA09ezJ\n3QgiTjTAGcum9E9QiJqMYdWQPWkaBIRRz5cET6HPB48YNXAAUsfmuYsGrnVLYbG+\nUpC6I97VybYHTy2O9XSGoaLeMI9CsFn38ycAxxbWagk5mhclNTP5mezIq6wKSwmr\nX11FW3n1J23fWZn5HJMBsRnUCgzqzX3871IqLYHqRJ/bpZ4h20RhTyPj5c/z7QXp\neSakNQMfbbMcljkha+ZMuVQX1K9aRlVqbmv3ZMWh+OijLYVU2bc=\n=5Io4\n-----END PGP SIGNATURE-----\n" -} - - -### Create a reference -## Create a reference -POST https://api.github.com/repos/{{owner}}/{{repo}}/git/refs -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "ref" : "refs/heads/featureA", - "sha" : "aa218f56b14c9653891f9e74264a383fa43fefbd" -} - - -### Create a tag object -## Create a tag object -POST https://api.github.com/repos/{{owner}}/{{repo}}/git/tags -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "tag" : "v0.0.1", - "message" : "initial version", - "object" : "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c", - "type" : "commit", - "tagger" : { - "name" : "Monalisa Octocat", - "email" : "octocat@github.com", - "date" : "2011-06-17T14:53:35-07:00" - } -} - - -### Create a tree -## Create a tree -POST https://api.github.com/repos/{{owner}}/{{repo}}/git/trees -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "base_tree" : "9fb037999f264ba9a7fc6274d15fa3ae2ab98312", - "tree" : [ { - "path" : "file.rb", - "mode" : "100644", - "type" : "blob", - "sha" : "44b4fc6d56897b048c772eb4087f854f46256132" - } ] -} - - -### Delete a reference -## Delete a reference -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/git/refs/{{ref}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a blob -## Get a blob -GET https://api.github.com/repos/{{owner}}/{{repo}}/git/blobs/{{file_sha}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a commit object -## Get a commit object -GET https://api.github.com/repos/{{owner}}/{{repo}}/git/commits/{{commit_sha}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a reference -## Get a reference -GET https://api.github.com/repos/{{owner}}/{{repo}}/git/ref/{{ref}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a tag -## Get a tag -GET https://api.github.com/repos/{{owner}}/{{repo}}/git/tags/{{tag_sha}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a tree -## Get a tree -GET https://api.github.com/repos/{{owner}}/{{repo}}/git/trees/{{tree_sha}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List matching references -## List matching references -GET https://api.github.com/repos/{{owner}}/{{repo}}/git/matching-refs/{{ref}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a reference -## Update a reference -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/git/refs/{{ref}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "sha" : "aa218f56b14c9653891f9e74264a383fa43fefbd", - "force" : true -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/GitignoreApi.http b/samples/client/github/jetbrains/http/client/Apis/GitignoreApi.http deleted file mode 100644 index ea17a7bb14..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/GitignoreApi.http +++ /dev/null @@ -1,17 +0,0 @@ -## GitignoreApi - -### Get all gitignore templates -## Get all gitignore templates -GET https://api.github.com/gitignore/templates -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a gitignore template -## Get a gitignore template -GET https://api.github.com/gitignore/templates/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/InteractionsApi.http b/samples/client/github/jetbrains/http/client/Apis/InteractionsApi.http deleted file mode 100644 index 922cfea9ac..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/InteractionsApi.http +++ /dev/null @@ -1,85 +0,0 @@ -## InteractionsApi - -### Get interaction restrictions for your public repositories -## Get interaction restrictions for your public repositories -GET https://api.github.com/user/interaction-limits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get interaction restrictions for an organization -## Get interaction restrictions for an organization -GET https://api.github.com/orgs/{{org}}/interaction-limits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get interaction restrictions for a repository -## Get interaction restrictions for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/interaction-limits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove interaction restrictions from your public repositories -## Remove interaction restrictions from your public repositories -DELETE https://api.github.com/user/interaction-limits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove interaction restrictions for an organization -## Remove interaction restrictions for an organization -DELETE https://api.github.com/orgs/{{org}}/interaction-limits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove interaction restrictions for a repository -## Remove interaction restrictions for a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/interaction-limits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set interaction restrictions for your public repositories -## Set interaction restrictions for your public repositories -PUT https://api.github.com/user/interaction-limits -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "limit" : "collaborators_only", - "expiry" : "one_month" -} - - -### Set interaction restrictions for an organization -## Set interaction restrictions for an organization -PUT https://api.github.com/orgs/{{org}}/interaction-limits -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "limit" : "collaborators_only", - "expiry" : "one_month" -} - - -### Set interaction restrictions for a repository -## Set interaction restrictions for a repository -PUT https://api.github.com/repos/{{owner}}/{{repo}}/interaction-limits -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "limit" : "collaborators_only", - "expiry" : "one_day" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/IssuesApi.http b/samples/client/github/jetbrains/http/client/Apis/IssuesApi.http deleted file mode 100644 index bb2aca7654..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/IssuesApi.http +++ /dev/null @@ -1,379 +0,0 @@ -## IssuesApi - -### Add assignees to an issue -## Add assignees to an issue -POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/assignees -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "assignees" : [ "hubot", "other_user" ] -} - - -### Add labels to an issue -## Add labels to an issue -POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "labels" : [ "bug", "enhancement" ] -} - - -### Check if a user can be assigned -## Check if a user can be assigned -GET https://api.github.com/repos/{{owner}}/{{repo}}/assignees/{{assignee}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if a user can be assigned to a issue -## Check if a user can be assigned to a issue -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/assignees/{{assignee}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create an issue -## Create an issue -POST https://api.github.com/repos/{{owner}}/{{repo}}/issues -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Found a bug", - "body" : "I'm having a problem with this.", - "assignees" : [ "octocat" ], - "milestone" : 1, - "labels" : [ "bug" ] -} - - -### Create an issue comment -## Create an issue comment -POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/comments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Me too" -} - - -### Create a label -## Create a label -POST https://api.github.com/repos/{{owner}}/{{repo}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "bug", - "description" : "Something isn't working", - "color" : "f29513" -} - - -### Create a milestone -## Create a milestone -POST https://api.github.com/repos/{{owner}}/{{repo}}/milestones -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "v1.0", - "state" : "open", - "description" : "Tracking milestone for version 1.0", - "due_on" : "2012-10-09T23:39:01Z" -} - - -### Delete an issue comment -## Delete an issue comment -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a label -## Delete a label -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/labels/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a milestone -## Delete a milestone -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/milestones/{{milestone_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an issue -## Get an issue -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an issue comment -## Get an issue comment -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an issue event -## Get an issue event -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/events/{{event_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a label -## Get a label -GET https://api.github.com/repos/{{owner}}/{{repo}}/labels/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a milestone -## Get a milestone -GET https://api.github.com/repos/{{owner}}/{{repo}}/milestones/{{milestone_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List issues assigned to the authenticated user -## List issues assigned to the authenticated user -GET https://api.github.com/issues -Cookie:X-API-KEY={{cookieKey}} - - - - -### List assignees -## List assignees -GET https://api.github.com/repos/{{owner}}/{{repo}}/assignees -Cookie:X-API-KEY={{cookieKey}} - - - - -### List issue comments -## List issue comments -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List issue comments for a repository -## List issue comments for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List issue events -## List issue events -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List issue events for a repository -## List issue events for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/events -Cookie:X-API-KEY={{cookieKey}} - - - - -### List timeline events for an issue -## List timeline events for an issue -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/timeline -Cookie:X-API-KEY={{cookieKey}} - - - - -### List user account issues assigned to the authenticated user -## List user account issues assigned to the authenticated user -GET https://api.github.com/user/issues -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization issues assigned to the authenticated user -## List organization issues assigned to the authenticated user -GET https://api.github.com/orgs/{{org}}/issues -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository issues -## List repository issues -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues -Cookie:X-API-KEY={{cookieKey}} - - - - -### List labels for issues in a milestone -## List labels for issues in a milestone -GET https://api.github.com/repos/{{owner}}/{{repo}}/milestones/{{milestone_number}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### List labels for a repository -## List labels for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### List labels for an issue -## List labels for an issue -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### List milestones -## List milestones -GET https://api.github.com/repos/{{owner}}/{{repo}}/milestones -Cookie:X-API-KEY={{cookieKey}} - - - - -### Lock an issue -## Lock an issue -PUT https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/lock -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "lock_reason" : "off-topic" -} - - -### Remove all labels from an issue -## Remove all labels from an issue -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove assignees from an issue -## Remove assignees from an issue -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/assignees -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "assignees" : [ "hubot", "other_user" ] -} - - -### Remove a label from an issue -## Remove a label from an issue -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/labels/{{name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set labels for an issue -## Set labels for an issue -PUT https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/labels -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "labels" : [ "bug", "enhancement" ] -} - - -### Unlock an issue -## Unlock an issue -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/lock -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update an issue -## Update an issue -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Found a bug", - "body" : "I'm having a problem with this.", - "assignees" : [ "octocat" ], - "milestone" : 1, - "state" : "open", - "labels" : [ "bug" ] -} - - -### Update an issue comment -## Update an issue comment -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Me too" -} - - -### Update a label -## Update a label -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/labels/{{name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "new_name" : "bug :bug:", - "description" : "Small bug fix required", - "color" : "b01f26" -} - - -### Update a milestone -## Update a milestone -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/milestones/{{milestone_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "v1.0", - "state" : "open", - "description" : "Tracking milestone for version 1.0", - "due_on" : "2012-10-09T23:39:01Z" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/LicensesApi.http b/samples/client/github/jetbrains/http/client/Apis/LicensesApi.http deleted file mode 100644 index 952eaf1aa2..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/LicensesApi.http +++ /dev/null @@ -1,25 +0,0 @@ -## LicensesApi - -### Get a license -## Get a license -GET https://api.github.com/licenses/{{license}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all commonly used licenses -## Get all commonly used licenses -GET https://api.github.com/licenses -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the license for a repository -## Get the license for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/license -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/MarkdownApi.http b/samples/client/github/jetbrains/http/client/Apis/MarkdownApi.http deleted file mode 100644 index 1c1759f546..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/MarkdownApi.http +++ /dev/null @@ -1,24 +0,0 @@ -## MarkdownApi - -### Render a Markdown document -## Render a Markdown document -POST https://api.github.com/markdown -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "text" : "Hello **world**" -} - - -### Render a Markdown document in raw mode -## Render a Markdown document in raw mode -POST https://api.github.com/markdown/raw -Content-Type: text/plain -Content-Type: text/x-markdown -Cookie:X-API-KEY={{cookieKey}} - -{ - "text" : "Hello **world**" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/MetaApi.http b/samples/client/github/jetbrains/http/client/Apis/MetaApi.http deleted file mode 100644 index 42d0c7c975..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/MetaApi.http +++ /dev/null @@ -1,41 +0,0 @@ -## MetaApi - -### Get GitHub meta information -## Get GitHub meta information -GET https://api.github.com/meta -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all API versions -## Get all API versions -GET https://api.github.com/versions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get Octocat -## Get Octocat -GET https://api.github.com/octocat -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the Zen of GitHub -## Get the Zen of GitHub -GET https://api.github.com/zen -Cookie:X-API-KEY={{cookieKey}} - - - - -### GitHub API Root -## GitHub API Root -GET https://api.github.com/ -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/MigrationsApi.http b/samples/client/github/jetbrains/http/client/Apis/MigrationsApi.http deleted file mode 100644 index 8e0d7b22b1..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/MigrationsApi.http +++ /dev/null @@ -1,202 +0,0 @@ -## MigrationsApi - -### Cancel an import -## Cancel an import -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/import -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a user migration archive -## Delete a user migration archive -DELETE https://api.github.com/user/migrations/{{migration_id}}/archive -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an organization migration archive -## Delete an organization migration archive -DELETE https://api.github.com/orgs/{{org}}/migrations/{{migration_id}}/archive -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download an organization migration archive -## Download an organization migration archive -GET https://api.github.com/orgs/{{org}}/migrations/{{migration_id}}/archive -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download a user migration archive -## Download a user migration archive -GET https://api.github.com/user/migrations/{{migration_id}}/archive -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get commit authors -## Get commit authors -GET https://api.github.com/repos/{{owner}}/{{repo}}/import/authors -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an import status -## Get an import status -GET https://api.github.com/repos/{{owner}}/{{repo}}/import -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get large files -## Get large files -GET https://api.github.com/repos/{{owner}}/{{repo}}/import/large_files -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a user migration status -## Get a user migration status -GET https://api.github.com/user/migrations/{{migration_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization migration status -## Get an organization migration status -GET https://api.github.com/orgs/{{org}}/migrations/{{migration_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List user migrations -## List user migrations -GET https://api.github.com/user/migrations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization migrations -## List organization migrations -GET https://api.github.com/orgs/{{org}}/migrations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories for a user migration -## List repositories for a user migration -GET https://api.github.com/user/migrations/{{migration_id}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories in an organization migration -## List repositories in an organization migration -GET https://api.github.com/orgs/{{org}}/migrations/{{migration_id}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### Map a commit author -## Map a commit author -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/import/authors/{{author_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "email" : "hubot@github.com", - "name" : "Hubot the Robot" -} - - -### Update Git LFS preference -## Update Git LFS preference -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/import/lfs -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "use_lfs" : "opt_in" -} - - -### Start a user migration -## Start a user migration -POST https://api.github.com/user/migrations -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repositories" : [ "octocat/Hello-World" ], - "lock_repositories" : true -} - - -### Start an organization migration -## Start an organization migration -POST https://api.github.com/orgs/{{org}}/migrations -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repositories" : [ "github/Hello-World" ], - "lock_repositories" : true -} - - -### Start an import -## Start an import -PUT https://api.github.com/repos/{{owner}}/{{repo}}/import -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "vcs" : "subversion", - "vcs_url" : "http://svn.mycompany.com/svn/myproject", - "vcs_username" : "octocat", - "vcs_password" : "secret" -} - - -### Unlock a user repository -## Unlock a user repository -DELETE https://api.github.com/user/migrations/{{migration_id}}/repos/{{repo_name}}/lock -Cookie:X-API-KEY={{cookieKey}} - - - - -### Unlock an organization repository -## Unlock an organization repository -DELETE https://api.github.com/orgs/{{org}}/migrations/{{migration_id}}/repos/{{repo_name}}/lock -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update an import -## Update an import -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/import -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "vcs_username" : "octocat", - "vcs_password" : "secret" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/OauthAuthorizationsApi.http b/samples/client/github/jetbrains/http/client/Apis/OauthAuthorizationsApi.http deleted file mode 100644 index 776145e156..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/OauthAuthorizationsApi.http +++ /dev/null @@ -1,95 +0,0 @@ -## OauthAuthorizationsApi - -### Create a new authorization -## Create a new authorization -POST http://HOSTNAME/api/v3/authorizations -Content-Type: application/json - -{ - "scopes" : [ "public_repo" ], - "note" : "optional note", - "note_url" : "http://optional/note/url", - "client_id" : "abcde12345fghij67890", - "client_secret" : "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f" -} - - -### Delete an authorization -## Delete an authorization -DELETE http://HOSTNAME/api/v3/authorizations/{{authorization_id}} - - - - -### Delete a grant -## Delete a grant -DELETE http://HOSTNAME/api/v3/applications/grants/{{grant_id}} - - - - -### Get a single authorization -## Get a single authorization -GET http://HOSTNAME/api/v3/authorizations/{{authorization_id}} - - - - -### Get a single grant -## Get a single grant -GET http://HOSTNAME/api/v3/applications/grants/{{grant_id}} - - - - -### Get-or-create an authorization for a specific app -## Get-or-create an authorization for a specific app -PUT http://HOSTNAME/api/v3/authorizations/clients/{{client_id}} -Content-Type: application/json - -{ - "client_secret" : "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f", - "scopes" : [ "public_repo" ], - "note" : "optional note", - "note_url" : "http://optional/note/url" -} - - -### Get-or-create an authorization for a specific app and fingerprint -## Get-or-create an authorization for a specific app and fingerprint -PUT http://HOSTNAME/api/v3/authorizations/clients/{{client_id}}/{{fingerprint}} -Content-Type: application/json - -{ - "client_secret" : "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f", - "scopes" : [ "public_repo" ], - "note" : "optional note", - "note_url" : "http://optional/note/url" -} - - -### List your authorizations -## List your authorizations -GET http://HOSTNAME/api/v3/authorizations - - - - -### List your grants -## List your grants -GET http://HOSTNAME/api/v3/applications/grants - - - - -### Update an existing authorization -## Update an existing authorization -PATCH http://HOSTNAME/api/v3/authorizations/{{authorization_id}} -Content-Type: application/json - -{ - "add_scopes" : [ "public_repo" ], - "remove_scopes" : [ "user" ], - "note" : "optional note" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/OidcApi.http b/samples/client/github/jetbrains/http/client/Apis/OidcApi.http deleted file mode 100644 index 96a9b7ca75..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/OidcApi.http +++ /dev/null @@ -1,20 +0,0 @@ -## OidcApi - -### Get the customization template for an OIDC subject claim for an organization -## Get the customization template for an OIDC subject claim for an organization -GET https://api.github.com/orgs/{{org}}/actions/oidc/customization/sub -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set the customization template for an OIDC subject claim for an organization -## -PUT https://api.github.com/orgs/{{org}}/actions/oidc/customization/sub -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "include_claim_keys" : [ "repo", "context" ] -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/OrgsApi.http b/samples/client/github/jetbrains/http/client/Apis/OrgsApi.http deleted file mode 100644 index fb89b3f9f7..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/OrgsApi.http +++ /dev/null @@ -1,709 +0,0 @@ -## OrgsApi - -### Add a security manager team -## Add a security manager team -PUT https://api.github.com/orgs/{{org}}/security-managers/teams/{{team_slug}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Assign an organization role to a team -## Assign an organization role to a team -PUT https://api.github.com/orgs/{{org}}/organization-roles/teams/{{team_slug}}/{{role_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Assign an organization role to a user -## Assign an organization role to a user -PUT https://api.github.com/orgs/{{org}}/organization-roles/users/{{username}}/{{role_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Block a user from an organization -## Block a user from an organization -PUT https://api.github.com/orgs/{{org}}/blocks/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Cancel an organization invitation -## Cancel an organization invitation -DELETE https://api.github.com/orgs/{{org}}/invitations/{{invitation_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if a user is blocked by an organization -## Check if a user is blocked by an organization -GET https://api.github.com/orgs/{{org}}/blocks/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check organization membership for a user -## Check organization membership for a user -GET https://api.github.com/orgs/{{org}}/members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check public organization membership for a user -## Check public organization membership for a user -GET https://api.github.com/orgs/{{org}}/public_members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Convert an organization member to outside collaborator -## Convert an organization member to outside collaborator -PUT https://api.github.com/orgs/{{org}}/outside_collaborators/{{username}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "async" : true -} - - -### Create a custom organization role -## Create a custom organization role -POST https://api.github.com/orgs/{{org}}/organization-roles -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Custom Role Manager", - "description" : "Permissions to manage custom roles within an org", - "permissions" : [ "write_organization_custom_repo_role", "write_organization_custom_org_role", "read_organization_custom_repo_role", "read_organization_custom_org_role" ] -} - - -### Create an organization invitation -## Create an organization invitation -POST https://api.github.com/orgs/{{org}}/invitations -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "email" : "octocat@github.com", - "role" : "direct_member", - "team_ids" : [ 12, 26 ] -} - - -### Create or update custom properties for an organization -## Create or update custom properties for an organization -PATCH https://api.github.com/orgs/{{org}}/properties/schema -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "properties" : [ { - "property_name" : "environment", - "value_type" : "single_select", - "required" : true, - "default_value" : "production", - "description" : "Prod or dev environment", - "allowed_values" : [ "production", "development" ], - "values_editable_by" : "org_actors" - }, { - "property_name" : "service", - "value_type" : "string" - }, { - "property_name" : "team", - "value_type" : "string", - "description" : "Team owning the repository" - } ] -} - - -### Create or update custom property values for organization repositories -## -PATCH https://api.github.com/orgs/{{org}}/properties/values -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "repository_names" : [ "Hello-World", "octo-repo" ], - "properties" : [ { - "property_name" : "environment", - "value" : "production" - }, { - "property_name" : "service", - "value" : "web" - }, { - "property_name" : "team", - "value" : "octocat" - } ] -} - - -### Create or update a custom property for an organization -## Create or update a custom property for an organization -PUT https://api.github.com/orgs/{{org}}/properties/schema/{{custom_property_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "value_type" : "single_select", - "required" : true, - "default_value" : "production", - "description" : "Prod or dev environment", - "allowed_values" : [ "production", "development" ] -} - - -### Create an organization webhook -## Create an organization webhook -POST https://api.github.com/orgs/{{org}}/hooks -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "web", - "active" : true, - "events" : [ "push", "pull_request" ], - "config" : { - "url" : "http://example.com/webhook", - "content_type" : "json" - } -} - - -### Delete an organization -## Delete an organization -DELETE https://api.github.com/orgs/{{org}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a custom organization role. -## Delete a custom organization role. -DELETE https://api.github.com/orgs/{{org}}/organization-roles/{{role_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an organization webhook -## Delete an organization webhook -DELETE https://api.github.com/orgs/{{org}}/hooks/{{hook_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - - -### Get an organization -## Get an organization -GET https://api.github.com/orgs/{{org}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all custom properties for an organization -## Get all custom properties for an organization -GET https://api.github.com/orgs/{{org}}/properties/schema -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a custom property for an organization -## Get a custom property for an organization -GET https://api.github.com/orgs/{{org}}/properties/schema/{{custom_property_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization membership for the authenticated user -## Get an organization membership for the authenticated user -GET https://api.github.com/user/memberships/orgs/{{org}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get organization membership for a user -## Get organization membership for a user -GET https://api.github.com/orgs/{{org}}/memberships/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization role -## Get an organization role -GET https://api.github.com/orgs/{{org}}/organization-roles/{{role_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization webhook -## Get an organization webhook -GET https://api.github.com/orgs/{{org}}/hooks/{{hook_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a webhook configuration for an organization -## Get a webhook configuration for an organization -GET https://api.github.com/orgs/{{org}}/hooks/{{hook_id}}/config -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a webhook delivery for an organization webhook -## Get a webhook delivery for an organization webhook -GET https://api.github.com/orgs/{{org}}/hooks/{{hook_id}}/deliveries/{{delivery_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organizations -## List organizations -GET https://api.github.com/organizations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List app installations for an organization -## List app installations for an organization -GET https://api.github.com/orgs/{{org}}/installations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List users blocked by an organization -## List users blocked by an organization -GET https://api.github.com/orgs/{{org}}/blocks -Cookie:X-API-KEY={{cookieKey}} - - - - -### List custom property values for organization repositories -## List custom property values for organization repositories -GET https://api.github.com/orgs/{{org}}/properties/values -Cookie:X-API-KEY={{cookieKey}} - - - - -### List failed organization invitations -## List failed organization invitations -GET https://api.github.com/orgs/{{org}}/failed_invitations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organizations for the authenticated user -## List organizations for the authenticated user -GET https://api.github.com/user/orgs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organizations for a user -## List organizations for a user -GET https://api.github.com/users/{{username}}/orgs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization invitation teams -## List organization invitation teams -GET https://api.github.com/orgs/{{org}}/invitations/{{invitation_id}}/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization members -## List organization members -GET https://api.github.com/orgs/{{org}}/members -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization memberships for the authenticated user -## List organization memberships for the authenticated user -GET https://api.github.com/user/memberships/orgs -Cookie:X-API-KEY={{cookieKey}} - - - - -### List teams that are assigned to an organization role -## List teams that are assigned to an organization role -GET https://api.github.com/orgs/{{org}}/organization-roles/{{role_id}}/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List users that are assigned to an organization role -## List users that are assigned to an organization role -GET https://api.github.com/orgs/{{org}}/organization-roles/{{role_id}}/users -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all organization roles for an organization -## Get all organization roles for an organization -GET https://api.github.com/orgs/{{org}}/organization-roles -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization fine-grained permissions for an organization -## List organization fine-grained permissions for an organization -GET https://api.github.com/orgs/{{org}}/organization-fine-grained-permissions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List outside collaborators for an organization -## List outside collaborators for an organization -GET https://api.github.com/orgs/{{org}}/outside_collaborators -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories a fine-grained personal access token has access to -## List repositories a fine-grained personal access token has access to -GET https://api.github.com/orgs/{{org}}/personal-access-tokens/{{pat_id}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories requested to be accessed by a fine-grained personal access token -## List repositories requested to be accessed by a fine-grained personal access token -GET https://api.github.com/orgs/{{org}}/personal-access-token-requests/{{pat_request_id}}/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List requests to access organization resources with fine-grained personal access tokens -## List requests to access organization resources with fine-grained personal access tokens -GET https://api.github.com/orgs/{{org}}/personal-access-token-requests -Cookie:X-API-KEY={{cookieKey}} - - - - -### List fine-grained personal access tokens with access to organization resources -## List fine-grained personal access tokens with access to organization resources -GET https://api.github.com/orgs/{{org}}/personal-access-tokens -Cookie:X-API-KEY={{cookieKey}} - - - - -### List pending organization invitations -## List pending organization invitations -GET https://api.github.com/orgs/{{org}}/invitations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public organization members -## List public organization members -GET https://api.github.com/orgs/{{org}}/public_members -Cookie:X-API-KEY={{cookieKey}} - - - - -### List security manager teams -## List security manager teams -GET https://api.github.com/orgs/{{org}}/security-managers -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deliveries for an organization webhook -## List deliveries for an organization webhook -GET https://api.github.com/orgs/{{org}}/hooks/{{hook_id}}/deliveries -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization webhooks -## List organization webhooks -GET https://api.github.com/orgs/{{org}}/hooks -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a custom organization role -## Update a custom organization role -PATCH https://api.github.com/orgs/{{org}}/organization-roles/{{role_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "description" : "Permissions to manage custom roles within an org." -} - - -### Ping an organization webhook -## Ping an organization webhook -POST https://api.github.com/orgs/{{org}}/hooks/{{hook_id}}/pings -Cookie:X-API-KEY={{cookieKey}} - - - - -### Redeliver a delivery for an organization webhook -## Redeliver a delivery for an organization webhook -POST https://api.github.com/orgs/{{org}}/hooks/{{hook_id}}/deliveries/{{delivery_id}}/attempts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a custom property for an organization -## Remove a custom property for an organization -DELETE https://api.github.com/orgs/{{org}}/properties/schema/{{custom_property_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove an organization member -## Remove an organization member -DELETE https://api.github.com/orgs/{{org}}/members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove organization membership for a user -## Remove organization membership for a user -DELETE https://api.github.com/orgs/{{org}}/memberships/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove outside collaborator from an organization -## Remove outside collaborator from an organization -DELETE https://api.github.com/orgs/{{org}}/outside_collaborators/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove public organization membership for the authenticated user -## Remove public organization membership for the authenticated user -DELETE https://api.github.com/orgs/{{org}}/public_members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a security manager team -## Remove a security manager team -DELETE https://api.github.com/orgs/{{org}}/security-managers/teams/{{team_slug}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Review a request to access organization resources with a fine-grained personal access token -## Review a request to access organization resources with a fine-grained personal access token -POST https://api.github.com/orgs/{{org}}/personal-access-token-requests/{{pat_request_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "action" : "deny", - "reason" : "This request is denied because the access is too broad." -} - - -### Review requests to access organization resources with fine-grained personal access tokens -## Review requests to access organization resources with fine-grained personal access tokens -POST https://api.github.com/orgs/{{org}}/personal-access-token-requests -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "pat_request_ids" : [ 42, 73 ], - "action" : "deny", - "reason" : "Access is too broad." -} - - -### Remove all organization roles for a team -## Remove all organization roles for a team -DELETE https://api.github.com/orgs/{{org}}/organization-roles/teams/{{team_slug}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove all organization roles for a user -## Remove all organization roles for a user -DELETE https://api.github.com/orgs/{{org}}/organization-roles/users/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove an organization role from a team -## Remove an organization role from a team -DELETE https://api.github.com/orgs/{{org}}/organization-roles/teams/{{team_slug}}/{{role_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove an organization role from a user -## Remove an organization role from a user -DELETE https://api.github.com/orgs/{{org}}/organization-roles/users/{{username}}/{{role_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set organization membership for a user -## Set organization membership for a user -PUT https://api.github.com/orgs/{{org}}/memberships/{{username}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "role" : "member" -} - - -### Set public organization membership for the authenticated user -## Set public organization membership for the authenticated user -PUT https://api.github.com/orgs/{{org}}/public_members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Unblock a user from an organization -## Unblock a user from an organization -DELETE https://api.github.com/orgs/{{org}}/blocks/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update an organization -## Update an organization -PATCH https://api.github.com/orgs/{{org}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "billing_email" : "mona@github.com", - "company" : "GitHub", - "email" : "mona@github.com", - "twitter_username" : "github", - "location" : "San Francisco", - "name" : "github", - "description" : "GitHub, the company.", - "default_repository_permission" : "read", - "members_can_create_repositories" : true, - "members_allowed_repository_creation_type" : "all" -} - - -### Update an organization membership for the authenticated user -## Update an organization membership for the authenticated user -PATCH https://api.github.com/user/memberships/orgs/{{org}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "state" : "active" -} - - -### Update the access a fine-grained personal access token has to organization resources -## Update the access a fine-grained personal access token has to organization resources -POST https://api.github.com/orgs/{{org}}/personal-access-tokens/{{pat_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "action" : "revoke" -} - - -### Update the access to organization resources via fine-grained personal access tokens -## Update the access to organization resources via fine-grained personal access tokens -POST https://api.github.com/orgs/{{org}}/personal-access-tokens -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "action" : "revoke", - "pat_ids" : [ 1296269, 1296280 ] -} - - -### Update an organization webhook -## Update an organization webhook -PATCH https://api.github.com/orgs/{{org}}/hooks/{{hook_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "active" : true, - "events" : [ "pull_request" ] -} - - -### Update a webhook configuration for an organization -## Update a webhook configuration for an organization -PATCH https://api.github.com/orgs/{{org}}/hooks/{{hook_id}}/config -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "url" : "http://example.com/webhook", - "content_type" : "json", - "insecure_ssl" : "0", - "secret" : "********" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/PackagesApi.http b/samples/client/github/jetbrains/http/client/Apis/PackagesApi.http deleted file mode 100644 index bb124a19e8..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/PackagesApi.http +++ /dev/null @@ -1,217 +0,0 @@ -## PackagesApi - -### Delete a package for the authenticated user -## Delete a package for the authenticated user -DELETE https://api.github.com/user/packages/{{package_type}}/{{package_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a package for an organization -## Delete a package for an organization -DELETE https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a package for a user -## Delete a package for a user -DELETE https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a package version for the authenticated user -## Delete a package version for the authenticated user -DELETE https://api.github.com/user/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete package version for an organization -## Delete package version for an organization -DELETE https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete package version for a user -## Delete package version for a user -DELETE https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List package versions for a package owned by the authenticated user -## List package versions for a package owned by the authenticated user -GET https://api.github.com/user/packages/{{package_type}}/{{package_name}}/versions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List package versions for a package owned by an organization -## List package versions for a package owned by an organization -GET https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}}/versions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List package versions for a package owned by a user -## List package versions for a package owned by a user -GET https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}}/versions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a package for the authenticated user -## Get a package for the authenticated user -GET https://api.github.com/user/packages/{{package_type}}/{{package_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a package for an organization -## Get a package for an organization -GET https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a package for a user -## Get a package for a user -GET https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a package version for the authenticated user -## Get a package version for the authenticated user -GET https://api.github.com/user/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a package version for an organization -## Get a package version for an organization -GET https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a package version for a user -## Get a package version for a user -GET https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get list of conflicting packages during Docker migration for authenticated-user -## Get list of conflicting packages during Docker migration for authenticated-user -GET https://api.github.com/user/docker/conflicts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get list of conflicting packages during Docker migration for organization -## Get list of conflicting packages during Docker migration for organization -GET https://api.github.com/orgs/{{org}}/docker/conflicts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get list of conflicting packages during Docker migration for user -## Get list of conflicting packages during Docker migration for user -GET https://api.github.com/users/{{username}}/docker/conflicts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List packages for the authenticated user's namespace -## List packages for the authenticated user's namespace -GET https://api.github.com/user/packages -Cookie:X-API-KEY={{cookieKey}} - - - - -### List packages for an organization -## List packages for an organization -GET https://api.github.com/orgs/{{org}}/packages -Cookie:X-API-KEY={{cookieKey}} - - - - -### List packages for a user -## List packages for a user -GET https://api.github.com/users/{{username}}/packages -Cookie:X-API-KEY={{cookieKey}} - - - - -### Restore a package for the authenticated user -## Restore a package for the authenticated user -POST https://api.github.com/user/packages/{{package_type}}/{{package_name}}/restore -Cookie:X-API-KEY={{cookieKey}} - - - - -### Restore a package for an organization -## Restore a package for an organization -POST https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}}/restore -Cookie:X-API-KEY={{cookieKey}} - - - - -### Restore a package for a user -## Restore a package for a user -POST https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}}/restore -Cookie:X-API-KEY={{cookieKey}} - - - - -### Restore a package version for the authenticated user -## Restore a package version for the authenticated user -POST https://api.github.com/user/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}}/restore -Cookie:X-API-KEY={{cookieKey}} - - - - -### Restore package version for an organization -## Restore package version for an organization -POST https://api.github.com/orgs/{{org}}/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}}/restore -Cookie:X-API-KEY={{cookieKey}} - - - - -### Restore package version for a user -## Restore package version for a user -POST https://api.github.com/users/{{username}}/packages/{{package_type}}/{{package_name}}/versions/{{package_version_id}}/restore -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/ProjectsApi.http b/samples/client/github/jetbrains/http/client/Apis/ProjectsApi.http deleted file mode 100644 index 06cb29a29e..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ProjectsApi.http +++ /dev/null @@ -1,240 +0,0 @@ -## ProjectsApi - -### Add project collaborator -## Add project collaborator -PUT https://api.github.com/projects/{{project_id}}/collaborators/{{username}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permission" : "write" -} - - -### Create a project card -## Create a project card -POST https://api.github.com/projects/columns/{{column_id}}/cards -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "note" : "Add payload for delete Project column" -} - - -### Create a project column -## Create a project column -POST https://api.github.com/projects/{{project_id}}/columns -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Remaining tasks" -} - - -### Create a user project -## Create a user project -POST https://api.github.com/user/projects -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "My Projects", - "body" : "A board to manage my personal projects." -} - - -### Create an organization project -## Create an organization project -POST https://api.github.com/orgs/{{org}}/projects -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Organization Roadmap", - "body" : "High-level roadmap for the upcoming year." -} - - -### Create a repository project -## Create a repository project -POST https://api.github.com/repos/{{owner}}/{{repo}}/projects -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Projects Documentation", - "body" : "Developer documentation project for the developer site." -} - - -### Delete a project -## Delete a project -DELETE https://api.github.com/projects/{{project_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a project card -## Delete a project card -DELETE https://api.github.com/projects/columns/cards/{{card_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a project column -## Delete a project column -DELETE https://api.github.com/projects/columns/{{column_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a project -## Get a project -GET https://api.github.com/projects/{{project_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a project card -## Get a project card -GET https://api.github.com/projects/columns/cards/{{card_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a project column -## Get a project column -GET https://api.github.com/projects/columns/{{column_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get project permission for a user -## Get project permission for a user -GET https://api.github.com/projects/{{project_id}}/collaborators/{{username}}/permission -Cookie:X-API-KEY={{cookieKey}} - - - - -### List project cards -## List project cards -GET https://api.github.com/projects/columns/{{column_id}}/cards -Cookie:X-API-KEY={{cookieKey}} - - - - -### List project collaborators -## List project collaborators -GET https://api.github.com/projects/{{project_id}}/collaborators -Cookie:X-API-KEY={{cookieKey}} - - - - -### List project columns -## List project columns -GET https://api.github.com/projects/{{project_id}}/columns -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization projects -## List organization projects -GET https://api.github.com/orgs/{{org}}/projects -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository projects -## List repository projects -GET https://api.github.com/repos/{{owner}}/{{repo}}/projects -Cookie:X-API-KEY={{cookieKey}} - - - - -### List user projects -## List user projects -GET https://api.github.com/users/{{username}}/projects -Cookie:X-API-KEY={{cookieKey}} - - - - -### Move a project card -## Move a project card -POST https://api.github.com/projects/columns/cards/{{card_id}}/moves -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "column_id" : 42, - "position" : "bottom" -} - - -### Move a project column -## Move a project column -POST https://api.github.com/projects/columns/{{column_id}}/moves -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "position" : "last" -} - - -### Remove user as a collaborator -## Remove user as a collaborator -DELETE https://api.github.com/projects/{{project_id}}/collaborators/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a project -## Update a project -PATCH https://api.github.com/projects/{{project_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Week One Sprint", - "state" : "open", - "organization_permission" : "write" -} - - -### Update an existing project card -## Update an existing project card -PATCH https://api.github.com/projects/columns/cards/{{card_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "note" : "Add payload for delete Project column" -} - - -### Update an existing project column -## Update an existing project column -PATCH https://api.github.com/projects/columns/{{column_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "To Do" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/PullsApi.http b/samples/client/github/jetbrains/http/client/Apis/PullsApi.http deleted file mode 100644 index e08166c7f7..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/PullsApi.http +++ /dev/null @@ -1,280 +0,0 @@ -## PullsApi - -### Check if a pull request has been merged -## Check if a pull request has been merged -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/merge -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a pull request -## Create a pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Amazing new feature", - "body" : "Please pull these awesome changes in!", - "head" : "octocat:new-feature", - "base" : "master" -} - - -### Create a reply for a review comment -## Create a reply for a review comment -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/comments/{{comment_id}}/replies -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Great stuff!" -} - - -### Create a review for a pull request -## Create a review for a pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "commit_id" : "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "body" : "This is close to perfect! Please address the suggested inline change.", - "event" : "REQUEST_CHANGES", - "comments" : [ { - "path" : "file.md", - "position" : 6, - "body" : "Please add more information here, and fix this typo." - } ] -} - - -### Create a review comment for a pull request -## Create a review comment for a pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/comments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Great stuff!", - "commit_id" : "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "path" : "file1.txt", - "start_line" : 1, - "start_side" : "RIGHT", - "line" : 2, - "side" : "RIGHT" -} - - -### Delete a pending review for a pull request -## Delete a pending review for a pull request -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews/{{review_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a review comment for a pull request -## Delete a review comment for a pull request -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Dismiss a review for a pull request -## Dismiss a review for a pull request -PUT https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews/{{review_id}}/dismissals -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "message" : "You are dismissed", - "event" : "DISMISS" -} - - -### Get a pull request -## Get a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a review for a pull request -## Get a review for a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews/{{review_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a review comment for a pull request -## Get a review comment for a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List pull requests -## List pull requests -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls -Cookie:X-API-KEY={{cookieKey}} - - - - -### List comments for a pull request review -## List comments for a pull request review -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews/{{review_id}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List commits on a pull request -## List commits on a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/commits -Cookie:X-API-KEY={{cookieKey}} - - - - -### List pull requests files -## List pull requests files -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/files -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all requested reviewers for a pull request -## Get all requested reviewers for a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/requested_reviewers -Cookie:X-API-KEY={{cookieKey}} - - - - -### List review comments on a pull request -## List review comments on a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List review comments in a repository -## List review comments in a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reviews for a pull request -## List reviews for a pull request -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews -Cookie:X-API-KEY={{cookieKey}} - - - - -### Merge a pull request -## Merge a pull request -PUT https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/merge -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "commit_title" : "Expand enum", - "commit_message" : "Add a new value to the merge_method enum" -} - - -### Remove requested reviewers from a pull request -## Remove requested reviewers from a pull request -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/requested_reviewers -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "reviewers" : [ "octocat", "hubot", "other_user" ], - "team_reviewers" : [ "justice-league" ] -} - - -### Request reviewers for a pull request -## Request reviewers for a pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/requested_reviewers -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "reviewers" : [ "octocat", "hubot", "other_user" ], - "team_reviewers" : [ "justice-league" ] -} - - -### Submit a review for a pull request -## Submit a review for a pull request -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews/{{review_id}}/events -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Here is the body for the review.", - "event" : "REQUEST_CHANGES" -} - - -### Update a pull request -## Update a pull request -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "new title", - "body" : "updated body", - "state" : "open", - "base" : "master" -} - - -### Update a pull request branch -## Update a pull request branch -PUT https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/update-branch -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "expected_head_sha" : "6dcb09b5b57875f334f61aebed695e2e4193db5e" -} - - -### Update a review for a pull request -## Update a review for a pull request -PUT https://api.github.com/repos/{{owner}}/{{repo}}/pulls/{{pull_number}}/reviews/{{review_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "This is close to perfect! Please address the suggested inline change. And add more about this." -} - - -### Update a review comment for a pull request -## Update a review comment for a pull request -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "I like this too!" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/RateLimitApi.http b/samples/client/github/jetbrains/http/client/Apis/RateLimitApi.http deleted file mode 100644 index 77078e33b1..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/RateLimitApi.http +++ /dev/null @@ -1,9 +0,0 @@ -## RateLimitApi - -### Get rate limit status for the authenticated user -## Get rate limit status for the authenticated user -GET https://api.github.com/rate_limit -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/ReactionsApi.http b/samples/client/github/jetbrains/http/client/Apis/ReactionsApi.http deleted file mode 100644 index 008554a2c0..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ReactionsApi.http +++ /dev/null @@ -1,228 +0,0 @@ -## ReactionsApi - -### Create reaction for a commit comment -## Create reaction for a commit comment -POST https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for an issue -## Create reaction for an issue -POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for an issue comment -## Create reaction for an issue comment -POST https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for a pull request review comment -## Create reaction for a pull request review comment -POST https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for a release -## Create reaction for a release -POST https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for a team discussion comment -## Create reaction for a team discussion comment -POST https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for a team discussion comment (Legacy) -## Create reaction for a team discussion comment (Legacy) -POST https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for a team discussion -## Create reaction for a team discussion -POST https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Create reaction for a team discussion (Legacy) -## Create reaction for a team discussion (Legacy) -POST https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/reactions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content" : "heart" -} - - -### Delete a commit comment reaction -## Delete a commit comment reaction -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an issue reaction -## Delete an issue reaction -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an issue comment reaction -## Delete an issue comment reaction -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a pull request comment reaction -## Delete a pull request comment reaction -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a release reaction -## Delete a release reaction -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete team discussion reaction -## Delete team discussion reaction -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete team discussion comment reaction -## Delete team discussion comment reaction -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions/{{reaction_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a commit comment -## List reactions for a commit comment -GET https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for an issue -## List reactions for an issue -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/{{issue_number}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for an issue comment -## List reactions for an issue comment -GET https://api.github.com/repos/{{owner}}/{{repo}}/issues/comments/{{comment_id}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a pull request review comment -## List reactions for a pull request review comment -GET https://api.github.com/repos/{{owner}}/{{repo}}/pulls/comments/{{comment_id}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a release -## List reactions for a release -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a team discussion comment -## List reactions for a team discussion comment -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a team discussion comment (Legacy) -## List reactions for a team discussion comment (Legacy) -GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a team discussion -## List reactions for a team discussion -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List reactions for a team discussion (Legacy) -## List reactions for a team discussion (Legacy) -GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/reactions -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/ReposApi.http b/samples/client/github/jetbrains/http/client/Apis/ReposApi.http deleted file mode 100644 index 2d99bed6c0..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ReposApi.http +++ /dev/null @@ -1,1986 +0,0 @@ -## ReposApi - -### Accept a repository invitation -## Accept a repository invitation -PATCH https://api.github.com/user/repository_invitations/{{invitation_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Add app access restrictions -## Add app access restrictions -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/apps -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "apps" : [ "octoapp" ] -} - - -### Add a repository collaborator -## Add a repository collaborator -PUT https://api.github.com/repos/{{owner}}/{{repo}}/collaborators/{{username}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permission" : "triage" -} - - -### Add status check contexts -## Add status check contexts -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks/contexts -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "contexts" : [ "continuous-integration/travis-ci", "continuous-integration/jenkins" ] -} - - -### Add team access restrictions -## Add team access restrictions -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/teams -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "teams" : [ "justice-league" ] -} - - -### Add user access restrictions -## Add user access restrictions -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "users" : [ "octocat" ] -} - - -### Cancel a GitHub Pages deployment -## Cancel a GitHub Pages deployment -POST https://api.github.com/repos/{{owner}}/{{repo}}/pages/deployments/{{pages_deployment_id}}/cancel -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if automated security fixes are enabled for a repository -## Check if automated security fixes are enabled for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/automated-security-fixes -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if a user is a repository collaborator -## Check if a user is a repository collaborator -GET https://api.github.com/repos/{{owner}}/{{repo}}/collaborators/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if vulnerability alerts are enabled for a repository -## Check if vulnerability alerts are enabled for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/vulnerability-alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List CODEOWNERS errors -## List CODEOWNERS errors -GET https://api.github.com/repos/{{owner}}/{{repo}}/codeowners/errors -Cookie:X-API-KEY={{cookieKey}} - - - - -### Compare two commits -## Compare two commits -GET https://api.github.com/repos/{{owner}}/{{repo}}/compare/{{basehead}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create an autolink reference for a repository -## Create an autolink reference for a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/autolinks -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "key_prefix" : "TICKET-", - "url_template" : "https://example.com/TICKET?query=", - "is_alphanumeric" : true -} - - -### Create a commit comment -## Create a commit comment -POST https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{commit_sha}}/comments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Great stuff", - "path" : "file1.txt", - "position" : 4, - "line" : 1 -} - - -### Create commit signature protection -## Create commit signature protection -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_signatures -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a commit status -## Create a commit status -POST https://api.github.com/repos/{{owner}}/{{repo}}/statuses/{{sha}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "state" : "success", - "target_url" : "https://example.com/build/status", - "description" : "The build succeeded!", - "context" : "continuous-integration/jenkins" -} - - -### Create a deploy key -## Create a deploy key -POST https://api.github.com/repos/{{owner}}/{{repo}}/keys -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "octocat@octomac", - "key" : "ssh-rsa AAA...", - "read_only" : true -} - - -### Create a deployment -## Create a deployment -POST https://api.github.com/repos/{{owner}}/{{repo}}/deployments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "ref" : "topic-branch", - "payload" : "{ \"deploy\": \"migrate\" }", - "description" : "Deploy request from hubot" -} - - -### Create a deployment branch policy -## Create a deployment branch policy -POST https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment-branch-policies -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "release/*" -} - - -### Create a custom deployment protection rule on an environment -## Create a custom deployment protection rule on an environment -POST https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment_protection_rules -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "integration_id" : 5 -} - - -### Create a deployment status -## Create a deployment status -POST https://api.github.com/repos/{{owner}}/{{repo}}/deployments/{{deployment_id}}/statuses -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "environment" : "production", - "state" : "success", - "log_url" : "https://example.com/deployment/42/output", - "description" : "Deployment finished successfully." -} - - -### Create a repository dispatch event -## Create a repository dispatch event -POST https://api.github.com/repos/{{owner}}/{{repo}}/dispatches -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "event_type" : "on-demand-test", - "client_payload" : { - "unit" : false, - "integration" : true - } -} - - -### Create a repository for the authenticated user -## Create a repository for the authenticated user -POST https://api.github.com/user/repos -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Hello-World", - "description" : "This is your first repo!", - "homepage" : "https://github.com", - "private" : false, - "is_template" : true -} - - -### Create a fork -## Create a fork -POST https://api.github.com/repos/{{owner}}/{{repo}}/forks -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "organization" : "octocat", - "name" : "Hello-World", - "default_branch_only" : true -} - - -### Create an organization repository -## Create an organization repository -POST https://api.github.com/orgs/{{org}}/repos -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Hello-World", - "description" : "This is your first repository", - "homepage" : "https://github.com", - "private" : false, - "has_issues" : true, - "has_projects" : true, - "has_wiki" : true -} - - -### Create or update custom property values for a repository -## -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/properties/values -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "properties" : [ { - "property_name" : "environment", - "value" : "production" - }, { - "property_name" : "service", - "value" : "web" - }, { - "property_name" : "team", - "value" : "octocat" - } ] -} - - -### Create or update an environment -## Create or update an environment -PUT https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "wait_timer" : 30, - "prevent_self_review" : false, - "reviewers" : [ { - "type" : "User", - "id" : 1 - }, { - "type" : "Team", - "id" : 1 - } ], - "deployment_branch_policy" : { - "protected_branches" : false, - "custom_branch_policies" : true - } -} - - -### Create or update file contents -## Create or update file contents -PUT https://api.github.com/repos/{{owner}}/{{repo}}/contents/{{path}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "message" : "my commit message", - "committer" : { - "name" : "Monalisa Octocat", - "email" : "octocat@github.com" - }, - "content" : "bXkgbmV3IGZpbGUgY29udGVudHM=" -} - - -### Create an organization repository ruleset -## Create an organization repository ruleset -POST https://api.github.com/orgs/{{org}}/rulesets -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "super cool ruleset", - "target" : "branch", - "enforcement" : "active", - "bypass_actors" : [ { - "actor_id" : 234, - "actor_type" : "Team", - "bypass_mode" : "always" - } ], - "conditions" : { - "ref_name" : { - "include" : [ "refs/heads/main", "refs/heads/master" ], - "exclude" : [ "refs/heads/dev*" ] - }, - "repository_name" : { - "include" : [ "important_repository", "another_important_repository" ], - "exclude" : [ "unimportant_repository" ], - "protected" : true - } - }, - "rules" : [ { - "type" : "commit_author_email_pattern", - "parameters" : { - "operator" : "contains", - "pattern" : "github" - } - } ] -} - - -### Create a GitHub Pages deployment -## Create a GitHub Pages deployment -POST https://api.github.com/repos/{{owner}}/{{repo}}/pages/deployments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "artifact_url" : "https://downloadcontent/", - "environment" : "github-pages", - "pages_build_version" : "4fd754f7e594640989b406850d0bc8f06a121251", - "oidc_token" : "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlV2R1h4SUhlY0JFc1JCdEttemUxUEhfUERiVSIsImtpZCI6IjUyRjE5N0M0ODFERTcwMTEyQzQ0MUI0QTlCMzdCNTNDN0ZDRjBEQjUifQ.eyJqdGkiOiJhMWIwNGNjNy0zNzZiLTQ1N2QtOTMzNS05NTY5YmVjZDExYTIiLCJzdWIiOiJyZXBvOnBhcGVyLXNwYS9taW55aTplbnZpcm9ubWVudDpQcm9kdWN0aW9uIiwiYXVkIjoiaHR0cHM6Ly9naXRodWIuY29tL3BhcGVyLXNwYSIsInJlZiI6InJlZnMvaGVhZHMvbWFpbiIsInNoYSI6ImEyODU1MWJmODdiZDk3NTFiMzdiMmM0YjM3M2MxZjU3NjFmYWM2MjYiLCJyZXBvc2l0b3J5IjoicGFwZXItc3BhL21pbnlpIiwicmVwb3NpdG9yeV9vd25lciI6InBhcGVyLXNwYSIsInJ1bl9pZCI6IjE1NDY0NTkzNjQiLCJydW5fbnVtYmVyIjoiMzQiLCJydW5fYXR0ZW1wdCI6IjYiLCJhY3RvciI6IllpTXlzdHkiLCJ3b3JrZmxvdyI6IkNJIiwiaGVhZF9yZWYiOiIiLCJiYXNlX3JlZiI6IiIsImV2ZW50X25hbWUiOiJwdXNoIiwicmVmX3R5cGUiOiJicmFuY2giLCJlbnZpcm9ubWVudCI6IlByb2R1Y3Rpb24iLCJqb2Jfd29ya2Zsb3dfcmVmIjoicGFwZXItc3BhL21pbnlpLy5naXRodWIvd29ya2Zsb3dzL2JsYW5rLnltbEByZWZzL2hlYWRzL21haW4iLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwibmJmIjoxNjM5MDAwODU2LCJleHAiOjE2MzkwMDE3NTYsImlhdCI6MTYzOTAwMTQ1Nn0.VP8WictbQECKozE2SgvKb2FqJ9hisWsoMkYRTqfBrQfZTCXi5IcFEdgDMB2X7a99C2DeUuTvHh9RMKXLL2a0zg3-Sd7YrO7a2ll2kNlnvyIypcN6AeIc7BxHsTTnZN9Ud_xmEsTrSRGOEKmzCFkULQ6N4zlVD0sidypmXlMemmWEcv_ZHqhioEI_VMp5vwXQurketWH7qX4oDgG4okyYtPrv5RQHbfQcVo9izaPJ_jnsDd0CBA0QOx9InjPidtIkMYQLyUgJy33HLJy86EFNUnAf8UhBQuQi5mAsEpEzBBuKpG3PDiPtYCHOk64JZkZGd5mR888a5sbHRiaF8hm8YA", - "preview" : false -} - - -### Create a GitHub Pages site -## Create a GitHub Pages site -POST https://api.github.com/repos/{{owner}}/{{repo}}/pages -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "source" : { - "branch" : "main", - "path" : "/docs" - } -} - - -### Create a release -## Create a release -POST https://api.github.com/repos/{{owner}}/{{repo}}/releases -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "tag_name" : "v1.0.0", - "target_commitish" : "master", - "name" : "v1.0.0", - "body" : "Description of the release", - "draft" : false, - "prerelease" : false, - "generate_release_notes" : false -} - - -### Create a repository ruleset -## Create a repository ruleset -POST https://api.github.com/repos/{{owner}}/{{repo}}/rulesets -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "super cool ruleset", - "target" : "branch", - "enforcement" : "active", - "bypass_actors" : [ { - "actor_id" : 234, - "actor_type" : "Team", - "bypass_mode" : "always" - } ], - "conditions" : { - "ref_name" : { - "include" : [ "refs/heads/main", "refs/heads/master" ], - "exclude" : [ "refs/heads/dev*" ] - } - }, - "rules" : [ { - "type" : "commit_author_email_pattern", - "parameters" : { - "operator" : "contains", - "pattern" : "github" - } - } ] -} - - -### Create a tag protection state for a repository -## Create a tag protection state for a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/tags/protection -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "pattern" : "v1.*" -} - - -### Create a repository using a template -## Create a repository using a template -POST https://api.github.com/repos/{{template_owner}}/{{template_repo}}/generate -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "owner" : "octocat", - "name" : "Hello-World", - "description" : "This is your first repository", - "include_all_branches" : false, - "private" : false -} - - -### Create a repository webhook -## Create a repository webhook -POST https://api.github.com/repos/{{owner}}/{{repo}}/hooks -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "web", - "active" : true, - "events" : [ "push", "pull_request" ], - "config" : { - "url" : "https://example.com/webhook", - "content_type" : "json", - "insecure_ssl" : "0" - } -} - - -### Decline a repository invitation -## Decline a repository invitation -DELETE https://api.github.com/user/repository_invitations/{{invitation_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository -## Delete a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete access restrictions -## Delete access restrictions -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete admin branch protection -## Delete admin branch protection -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/enforce_admins -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an environment -## Delete an environment -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an autolink reference from a repository -## Delete an autolink reference from a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/autolinks/{{autolink_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete branch protection -## Delete branch protection -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a commit comment -## Delete a commit comment -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete commit signature protection -## Delete commit signature protection -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_signatures -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a deploy key -## Delete a deploy key -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/keys/{{key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a deployment -## Delete a deployment -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/deployments/{{deployment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a deployment branch policy -## Delete a deployment branch policy -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment-branch-policies/{{branch_policy_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a file -## Delete a file -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/contents/{{path}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "message" : "my commit message", - "committer" : { - "name" : "Monalisa Octocat", - "email" : "octocat@github.com" - }, - "sha" : "329688480d39049927147c162b9d2deaf885005f" -} - - -### Delete a repository invitation -## Delete a repository invitation -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/invitations/{{invitation_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete an organization repository ruleset -## Delete an organization repository ruleset -DELETE https://api.github.com/orgs/{{org}}/rulesets/{{ruleset_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a GitHub Pages site -## Delete a GitHub Pages site -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/pages -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete pull request review protection -## Delete pull request review protection -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_pull_request_reviews -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a release -## Delete a release -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a release asset -## Delete a release asset -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/releases/assets/{{asset_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository ruleset -## Delete a repository ruleset -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/rulesets/{{ruleset_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a tag protection state for a repository -## Delete a tag protection state for a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/tags/protection/{{tag_protection_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a repository webhook -## Delete a repository webhook -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Disable automated security fixes -## Disable automated security fixes -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/automated-security-fixes -Cookie:X-API-KEY={{cookieKey}} - - - - -### Disable a custom protection rule for an environment -## Disable a custom protection rule for an environment -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment_protection_rules/{{protection_rule_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Disable private vulnerability reporting for a repository -## Disable private vulnerability reporting for a repository -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/private-vulnerability-reporting -Cookie:X-API-KEY={{cookieKey}} - - - - -### Disable vulnerability alerts -## Disable vulnerability alerts -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/vulnerability-alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download a repository archive (tar) -## Download a repository archive (tar) -GET https://api.github.com/repos/{{owner}}/{{repo}}/tarball/{{ref}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Download a repository archive (zip) -## Download a repository archive (zip) -GET https://api.github.com/repos/{{owner}}/{{repo}}/zipball/{{ref}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Enable automated security fixes -## Enable automated security fixes -PUT https://api.github.com/repos/{{owner}}/{{repo}}/automated-security-fixes -Cookie:X-API-KEY={{cookieKey}} - - - - -### Enable private vulnerability reporting for a repository -## Enable private vulnerability reporting for a repository -PUT https://api.github.com/repos/{{owner}}/{{repo}}/private-vulnerability-reporting -Cookie:X-API-KEY={{cookieKey}} - - - - -### Enable vulnerability alerts -## Enable vulnerability alerts -PUT https://api.github.com/repos/{{owner}}/{{repo}}/vulnerability-alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Generate release notes content for a release -## Generate release notes content for a release -POST https://api.github.com/repos/{{owner}}/{{repo}}/releases/generate-notes -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "tag_name" : "v1.0.0", - "target_commitish" : "main", - "previous_tag_name" : "v0.9.2", - "configuration_file_path" : ".github/custom_release_config.yml" -} - - -### Get a repository -## Get a repository -GET https://api.github.com/repos/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get access restrictions -## Get access restrictions -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get admin branch protection -## Get admin branch protection -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/enforce_admins -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all deployment protection rules for an environment -## Get all deployment protection rules for an environment -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment_protection_rules -Cookie:X-API-KEY={{cookieKey}} - - - - -### List environments -## List environments -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all status check contexts -## Get all status check contexts -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks/contexts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all repository topics -## Get all repository topics -GET https://api.github.com/repos/{{owner}}/{{repo}}/topics -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get apps with access to the protected branch -## Get apps with access to the protected branch -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/apps -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an autolink reference of a repository -## Get an autolink reference of a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/autolinks/{{autolink_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a branch -## Get a branch -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get branch protection -## Get branch protection -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get rules for a branch -## Get rules for a branch -GET https://api.github.com/repos/{{owner}}/{{repo}}/rules/branches/{{branch}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get repository clones -## Get repository clones -GET https://api.github.com/repos/{{owner}}/{{repo}}/traffic/clones -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the weekly commit activity -## Get the weekly commit activity -GET https://api.github.com/repos/{{owner}}/{{repo}}/stats/code_frequency -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get repository permissions for a user -## Get repository permissions for a user -GET https://api.github.com/repos/{{owner}}/{{repo}}/collaborators/{{username}}/permission -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the combined status for a specific reference -## Get the combined status for a specific reference -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{ref}}/status -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a commit -## Get a commit -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{ref}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the last year of commit activity -## Get the last year of commit activity -GET https://api.github.com/repos/{{owner}}/{{repo}}/stats/commit_activity -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a commit comment -## Get a commit comment -GET https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get commit signature protection -## Get commit signature protection -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_signatures -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get community profile metrics -## Get community profile metrics -GET https://api.github.com/repos/{{owner}}/{{repo}}/community/profile -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get repository content -## Get repository content -GET https://api.github.com/repos/{{owner}}/{{repo}}/contents/{{path}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all contributor commit activity -## Get all contributor commit activity -GET https://api.github.com/repos/{{owner}}/{{repo}}/stats/contributors -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a custom deployment protection rule -## Get a custom deployment protection rule -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment_protection_rules/{{protection_rule_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all custom property values for a repository -## Get all custom property values for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/properties/values -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a deploy key -## Get a deploy key -GET https://api.github.com/repos/{{owner}}/{{repo}}/keys/{{key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a deployment -## Get a deployment -GET https://api.github.com/repos/{{owner}}/{{repo}}/deployments/{{deployment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a deployment branch policy -## Get a deployment branch policy -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment-branch-policies/{{branch_policy_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a deployment status -## Get a deployment status -GET https://api.github.com/repos/{{owner}}/{{repo}}/deployments/{{deployment_id}}/statuses/{{status_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an environment -## Get an environment -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get latest Pages build -## Get latest Pages build -GET https://api.github.com/repos/{{owner}}/{{repo}}/pages/builds/latest -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the latest release -## Get the latest release -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/latest -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization rule suite -## Get an organization rule suite -GET https://api.github.com/orgs/{{org}}/rulesets/rule-suites/{{rule_suite_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization rule suites -## List organization rule suites -GET https://api.github.com/orgs/{{org}}/rulesets/rule-suites -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an organization repository ruleset -## Get an organization repository ruleset -GET https://api.github.com/orgs/{{org}}/rulesets/{{ruleset_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all organization repository rulesets -## Get all organization repository rulesets -GET https://api.github.com/orgs/{{org}}/rulesets -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a GitHub Pages site -## Get a GitHub Pages site -GET https://api.github.com/repos/{{owner}}/{{repo}}/pages -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get GitHub Pages build -## Get GitHub Pages build -GET https://api.github.com/repos/{{owner}}/{{repo}}/pages/builds/{{build_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the status of a GitHub Pages deployment -## Get the status of a GitHub Pages deployment -GET https://api.github.com/repos/{{owner}}/{{repo}}/pages/deployments/{{pages_deployment_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a DNS health check for GitHub Pages -## Get a DNS health check for GitHub Pages -GET https://api.github.com/repos/{{owner}}/{{repo}}/pages/health -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the weekly commit count -## Get the weekly commit count -GET https://api.github.com/repos/{{owner}}/{{repo}}/stats/participation -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get pull request review protection -## Get pull request review protection -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_pull_request_reviews -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the hourly commit count for each day -## Get the hourly commit count for each day -GET https://api.github.com/repos/{{owner}}/{{repo}}/stats/punch_card -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository README -## Get a repository README -GET https://api.github.com/repos/{{owner}}/{{repo}}/readme -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository README for a directory -## Get a repository README for a directory -GET https://api.github.com/repos/{{owner}}/{{repo}}/readme/{{dir}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a release -## Get a release -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a release asset -## Get a release asset -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/assets/{{asset_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a release by tag name -## Get a release by tag name -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/tags/{{tag}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository rule suite -## Get a repository rule suite -GET https://api.github.com/repos/{{owner}}/{{repo}}/rulesets/rule-suites/{{rule_suite_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository rule suites -## List repository rule suites -GET https://api.github.com/repos/{{owner}}/{{repo}}/rulesets/rule-suites -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository ruleset -## Get a repository ruleset -GET https://api.github.com/repos/{{owner}}/{{repo}}/rulesets/{{ruleset_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all repository rulesets -## Get all repository rulesets -GET https://api.github.com/repos/{{owner}}/{{repo}}/rulesets -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get status checks protection -## Get status checks protection -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get teams with access to the protected branch -## Get teams with access to the protected branch -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get top referral paths -## Get top referral paths -GET https://api.github.com/repos/{{owner}}/{{repo}}/traffic/popular/paths -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get top referral sources -## Get top referral sources -GET https://api.github.com/repos/{{owner}}/{{repo}}/traffic/popular/referrers -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get users with access to the protected branch -## Get users with access to the protected branch -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/users -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get page views -## Get page views -GET https://api.github.com/repos/{{owner}}/{{repo}}/traffic/views -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository webhook -## Get a repository webhook -GET https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a webhook configuration for a repository -## Get a webhook configuration for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/config -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a delivery for a repository webhook -## Get a delivery for a repository webhook -GET https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/deliveries/{{delivery_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository activities -## List repository activities -GET https://api.github.com/repos/{{owner}}/{{repo}}/activity -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get all autolinks of a repository -## Get all autolinks of a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/autolinks -Cookie:X-API-KEY={{cookieKey}} - - - - -### List branches -## List branches -GET https://api.github.com/repos/{{owner}}/{{repo}}/branches -Cookie:X-API-KEY={{cookieKey}} - - - - -### List branches for HEAD commit -## List branches for HEAD commit -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{commit_sha}}/branches-where-head -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository collaborators -## List repository collaborators -GET https://api.github.com/repos/{{owner}}/{{repo}}/collaborators -Cookie:X-API-KEY={{cookieKey}} - - - - -### List commit comments -## List commit comments -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{commit_sha}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List commit comments for a repository -## List commit comments for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List commit statuses for a reference -## List commit statuses for a reference -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{ref}}/statuses -Cookie:X-API-KEY={{cookieKey}} - - - - -### List commits -## List commits -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository contributors -## List repository contributors -GET https://api.github.com/repos/{{owner}}/{{repo}}/contributors -Cookie:X-API-KEY={{cookieKey}} - - - - -### List custom deployment rule integrations available for an environment -## List custom deployment rule integrations available for an environment -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment_protection_rules/apps -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deploy keys -## List deploy keys -GET https://api.github.com/repos/{{owner}}/{{repo}}/keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deployment branch policies -## List deployment branch policies -GET https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment-branch-policies -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deployment statuses -## List deployment statuses -GET https://api.github.com/repos/{{owner}}/{{repo}}/deployments/{{deployment_id}}/statuses -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deployments -## List deployments -GET https://api.github.com/repos/{{owner}}/{{repo}}/deployments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories for the authenticated user -## List repositories for the authenticated user -GET https://api.github.com/user/repos -Cookie:X-API-KEY={{cookieKey}} - - - - -### List organization repositories -## List organization repositories -GET https://api.github.com/orgs/{{org}}/repos -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repositories for a user -## List repositories for a user -GET https://api.github.com/users/{{username}}/repos -Cookie:X-API-KEY={{cookieKey}} - - - - -### List forks -## List forks -GET https://api.github.com/repos/{{owner}}/{{repo}}/forks -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository invitations -## List repository invitations -GET https://api.github.com/repos/{{owner}}/{{repo}}/invitations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository invitations for the authenticated user -## List repository invitations for the authenticated user -GET https://api.github.com/user/repository_invitations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository languages -## List repository languages -GET https://api.github.com/repos/{{owner}}/{{repo}}/languages -Cookie:X-API-KEY={{cookieKey}} - - - - -### List GitHub Pages builds -## List GitHub Pages builds -GET https://api.github.com/repos/{{owner}}/{{repo}}/pages/builds -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public repositories -## List public repositories -GET https://api.github.com/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List pull requests associated with a commit -## List pull requests associated with a commit -GET https://api.github.com/repos/{{owner}}/{{repo}}/commits/{{commit_sha}}/pulls -Cookie:X-API-KEY={{cookieKey}} - - - - -### List release assets -## List release assets -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/assets -Cookie:X-API-KEY={{cookieKey}} - - - - -### List releases -## List releases -GET https://api.github.com/repos/{{owner}}/{{repo}}/releases -Cookie:X-API-KEY={{cookieKey}} - - - - -### List tag protection states for a repository -## List tag protection states for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/tags/protection -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository tags -## List repository tags -GET https://api.github.com/repos/{{owner}}/{{repo}}/tags -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository teams -## List repository teams -GET https://api.github.com/repos/{{owner}}/{{repo}}/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List deliveries for a repository webhook -## List deliveries for a repository webhook -GET https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/deliveries -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository webhooks -## List repository webhooks -GET https://api.github.com/repos/{{owner}}/{{repo}}/hooks -Cookie:X-API-KEY={{cookieKey}} - - - - -### Merge a branch -## Merge a branch -POST https://api.github.com/repos/{{owner}}/{{repo}}/merges -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "base" : "master", - "head" : "cool_feature", - "commit_message" : "Shipped cool_feature!" -} - - -### Sync a fork branch with the upstream repository -## Sync a fork branch with the upstream repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/merge-upstream -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "branch" : "main" -} - - -### Ping a repository webhook -## Ping a repository webhook -POST https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/pings -Cookie:X-API-KEY={{cookieKey}} - - - - -### Redeliver a delivery for a repository webhook -## Redeliver a delivery for a repository webhook -POST https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/deliveries/{{delivery_id}}/attempts -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove app access restrictions -## Remove app access restrictions -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/apps -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "apps" : [ "my-app" ] -} - - -### Remove a repository collaborator -## Remove a repository collaborator -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/collaborators/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove status check contexts -## Remove status check contexts -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks/contexts -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "contexts" : [ "continuous-integration/jenkins" ] -} - - -### Remove status check protection -## Remove status check protection -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove team access restrictions -## Remove team access restrictions -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/teams -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "teams" : [ "octocats" ] -} - - -### Remove user access restrictions -## Remove user access restrictions -DELETE https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "users" : [ "octocat" ] -} - - -### Rename a branch -## Rename a branch -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/rename -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "new_name" : "my_renamed_branch" -} - - -### Replace all repository topics -## Replace all repository topics -PUT https://api.github.com/repos/{{owner}}/{{repo}}/topics -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "names" : [ "octocat", "atom", "electron", "api" ] -} - - -### Request a GitHub Pages build -## Request a GitHub Pages build -POST https://api.github.com/repos/{{owner}}/{{repo}}/pages/builds -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set admin branch protection -## Set admin branch protection -POST https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/enforce_admins -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set app access restrictions -## Set app access restrictions -PUT https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/apps -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "apps" : [ "octoapp" ] -} - - -### Set status check contexts -## Set status check contexts -PUT https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks/contexts -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "contexts" : [ "continuous-integration/travis-ci" ] -} - - -### Set team access restrictions -## Set team access restrictions -PUT https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/teams -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "teams" : [ "justice-league" ] -} - - -### Set user access restrictions -## Set user access restrictions -PUT https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/restrictions/users -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "users" : [ "octocat" ] -} - - -### Test the push repository webhook -## Test the push repository webhook -POST https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/tests -Cookie:X-API-KEY={{cookieKey}} - - - - -### Transfer a repository -## Transfer a repository -POST https://api.github.com/repos/{{owner}}/{{repo}}/transfer -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "new_owner" : "github", - "team_ids" : [ 12, 345 ], - "new_name" : "octorepo" -} - - -### Update a repository -## Update a repository -PATCH https://api.github.com/repos/{{owner}}/{{repo}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Hello-World", - "description" : "This is your first repository", - "homepage" : "https://github.com", - "private" : true, - "has_issues" : true, - "has_projects" : true, - "has_wiki" : true -} - - -### Update branch protection -## Update branch protection -PUT https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "required_status_checks" : { - "strict" : true, - "contexts" : [ "continuous-integration/travis-ci" ] - }, - "enforce_admins" : true, - "required_pull_request_reviews" : { - "dismissal_restrictions" : { - "users" : [ "octocat" ], - "teams" : [ "justice-league" ] - }, - "dismiss_stale_reviews" : true, - "require_code_owner_reviews" : true, - "required_approving_review_count" : 2, - "require_last_push_approval" : true, - "bypass_pull_request_allowances" : { - "users" : [ "octocat" ], - "teams" : [ "justice-league" ] - } - }, - "restrictions" : { - "users" : [ "octocat" ], - "teams" : [ "justice-league" ], - "apps" : [ "super-ci" ] - }, - "required_linear_history" : true, - "allow_force_pushes" : true, - "allow_deletions" : true, - "block_creations" : true, - "required_conversation_resolution" : true, - "lock_branch" : true, - "allow_fork_syncing" : true -} - - -### Update a commit comment -## Update a commit comment -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/comments/{{comment_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Nice change" -} - - -### Update a deployment branch policy -## Update a deployment branch policy -PUT https://api.github.com/repos/{{owner}}/{{repo}}/environments/{{environment_name}}/deployment-branch-policies/{{branch_policy_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "release/*" -} - - -### Update information about a GitHub Pages site -## Update information about a GitHub Pages site -PUT https://api.github.com/repos/{{owner}}/{{repo}}/pages -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "cname" : "octocatblog.com", - "source" : { - "branch" : "main", - "path" : "/" - } -} - - -### Update a repository invitation -## Update a repository invitation -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/invitations/{{invitation_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permissions" : "write" -} - - -### Update an organization repository ruleset -## Update an organization repository ruleset -PUT https://api.github.com/orgs/{{org}}/rulesets/{{ruleset_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "super cool ruleset", - "target" : "branch", - "enforcement" : "active", - "bypass_actors" : [ { - "actor_id" : 234, - "actor_type" : "Team", - "bypass_mode" : "always" - } ], - "conditions" : { - "ref_name" : { - "include" : [ "refs/heads/main", "refs/heads/master" ], - "exclude" : [ "refs/heads/dev*" ] - }, - "repository_name" : { - "include" : [ "important_repository", "another_important_repository" ], - "exclude" : [ "unimportant_repository" ], - "protected" : true - } - }, - "rules" : [ { - "type" : "commit_author_email_pattern", - "parameters" : { - "operator" : "contains", - "pattern" : "github" - } - } ] -} - - -### Update pull request review protection -## Update pull request review protection -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_pull_request_reviews -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "dismissal_restrictions" : { - "users" : [ "octocat" ], - "teams" : [ "justice-league" ], - "apps" : [ "octoapp" ] - }, - "bypass_pull_request_allowances" : { - "users" : [ "octocat" ], - "teams" : [ "justice-league" ], - "apps" : [ "octoapp" ] - }, - "dismiss_stale_reviews" : true, - "require_code_owner_reviews" : true, - "required_approving_review_count" : 2, - "require_last_push_approval" : true -} - - -### Update a release -## Update a release -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "tag_name" : "v1.0.0", - "target_commitish" : "master", - "name" : "v1.0.0", - "body" : "Description of the release", - "draft" : false, - "prerelease" : false -} - - -### Update a release asset -## Update a release asset -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/releases/assets/{{asset_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "foo-1.0.0-osx.zip", - "label" : "Mac binary" -} - - -### Update a repository ruleset -## Update a repository ruleset -PUT https://api.github.com/repos/{{owner}}/{{repo}}/rulesets/{{ruleset_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "super cool ruleset", - "target" : "branch", - "enforcement" : "active", - "bypass_actors" : [ { - "actor_id" : 234, - "actor_type" : "Team", - "bypass_mode" : "always" - } ], - "conditions" : { - "ref_name" : { - "include" : [ "refs/heads/main", "refs/heads/master" ], - "exclude" : [ "refs/heads/dev*" ] - } - }, - "rules" : [ { - "type" : "commit_author_email_pattern", - "parameters" : { - "operator" : "contains", - "pattern" : "github" - } - } ] -} - - -### Update status check protection -## Update status check protection -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/branches/{{branch}}/protection/required_status_checks -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "strict" : true, - "contexts" : [ "continuous-integration/travis-ci" ] -} - - -### Update a repository webhook -## Update a repository webhook -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "active" : true, - "add_events" : [ "pull_request" ] -} - - -### Update a webhook configuration for a repository -## Update a webhook configuration for a repository -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/hooks/{{hook_id}}/config -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "content_type" : "json", - "url" : "https://example.com/webhook" -} - - -### Upload a release asset -## Upload a release asset -POST https://api.github.com/repos/{{owner}}/{{repo}}/releases/{{release_id}}/assets -Content-Type: application/octet-stream -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/ScimApi.http b/samples/client/github/jetbrains/http/client/Apis/ScimApi.http deleted file mode 100644 index dac0926aba..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/ScimApi.http +++ /dev/null @@ -1,8 +0,0 @@ -## ScimApi - -### List provisioned SCIM groups for an enterprise -## List provisioned SCIM groups for an enterprise -GET http://HOSTNAME/api/v3/scim/v2/Groups - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/SearchApi.http b/samples/client/github/jetbrains/http/client/Apis/SearchApi.http deleted file mode 100644 index da3f582d21..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/SearchApi.http +++ /dev/null @@ -1,57 +0,0 @@ -## SearchApi - -### Search code -## Search code -GET https://api.github.com/search/code -Cookie:X-API-KEY={{cookieKey}} - - - - -### Search commits -## Search commits -GET https://api.github.com/search/commits -Cookie:X-API-KEY={{cookieKey}} - - - - -### Search issues and pull requests -## Search issues and pull requests -GET https://api.github.com/search/issues -Cookie:X-API-KEY={{cookieKey}} - - - - -### Search labels -## Search labels -GET https://api.github.com/search/labels -Cookie:X-API-KEY={{cookieKey}} - - - - -### Search repositories -## Search repositories -GET https://api.github.com/search/repositories -Cookie:X-API-KEY={{cookieKey}} - - - - -### Search topics -## Search topics -GET https://api.github.com/search/topics -Cookie:X-API-KEY={{cookieKey}} - - - - -### Search users -## Search users -GET https://api.github.com/search/users -Cookie:X-API-KEY={{cookieKey}} - - - diff --git a/samples/client/github/jetbrains/http/client/Apis/SecretScanningApi.http b/samples/client/github/jetbrains/http/client/Apis/SecretScanningApi.http deleted file mode 100644 index 7ecb2e27ec..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/SecretScanningApi.http +++ /dev/null @@ -1,53 +0,0 @@ -## SecretScanningApi - -### Get a secret scanning alert -## Get a secret scanning alert -GET https://api.github.com/repos/{{owner}}/{{repo}}/secret-scanning/alerts/{{alert_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List secret scanning alerts for an enterprise -## List secret scanning alerts for an enterprise -GET https://api.github.com/enterprises/{{enterprise}}/secret-scanning/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List secret scanning alerts for an organization -## List secret scanning alerts for an organization -GET https://api.github.com/orgs/{{org}}/secret-scanning/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List secret scanning alerts for a repository -## List secret scanning alerts for a repository -GET https://api.github.com/repos/{{owner}}/{{repo}}/secret-scanning/alerts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List locations for a secret scanning alert -## List locations for a secret scanning alert -GET https://api.github.com/repos/{{owner}}/{{repo}}/secret-scanning/alerts/{{alert_number}}/locations -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a secret scanning alert -## Update a secret scanning alert -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/secret-scanning/alerts/{{alert_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "state" : "resolved", - "resolution" : "false_positive" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/SecurityAdvisoriesApi.http b/samples/client/github/jetbrains/http/client/Apis/SecurityAdvisoriesApi.http deleted file mode 100644 index 5fc12b80ae..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/SecurityAdvisoriesApi.http +++ /dev/null @@ -1,123 +0,0 @@ -## SecurityAdvisoriesApi - -### Create a temporary private fork -## Create a temporary private fork -POST https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories/{{ghsa_id}}/forks -Cookie:X-API-KEY={{cookieKey}} - - - - -### Privately report a security vulnerability -## Privately report a security vulnerability -POST https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories/reports -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "summary" : "A newly discovered vulnerability", - "description" : "A more in-depth description of what the problem is.", - "severity" : "high", - "vulnerabilities" : [ { - "package" : { - "name" : "a-package", - "ecosystem" : "npm" - }, - "vulnerable_version_range" : "< 1.0.0", - "patched_versions" : "1.0.0", - "vulnerable_functions" : [ "important_function" ] - } ], - "cwe_ids" : [ "CWE-123" ] -} - - -### Create a repository security advisory -## Create a repository security advisory -POST https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "summary" : "A new important advisory", - "description" : "A more in-depth description of what the problem is.", - "severity" : "high", - "cve_id" : null, - "vulnerabilities" : [ { - "package" : { - "name" : "a-package", - "ecosystem" : "npm" - }, - "vulnerable_version_range" : "< 1.0.0", - "patched_versions" : "1.0.0", - "vulnerable_functions" : [ "important_function" ] - } ], - "cwe_ids" : [ "CWE-1101", "CWE-20" ], - "credits" : [ { - "login" : "monalisa", - "type" : "reporter" - }, { - "login" : "octocat", - "type" : "analyst" - } ] -} - - -### Request a CVE for a repository security advisory -## Request a CVE for a repository security advisory -POST https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories/{{ghsa_id}}/cve -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a global security advisory -## Get a global security advisory -GET https://api.github.com/advisories/{{ghsa_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a repository security advisory -## Get a repository security advisory -GET https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories/{{ghsa_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List global security advisories -## List global security advisories -GET https://api.github.com/advisories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository security advisories for an organization -## List repository security advisories for an organization -GET https://api.github.com/orgs/{{org}}/security-advisories -Cookie:X-API-KEY={{cookieKey}} - - - - -### List repository security advisories -## List repository security advisories -GET https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a repository security advisory -## Update a repository security advisory -PATCH https://api.github.com/repos/{{owner}}/{{repo}}/security-advisories/{{ghsa_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "severity" : "critical", - "state" : "published" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/TeamsApi.http b/samples/client/github/jetbrains/http/client/Apis/TeamsApi.http deleted file mode 100644 index 1a4cc770e5..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/TeamsApi.http +++ /dev/null @@ -1,544 +0,0 @@ -## TeamsApi - -### Add team member (Legacy) -## Add team member (Legacy) -PUT https://api.github.com/teams/{{team_id}}/members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Add or update team membership for a user -## Add or update team membership for a user -PUT https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/memberships/{{username}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "role" : "maintainer" -} - - -### Add or update team membership for a user (Legacy) -## Add or update team membership for a user (Legacy) -PUT https://api.github.com/teams/{{team_id}}/memberships/{{username}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "role" : "member" -} - - -### Add or update team project permissions -## Add or update team project permissions -PUT https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/projects/{{project_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permission" : "write" -} - - -### Add or update team project permissions (Legacy) -## Add or update team project permissions (Legacy) -PUT https://api.github.com/teams/{{team_id}}/projects/{{project_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permission" : "read" -} - - -### Add or update team repository permissions -## Add or update team repository permissions -PUT https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/repos/{{owner}}/{{repo}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permission" : "push" -} - - -### Add or update team repository permissions (Legacy) -## Add or update team repository permissions (Legacy) -PUT https://api.github.com/teams/{{team_id}}/repos/{{owner}}/{{repo}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "permission" : "push" -} - - -### Check team permissions for a project -## Check team permissions for a project -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/projects/{{project_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check team permissions for a project (Legacy) -## Check team permissions for a project (Legacy) -GET https://api.github.com/teams/{{team_id}}/projects/{{project_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check team permissions for a repository -## Check team permissions for a repository -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/repos/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check team permissions for a repository (Legacy) -## Check team permissions for a repository (Legacy) -GET https://api.github.com/teams/{{team_id}}/repos/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a team -## Create a team -POST https://api.github.com/orgs/{{org}}/teams -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Justice League", - "description" : "A great team", - "permission" : "push", - "notification_setting" : "notifications_enabled", - "privacy" : "closed" -} - - -### Create a discussion comment -## Create a discussion comment -POST https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Do you like apples?" -} - - -### Create a discussion comment (Legacy) -## Create a discussion comment (Legacy) -POST https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Do you like apples?" -} - - -### Create a discussion -## Create a discussion -POST https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Our first team post", - "body" : "Hi! This is an area for us to collaborate as a team." -} - - -### Create a discussion (Legacy) -## Create a discussion (Legacy) -POST https://api.github.com/teams/{{team_id}}/discussions -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Our first team post", - "body" : "Hi! This is an area for us to collaborate as a team." -} - - -### Delete a discussion comment -## Delete a discussion comment -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a discussion comment (Legacy) -## Delete a discussion comment (Legacy) -DELETE https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a discussion -## Delete a discussion -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a discussion (Legacy) -## Delete a discussion (Legacy) -DELETE https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a team -## Delete a team -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a team (Legacy) -## Delete a team (Legacy) -DELETE https://api.github.com/teams/{{team_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a team by name -## Get a team by name -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a discussion comment -## Get a discussion comment -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a discussion comment (Legacy) -## Get a discussion comment (Legacy) -GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a discussion -## Get a discussion -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a discussion (Legacy) -## Get a discussion (Legacy) -GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a team (Legacy) -## Get a team (Legacy) -GET https://api.github.com/teams/{{team_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get team member (Legacy) -## Get team member (Legacy) -GET https://api.github.com/teams/{{team_id}}/members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get team membership for a user -## Get team membership for a user -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/memberships/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get team membership for a user (Legacy) -## Get team membership for a user (Legacy) -GET https://api.github.com/teams/{{team_id}}/memberships/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List teams -## List teams -GET https://api.github.com/orgs/{{org}}/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List child teams -## List child teams -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List child teams (Legacy) -## List child teams (Legacy) -GET https://api.github.com/teams/{{team_id}}/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List discussion comments -## List discussion comments -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List discussion comments (Legacy) -## List discussion comments (Legacy) -GET https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments -Cookie:X-API-KEY={{cookieKey}} - - - - -### List discussions -## List discussions -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List discussions (Legacy) -## List discussions (Legacy) -GET https://api.github.com/teams/{{team_id}}/discussions -Cookie:X-API-KEY={{cookieKey}} - - - - -### List teams for the authenticated user -## List teams for the authenticated user -GET https://api.github.com/user/teams -Cookie:X-API-KEY={{cookieKey}} - - - - -### List team members -## List team members -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/members -Cookie:X-API-KEY={{cookieKey}} - - - - -### List team members (Legacy) -## List team members (Legacy) -GET https://api.github.com/teams/{{team_id}}/members -Cookie:X-API-KEY={{cookieKey}} - - - - -### List pending team invitations -## List pending team invitations -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/invitations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List pending team invitations (Legacy) -## List pending team invitations (Legacy) -GET https://api.github.com/teams/{{team_id}}/invitations -Cookie:X-API-KEY={{cookieKey}} - - - - -### List team projects -## List team projects -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/projects -Cookie:X-API-KEY={{cookieKey}} - - - - -### List team projects (Legacy) -## List team projects (Legacy) -GET https://api.github.com/teams/{{team_id}}/projects -Cookie:X-API-KEY={{cookieKey}} - - - - -### List team repositories -## List team repositories -GET https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/repos -Cookie:X-API-KEY={{cookieKey}} - - - - -### List team repositories (Legacy) -## List team repositories (Legacy) -GET https://api.github.com/teams/{{team_id}}/repos -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove team member (Legacy) -## Remove team member (Legacy) -DELETE https://api.github.com/teams/{{team_id}}/members/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove team membership for a user -## Remove team membership for a user -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/memberships/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove team membership for a user (Legacy) -## Remove team membership for a user (Legacy) -DELETE https://api.github.com/teams/{{team_id}}/memberships/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a project from a team -## Remove a project from a team -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/projects/{{project_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a project from a team (Legacy) -## Remove a project from a team (Legacy) -DELETE https://api.github.com/teams/{{team_id}}/projects/{{project_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a repository from a team -## Remove a repository from a team -DELETE https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/repos/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Remove a repository from a team (Legacy) -## Remove a repository from a team (Legacy) -DELETE https://api.github.com/teams/{{team_id}}/repos/{{owner}}/{{repo}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update a discussion comment -## Update a discussion comment -PATCH https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}}/comments/{{comment_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Do you like pineapples?" -} - - -### Update a discussion comment (Legacy) -## Update a discussion comment (Legacy) -PATCH https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}}/comments/{{comment_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "body" : "Do you like pineapples?" -} - - -### Update a discussion -## Update a discussion -PATCH https://api.github.com/orgs/{{org}}/teams/{{team_slug}}/discussions/{{discussion_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Welcome to our first team post" -} - - -### Update a discussion (Legacy) -## Update a discussion (Legacy) -PATCH https://api.github.com/teams/{{team_id}}/discussions/{{discussion_number}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "Welcome to our first team post" -} - - -### Update a team -## Update a team -PATCH https://api.github.com/orgs/{{org}}/teams/{{team_slug}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "new team name", - "description" : "new team description", - "privacy" : "closed", - "notification_setting" : "notifications_enabled" -} - - -### Update a team (Legacy) -## Update a team (Legacy) -PATCH https://api.github.com/teams/{{team_id}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "new team name", - "description" : "new team description", - "privacy" : "closed", - "notification_setting" : "notifications_enabled" -} - diff --git a/samples/client/github/jetbrains/http/client/Apis/UsersApi.http b/samples/client/github/jetbrains/http/client/Apis/UsersApi.http deleted file mode 100644 index cc77fa108f..0000000000 --- a/samples/client/github/jetbrains/http/client/Apis/UsersApi.http +++ /dev/null @@ -1,360 +0,0 @@ -## UsersApi - -### Add an email address for the authenticated user -## Add an email address for the authenticated user -POST https://api.github.com/user/emails -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "emails" : [ "octocat@github.com", "mona@github.com", "octocat@octocat.org" ] -} - - -### Add social accounts for the authenticated user -## Add social accounts for the authenticated user -POST https://api.github.com/user/social_accounts -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "account_urls" : [ "https://facebook.com/GitHub", "https://www.youtube.com/@GitHub" ] -} - - -### Block a user -## Block a user -PUT https://api.github.com/user/blocks/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if a user is blocked by the authenticated user -## Check if a user is blocked by the authenticated user -GET https://api.github.com/user/blocks/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if a user follows another user -## Check if a user follows another user -GET https://api.github.com/users/{{username}}/following/{{target_user}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Check if a person is followed by the authenticated user -## Check if a person is followed by the authenticated user -GET https://api.github.com/user/following/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Create a GPG key for the authenticated user -## Create a GPG key for the authenticated user -POST https://api.github.com/user/gpg_keys -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "name" : "Octocat's GPG Key", - "armored_public_key" : "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFnZ2ZIBEADQ2Z7Z7\n-----END PGP PUBLIC KEY BLOCK-----" -} - - -### Create a public SSH key for the authenticated user -## Create a public SSH key for the authenticated user -POST https://api.github.com/user/keys -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "title" : "ssh-rsa AAAAB3NzaC1yc2EAAA", - "key" : "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" -} - - -### Create a SSH signing key for the authenticated user -## Create a SSH signing key for the authenticated user -POST https://api.github.com/user/ssh_signing_keys -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "key" : "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", - "title" : "ssh-rsa AAAAB3NzaC1yc2EAAA" -} - - -### Delete an email address for the authenticated user -## Delete an email address for the authenticated user -DELETE https://api.github.com/user/emails -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "emails" : [ "octocat@github.com", "mona@github.com" ] -} - - -### Delete a GPG key for the authenticated user -## Delete a GPG key for the authenticated user -DELETE https://api.github.com/user/gpg_keys/{{gpg_key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete a public SSH key for the authenticated user -## Delete a public SSH key for the authenticated user -DELETE https://api.github.com/user/keys/{{key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Delete social accounts for the authenticated user -## Delete social accounts for the authenticated user -DELETE https://api.github.com/user/social_accounts -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "account_urls" : [ "https://facebook.com/GitHub", "https://www.youtube.com/@GitHub" ] -} - - -### Delete an SSH signing key for the authenticated user -## Delete an SSH signing key for the authenticated user -DELETE https://api.github.com/user/ssh_signing_keys/{{ssh_signing_key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Follow a user -## Follow a user -PUT https://api.github.com/user/following/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get the authenticated user -## Get the authenticated user -GET https://api.github.com/user -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a user -## Get a user -GET https://api.github.com/users/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get contextual information for a user -## Get contextual information for a user -GET https://api.github.com/users/{{username}}/hovercard -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a GPG key for the authenticated user -## Get a GPG key for the authenticated user -GET https://api.github.com/user/gpg_keys/{{gpg_key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get a public SSH key for the authenticated user -## Get a public SSH key for the authenticated user -GET https://api.github.com/user/keys/{{key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Get an SSH signing key for the authenticated user -## Get an SSH signing key for the authenticated user -GET https://api.github.com/user/ssh_signing_keys/{{ssh_signing_key_id}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### List users -## List users -GET https://api.github.com/users -Cookie:X-API-KEY={{cookieKey}} - - - - -### List users blocked by the authenticated user -## List users blocked by the authenticated user -GET https://api.github.com/user/blocks -Cookie:X-API-KEY={{cookieKey}} - - - - -### List email addresses for the authenticated user -## List email addresses for the authenticated user -GET https://api.github.com/user/emails -Cookie:X-API-KEY={{cookieKey}} - - - - -### List the people the authenticated user follows -## List the people the authenticated user follows -GET https://api.github.com/user/following -Cookie:X-API-KEY={{cookieKey}} - - - - -### List followers of the authenticated user -## List followers of the authenticated user -GET https://api.github.com/user/followers -Cookie:X-API-KEY={{cookieKey}} - - - - -### List followers of a user -## List followers of a user -GET https://api.github.com/users/{{username}}/followers -Cookie:X-API-KEY={{cookieKey}} - - - - -### List the people a user follows -## List the people a user follows -GET https://api.github.com/users/{{username}}/following -Cookie:X-API-KEY={{cookieKey}} - - - - -### List GPG keys for the authenticated user -## List GPG keys for the authenticated user -GET https://api.github.com/user/gpg_keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### List GPG keys for a user -## List GPG keys for a user -GET https://api.github.com/users/{{username}}/gpg_keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public email addresses for the authenticated user -## List public email addresses for the authenticated user -GET https://api.github.com/user/public_emails -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public keys for a user -## List public keys for a user -GET https://api.github.com/users/{{username}}/keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### List public SSH keys for the authenticated user -## List public SSH keys for the authenticated user -GET https://api.github.com/user/keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### List social accounts for the authenticated user -## List social accounts for the authenticated user -GET https://api.github.com/user/social_accounts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List social accounts for a user -## List social accounts for a user -GET https://api.github.com/users/{{username}}/social_accounts -Cookie:X-API-KEY={{cookieKey}} - - - - -### List SSH signing keys for the authenticated user -## List SSH signing keys for the authenticated user -GET https://api.github.com/user/ssh_signing_keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### List SSH signing keys for a user -## List SSH signing keys for a user -GET https://api.github.com/users/{{username}}/ssh_signing_keys -Cookie:X-API-KEY={{cookieKey}} - - - - -### Set primary email visibility for the authenticated user -## Set primary email visibility for the authenticated user -PATCH https://api.github.com/user/email/visibility -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "visibility" : "private" -} - - -### Unblock a user -## Unblock a user -DELETE https://api.github.com/user/blocks/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Unfollow a user -## Unfollow a user -DELETE https://api.github.com/user/following/{{username}} -Cookie:X-API-KEY={{cookieKey}} - - - - -### Update the authenticated user -## Update the authenticated user -PATCH https://api.github.com/user -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} - -{ - "blog" : "https://github.com/blog", - "name" : "monalisa octocat" -} - diff --git a/samples/client/github/jetbrains/http/client/README.md b/samples/client/github/jetbrains/http/client/README.md deleted file mode 100644 index 94db1c0ecf..0000000000 --- a/samples/client/github/jetbrains/http/client/README.md +++ /dev/null @@ -1,949 +0,0 @@ -# GitHub v3 REST API - Jetbrains API Client - -## OpenAPI File description - -GitHub's v3 REST API. - -* API basepath : [https://api.github.com](https://api.github.com) -* Version : 1.1.4 - -## Documentation for API Endpoints - -All URIs are relative to *https://api.github.com*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*ActionsApi* | [**actions/addCustomLabelsToSelfHostedRunnerForOrg**](Apis/ActionsApi.http#actions/addcustomlabelstoselfhostedrunnerfororg) | **POST** /orgs/{org}/actions/runners/{runner_id}/labels | Add custom labels to a self-hosted runner for an organization -*ActionsApi* | [**actions/addCustomLabelsToSelfHostedRunnerForRepo**](Apis/ActionsApi.http#actions/addcustomlabelstoselfhostedrunnerforrepo) | **POST** /repos/{owner}/{repo}/actions/runners/{runner_id}/labels | Add custom labels to a self-hosted runner for a repository -*ActionsApi* | [**actions/addSelectedRepoToOrgSecret**](Apis/ActionsApi.http#actions/addselectedrepotoorgsecret) | **PUT** /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id} | Add selected repository to an organization secret -*ActionsApi* | [**actions/addSelectedRepoToOrgVariable**](Apis/ActionsApi.http#actions/addselectedrepotoorgvariable) | **PUT** /orgs/{org}/actions/variables/{name}/repositories/{repository_id} | Add selected repository to an organization variable -*ActionsApi* | [**actions/approveWorkflowRun**](Apis/ActionsApi.http#actions/approveworkflowrun) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/approve | Approve a workflow run for a fork pull request -*ActionsApi* | [**actions/cancelWorkflowRun**](Apis/ActionsApi.http#actions/cancelworkflowrun) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/cancel | Cancel a workflow run -*ActionsApi* | [**actions/createEnvironmentVariable**](Apis/ActionsApi.http#actions/createenvironmentvariable) | **POST** /repositories/{repository_id}/environments/{environment_name}/variables | Create an environment variable -*ActionsApi* | [**actions/createOrUpdateEnvironmentSecret**](Apis/ActionsApi.http#actions/createorupdateenvironmentsecret) | **PUT** /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} | Create or update an environment secret -*ActionsApi* | [**actions/createOrUpdateOrgSecret**](Apis/ActionsApi.http#actions/createorupdateorgsecret) | **PUT** /orgs/{org}/actions/secrets/{secret_name} | Create or update an organization secret -*ActionsApi* | [**actions/createOrUpdateRepoSecret**](Apis/ActionsApi.http#actions/createorupdatereposecret) | **PUT** /repos/{owner}/{repo}/actions/secrets/{secret_name} | Create or update a repository secret -*ActionsApi* | [**actions/createOrgVariable**](Apis/ActionsApi.http#actions/createorgvariable) | **POST** /orgs/{org}/actions/variables | Create an organization variable -*ActionsApi* | [**actions/createRegistrationTokenForOrg**](Apis/ActionsApi.http#actions/createregistrationtokenfororg) | **POST** /orgs/{org}/actions/runners/registration-token | Create a registration token for an organization -*ActionsApi* | [**actions/createRegistrationTokenForRepo**](Apis/ActionsApi.http#actions/createregistrationtokenforrepo) | **POST** /repos/{owner}/{repo}/actions/runners/registration-token | Create a registration token for a repository -*ActionsApi* | [**actions/createRemoveTokenForOrg**](Apis/ActionsApi.http#actions/createremovetokenfororg) | **POST** /orgs/{org}/actions/runners/remove-token | Create a remove token for an organization -*ActionsApi* | [**actions/createRemoveTokenForRepo**](Apis/ActionsApi.http#actions/createremovetokenforrepo) | **POST** /repos/{owner}/{repo}/actions/runners/remove-token | Create a remove token for a repository -*ActionsApi* | [**actions/createRepoVariable**](Apis/ActionsApi.http#actions/createrepovariable) | **POST** /repos/{owner}/{repo}/actions/variables | Create a repository variable -*ActionsApi* | [**actions/createWorkflowDispatch**](Apis/ActionsApi.http#actions/createworkflowdispatch) | **POST** /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches | Create a workflow dispatch event -*ActionsApi* | [**actions/deleteActionsCacheById**](Apis/ActionsApi.http#actions/deleteactionscachebyid) | **DELETE** /repos/{owner}/{repo}/actions/caches/{cache_id} | Delete a GitHub Actions cache for a repository (using a cache ID) -*ActionsApi* | [**actions/deleteActionsCacheByKey**](Apis/ActionsApi.http#actions/deleteactionscachebykey) | **DELETE** /repos/{owner}/{repo}/actions/caches | Delete GitHub Actions caches for a repository (using a cache key) -*ActionsApi* | [**actions/deleteArtifact**](Apis/ActionsApi.http#actions/deleteartifact) | **DELETE** /repos/{owner}/{repo}/actions/artifacts/{artifact_id} | Delete an artifact -*ActionsApi* | [**actions/deleteEnvironmentSecret**](Apis/ActionsApi.http#actions/deleteenvironmentsecret) | **DELETE** /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} | Delete an environment secret -*ActionsApi* | [**actions/deleteEnvironmentVariable**](Apis/ActionsApi.http#actions/deleteenvironmentvariable) | **DELETE** /repositories/{repository_id}/environments/{environment_name}/variables/{name} | Delete an environment variable -*ActionsApi* | [**actions/deleteOrgSecret**](Apis/ActionsApi.http#actions/deleteorgsecret) | **DELETE** /orgs/{org}/actions/secrets/{secret_name} | Delete an organization secret -*ActionsApi* | [**actions/deleteOrgVariable**](Apis/ActionsApi.http#actions/deleteorgvariable) | **DELETE** /orgs/{org}/actions/variables/{name} | Delete an organization variable -*ActionsApi* | [**actions/deleteRepoSecret**](Apis/ActionsApi.http#actions/deletereposecret) | **DELETE** /repos/{owner}/{repo}/actions/secrets/{secret_name} | Delete a repository secret -*ActionsApi* | [**actions/deleteRepoVariable**](Apis/ActionsApi.http#actions/deleterepovariable) | **DELETE** /repos/{owner}/{repo}/actions/variables/{name} | Delete a repository variable -*ActionsApi* | [**actions/deleteSelfHostedRunnerFromOrg**](Apis/ActionsApi.http#actions/deleteselfhostedrunnerfromorg) | **DELETE** /orgs/{org}/actions/runners/{runner_id} | Delete a self-hosted runner from an organization -*ActionsApi* | [**actions/deleteSelfHostedRunnerFromRepo**](Apis/ActionsApi.http#actions/deleteselfhostedrunnerfromrepo) | **DELETE** /repos/{owner}/{repo}/actions/runners/{runner_id} | Delete a self-hosted runner from a repository -*ActionsApi* | [**actions/deleteWorkflowRun**](Apis/ActionsApi.http#actions/deleteworkflowrun) | **DELETE** /repos/{owner}/{repo}/actions/runs/{run_id} | Delete a workflow run -*ActionsApi* | [**actions/deleteWorkflowRunLogs**](Apis/ActionsApi.http#actions/deleteworkflowrunlogs) | **DELETE** /repos/{owner}/{repo}/actions/runs/{run_id}/logs | Delete workflow run logs -*ActionsApi* | [**actions/disableSelectedRepositoryGithubActionsOrganization**](Apis/ActionsApi.http#actions/disableselectedrepositorygithubactionsorganization) | **DELETE** /orgs/{org}/actions/permissions/repositories/{repository_id} | Disable a selected repository for GitHub Actions in an organization -*ActionsApi* | [**actions/disableWorkflow**](Apis/ActionsApi.http#actions/disableworkflow) | **PUT** /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable | Disable a workflow -*ActionsApi* | [**actions/downloadArtifact**](Apis/ActionsApi.http#actions/downloadartifact) | **GET** /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format} | Download an artifact -*ActionsApi* | [**actions/downloadJobLogsForWorkflowRun**](Apis/ActionsApi.http#actions/downloadjoblogsforworkflowrun) | **GET** /repos/{owner}/{repo}/actions/jobs/{job_id}/logs | Download job logs for a workflow run -*ActionsApi* | [**actions/downloadWorkflowRunAttemptLogs**](Apis/ActionsApi.http#actions/downloadworkflowrunattemptlogs) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs | Download workflow run attempt logs -*ActionsApi* | [**actions/downloadWorkflowRunLogs**](Apis/ActionsApi.http#actions/downloadworkflowrunlogs) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/logs | Download workflow run logs -*ActionsApi* | [**actions/enableSelectedRepositoryGithubActionsOrganization**](Apis/ActionsApi.http#actions/enableselectedrepositorygithubactionsorganization) | **PUT** /orgs/{org}/actions/permissions/repositories/{repository_id} | Enable a selected repository for GitHub Actions in an organization -*ActionsApi* | [**actions/enableWorkflow**](Apis/ActionsApi.http#actions/enableworkflow) | **PUT** /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable | Enable a workflow -*ActionsApi* | [**actions/forceCancelWorkflowRun**](Apis/ActionsApi.http#actions/forcecancelworkflowrun) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel | Force cancel a workflow run -*ActionsApi* | [**actions/generateRunnerJitconfigForOrg**](Apis/ActionsApi.http#actions/generaterunnerjitconfigfororg) | **POST** /orgs/{org}/actions/runners/generate-jitconfig | Create configuration for a just-in-time runner for an organization -*ActionsApi* | [**actions/generateRunnerJitconfigForRepo**](Apis/ActionsApi.http#actions/generaterunnerjitconfigforrepo) | **POST** /repos/{owner}/{repo}/actions/runners/generate-jitconfig | Create configuration for a just-in-time runner for a repository -*ActionsApi* | [**actions/getActionsCacheList**](Apis/ActionsApi.http#actions/getactionscachelist) | **GET** /repos/{owner}/{repo}/actions/caches | List GitHub Actions caches for a repository -*ActionsApi* | [**actions/getActionsCacheUsage**](Apis/ActionsApi.http#actions/getactionscacheusage) | **GET** /repos/{owner}/{repo}/actions/cache/usage | Get GitHub Actions cache usage for a repository -*ActionsApi* | [**actions/getActionsCacheUsageByRepoForOrg**](Apis/ActionsApi.http#actions/getactionscacheusagebyrepofororg) | **GET** /orgs/{org}/actions/cache/usage-by-repository | List repositories with GitHub Actions cache usage for an organization -*ActionsApi* | [**actions/getActionsCacheUsageForOrg**](Apis/ActionsApi.http#actions/getactionscacheusagefororg) | **GET** /orgs/{org}/actions/cache/usage | Get GitHub Actions cache usage for an organization -*ActionsApi* | [**actions/getAllowedActionsOrganization**](Apis/ActionsApi.http#actions/getallowedactionsorganization) | **GET** /orgs/{org}/actions/permissions/selected-actions | Get allowed actions and reusable workflows for an organization -*ActionsApi* | [**actions/getAllowedActionsRepository**](Apis/ActionsApi.http#actions/getallowedactionsrepository) | **GET** /repos/{owner}/{repo}/actions/permissions/selected-actions | Get allowed actions and reusable workflows for a repository -*ActionsApi* | [**actions/getArtifact**](Apis/ActionsApi.http#actions/getartifact) | **GET** /repos/{owner}/{repo}/actions/artifacts/{artifact_id} | Get an artifact -*ActionsApi* | [**actions/getCustomOidcSubClaimForRepo**](Apis/ActionsApi.http#actions/getcustomoidcsubclaimforrepo) | **GET** /repos/{owner}/{repo}/actions/oidc/customization/sub | Get the customization template for an OIDC subject claim for a repository -*ActionsApi* | [**actions/getEnvironmentPublicKey**](Apis/ActionsApi.http#actions/getenvironmentpublickey) | **GET** /repositories/{repository_id}/environments/{environment_name}/secrets/public-key | Get an environment public key -*ActionsApi* | [**actions/getEnvironmentSecret**](Apis/ActionsApi.http#actions/getenvironmentsecret) | **GET** /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name} | Get an environment secret -*ActionsApi* | [**actions/getEnvironmentVariable**](Apis/ActionsApi.http#actions/getenvironmentvariable) | **GET** /repositories/{repository_id}/environments/{environment_name}/variables/{name} | Get an environment variable -*ActionsApi* | [**actions/getGithubActionsDefaultWorkflowPermissionsOrganization**](Apis/ActionsApi.http#actions/getgithubactionsdefaultworkflowpermissionsorganization) | **GET** /orgs/{org}/actions/permissions/workflow | Get default workflow permissions for an organization -*ActionsApi* | [**actions/getGithubActionsDefaultWorkflowPermissionsRepository**](Apis/ActionsApi.http#actions/getgithubactionsdefaultworkflowpermissionsrepository) | **GET** /repos/{owner}/{repo}/actions/permissions/workflow | Get default workflow permissions for a repository -*ActionsApi* | [**actions/getGithubActionsPermissionsOrganization**](Apis/ActionsApi.http#actions/getgithubactionspermissionsorganization) | **GET** /orgs/{org}/actions/permissions | Get GitHub Actions permissions for an organization -*ActionsApi* | [**actions/getGithubActionsPermissionsRepository**](Apis/ActionsApi.http#actions/getgithubactionspermissionsrepository) | **GET** /repos/{owner}/{repo}/actions/permissions | Get GitHub Actions permissions for a repository -*ActionsApi* | [**actions/getJobForWorkflowRun**](Apis/ActionsApi.http#actions/getjobforworkflowrun) | **GET** /repos/{owner}/{repo}/actions/jobs/{job_id} | Get a job for a workflow run -*ActionsApi* | [**actions/getOrgPublicKey**](Apis/ActionsApi.http#actions/getorgpublickey) | **GET** /orgs/{org}/actions/secrets/public-key | Get an organization public key -*ActionsApi* | [**actions/getOrgSecret**](Apis/ActionsApi.http#actions/getorgsecret) | **GET** /orgs/{org}/actions/secrets/{secret_name} | Get an organization secret -*ActionsApi* | [**actions/getOrgVariable**](Apis/ActionsApi.http#actions/getorgvariable) | **GET** /orgs/{org}/actions/variables/{name} | Get an organization variable -*ActionsApi* | [**actions/getPendingDeploymentsForRun**](Apis/ActionsApi.http#actions/getpendingdeploymentsforrun) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments | Get pending deployments for a workflow run -*ActionsApi* | [**actions/getRepoPublicKey**](Apis/ActionsApi.http#actions/getrepopublickey) | **GET** /repos/{owner}/{repo}/actions/secrets/public-key | Get a repository public key -*ActionsApi* | [**actions/getRepoSecret**](Apis/ActionsApi.http#actions/getreposecret) | **GET** /repos/{owner}/{repo}/actions/secrets/{secret_name} | Get a repository secret -*ActionsApi* | [**actions/getRepoVariable**](Apis/ActionsApi.http#actions/getrepovariable) | **GET** /repos/{owner}/{repo}/actions/variables/{name} | Get a repository variable -*ActionsApi* | [**actions/getReviewsForRun**](Apis/ActionsApi.http#actions/getreviewsforrun) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/approvals | Get the review history for a workflow run -*ActionsApi* | [**actions/getSelfHostedRunnerForOrg**](Apis/ActionsApi.http#actions/getselfhostedrunnerfororg) | **GET** /orgs/{org}/actions/runners/{runner_id} | Get a self-hosted runner for an organization -*ActionsApi* | [**actions/getSelfHostedRunnerForRepo**](Apis/ActionsApi.http#actions/getselfhostedrunnerforrepo) | **GET** /repos/{owner}/{repo}/actions/runners/{runner_id} | Get a self-hosted runner for a repository -*ActionsApi* | [**actions/getWorkflow**](Apis/ActionsApi.http#actions/getworkflow) | **GET** /repos/{owner}/{repo}/actions/workflows/{workflow_id} | Get a workflow -*ActionsApi* | [**actions/getWorkflowAccessToRepository**](Apis/ActionsApi.http#actions/getworkflowaccesstorepository) | **GET** /repos/{owner}/{repo}/actions/permissions/access | Get the level of access for workflows outside of the repository -*ActionsApi* | [**actions/getWorkflowRun**](Apis/ActionsApi.http#actions/getworkflowrun) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id} | Get a workflow run -*ActionsApi* | [**actions/getWorkflowRunAttempt**](Apis/ActionsApi.http#actions/getworkflowrunattempt) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} | Get a workflow run attempt -*ActionsApi* | [**actions/getWorkflowRunUsage**](Apis/ActionsApi.http#actions/getworkflowrunusage) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/timing | Get workflow run usage -*ActionsApi* | [**actions/getWorkflowUsage**](Apis/ActionsApi.http#actions/getworkflowusage) | **GET** /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing | Get workflow usage -*ActionsApi* | [**actions/listArtifactsForRepo**](Apis/ActionsApi.http#actions/listartifactsforrepo) | **GET** /repos/{owner}/{repo}/actions/artifacts | List artifacts for a repository -*ActionsApi* | [**actions/listEnvironmentSecrets**](Apis/ActionsApi.http#actions/listenvironmentsecrets) | **GET** /repositories/{repository_id}/environments/{environment_name}/secrets | List environment secrets -*ActionsApi* | [**actions/listEnvironmentVariables**](Apis/ActionsApi.http#actions/listenvironmentvariables) | **GET** /repositories/{repository_id}/environments/{environment_name}/variables | List environment variables -*ActionsApi* | [**actions/listJobsForWorkflowRun**](Apis/ActionsApi.http#actions/listjobsforworkflowrun) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/jobs | List jobs for a workflow run -*ActionsApi* | [**actions/listJobsForWorkflowRunAttempt**](Apis/ActionsApi.http#actions/listjobsforworkflowrunattempt) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs | List jobs for a workflow run attempt -*ActionsApi* | [**actions/listLabelsForSelfHostedRunnerForOrg**](Apis/ActionsApi.http#actions/listlabelsforselfhostedrunnerfororg) | **GET** /orgs/{org}/actions/runners/{runner_id}/labels | List labels for a self-hosted runner for an organization -*ActionsApi* | [**actions/listLabelsForSelfHostedRunnerForRepo**](Apis/ActionsApi.http#actions/listlabelsforselfhostedrunnerforrepo) | **GET** /repos/{owner}/{repo}/actions/runners/{runner_id}/labels | List labels for a self-hosted runner for a repository -*ActionsApi* | [**actions/listOrgSecrets**](Apis/ActionsApi.http#actions/listorgsecrets) | **GET** /orgs/{org}/actions/secrets | List organization secrets -*ActionsApi* | [**actions/listOrgVariables**](Apis/ActionsApi.http#actions/listorgvariables) | **GET** /orgs/{org}/actions/variables | List organization variables -*ActionsApi* | [**actions/listRepoOrganizationSecrets**](Apis/ActionsApi.http#actions/listrepoorganizationsecrets) | **GET** /repos/{owner}/{repo}/actions/organization-secrets | List repository organization secrets -*ActionsApi* | [**actions/listRepoOrganizationVariables**](Apis/ActionsApi.http#actions/listrepoorganizationvariables) | **GET** /repos/{owner}/{repo}/actions/organization-variables | List repository organization variables -*ActionsApi* | [**actions/listRepoSecrets**](Apis/ActionsApi.http#actions/listreposecrets) | **GET** /repos/{owner}/{repo}/actions/secrets | List repository secrets -*ActionsApi* | [**actions/listRepoVariables**](Apis/ActionsApi.http#actions/listrepovariables) | **GET** /repos/{owner}/{repo}/actions/variables | List repository variables -*ActionsApi* | [**actions/listRepoWorkflows**](Apis/ActionsApi.http#actions/listrepoworkflows) | **GET** /repos/{owner}/{repo}/actions/workflows | List repository workflows -*ActionsApi* | [**actions/listRunnerApplicationsForOrg**](Apis/ActionsApi.http#actions/listrunnerapplicationsfororg) | **GET** /orgs/{org}/actions/runners/downloads | List runner applications for an organization -*ActionsApi* | [**actions/listRunnerApplicationsForRepo**](Apis/ActionsApi.http#actions/listrunnerapplicationsforrepo) | **GET** /repos/{owner}/{repo}/actions/runners/downloads | List runner applications for a repository -*ActionsApi* | [**actions/listSelectedReposForOrgSecret**](Apis/ActionsApi.http#actions/listselectedreposfororgsecret) | **GET** /orgs/{org}/actions/secrets/{secret_name}/repositories | List selected repositories for an organization secret -*ActionsApi* | [**actions/listSelectedReposForOrgVariable**](Apis/ActionsApi.http#actions/listselectedreposfororgvariable) | **GET** /orgs/{org}/actions/variables/{name}/repositories | List selected repositories for an organization variable -*ActionsApi* | [**actions/listSelectedRepositoriesEnabledGithubActionsOrganization**](Apis/ActionsApi.http#actions/listselectedrepositoriesenabledgithubactionsorganization) | **GET** /orgs/{org}/actions/permissions/repositories | List selected repositories enabled for GitHub Actions in an organization -*ActionsApi* | [**actions/listSelfHostedRunnersForOrg**](Apis/ActionsApi.http#actions/listselfhostedrunnersfororg) | **GET** /orgs/{org}/actions/runners | List self-hosted runners for an organization -*ActionsApi* | [**actions/listSelfHostedRunnersForRepo**](Apis/ActionsApi.http#actions/listselfhostedrunnersforrepo) | **GET** /repos/{owner}/{repo}/actions/runners | List self-hosted runners for a repository -*ActionsApi* | [**actions/listWorkflowRunArtifacts**](Apis/ActionsApi.http#actions/listworkflowrunartifacts) | **GET** /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts | List workflow run artifacts -*ActionsApi* | [**actions/listWorkflowRuns**](Apis/ActionsApi.http#actions/listworkflowruns) | **GET** /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs | List workflow runs for a workflow -*ActionsApi* | [**actions/listWorkflowRunsForRepo**](Apis/ActionsApi.http#actions/listworkflowrunsforrepo) | **GET** /repos/{owner}/{repo}/actions/runs | List workflow runs for a repository -*ActionsApi* | [**actions/reRunJobForWorkflowRun**](Apis/ActionsApi.http#actions/rerunjobforworkflowrun) | **POST** /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun | Re-run a job from a workflow run -*ActionsApi* | [**actions/reRunWorkflow**](Apis/ActionsApi.http#actions/rerunworkflow) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/rerun | Re-run a workflow -*ActionsApi* | [**actions/reRunWorkflowFailedJobs**](Apis/ActionsApi.http#actions/rerunworkflowfailedjobs) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs | Re-run failed jobs from a workflow run -*ActionsApi* | [**actions/removeAllCustomLabelsFromSelfHostedRunnerForOrg**](Apis/ActionsApi.http#actions/removeallcustomlabelsfromselfhostedrunnerfororg) | **DELETE** /orgs/{org}/actions/runners/{runner_id}/labels | Remove all custom labels from a self-hosted runner for an organization -*ActionsApi* | [**actions/removeAllCustomLabelsFromSelfHostedRunnerForRepo**](Apis/ActionsApi.http#actions/removeallcustomlabelsfromselfhostedrunnerforrepo) | **DELETE** /repos/{owner}/{repo}/actions/runners/{runner_id}/labels | Remove all custom labels from a self-hosted runner for a repository -*ActionsApi* | [**actions/removeCustomLabelFromSelfHostedRunnerForOrg**](Apis/ActionsApi.http#actions/removecustomlabelfromselfhostedrunnerfororg) | **DELETE** /orgs/{org}/actions/runners/{runner_id}/labels/{name} | Remove a custom label from a self-hosted runner for an organization -*ActionsApi* | [**actions/removeCustomLabelFromSelfHostedRunnerForRepo**](Apis/ActionsApi.http#actions/removecustomlabelfromselfhostedrunnerforrepo) | **DELETE** /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name} | Remove a custom label from a self-hosted runner for a repository -*ActionsApi* | [**actions/removeSelectedRepoFromOrgSecret**](Apis/ActionsApi.http#actions/removeselectedrepofromorgsecret) | **DELETE** /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id} | Remove selected repository from an organization secret -*ActionsApi* | [**actions/removeSelectedRepoFromOrgVariable**](Apis/ActionsApi.http#actions/removeselectedrepofromorgvariable) | **DELETE** /orgs/{org}/actions/variables/{name}/repositories/{repository_id} | Remove selected repository from an organization variable -*ActionsApi* | [**actions/reviewCustomGatesForRun**](Apis/ActionsApi.http#actions/reviewcustomgatesforrun) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule | Review custom deployment protection rules for a workflow run -*ActionsApi* | [**actions/reviewPendingDeploymentsForRun**](Apis/ActionsApi.http#actions/reviewpendingdeploymentsforrun) | **POST** /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments | Review pending deployments for a workflow run -*ActionsApi* | [**actions/setAllowedActionsOrganization**](Apis/ActionsApi.http#actions/setallowedactionsorganization) | **PUT** /orgs/{org}/actions/permissions/selected-actions | Set allowed actions and reusable workflows for an organization -*ActionsApi* | [**actions/setAllowedActionsRepository**](Apis/ActionsApi.http#actions/setallowedactionsrepository) | **PUT** /repos/{owner}/{repo}/actions/permissions/selected-actions | Set allowed actions and reusable workflows for a repository -*ActionsApi* | [**actions/setCustomLabelsForSelfHostedRunnerForOrg**](Apis/ActionsApi.http#actions/setcustomlabelsforselfhostedrunnerfororg) | **PUT** /orgs/{org}/actions/runners/{runner_id}/labels | Set custom labels for a self-hosted runner for an organization -*ActionsApi* | [**actions/setCustomLabelsForSelfHostedRunnerForRepo**](Apis/ActionsApi.http#actions/setcustomlabelsforselfhostedrunnerforrepo) | **PUT** /repos/{owner}/{repo}/actions/runners/{runner_id}/labels | Set custom labels for a self-hosted runner for a repository -*ActionsApi* | [**actions/setCustomOidcSubClaimForRepo**](Apis/ActionsApi.http#actions/setcustomoidcsubclaimforrepo) | **PUT** /repos/{owner}/{repo}/actions/oidc/customization/sub | Set the customization template for an OIDC subject claim for a repository -*ActionsApi* | [**actions/setGithubActionsDefaultWorkflowPermissionsOrganization**](Apis/ActionsApi.http#actions/setgithubactionsdefaultworkflowpermissionsorganization) | **PUT** /orgs/{org}/actions/permissions/workflow | Set default workflow permissions for an organization -*ActionsApi* | [**actions/setGithubActionsDefaultWorkflowPermissionsRepository**](Apis/ActionsApi.http#actions/setgithubactionsdefaultworkflowpermissionsrepository) | **PUT** /repos/{owner}/{repo}/actions/permissions/workflow | Set default workflow permissions for a repository -*ActionsApi* | [**actions/setGithubActionsPermissionsOrganization**](Apis/ActionsApi.http#actions/setgithubactionspermissionsorganization) | **PUT** /orgs/{org}/actions/permissions | Set GitHub Actions permissions for an organization -*ActionsApi* | [**actions/setGithubActionsPermissionsRepository**](Apis/ActionsApi.http#actions/setgithubactionspermissionsrepository) | **PUT** /repos/{owner}/{repo}/actions/permissions | Set GitHub Actions permissions for a repository -*ActionsApi* | [**actions/setSelectedReposForOrgSecret**](Apis/ActionsApi.http#actions/setselectedreposfororgsecret) | **PUT** /orgs/{org}/actions/secrets/{secret_name}/repositories | Set selected repositories for an organization secret -*ActionsApi* | [**actions/setSelectedReposForOrgVariable**](Apis/ActionsApi.http#actions/setselectedreposfororgvariable) | **PUT** /orgs/{org}/actions/variables/{name}/repositories | Set selected repositories for an organization variable -*ActionsApi* | [**actions/setSelectedRepositoriesEnabledGithubActionsOrganization**](Apis/ActionsApi.http#actions/setselectedrepositoriesenabledgithubactionsorganization) | **PUT** /orgs/{org}/actions/permissions/repositories | Set selected repositories enabled for GitHub Actions in an organization -*ActionsApi* | [**actions/setWorkflowAccessToRepository**](Apis/ActionsApi.http#actions/setworkflowaccesstorepository) | **PUT** /repos/{owner}/{repo}/actions/permissions/access | Set the level of access for workflows outside of the repository -*ActionsApi* | [**actions/updateEnvironmentVariable**](Apis/ActionsApi.http#actions/updateenvironmentvariable) | **PATCH** /repositories/{repository_id}/environments/{environment_name}/variables/{name} | Update an environment variable -*ActionsApi* | [**actions/updateOrgVariable**](Apis/ActionsApi.http#actions/updateorgvariable) | **PATCH** /orgs/{org}/actions/variables/{name} | Update an organization variable -*ActionsApi* | [**actions/updateRepoVariable**](Apis/ActionsApi.http#actions/updaterepovariable) | **PATCH** /repos/{owner}/{repo}/actions/variables/{name} | Update a repository variable -*ActivityApi* | [**activity/checkRepoIsStarredByAuthenticatedUser**](Apis/ActivityApi.http#activity/checkrepoisstarredbyauthenticateduser) | **GET** /user/starred/{owner}/{repo} | Check if a repository is starred by the authenticated user -*ActivityApi* | [**activity/deleteRepoSubscription**](Apis/ActivityApi.http#activity/deletereposubscription) | **DELETE** /repos/{owner}/{repo}/subscription | Delete a repository subscription -*ActivityApi* | [**activity/deleteThreadSubscription**](Apis/ActivityApi.http#activity/deletethreadsubscription) | **DELETE** /notifications/threads/{thread_id}/subscription | Delete a thread subscription -*ActivityApi* | [**activity/getFeeds**](Apis/ActivityApi.http#activity/getfeeds) | **GET** /feeds | Get feeds -*ActivityApi* | [**activity/getRepoSubscription**](Apis/ActivityApi.http#activity/getreposubscription) | **GET** /repos/{owner}/{repo}/subscription | Get a repository subscription -*ActivityApi* | [**activity/getThread**](Apis/ActivityApi.http#activity/getthread) | **GET** /notifications/threads/{thread_id} | Get a thread -*ActivityApi* | [**activity/getThreadSubscriptionForAuthenticatedUser**](Apis/ActivityApi.http#activity/getthreadsubscriptionforauthenticateduser) | **GET** /notifications/threads/{thread_id}/subscription | Get a thread subscription for the authenticated user -*ActivityApi* | [**activity/listEventsForAuthenticatedUser**](Apis/ActivityApi.http#activity/listeventsforauthenticateduser) | **GET** /users/{username}/events | List events for the authenticated user -*ActivityApi* | [**activity/listNotificationsForAuthenticatedUser**](Apis/ActivityApi.http#activity/listnotificationsforauthenticateduser) | **GET** /notifications | List notifications for the authenticated user -*ActivityApi* | [**activity/listOrgEventsForAuthenticatedUser**](Apis/ActivityApi.http#activity/listorgeventsforauthenticateduser) | **GET** /users/{username}/events/orgs/{org} | List organization events for the authenticated user -*ActivityApi* | [**activity/listPublicEvents**](Apis/ActivityApi.http#activity/listpublicevents) | **GET** /events | List public events -*ActivityApi* | [**activity/listPublicEventsForRepoNetwork**](Apis/ActivityApi.http#activity/listpubliceventsforreponetwork) | **GET** /networks/{owner}/{repo}/events | List public events for a network of repositories -*ActivityApi* | [**activity/listPublicEventsForUser**](Apis/ActivityApi.http#activity/listpubliceventsforuser) | **GET** /users/{username}/events/public | List public events for a user -*ActivityApi* | [**activity/listPublicOrgEvents**](Apis/ActivityApi.http#activity/listpublicorgevents) | **GET** /orgs/{org}/events | List public organization events -*ActivityApi* | [**activity/listReceivedEventsForUser**](Apis/ActivityApi.http#activity/listreceivedeventsforuser) | **GET** /users/{username}/received_events | List events received by the authenticated user -*ActivityApi* | [**activity/listReceivedPublicEventsForUser**](Apis/ActivityApi.http#activity/listreceivedpubliceventsforuser) | **GET** /users/{username}/received_events/public | List public events received by a user -*ActivityApi* | [**activity/listRepoEvents**](Apis/ActivityApi.http#activity/listrepoevents) | **GET** /repos/{owner}/{repo}/events | List repository events -*ActivityApi* | [**activity/listRepoNotificationsForAuthenticatedUser**](Apis/ActivityApi.http#activity/listreponotificationsforauthenticateduser) | **GET** /repos/{owner}/{repo}/notifications | List repository notifications for the authenticated user -*ActivityApi* | [**activity/listReposStarredByAuthenticatedUser**](Apis/ActivityApi.http#activity/listreposstarredbyauthenticateduser) | **GET** /user/starred | List repositories starred by the authenticated user -*ActivityApi* | [**activity/listReposStarredByUser**](Apis/ActivityApi.http#activity/listreposstarredbyuser) | **GET** /users/{username}/starred | List repositories starred by a user -*ActivityApi* | [**activity/listReposWatchedByUser**](Apis/ActivityApi.http#activity/listreposwatchedbyuser) | **GET** /users/{username}/subscriptions | List repositories watched by a user -*ActivityApi* | [**activity/listStargazersForRepo**](Apis/ActivityApi.http#activity/liststargazersforrepo) | **GET** /repos/{owner}/{repo}/stargazers | List stargazers -*ActivityApi* | [**activity/listWatchedReposForAuthenticatedUser**](Apis/ActivityApi.http#activity/listwatchedreposforauthenticateduser) | **GET** /user/subscriptions | List repositories watched by the authenticated user -*ActivityApi* | [**activity/listWatchersForRepo**](Apis/ActivityApi.http#activity/listwatchersforrepo) | **GET** /repos/{owner}/{repo}/subscribers | List watchers -*ActivityApi* | [**activity/markNotificationsAsRead**](Apis/ActivityApi.http#activity/marknotificationsasread) | **PUT** /notifications | Mark notifications as read -*ActivityApi* | [**activity/markRepoNotificationsAsRead**](Apis/ActivityApi.http#activity/markreponotificationsasread) | **PUT** /repos/{owner}/{repo}/notifications | Mark repository notifications as read -*ActivityApi* | [**activity/markThreadAsDone**](Apis/ActivityApi.http#activity/markthreadasdone) | **DELETE** /notifications/threads/{thread_id} | Mark a thread as done -*ActivityApi* | [**activity/markThreadAsRead**](Apis/ActivityApi.http#activity/markthreadasread) | **PATCH** /notifications/threads/{thread_id} | Mark a thread as read -*ActivityApi* | [**activity/setRepoSubscription**](Apis/ActivityApi.http#activity/setreposubscription) | **PUT** /repos/{owner}/{repo}/subscription | Set a repository subscription -*ActivityApi* | [**activity/setThreadSubscription**](Apis/ActivityApi.http#activity/setthreadsubscription) | **PUT** /notifications/threads/{thread_id}/subscription | Set a thread subscription -*ActivityApi* | [**activity/starRepoForAuthenticatedUser**](Apis/ActivityApi.http#activity/starrepoforauthenticateduser) | **PUT** /user/starred/{owner}/{repo} | Star a repository for the authenticated user -*ActivityApi* | [**activity/unstarRepoForAuthenticatedUser**](Apis/ActivityApi.http#activity/unstarrepoforauthenticateduser) | **DELETE** /user/starred/{owner}/{repo} | Unstar a repository for the authenticated user -*AppsApi* | [**apps/addRepoToInstallationForAuthenticatedUser**](Apis/AppsApi.http#apps/addrepotoinstallationforauthenticateduser) | **PUT** /user/installations/{installation_id}/repositories/{repository_id} | Add a repository to an app installation -*AppsApi* | [**apps/checkToken**](Apis/AppsApi.http#apps/checktoken) | **POST** /applications/{client_id}/token | Check a token -*AppsApi* | [**apps/createFromManifest**](Apis/AppsApi.http#apps/createfrommanifest) | **POST** /app-manifests/{code}/conversions | Create a GitHub App from a manifest -*AppsApi* | [**apps/createInstallationAccessToken**](Apis/AppsApi.http#apps/createinstallationaccesstoken) | **POST** /app/installations/{installation_id}/access_tokens | Create an installation access token for an app -*AppsApi* | [**apps/deleteAuthorization**](Apis/AppsApi.http#apps/deleteauthorization) | **DELETE** /applications/{client_id}/grant | Delete an app authorization -*AppsApi* | [**apps/deleteInstallation**](Apis/AppsApi.http#apps/deleteinstallation) | **DELETE** /app/installations/{installation_id} | Delete an installation for the authenticated app -*AppsApi* | [**apps/deleteToken**](Apis/AppsApi.http#apps/deletetoken) | **DELETE** /applications/{client_id}/token | Delete an app token -*AppsApi* | [**apps/getAuthenticated**](Apis/AppsApi.http#apps/getauthenticated) | **GET** /app | Get the authenticated app -*AppsApi* | [**apps/getBySlug**](Apis/AppsApi.http#apps/getbyslug) | **GET** /apps/{app_slug} | Get an app -*AppsApi* | [**apps/getInstallation**](Apis/AppsApi.http#apps/getinstallation) | **GET** /app/installations/{installation_id} | Get an installation for the authenticated app -*AppsApi* | [**apps/getOrgInstallation**](Apis/AppsApi.http#apps/getorginstallation) | **GET** /orgs/{org}/installation | Get an organization installation for the authenticated app -*AppsApi* | [**apps/getRepoInstallation**](Apis/AppsApi.http#apps/getrepoinstallation) | **GET** /repos/{owner}/{repo}/installation | Get a repository installation for the authenticated app -*AppsApi* | [**apps/getSubscriptionPlanForAccount**](Apis/AppsApi.http#apps/getsubscriptionplanforaccount) | **GET** /marketplace_listing/accounts/{account_id} | Get a subscription plan for an account -*AppsApi* | [**apps/getSubscriptionPlanForAccountStubbed**](Apis/AppsApi.http#apps/getsubscriptionplanforaccountstubbed) | **GET** /marketplace_listing/stubbed/accounts/{account_id} | Get a subscription plan for an account (stubbed) -*AppsApi* | [**apps/getUserInstallation**](Apis/AppsApi.http#apps/getuserinstallation) | **GET** /users/{username}/installation | Get a user installation for the authenticated app -*AppsApi* | [**apps/getWebhookConfigForApp**](Apis/AppsApi.http#apps/getwebhookconfigforapp) | **GET** /app/hook/config | Get a webhook configuration for an app -*AppsApi* | [**apps/getWebhookDelivery**](Apis/AppsApi.http#apps/getwebhookdelivery) | **GET** /app/hook/deliveries/{delivery_id} | Get a delivery for an app webhook -*AppsApi* | [**apps/listAccountsForPlan**](Apis/AppsApi.http#apps/listaccountsforplan) | **GET** /marketplace_listing/plans/{plan_id}/accounts | List accounts for a plan -*AppsApi* | [**apps/listAccountsForPlanStubbed**](Apis/AppsApi.http#apps/listaccountsforplanstubbed) | **GET** /marketplace_listing/stubbed/plans/{plan_id}/accounts | List accounts for a plan (stubbed) -*AppsApi* | [**apps/listInstallationReposForAuthenticatedUser**](Apis/AppsApi.http#apps/listinstallationreposforauthenticateduser) | **GET** /user/installations/{installation_id}/repositories | List repositories accessible to the user access token -*AppsApi* | [**apps/listInstallationRequestsForAuthenticatedApp**](Apis/AppsApi.http#apps/listinstallationrequestsforauthenticatedapp) | **GET** /app/installation-requests | List installation requests for the authenticated app -*AppsApi* | [**apps/listInstallations**](Apis/AppsApi.http#apps/listinstallations) | **GET** /app/installations | List installations for the authenticated app -*AppsApi* | [**apps/listInstallationsForAuthenticatedUser**](Apis/AppsApi.http#apps/listinstallationsforauthenticateduser) | **GET** /user/installations | List app installations accessible to the user access token -*AppsApi* | [**apps/listPlans**](Apis/AppsApi.http#apps/listplans) | **GET** /marketplace_listing/plans | List plans -*AppsApi* | [**apps/listPlansStubbed**](Apis/AppsApi.http#apps/listplansstubbed) | **GET** /marketplace_listing/stubbed/plans | List plans (stubbed) -*AppsApi* | [**apps/listReposAccessibleToInstallation**](Apis/AppsApi.http#apps/listreposaccessibletoinstallation) | **GET** /installation/repositories | List repositories accessible to the app installation -*AppsApi* | [**apps/listSubscriptionsForAuthenticatedUser**](Apis/AppsApi.http#apps/listsubscriptionsforauthenticateduser) | **GET** /user/marketplace_purchases | List subscriptions for the authenticated user -*AppsApi* | [**apps/listSubscriptionsForAuthenticatedUserStubbed**](Apis/AppsApi.http#apps/listsubscriptionsforauthenticateduserstubbed) | **GET** /user/marketplace_purchases/stubbed | List subscriptions for the authenticated user (stubbed) -*AppsApi* | [**apps/listWebhookDeliveries**](Apis/AppsApi.http#apps/listwebhookdeliveries) | **GET** /app/hook/deliveries | List deliveries for an app webhook -*AppsApi* | [**apps/redeliverWebhookDelivery**](Apis/AppsApi.http#apps/redeliverwebhookdelivery) | **POST** /app/hook/deliveries/{delivery_id}/attempts | Redeliver a delivery for an app webhook -*AppsApi* | [**apps/removeRepoFromInstallationForAuthenticatedUser**](Apis/AppsApi.http#apps/removerepofrominstallationforauthenticateduser) | **DELETE** /user/installations/{installation_id}/repositories/{repository_id} | Remove a repository from an app installation -*AppsApi* | [**apps/resetToken**](Apis/AppsApi.http#apps/resettoken) | **PATCH** /applications/{client_id}/token | Reset a token -*AppsApi* | [**apps/revokeInstallationAccessToken**](Apis/AppsApi.http#apps/revokeinstallationaccesstoken) | **DELETE** /installation/token | Revoke an installation access token -*AppsApi* | [**apps/scopeToken**](Apis/AppsApi.http#apps/scopetoken) | **POST** /applications/{client_id}/token/scoped | Create a scoped access token -*AppsApi* | [**apps/suspendInstallation**](Apis/AppsApi.http#apps/suspendinstallation) | **PUT** /app/installations/{installation_id}/suspended | Suspend an app installation -*AppsApi* | [**apps/unsuspendInstallation**](Apis/AppsApi.http#apps/unsuspendinstallation) | **DELETE** /app/installations/{installation_id}/suspended | Unsuspend an app installation -*AppsApi* | [**apps/updateWebhookConfigForApp**](Apis/AppsApi.http#apps/updatewebhookconfigforapp) | **PATCH** /app/hook/config | Update a webhook configuration for an app -*BillingApi* | [**billing/getGithubActionsBillingOrg**](Apis/BillingApi.http#billing/getgithubactionsbillingorg) | **GET** /orgs/{org}/settings/billing/actions | Get GitHub Actions billing for an organization -*BillingApi* | [**billing/getGithubActionsBillingUser**](Apis/BillingApi.http#billing/getgithubactionsbillinguser) | **GET** /users/{username}/settings/billing/actions | Get GitHub Actions billing for a user -*BillingApi* | [**billing/getGithubPackagesBillingOrg**](Apis/BillingApi.http#billing/getgithubpackagesbillingorg) | **GET** /orgs/{org}/settings/billing/packages | Get GitHub Packages billing for an organization -*BillingApi* | [**billing/getGithubPackagesBillingUser**](Apis/BillingApi.http#billing/getgithubpackagesbillinguser) | **GET** /users/{username}/settings/billing/packages | Get GitHub Packages billing for a user -*BillingApi* | [**billing/getSharedStorageBillingOrg**](Apis/BillingApi.http#billing/getsharedstoragebillingorg) | **GET** /orgs/{org}/settings/billing/shared-storage | Get shared storage billing for an organization -*BillingApi* | [**billing/getSharedStorageBillingUser**](Apis/BillingApi.http#billing/getsharedstoragebillinguser) | **GET** /users/{username}/settings/billing/shared-storage | Get shared storage billing for a user -*ChecksApi* | [**checks/create**](Apis/ChecksApi.http#checks/create) | **POST** /repos/{owner}/{repo}/check-runs | Create a check run -*ChecksApi* | [**checks/createSuite**](Apis/ChecksApi.http#checks/createsuite) | **POST** /repos/{owner}/{repo}/check-suites | Create a check suite -*ChecksApi* | [**checks/get**](Apis/ChecksApi.http#checks/get) | **GET** /repos/{owner}/{repo}/check-runs/{check_run_id} | Get a check run -*ChecksApi* | [**checks/getSuite**](Apis/ChecksApi.http#checks/getsuite) | **GET** /repos/{owner}/{repo}/check-suites/{check_suite_id} | Get a check suite -*ChecksApi* | [**checks/listAnnotations**](Apis/ChecksApi.http#checks/listannotations) | **GET** /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations | List check run annotations -*ChecksApi* | [**checks/listForRef**](Apis/ChecksApi.http#checks/listforref) | **GET** /repos/{owner}/{repo}/commits/{ref}/check-runs | List check runs for a Git reference -*ChecksApi* | [**checks/listForSuite**](Apis/ChecksApi.http#checks/listforsuite) | **GET** /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs | List check runs in a check suite -*ChecksApi* | [**checks/listSuitesForRef**](Apis/ChecksApi.http#checks/listsuitesforref) | **GET** /repos/{owner}/{repo}/commits/{ref}/check-suites | List check suites for a Git reference -*ChecksApi* | [**checks/rerequestRun**](Apis/ChecksApi.http#checks/rerequestrun) | **POST** /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest | Rerequest a check run -*ChecksApi* | [**checks/rerequestSuite**](Apis/ChecksApi.http#checks/rerequestsuite) | **POST** /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest | Rerequest a check suite -*ChecksApi* | [**checks/setSuitesPreferences**](Apis/ChecksApi.http#checks/setsuitespreferences) | **PATCH** /repos/{owner}/{repo}/check-suites/preferences | Update repository preferences for check suites -*ChecksApi* | [**checks/update**](Apis/ChecksApi.http#checks/update) | **PATCH** /repos/{owner}/{repo}/check-runs/{check_run_id} | Update a check run -*ClassroomApi* | [**classroom/getAClassroom**](Apis/ClassroomApi.http#classroom/getaclassroom) | **GET** /classrooms/{classroom_id} | Get a classroom -*ClassroomApi* | [**classroom/getAnAssignment**](Apis/ClassroomApi.http#classroom/getanassignment) | **GET** /assignments/{assignment_id} | Get an assignment -*ClassroomApi* | [**classroom/getAssignmentGrades**](Apis/ClassroomApi.http#classroom/getassignmentgrades) | **GET** /assignments/{assignment_id}/grades | Get assignment grades -*ClassroomApi* | [**classroom/listAcceptedAssigmentsForAnAssignment**](Apis/ClassroomApi.http#classroom/listacceptedassigmentsforanassignment) | **GET** /assignments/{assignment_id}/accepted_assignments | List accepted assignments for an assignment -*ClassroomApi* | [**classroom/listAssignmentsForAClassroom**](Apis/ClassroomApi.http#classroom/listassignmentsforaclassroom) | **GET** /classrooms/{classroom_id}/assignments | List assignments for a classroom -*ClassroomApi* | [**classroom/listClassrooms**](Apis/ClassroomApi.http#classroom/listclassrooms) | **GET** /classrooms | List classrooms -*CodeScanningApi* | [**codeScanning/deleteAnalysis**](Apis/CodeScanningApi.http#codescanning/deleteanalysis) | **DELETE** /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} | Delete a code scanning analysis from a repository -*CodeScanningApi* | [**codeScanning/getAlert**](Apis/CodeScanningApi.http#codescanning/getalert) | **GET** /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} | Get a code scanning alert -*CodeScanningApi* | [**codeScanning/getAnalysis**](Apis/CodeScanningApi.http#codescanning/getanalysis) | **GET** /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id} | Get a code scanning analysis for a repository -*CodeScanningApi* | [**codeScanning/getCodeqlDatabase**](Apis/CodeScanningApi.http#codescanning/getcodeqldatabase) | **GET** /repos/{owner}/{repo}/code-scanning/codeql/databases/{language} | Get a CodeQL database for a repository -*CodeScanningApi* | [**codeScanning/getDefaultSetup**](Apis/CodeScanningApi.http#codescanning/getdefaultsetup) | **GET** /repos/{owner}/{repo}/code-scanning/default-setup | Get a code scanning default setup configuration -*CodeScanningApi* | [**codeScanning/getSarif**](Apis/CodeScanningApi.http#codescanning/getsarif) | **GET** /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id} | Get information about a SARIF upload -*CodeScanningApi* | [**codeScanning/listAlertInstances**](Apis/CodeScanningApi.http#codescanning/listalertinstances) | **GET** /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances | List instances of a code scanning alert -*CodeScanningApi* | [**codeScanning/listAlertsForOrg**](Apis/CodeScanningApi.http#codescanning/listalertsfororg) | **GET** /orgs/{org}/code-scanning/alerts | List code scanning alerts for an organization -*CodeScanningApi* | [**codeScanning/listAlertsForRepo**](Apis/CodeScanningApi.http#codescanning/listalertsforrepo) | **GET** /repos/{owner}/{repo}/code-scanning/alerts | List code scanning alerts for a repository -*CodeScanningApi* | [**codeScanning/listCodeqlDatabases**](Apis/CodeScanningApi.http#codescanning/listcodeqldatabases) | **GET** /repos/{owner}/{repo}/code-scanning/codeql/databases | List CodeQL databases for a repository -*CodeScanningApi* | [**codeScanning/listRecentAnalyses**](Apis/CodeScanningApi.http#codescanning/listrecentanalyses) | **GET** /repos/{owner}/{repo}/code-scanning/analyses | List code scanning analyses for a repository -*CodeScanningApi* | [**codeScanning/updateAlert**](Apis/CodeScanningApi.http#codescanning/updatealert) | **PATCH** /repos/{owner}/{repo}/code-scanning/alerts/{alert_number} | Update a code scanning alert -*CodeScanningApi* | [**codeScanning/updateDefaultSetup**](Apis/CodeScanningApi.http#codescanning/updatedefaultsetup) | **PATCH** /repos/{owner}/{repo}/code-scanning/default-setup | Update a code scanning default setup configuration -*CodeScanningApi* | [**codeScanning/uploadSarif**](Apis/CodeScanningApi.http#codescanning/uploadsarif) | **POST** /repos/{owner}/{repo}/code-scanning/sarifs | Upload an analysis as SARIF data -*CodesOfConductApi* | [**codesOfConduct/getAllCodesOfConduct**](Apis/CodesOfConductApi.http#codesofconduct/getallcodesofconduct) | **GET** /codes_of_conduct | Get all codes of conduct -*CodesOfConductApi* | [**codesOfConduct/getConductCode**](Apis/CodesOfConductApi.http#codesofconduct/getconductcode) | **GET** /codes_of_conduct/{key} | Get a code of conduct -*CodespacesApi* | [**codespaces/addRepositoryForSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/addrepositoryforsecretforauthenticateduser) | **PUT** /user/codespaces/secrets/{secret_name}/repositories/{repository_id} | Add a selected repository to a user secret -*CodespacesApi* | [**codespaces/addSelectedRepoToOrgSecret**](Apis/CodespacesApi.http#codespaces/addselectedrepotoorgsecret) | **PUT** /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id} | Add selected repository to an organization secret -*CodespacesApi* | [**codespaces/checkPermissionsForDevcontainer**](Apis/CodespacesApi.http#codespaces/checkpermissionsfordevcontainer) | **GET** /repos/{owner}/{repo}/codespaces/permissions_check | Check if permissions defined by a devcontainer have been accepted by the authenticated user -*CodespacesApi* | [**codespaces/codespaceMachinesForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/codespacemachinesforauthenticateduser) | **GET** /user/codespaces/{codespace_name}/machines | List machine types for a codespace -*CodespacesApi* | [**codespaces/createForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/createforauthenticateduser) | **POST** /user/codespaces | Create a codespace for the authenticated user -*CodespacesApi* | [**codespaces/createOrUpdateOrgSecret**](Apis/CodespacesApi.http#codespaces/createorupdateorgsecret) | **PUT** /orgs/{org}/codespaces/secrets/{secret_name} | Create or update an organization secret -*CodespacesApi* | [**codespaces/createOrUpdateRepoSecret**](Apis/CodespacesApi.http#codespaces/createorupdatereposecret) | **PUT** /repos/{owner}/{repo}/codespaces/secrets/{secret_name} | Create or update a repository secret -*CodespacesApi* | [**codespaces/createOrUpdateSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/createorupdatesecretforauthenticateduser) | **PUT** /user/codespaces/secrets/{secret_name} | Create or update a secret for the authenticated user -*CodespacesApi* | [**codespaces/createWithPrForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/createwithprforauthenticateduser) | **POST** /repos/{owner}/{repo}/pulls/{pull_number}/codespaces | Create a codespace from a pull request -*CodespacesApi* | [**codespaces/createWithRepoForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/createwithrepoforauthenticateduser) | **POST** /repos/{owner}/{repo}/codespaces | Create a codespace in a repository -*CodespacesApi* | [**codespaces/deleteCodespacesAccessUsers**](Apis/CodespacesApi.http#codespaces/deletecodespacesaccessusers) | **DELETE** /orgs/{org}/codespaces/access/selected_users | Remove users from Codespaces access for an organization -*CodespacesApi* | [**codespaces/deleteForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/deleteforauthenticateduser) | **DELETE** /user/codespaces/{codespace_name} | Delete a codespace for the authenticated user -*CodespacesApi* | [**codespaces/deleteFromOrganization**](Apis/CodespacesApi.http#codespaces/deletefromorganization) | **DELETE** /orgs/{org}/members/{username}/codespaces/{codespace_name} | Delete a codespace from the organization -*CodespacesApi* | [**codespaces/deleteOrgSecret**](Apis/CodespacesApi.http#codespaces/deleteorgsecret) | **DELETE** /orgs/{org}/codespaces/secrets/{secret_name} | Delete an organization secret -*CodespacesApi* | [**codespaces/deleteRepoSecret**](Apis/CodespacesApi.http#codespaces/deletereposecret) | **DELETE** /repos/{owner}/{repo}/codespaces/secrets/{secret_name} | Delete a repository secret -*CodespacesApi* | [**codespaces/deleteSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/deletesecretforauthenticateduser) | **DELETE** /user/codespaces/secrets/{secret_name} | Delete a secret for the authenticated user -*CodespacesApi* | [**codespaces/exportForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/exportforauthenticateduser) | **POST** /user/codespaces/{codespace_name}/exports | Export a codespace for the authenticated user -*CodespacesApi* | [**codespaces/getCodespacesForUserInOrg**](Apis/CodespacesApi.http#codespaces/getcodespacesforuserinorg) | **GET** /orgs/{org}/members/{username}/codespaces | List codespaces for a user in organization -*CodespacesApi* | [**codespaces/getExportDetailsForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/getexportdetailsforauthenticateduser) | **GET** /user/codespaces/{codespace_name}/exports/{export_id} | Get details about a codespace export -*CodespacesApi* | [**codespaces/getForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/getforauthenticateduser) | **GET** /user/codespaces/{codespace_name} | Get a codespace for the authenticated user -*CodespacesApi* | [**codespaces/getOrgPublicKey**](Apis/CodespacesApi.http#codespaces/getorgpublickey) | **GET** /orgs/{org}/codespaces/secrets/public-key | Get an organization public key -*CodespacesApi* | [**codespaces/getOrgSecret**](Apis/CodespacesApi.http#codespaces/getorgsecret) | **GET** /orgs/{org}/codespaces/secrets/{secret_name} | Get an organization secret -*CodespacesApi* | [**codespaces/getPublicKeyForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/getpublickeyforauthenticateduser) | **GET** /user/codespaces/secrets/public-key | Get public key for the authenticated user -*CodespacesApi* | [**codespaces/getRepoPublicKey**](Apis/CodespacesApi.http#codespaces/getrepopublickey) | **GET** /repos/{owner}/{repo}/codespaces/secrets/public-key | Get a repository public key -*CodespacesApi* | [**codespaces/getRepoSecret**](Apis/CodespacesApi.http#codespaces/getreposecret) | **GET** /repos/{owner}/{repo}/codespaces/secrets/{secret_name} | Get a repository secret -*CodespacesApi* | [**codespaces/getSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/getsecretforauthenticateduser) | **GET** /user/codespaces/secrets/{secret_name} | Get a secret for the authenticated user -*CodespacesApi* | [**codespaces/listDevcontainersInRepositoryForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/listdevcontainersinrepositoryforauthenticateduser) | **GET** /repos/{owner}/{repo}/codespaces/devcontainers | List devcontainer configurations in a repository for the authenticated user -*CodespacesApi* | [**codespaces/listForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/listforauthenticateduser) | **GET** /user/codespaces | List codespaces for the authenticated user -*CodespacesApi* | [**codespaces/listInOrganization**](Apis/CodespacesApi.http#codespaces/listinorganization) | **GET** /orgs/{org}/codespaces | List codespaces for the organization -*CodespacesApi* | [**codespaces/listInRepositoryForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/listinrepositoryforauthenticateduser) | **GET** /repos/{owner}/{repo}/codespaces | List codespaces in a repository for the authenticated user -*CodespacesApi* | [**codespaces/listOrgSecrets**](Apis/CodespacesApi.http#codespaces/listorgsecrets) | **GET** /orgs/{org}/codespaces/secrets | List organization secrets -*CodespacesApi* | [**codespaces/listRepoSecrets**](Apis/CodespacesApi.http#codespaces/listreposecrets) | **GET** /repos/{owner}/{repo}/codespaces/secrets | List repository secrets -*CodespacesApi* | [**codespaces/listRepositoriesForSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/listrepositoriesforsecretforauthenticateduser) | **GET** /user/codespaces/secrets/{secret_name}/repositories | List selected repositories for a user secret -*CodespacesApi* | [**codespaces/listSecretsForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/listsecretsforauthenticateduser) | **GET** /user/codespaces/secrets | List secrets for the authenticated user -*CodespacesApi* | [**codespaces/listSelectedReposForOrgSecret**](Apis/CodespacesApi.http#codespaces/listselectedreposfororgsecret) | **GET** /orgs/{org}/codespaces/secrets/{secret_name}/repositories | List selected repositories for an organization secret -*CodespacesApi* | [**codespaces/preFlightWithRepoForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/preflightwithrepoforauthenticateduser) | **GET** /repos/{owner}/{repo}/codespaces/new | Get default attributes for a codespace -*CodespacesApi* | [**codespaces/publishForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/publishforauthenticateduser) | **POST** /user/codespaces/{codespace_name}/publish | Create a repository from an unpublished codespace -*CodespacesApi* | [**codespaces/removeRepositoryForSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/removerepositoryforsecretforauthenticateduser) | **DELETE** /user/codespaces/secrets/{secret_name}/repositories/{repository_id} | Remove a selected repository from a user secret -*CodespacesApi* | [**codespaces/removeSelectedRepoFromOrgSecret**](Apis/CodespacesApi.http#codespaces/removeselectedrepofromorgsecret) | **DELETE** /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id} | Remove selected repository from an organization secret -*CodespacesApi* | [**codespaces/repoMachinesForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/repomachinesforauthenticateduser) | **GET** /repos/{owner}/{repo}/codespaces/machines | List available machine types for a repository -*CodespacesApi* | [**codespaces/setCodespacesAccess**](Apis/CodespacesApi.http#codespaces/setcodespacesaccess) | **PUT** /orgs/{org}/codespaces/access | Manage access control for organization codespaces -*CodespacesApi* | [**codespaces/setCodespacesAccessUsers**](Apis/CodespacesApi.http#codespaces/setcodespacesaccessusers) | **POST** /orgs/{org}/codespaces/access/selected_users | Add users to Codespaces access for an organization -*CodespacesApi* | [**codespaces/setRepositoriesForSecretForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/setrepositoriesforsecretforauthenticateduser) | **PUT** /user/codespaces/secrets/{secret_name}/repositories | Set selected repositories for a user secret -*CodespacesApi* | [**codespaces/setSelectedReposForOrgSecret**](Apis/CodespacesApi.http#codespaces/setselectedreposfororgsecret) | **PUT** /orgs/{org}/codespaces/secrets/{secret_name}/repositories | Set selected repositories for an organization secret -*CodespacesApi* | [**codespaces/startForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/startforauthenticateduser) | **POST** /user/codespaces/{codespace_name}/start | Start a codespace for the authenticated user -*CodespacesApi* | [**codespaces/stopForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/stopforauthenticateduser) | **POST** /user/codespaces/{codespace_name}/stop | Stop a codespace for the authenticated user -*CodespacesApi* | [**codespaces/stopInOrganization**](Apis/CodespacesApi.http#codespaces/stopinorganization) | **POST** /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop | Stop a codespace for an organization user -*CodespacesApi* | [**codespaces/updateForAuthenticatedUser**](Apis/CodespacesApi.http#codespaces/updateforauthenticateduser) | **PATCH** /user/codespaces/{codespace_name} | Update a codespace for the authenticated user -*CopilotApi* | [**copilot/addCopilotSeatsForTeams**](Apis/CopilotApi.http#copilot/addcopilotseatsforteams) | **POST** /orgs/{org}/copilot/billing/selected_teams | Add teams to the Copilot subscription for an organization -*CopilotApi* | [**copilot/addCopilotSeatsForUsers**](Apis/CopilotApi.http#copilot/addcopilotseatsforusers) | **POST** /orgs/{org}/copilot/billing/selected_users | Add users to the Copilot subscription for an organization -*CopilotApi* | [**copilot/cancelCopilotSeatAssignmentForTeams**](Apis/CopilotApi.http#copilot/cancelcopilotseatassignmentforteams) | **DELETE** /orgs/{org}/copilot/billing/selected_teams | Remove teams from the Copilot subscription for an organization -*CopilotApi* | [**copilot/cancelCopilotSeatAssignmentForUsers**](Apis/CopilotApi.http#copilot/cancelcopilotseatassignmentforusers) | **DELETE** /orgs/{org}/copilot/billing/selected_users | Remove users from the Copilot subscription for an organization -*CopilotApi* | [**copilot/getCopilotOrganizationDetails**](Apis/CopilotApi.http#copilot/getcopilotorganizationdetails) | **GET** /orgs/{org}/copilot/billing | Get Copilot seat information and settings for an organization -*CopilotApi* | [**copilot/getCopilotSeatDetailsForUser**](Apis/CopilotApi.http#copilot/getcopilotseatdetailsforuser) | **GET** /orgs/{org}/members/{username}/copilot | Get Copilot seat assignment details for a user -*CopilotApi* | [**copilot/listCopilotSeats**](Apis/CopilotApi.http#copilot/listcopilotseats) | **GET** /orgs/{org}/copilot/billing/seats | List all Copilot seat assignments for an organization -*DependabotApi* | [**dependabot/addSelectedRepoToOrgSecret**](Apis/DependabotApi.http#dependabot/addselectedrepotoorgsecret) | **PUT** /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id} | Add selected repository to an organization secret -*DependabotApi* | [**dependabot/createOrUpdateOrgSecret**](Apis/DependabotApi.http#dependabot/createorupdateorgsecret) | **PUT** /orgs/{org}/dependabot/secrets/{secret_name} | Create or update an organization secret -*DependabotApi* | [**dependabot/createOrUpdateRepoSecret**](Apis/DependabotApi.http#dependabot/createorupdatereposecret) | **PUT** /repos/{owner}/{repo}/dependabot/secrets/{secret_name} | Create or update a repository secret -*DependabotApi* | [**dependabot/deleteOrgSecret**](Apis/DependabotApi.http#dependabot/deleteorgsecret) | **DELETE** /orgs/{org}/dependabot/secrets/{secret_name} | Delete an organization secret -*DependabotApi* | [**dependabot/deleteRepoSecret**](Apis/DependabotApi.http#dependabot/deletereposecret) | **DELETE** /repos/{owner}/{repo}/dependabot/secrets/{secret_name} | Delete a repository secret -*DependabotApi* | [**dependabot/getAlert**](Apis/DependabotApi.http#dependabot/getalert) | **GET** /repos/{owner}/{repo}/dependabot/alerts/{alert_number} | Get a Dependabot alert -*DependabotApi* | [**dependabot/getOrgPublicKey**](Apis/DependabotApi.http#dependabot/getorgpublickey) | **GET** /orgs/{org}/dependabot/secrets/public-key | Get an organization public key -*DependabotApi* | [**dependabot/getOrgSecret**](Apis/DependabotApi.http#dependabot/getorgsecret) | **GET** /orgs/{org}/dependabot/secrets/{secret_name} | Get an organization secret -*DependabotApi* | [**dependabot/getRepoPublicKey**](Apis/DependabotApi.http#dependabot/getrepopublickey) | **GET** /repos/{owner}/{repo}/dependabot/secrets/public-key | Get a repository public key -*DependabotApi* | [**dependabot/getRepoSecret**](Apis/DependabotApi.http#dependabot/getreposecret) | **GET** /repos/{owner}/{repo}/dependabot/secrets/{secret_name} | Get a repository secret -*DependabotApi* | [**dependabot/listAlertsForEnterprise**](Apis/DependabotApi.http#dependabot/listalertsforenterprise) | **GET** /enterprises/{enterprise}/dependabot/alerts | List Dependabot alerts for an enterprise -*DependabotApi* | [**dependabot/listAlertsForOrg**](Apis/DependabotApi.http#dependabot/listalertsfororg) | **GET** /orgs/{org}/dependabot/alerts | List Dependabot alerts for an organization -*DependabotApi* | [**dependabot/listAlertsForRepo**](Apis/DependabotApi.http#dependabot/listalertsforrepo) | **GET** /repos/{owner}/{repo}/dependabot/alerts | List Dependabot alerts for a repository -*DependabotApi* | [**dependabot/listOrgSecrets**](Apis/DependabotApi.http#dependabot/listorgsecrets) | **GET** /orgs/{org}/dependabot/secrets | List organization secrets -*DependabotApi* | [**dependabot/listRepoSecrets**](Apis/DependabotApi.http#dependabot/listreposecrets) | **GET** /repos/{owner}/{repo}/dependabot/secrets | List repository secrets -*DependabotApi* | [**dependabot/listSelectedReposForOrgSecret**](Apis/DependabotApi.http#dependabot/listselectedreposfororgsecret) | **GET** /orgs/{org}/dependabot/secrets/{secret_name}/repositories | List selected repositories for an organization secret -*DependabotApi* | [**dependabot/removeSelectedRepoFromOrgSecret**](Apis/DependabotApi.http#dependabot/removeselectedrepofromorgsecret) | **DELETE** /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id} | Remove selected repository from an organization secret -*DependabotApi* | [**dependabot/setSelectedReposForOrgSecret**](Apis/DependabotApi.http#dependabot/setselectedreposfororgsecret) | **PUT** /orgs/{org}/dependabot/secrets/{secret_name}/repositories | Set selected repositories for an organization secret -*DependabotApi* | [**dependabot/updateAlert**](Apis/DependabotApi.http#dependabot/updatealert) | **PATCH** /repos/{owner}/{repo}/dependabot/alerts/{alert_number} | Update a Dependabot alert -*DependencyGraphApi* | [**dependencyGraph/createRepositorySnapshot**](Apis/DependencyGraphApi.http#dependencygraph/createrepositorysnapshot) | **POST** /repos/{owner}/{repo}/dependency-graph/snapshots | Create a snapshot of dependencies for a repository -*DependencyGraphApi* | [**dependencyGraph/diffRange**](Apis/DependencyGraphApi.http#dependencygraph/diffrange) | **GET** /repos/{owner}/{repo}/dependency-graph/compare/{basehead} | Get a diff of the dependencies between commits -*DependencyGraphApi* | [**dependencyGraph/exportSbom**](Apis/DependencyGraphApi.http#dependencygraph/exportsbom) | **GET** /repos/{owner}/{repo}/dependency-graph/sbom | Export a software bill of materials (SBOM) for a repository. -*EmojisApi* | [**emojis/get**](Apis/EmojisApi.http#emojis/get) | **GET** /emojis | Get emojis -*GistsApi* | [**gists/checkIsStarred**](Apis/GistsApi.http#gists/checkisstarred) | **GET** /gists/{gist_id}/star | Check if a gist is starred -*GistsApi* | [**gists/create**](Apis/GistsApi.http#gists/create) | **POST** /gists | Create a gist -*GistsApi* | [**gists/createComment**](Apis/GistsApi.http#gists/createcomment) | **POST** /gists/{gist_id}/comments | Create a gist comment -*GistsApi* | [**gists/delete**](Apis/GistsApi.http#gists/delete) | **DELETE** /gists/{gist_id} | Delete a gist -*GistsApi* | [**gists/deleteComment**](Apis/GistsApi.http#gists/deletecomment) | **DELETE** /gists/{gist_id}/comments/{comment_id} | Delete a gist comment -*GistsApi* | [**gists/fork**](Apis/GistsApi.http#gists/fork) | **POST** /gists/{gist_id}/forks | Fork a gist -*GistsApi* | [**gists/get**](Apis/GistsApi.http#gists/get) | **GET** /gists/{gist_id} | Get a gist -*GistsApi* | [**gists/getComment**](Apis/GistsApi.http#gists/getcomment) | **GET** /gists/{gist_id}/comments/{comment_id} | Get a gist comment -*GistsApi* | [**gists/getRevision**](Apis/GistsApi.http#gists/getrevision) | **GET** /gists/{gist_id}/{sha} | Get a gist revision -*GistsApi* | [**gists/list**](Apis/GistsApi.http#gists/list) | **GET** /gists | List gists for the authenticated user -*GistsApi* | [**gists/listComments**](Apis/GistsApi.http#gists/listcomments) | **GET** /gists/{gist_id}/comments | List gist comments -*GistsApi* | [**gists/listCommits**](Apis/GistsApi.http#gists/listcommits) | **GET** /gists/{gist_id}/commits | List gist commits -*GistsApi* | [**gists/listForUser**](Apis/GistsApi.http#gists/listforuser) | **GET** /users/{username}/gists | List gists for a user -*GistsApi* | [**gists/listForks**](Apis/GistsApi.http#gists/listforks) | **GET** /gists/{gist_id}/forks | List gist forks -*GistsApi* | [**gists/listPublic**](Apis/GistsApi.http#gists/listpublic) | **GET** /gists/public | List public gists -*GistsApi* | [**gists/listStarred**](Apis/GistsApi.http#gists/liststarred) | **GET** /gists/starred | List starred gists -*GistsApi* | [**gists/star**](Apis/GistsApi.http#gists/star) | **PUT** /gists/{gist_id}/star | Star a gist -*GistsApi* | [**gists/unstar**](Apis/GistsApi.http#gists/unstar) | **DELETE** /gists/{gist_id}/star | Unstar a gist -*GistsApi* | [**gists/update**](Apis/GistsApi.http#gists/update) | **PATCH** /gists/{gist_id} | Update a gist -*GistsApi* | [**gists/updateComment**](Apis/GistsApi.http#gists/updatecomment) | **PATCH** /gists/{gist_id}/comments/{comment_id} | Update a gist comment -*GitApi* | [**git/createBlob**](Apis/GitApi.http#git/createblob) | **POST** /repos/{owner}/{repo}/git/blobs | Create a blob -*GitApi* | [**git/createCommit**](Apis/GitApi.http#git/createcommit) | **POST** /repos/{owner}/{repo}/git/commits | Create a commit -*GitApi* | [**git/createRef**](Apis/GitApi.http#git/createref) | **POST** /repos/{owner}/{repo}/git/refs | Create a reference -*GitApi* | [**git/createTag**](Apis/GitApi.http#git/createtag) | **POST** /repos/{owner}/{repo}/git/tags | Create a tag object -*GitApi* | [**git/createTree**](Apis/GitApi.http#git/createtree) | **POST** /repos/{owner}/{repo}/git/trees | Create a tree -*GitApi* | [**git/deleteRef**](Apis/GitApi.http#git/deleteref) | **DELETE** /repos/{owner}/{repo}/git/refs/{ref} | Delete a reference -*GitApi* | [**git/getBlob**](Apis/GitApi.http#git/getblob) | **GET** /repos/{owner}/{repo}/git/blobs/{file_sha} | Get a blob -*GitApi* | [**git/getCommit**](Apis/GitApi.http#git/getcommit) | **GET** /repos/{owner}/{repo}/git/commits/{commit_sha} | Get a commit object -*GitApi* | [**git/getRef**](Apis/GitApi.http#git/getref) | **GET** /repos/{owner}/{repo}/git/ref/{ref} | Get a reference -*GitApi* | [**git/getTag**](Apis/GitApi.http#git/gettag) | **GET** /repos/{owner}/{repo}/git/tags/{tag_sha} | Get a tag -*GitApi* | [**git/getTree**](Apis/GitApi.http#git/gettree) | **GET** /repos/{owner}/{repo}/git/trees/{tree_sha} | Get a tree -*GitApi* | [**git/listMatchingRefs**](Apis/GitApi.http#git/listmatchingrefs) | **GET** /repos/{owner}/{repo}/git/matching-refs/{ref} | List matching references -*GitApi* | [**git/updateRef**](Apis/GitApi.http#git/updateref) | **PATCH** /repos/{owner}/{repo}/git/refs/{ref} | Update a reference -*GitignoreApi* | [**gitignore/getAllTemplates**](Apis/GitignoreApi.http#gitignore/getalltemplates) | **GET** /gitignore/templates | Get all gitignore templates -*GitignoreApi* | [**gitignore/getTemplate**](Apis/GitignoreApi.http#gitignore/gettemplate) | **GET** /gitignore/templates/{name} | Get a gitignore template -*InteractionsApi* | [**interactions/getRestrictionsForAuthenticatedUser**](Apis/InteractionsApi.http#interactions/getrestrictionsforauthenticateduser) | **GET** /user/interaction-limits | Get interaction restrictions for your public repositories -*InteractionsApi* | [**interactions/getRestrictionsForOrg**](Apis/InteractionsApi.http#interactions/getrestrictionsfororg) | **GET** /orgs/{org}/interaction-limits | Get interaction restrictions for an organization -*InteractionsApi* | [**interactions/getRestrictionsForRepo**](Apis/InteractionsApi.http#interactions/getrestrictionsforrepo) | **GET** /repos/{owner}/{repo}/interaction-limits | Get interaction restrictions for a repository -*InteractionsApi* | [**interactions/removeRestrictionsForAuthenticatedUser**](Apis/InteractionsApi.http#interactions/removerestrictionsforauthenticateduser) | **DELETE** /user/interaction-limits | Remove interaction restrictions from your public repositories -*InteractionsApi* | [**interactions/removeRestrictionsForOrg**](Apis/InteractionsApi.http#interactions/removerestrictionsfororg) | **DELETE** /orgs/{org}/interaction-limits | Remove interaction restrictions for an organization -*InteractionsApi* | [**interactions/removeRestrictionsForRepo**](Apis/InteractionsApi.http#interactions/removerestrictionsforrepo) | **DELETE** /repos/{owner}/{repo}/interaction-limits | Remove interaction restrictions for a repository -*InteractionsApi* | [**interactions/setRestrictionsForAuthenticatedUser**](Apis/InteractionsApi.http#interactions/setrestrictionsforauthenticateduser) | **PUT** /user/interaction-limits | Set interaction restrictions for your public repositories -*InteractionsApi* | [**interactions/setRestrictionsForOrg**](Apis/InteractionsApi.http#interactions/setrestrictionsfororg) | **PUT** /orgs/{org}/interaction-limits | Set interaction restrictions for an organization -*InteractionsApi* | [**interactions/setRestrictionsForRepo**](Apis/InteractionsApi.http#interactions/setrestrictionsforrepo) | **PUT** /repos/{owner}/{repo}/interaction-limits | Set interaction restrictions for a repository -*IssuesApi* | [**issues/addAssignees**](Apis/IssuesApi.http#issues/addassignees) | **POST** /repos/{owner}/{repo}/issues/{issue_number}/assignees | Add assignees to an issue -*IssuesApi* | [**issues/addLabels**](Apis/IssuesApi.http#issues/addlabels) | **POST** /repos/{owner}/{repo}/issues/{issue_number}/labels | Add labels to an issue -*IssuesApi* | [**issues/checkUserCanBeAssigned**](Apis/IssuesApi.http#issues/checkusercanbeassigned) | **GET** /repos/{owner}/{repo}/assignees/{assignee} | Check if a user can be assigned -*IssuesApi* | [**issues/checkUserCanBeAssignedToIssue**](Apis/IssuesApi.http#issues/checkusercanbeassignedtoissue) | **GET** /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee} | Check if a user can be assigned to a issue -*IssuesApi* | [**issues/create**](Apis/IssuesApi.http#issues/create) | **POST** /repos/{owner}/{repo}/issues | Create an issue -*IssuesApi* | [**issues/createComment**](Apis/IssuesApi.http#issues/createcomment) | **POST** /repos/{owner}/{repo}/issues/{issue_number}/comments | Create an issue comment -*IssuesApi* | [**issues/createLabel**](Apis/IssuesApi.http#issues/createlabel) | **POST** /repos/{owner}/{repo}/labels | Create a label -*IssuesApi* | [**issues/createMilestone**](Apis/IssuesApi.http#issues/createmilestone) | **POST** /repos/{owner}/{repo}/milestones | Create a milestone -*IssuesApi* | [**issues/deleteComment**](Apis/IssuesApi.http#issues/deletecomment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{comment_id} | Delete an issue comment -*IssuesApi* | [**issues/deleteLabel**](Apis/IssuesApi.http#issues/deletelabel) | **DELETE** /repos/{owner}/{repo}/labels/{name} | Delete a label -*IssuesApi* | [**issues/deleteMilestone**](Apis/IssuesApi.http#issues/deletemilestone) | **DELETE** /repos/{owner}/{repo}/milestones/{milestone_number} | Delete a milestone -*IssuesApi* | [**issues/get**](Apis/IssuesApi.http#issues/get) | **GET** /repos/{owner}/{repo}/issues/{issue_number} | Get an issue -*IssuesApi* | [**issues/getComment**](Apis/IssuesApi.http#issues/getcomment) | **GET** /repos/{owner}/{repo}/issues/comments/{comment_id} | Get an issue comment -*IssuesApi* | [**issues/getEvent**](Apis/IssuesApi.http#issues/getevent) | **GET** /repos/{owner}/{repo}/issues/events/{event_id} | Get an issue event -*IssuesApi* | [**issues/getLabel**](Apis/IssuesApi.http#issues/getlabel) | **GET** /repos/{owner}/{repo}/labels/{name} | Get a label -*IssuesApi* | [**issues/getMilestone**](Apis/IssuesApi.http#issues/getmilestone) | **GET** /repos/{owner}/{repo}/milestones/{milestone_number} | Get a milestone -*IssuesApi* | [**issues/list**](Apis/IssuesApi.http#issues/list) | **GET** /issues | List issues assigned to the authenticated user -*IssuesApi* | [**issues/listAssignees**](Apis/IssuesApi.http#issues/listassignees) | **GET** /repos/{owner}/{repo}/assignees | List assignees -*IssuesApi* | [**issues/listComments**](Apis/IssuesApi.http#issues/listcomments) | **GET** /repos/{owner}/{repo}/issues/{issue_number}/comments | List issue comments -*IssuesApi* | [**issues/listCommentsForRepo**](Apis/IssuesApi.http#issues/listcommentsforrepo) | **GET** /repos/{owner}/{repo}/issues/comments | List issue comments for a repository -*IssuesApi* | [**issues/listEvents**](Apis/IssuesApi.http#issues/listevents) | **GET** /repos/{owner}/{repo}/issues/{issue_number}/events | List issue events -*IssuesApi* | [**issues/listEventsForRepo**](Apis/IssuesApi.http#issues/listeventsforrepo) | **GET** /repos/{owner}/{repo}/issues/events | List issue events for a repository -*IssuesApi* | [**issues/listEventsForTimeline**](Apis/IssuesApi.http#issues/listeventsfortimeline) | **GET** /repos/{owner}/{repo}/issues/{issue_number}/timeline | List timeline events for an issue -*IssuesApi* | [**issues/listForAuthenticatedUser**](Apis/IssuesApi.http#issues/listforauthenticateduser) | **GET** /user/issues | List user account issues assigned to the authenticated user -*IssuesApi* | [**issues/listForOrg**](Apis/IssuesApi.http#issues/listfororg) | **GET** /orgs/{org}/issues | List organization issues assigned to the authenticated user -*IssuesApi* | [**issues/listForRepo**](Apis/IssuesApi.http#issues/listforrepo) | **GET** /repos/{owner}/{repo}/issues | List repository issues -*IssuesApi* | [**issues/listLabelsForMilestone**](Apis/IssuesApi.http#issues/listlabelsformilestone) | **GET** /repos/{owner}/{repo}/milestones/{milestone_number}/labels | List labels for issues in a milestone -*IssuesApi* | [**issues/listLabelsForRepo**](Apis/IssuesApi.http#issues/listlabelsforrepo) | **GET** /repos/{owner}/{repo}/labels | List labels for a repository -*IssuesApi* | [**issues/listLabelsOnIssue**](Apis/IssuesApi.http#issues/listlabelsonissue) | **GET** /repos/{owner}/{repo}/issues/{issue_number}/labels | List labels for an issue -*IssuesApi* | [**issues/listMilestones**](Apis/IssuesApi.http#issues/listmilestones) | **GET** /repos/{owner}/{repo}/milestones | List milestones -*IssuesApi* | [**issues/lock**](Apis/IssuesApi.http#issues/lock) | **PUT** /repos/{owner}/{repo}/issues/{issue_number}/lock | Lock an issue -*IssuesApi* | [**issues/removeAllLabels**](Apis/IssuesApi.http#issues/removealllabels) | **DELETE** /repos/{owner}/{repo}/issues/{issue_number}/labels | Remove all labels from an issue -*IssuesApi* | [**issues/removeAssignees**](Apis/IssuesApi.http#issues/removeassignees) | **DELETE** /repos/{owner}/{repo}/issues/{issue_number}/assignees | Remove assignees from an issue -*IssuesApi* | [**issues/removeLabel**](Apis/IssuesApi.http#issues/removelabel) | **DELETE** /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} | Remove a label from an issue -*IssuesApi* | [**issues/setLabels**](Apis/IssuesApi.http#issues/setlabels) | **PUT** /repos/{owner}/{repo}/issues/{issue_number}/labels | Set labels for an issue -*IssuesApi* | [**issues/unlock**](Apis/IssuesApi.http#issues/unlock) | **DELETE** /repos/{owner}/{repo}/issues/{issue_number}/lock | Unlock an issue -*IssuesApi* | [**issues/update**](Apis/IssuesApi.http#issues/update) | **PATCH** /repos/{owner}/{repo}/issues/{issue_number} | Update an issue -*IssuesApi* | [**issues/updateComment**](Apis/IssuesApi.http#issues/updatecomment) | **PATCH** /repos/{owner}/{repo}/issues/comments/{comment_id} | Update an issue comment -*IssuesApi* | [**issues/updateLabel**](Apis/IssuesApi.http#issues/updatelabel) | **PATCH** /repos/{owner}/{repo}/labels/{name} | Update a label -*IssuesApi* | [**issues/updateMilestone**](Apis/IssuesApi.http#issues/updatemilestone) | **PATCH** /repos/{owner}/{repo}/milestones/{milestone_number} | Update a milestone -*LicensesApi* | [**licenses/get**](Apis/LicensesApi.http#licenses/get) | **GET** /licenses/{license} | Get a license -*LicensesApi* | [**licenses/getAllCommonlyUsed**](Apis/LicensesApi.http#licenses/getallcommonlyused) | **GET** /licenses | Get all commonly used licenses -*LicensesApi* | [**licenses/getForRepo**](Apis/LicensesApi.http#licenses/getforrepo) | **GET** /repos/{owner}/{repo}/license | Get the license for a repository -*MarkdownApi* | [**markdown/render**](Apis/MarkdownApi.http#markdown/render) | **POST** /markdown | Render a Markdown document -*MarkdownApi* | [**markdown/renderRaw**](Apis/MarkdownApi.http#markdown/renderraw) | **POST** /markdown/raw | Render a Markdown document in raw mode -*MetaApi* | [**meta/get**](Apis/MetaApi.http#meta/get) | **GET** /meta | Get GitHub meta information -*MetaApi* | [**meta/getAllVersions**](Apis/MetaApi.http#meta/getallversions) | **GET** /versions | Get all API versions -*MetaApi* | [**meta/getOctocat**](Apis/MetaApi.http#meta/getoctocat) | **GET** /octocat | Get Octocat -*MetaApi* | [**meta/getZen**](Apis/MetaApi.http#meta/getzen) | **GET** /zen | Get the Zen of GitHub -*MetaApi* | [**meta/root**](Apis/MetaApi.http#meta/root) | **GET** / | GitHub API Root -*MigrationsApi* | [**migrations/cancelImport**](Apis/MigrationsApi.http#migrations/cancelimport) | **DELETE** /repos/{owner}/{repo}/import | Cancel an import -*MigrationsApi* | [**migrations/deleteArchiveForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/deletearchiveforauthenticateduser) | **DELETE** /user/migrations/{migration_id}/archive | Delete a user migration archive -*MigrationsApi* | [**migrations/deleteArchiveForOrg**](Apis/MigrationsApi.http#migrations/deletearchivefororg) | **DELETE** /orgs/{org}/migrations/{migration_id}/archive | Delete an organization migration archive -*MigrationsApi* | [**migrations/downloadArchiveForOrg**](Apis/MigrationsApi.http#migrations/downloadarchivefororg) | **GET** /orgs/{org}/migrations/{migration_id}/archive | Download an organization migration archive -*MigrationsApi* | [**migrations/getArchiveForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/getarchiveforauthenticateduser) | **GET** /user/migrations/{migration_id}/archive | Download a user migration archive -*MigrationsApi* | [**migrations/getCommitAuthors**](Apis/MigrationsApi.http#migrations/getcommitauthors) | **GET** /repos/{owner}/{repo}/import/authors | Get commit authors -*MigrationsApi* | [**migrations/getImportStatus**](Apis/MigrationsApi.http#migrations/getimportstatus) | **GET** /repos/{owner}/{repo}/import | Get an import status -*MigrationsApi* | [**migrations/getLargeFiles**](Apis/MigrationsApi.http#migrations/getlargefiles) | **GET** /repos/{owner}/{repo}/import/large_files | Get large files -*MigrationsApi* | [**migrations/getStatusForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/getstatusforauthenticateduser) | **GET** /user/migrations/{migration_id} | Get a user migration status -*MigrationsApi* | [**migrations/getStatusForOrg**](Apis/MigrationsApi.http#migrations/getstatusfororg) | **GET** /orgs/{org}/migrations/{migration_id} | Get an organization migration status -*MigrationsApi* | [**migrations/listForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/listforauthenticateduser) | **GET** /user/migrations | List user migrations -*MigrationsApi* | [**migrations/listForOrg**](Apis/MigrationsApi.http#migrations/listfororg) | **GET** /orgs/{org}/migrations | List organization migrations -*MigrationsApi* | [**migrations/listReposForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/listreposforauthenticateduser) | **GET** /user/migrations/{migration_id}/repositories | List repositories for a user migration -*MigrationsApi* | [**migrations/listReposForOrg**](Apis/MigrationsApi.http#migrations/listreposfororg) | **GET** /orgs/{org}/migrations/{migration_id}/repositories | List repositories in an organization migration -*MigrationsApi* | [**migrations/mapCommitAuthor**](Apis/MigrationsApi.http#migrations/mapcommitauthor) | **PATCH** /repos/{owner}/{repo}/import/authors/{author_id} | Map a commit author -*MigrationsApi* | [**migrations/setLfsPreference**](Apis/MigrationsApi.http#migrations/setlfspreference) | **PATCH** /repos/{owner}/{repo}/import/lfs | Update Git LFS preference -*MigrationsApi* | [**migrations/startForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/startforauthenticateduser) | **POST** /user/migrations | Start a user migration -*MigrationsApi* | [**migrations/startForOrg**](Apis/MigrationsApi.http#migrations/startfororg) | **POST** /orgs/{org}/migrations | Start an organization migration -*MigrationsApi* | [**migrations/startImport**](Apis/MigrationsApi.http#migrations/startimport) | **PUT** /repos/{owner}/{repo}/import | Start an import -*MigrationsApi* | [**migrations/unlockRepoForAuthenticatedUser**](Apis/MigrationsApi.http#migrations/unlockrepoforauthenticateduser) | **DELETE** /user/migrations/{migration_id}/repos/{repo_name}/lock | Unlock a user repository -*MigrationsApi* | [**migrations/unlockRepoForOrg**](Apis/MigrationsApi.http#migrations/unlockrepofororg) | **DELETE** /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock | Unlock an organization repository -*MigrationsApi* | [**migrations/updateImport**](Apis/MigrationsApi.http#migrations/updateimport) | **PATCH** /repos/{owner}/{repo}/import | Update an import -*OidcApi* | [**oidc/getOidcCustomSubTemplateForOrg**](Apis/OidcApi.http#oidc/getoidccustomsubtemplatefororg) | **GET** /orgs/{org}/actions/oidc/customization/sub | Get the customization template for an OIDC subject claim for an organization -*OidcApi* | [**oidc/updateOidcCustomSubTemplateForOrg**](Apis/OidcApi.http#oidc/updateoidccustomsubtemplatefororg) | **PUT** /orgs/{org}/actions/oidc/customization/sub | Set the customization template for an OIDC subject claim for an organization -*OrgsApi* | [**orgs/addSecurityManagerTeam**](Apis/OrgsApi.http#orgs/addsecuritymanagerteam) | **PUT** /orgs/{org}/security-managers/teams/{team_slug} | Add a security manager team -*OrgsApi* | [**orgs/assignTeamToOrgRole**](Apis/OrgsApi.http#orgs/assignteamtoorgrole) | **PUT** /orgs/{org}/organization-roles/teams/{team_slug}/{role_id} | Assign an organization role to a team -*OrgsApi* | [**orgs/assignUserToOrgRole**](Apis/OrgsApi.http#orgs/assignusertoorgrole) | **PUT** /orgs/{org}/organization-roles/users/{username}/{role_id} | Assign an organization role to a user -*OrgsApi* | [**orgs/blockUser**](Apis/OrgsApi.http#orgs/blockuser) | **PUT** /orgs/{org}/blocks/{username} | Block a user from an organization -*OrgsApi* | [**orgs/cancelInvitation**](Apis/OrgsApi.http#orgs/cancelinvitation) | **DELETE** /orgs/{org}/invitations/{invitation_id} | Cancel an organization invitation -*OrgsApi* | [**orgs/checkBlockedUser**](Apis/OrgsApi.http#orgs/checkblockeduser) | **GET** /orgs/{org}/blocks/{username} | Check if a user is blocked by an organization -*OrgsApi* | [**orgs/checkMembershipForUser**](Apis/OrgsApi.http#orgs/checkmembershipforuser) | **GET** /orgs/{org}/members/{username} | Check organization membership for a user -*OrgsApi* | [**orgs/checkPublicMembershipForUser**](Apis/OrgsApi.http#orgs/checkpublicmembershipforuser) | **GET** /orgs/{org}/public_members/{username} | Check public organization membership for a user -*OrgsApi* | [**orgs/convertMemberToOutsideCollaborator**](Apis/OrgsApi.http#orgs/convertmembertooutsidecollaborator) | **PUT** /orgs/{org}/outside_collaborators/{username} | Convert an organization member to outside collaborator -*OrgsApi* | [**orgs/createCustomOrganizationRole**](Apis/OrgsApi.http#orgs/createcustomorganizationrole) | **POST** /orgs/{org}/organization-roles | Create a custom organization role -*OrgsApi* | [**orgs/createInvitation**](Apis/OrgsApi.http#orgs/createinvitation) | **POST** /orgs/{org}/invitations | Create an organization invitation -*OrgsApi* | [**orgs/createOrUpdateCustomProperties**](Apis/OrgsApi.http#orgs/createorupdatecustomproperties) | **PATCH** /orgs/{org}/properties/schema | Create or update custom properties for an organization -*OrgsApi* | [**orgs/createOrUpdateCustomPropertiesValuesForRepos**](Apis/OrgsApi.http#orgs/createorupdatecustompropertiesvaluesforrepos) | **PATCH** /orgs/{org}/properties/values | Create or update custom property values for organization repositories -*OrgsApi* | [**orgs/createOrUpdateCustomProperty**](Apis/OrgsApi.http#orgs/createorupdatecustomproperty) | **PUT** /orgs/{org}/properties/schema/{custom_property_name} | Create or update a custom property for an organization -*OrgsApi* | [**orgs/createWebhook**](Apis/OrgsApi.http#orgs/createwebhook) | **POST** /orgs/{org}/hooks | Create an organization webhook -*OrgsApi* | [**orgs/delete**](Apis/OrgsApi.http#orgs/delete) | **DELETE** /orgs/{org} | Delete an organization -*OrgsApi* | [**orgs/deleteCustomOrganizationRole**](Apis/OrgsApi.http#orgs/deletecustomorganizationrole) | **DELETE** /orgs/{org}/organization-roles/{role_id} | Delete a custom organization role. -*OrgsApi* | [**orgs/deleteWebhook**](Apis/OrgsApi.http#orgs/deletewebhook) | **DELETE** /orgs/{org}/hooks/{hook_id} | Delete an organization webhook -*OrgsApi* | [**orgs/enableOrDisableSecurityProductOnAllOrgRepos**](Apis/OrgsApi.http#orgs/enableordisablesecurityproductonallorgrepos) | **POST** /orgs/{org}/{security_product}/{enablement} | Enable or disable a security feature for an organization -*OrgsApi* | [**orgs/get**](Apis/OrgsApi.http#orgs/get) | **GET** /orgs/{org} | Get an organization -*OrgsApi* | [**orgs/getAllCustomProperties**](Apis/OrgsApi.http#orgs/getallcustomproperties) | **GET** /orgs/{org}/properties/schema | Get all custom properties for an organization -*OrgsApi* | [**orgs/getCustomProperty**](Apis/OrgsApi.http#orgs/getcustomproperty) | **GET** /orgs/{org}/properties/schema/{custom_property_name} | Get a custom property for an organization -*OrgsApi* | [**orgs/getMembershipForAuthenticatedUser**](Apis/OrgsApi.http#orgs/getmembershipforauthenticateduser) | **GET** /user/memberships/orgs/{org} | Get an organization membership for the authenticated user -*OrgsApi* | [**orgs/getMembershipForUser**](Apis/OrgsApi.http#orgs/getmembershipforuser) | **GET** /orgs/{org}/memberships/{username} | Get organization membership for a user -*OrgsApi* | [**orgs/getOrgRole**](Apis/OrgsApi.http#orgs/getorgrole) | **GET** /orgs/{org}/organization-roles/{role_id} | Get an organization role -*OrgsApi* | [**orgs/getWebhook**](Apis/OrgsApi.http#orgs/getwebhook) | **GET** /orgs/{org}/hooks/{hook_id} | Get an organization webhook -*OrgsApi* | [**orgs/getWebhookConfigForOrg**](Apis/OrgsApi.http#orgs/getwebhookconfigfororg) | **GET** /orgs/{org}/hooks/{hook_id}/config | Get a webhook configuration for an organization -*OrgsApi* | [**orgs/getWebhookDelivery**](Apis/OrgsApi.http#orgs/getwebhookdelivery) | **GET** /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} | Get a webhook delivery for an organization webhook -*OrgsApi* | [**orgs/list**](Apis/OrgsApi.http#orgs/list) | **GET** /organizations | List organizations -*OrgsApi* | [**orgs/listAppInstallations**](Apis/OrgsApi.http#orgs/listappinstallations) | **GET** /orgs/{org}/installations | List app installations for an organization -*OrgsApi* | [**orgs/listBlockedUsers**](Apis/OrgsApi.http#orgs/listblockedusers) | **GET** /orgs/{org}/blocks | List users blocked by an organization -*OrgsApi* | [**orgs/listCustomPropertiesValuesForRepos**](Apis/OrgsApi.http#orgs/listcustompropertiesvaluesforrepos) | **GET** /orgs/{org}/properties/values | List custom property values for organization repositories -*OrgsApi* | [**orgs/listFailedInvitations**](Apis/OrgsApi.http#orgs/listfailedinvitations) | **GET** /orgs/{org}/failed_invitations | List failed organization invitations -*OrgsApi* | [**orgs/listForAuthenticatedUser**](Apis/OrgsApi.http#orgs/listforauthenticateduser) | **GET** /user/orgs | List organizations for the authenticated user -*OrgsApi* | [**orgs/listForUser**](Apis/OrgsApi.http#orgs/listforuser) | **GET** /users/{username}/orgs | List organizations for a user -*OrgsApi* | [**orgs/listInvitationTeams**](Apis/OrgsApi.http#orgs/listinvitationteams) | **GET** /orgs/{org}/invitations/{invitation_id}/teams | List organization invitation teams -*OrgsApi* | [**orgs/listMembers**](Apis/OrgsApi.http#orgs/listmembers) | **GET** /orgs/{org}/members | List organization members -*OrgsApi* | [**orgs/listMembershipsForAuthenticatedUser**](Apis/OrgsApi.http#orgs/listmembershipsforauthenticateduser) | **GET** /user/memberships/orgs | List organization memberships for the authenticated user -*OrgsApi* | [**orgs/listOrgRoleTeams**](Apis/OrgsApi.http#orgs/listorgroleteams) | **GET** /orgs/{org}/organization-roles/{role_id}/teams | List teams that are assigned to an organization role -*OrgsApi* | [**orgs/listOrgRoleUsers**](Apis/OrgsApi.http#orgs/listorgroleusers) | **GET** /orgs/{org}/organization-roles/{role_id}/users | List users that are assigned to an organization role -*OrgsApi* | [**orgs/listOrgRoles**](Apis/OrgsApi.http#orgs/listorgroles) | **GET** /orgs/{org}/organization-roles | Get all organization roles for an organization -*OrgsApi* | [**orgs/listOrganizationFineGrainedPermissions**](Apis/OrgsApi.http#orgs/listorganizationfinegrainedpermissions) | **GET** /orgs/{org}/organization-fine-grained-permissions | List organization fine-grained permissions for an organization -*OrgsApi* | [**orgs/listOutsideCollaborators**](Apis/OrgsApi.http#orgs/listoutsidecollaborators) | **GET** /orgs/{org}/outside_collaborators | List outside collaborators for an organization -*OrgsApi* | [**orgs/listPatGrantRepositories**](Apis/OrgsApi.http#orgs/listpatgrantrepositories) | **GET** /orgs/{org}/personal-access-tokens/{pat_id}/repositories | List repositories a fine-grained personal access token has access to -*OrgsApi* | [**orgs/listPatGrantRequestRepositories**](Apis/OrgsApi.http#orgs/listpatgrantrequestrepositories) | **GET** /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories | List repositories requested to be accessed by a fine-grained personal access token -*OrgsApi* | [**orgs/listPatGrantRequests**](Apis/OrgsApi.http#orgs/listpatgrantrequests) | **GET** /orgs/{org}/personal-access-token-requests | List requests to access organization resources with fine-grained personal access tokens -*OrgsApi* | [**orgs/listPatGrants**](Apis/OrgsApi.http#orgs/listpatgrants) | **GET** /orgs/{org}/personal-access-tokens | List fine-grained personal access tokens with access to organization resources -*OrgsApi* | [**orgs/listPendingInvitations**](Apis/OrgsApi.http#orgs/listpendinginvitations) | **GET** /orgs/{org}/invitations | List pending organization invitations -*OrgsApi* | [**orgs/listPublicMembers**](Apis/OrgsApi.http#orgs/listpublicmembers) | **GET** /orgs/{org}/public_members | List public organization members -*OrgsApi* | [**orgs/listSecurityManagerTeams**](Apis/OrgsApi.http#orgs/listsecuritymanagerteams) | **GET** /orgs/{org}/security-managers | List security manager teams -*OrgsApi* | [**orgs/listWebhookDeliveries**](Apis/OrgsApi.http#orgs/listwebhookdeliveries) | **GET** /orgs/{org}/hooks/{hook_id}/deliveries | List deliveries for an organization webhook -*OrgsApi* | [**orgs/listWebhooks**](Apis/OrgsApi.http#orgs/listwebhooks) | **GET** /orgs/{org}/hooks | List organization webhooks -*OrgsApi* | [**orgs/patchCustomOrganizationRole**](Apis/OrgsApi.http#orgs/patchcustomorganizationrole) | **PATCH** /orgs/{org}/organization-roles/{role_id} | Update a custom organization role -*OrgsApi* | [**orgs/pingWebhook**](Apis/OrgsApi.http#orgs/pingwebhook) | **POST** /orgs/{org}/hooks/{hook_id}/pings | Ping an organization webhook -*OrgsApi* | [**orgs/redeliverWebhookDelivery**](Apis/OrgsApi.http#orgs/redeliverwebhookdelivery) | **POST** /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts | Redeliver a delivery for an organization webhook -*OrgsApi* | [**orgs/removeCustomProperty**](Apis/OrgsApi.http#orgs/removecustomproperty) | **DELETE** /orgs/{org}/properties/schema/{custom_property_name} | Remove a custom property for an organization -*OrgsApi* | [**orgs/removeMember**](Apis/OrgsApi.http#orgs/removemember) | **DELETE** /orgs/{org}/members/{username} | Remove an organization member -*OrgsApi* | [**orgs/removeMembershipForUser**](Apis/OrgsApi.http#orgs/removemembershipforuser) | **DELETE** /orgs/{org}/memberships/{username} | Remove organization membership for a user -*OrgsApi* | [**orgs/removeOutsideCollaborator**](Apis/OrgsApi.http#orgs/removeoutsidecollaborator) | **DELETE** /orgs/{org}/outside_collaborators/{username} | Remove outside collaborator from an organization -*OrgsApi* | [**orgs/removePublicMembershipForAuthenticatedUser**](Apis/OrgsApi.http#orgs/removepublicmembershipforauthenticateduser) | **DELETE** /orgs/{org}/public_members/{username} | Remove public organization membership for the authenticated user -*OrgsApi* | [**orgs/removeSecurityManagerTeam**](Apis/OrgsApi.http#orgs/removesecuritymanagerteam) | **DELETE** /orgs/{org}/security-managers/teams/{team_slug} | Remove a security manager team -*OrgsApi* | [**orgs/reviewPatGrantRequest**](Apis/OrgsApi.http#orgs/reviewpatgrantrequest) | **POST** /orgs/{org}/personal-access-token-requests/{pat_request_id} | Review a request to access organization resources with a fine-grained personal access token -*OrgsApi* | [**orgs/reviewPatGrantRequestsInBulk**](Apis/OrgsApi.http#orgs/reviewpatgrantrequestsinbulk) | **POST** /orgs/{org}/personal-access-token-requests | Review requests to access organization resources with fine-grained personal access tokens -*OrgsApi* | [**orgs/revokeAllOrgRolesTeam**](Apis/OrgsApi.http#orgs/revokeallorgrolesteam) | **DELETE** /orgs/{org}/organization-roles/teams/{team_slug} | Remove all organization roles for a team -*OrgsApi* | [**orgs/revokeAllOrgRolesUser**](Apis/OrgsApi.http#orgs/revokeallorgrolesuser) | **DELETE** /orgs/{org}/organization-roles/users/{username} | Remove all organization roles for a user -*OrgsApi* | [**orgs/revokeOrgRoleTeam**](Apis/OrgsApi.http#orgs/revokeorgroleteam) | **DELETE** /orgs/{org}/organization-roles/teams/{team_slug}/{role_id} | Remove an organization role from a team -*OrgsApi* | [**orgs/revokeOrgRoleUser**](Apis/OrgsApi.http#orgs/revokeorgroleuser) | **DELETE** /orgs/{org}/organization-roles/users/{username}/{role_id} | Remove an organization role from a user -*OrgsApi* | [**orgs/setMembershipForUser**](Apis/OrgsApi.http#orgs/setmembershipforuser) | **PUT** /orgs/{org}/memberships/{username} | Set organization membership for a user -*OrgsApi* | [**orgs/setPublicMembershipForAuthenticatedUser**](Apis/OrgsApi.http#orgs/setpublicmembershipforauthenticateduser) | **PUT** /orgs/{org}/public_members/{username} | Set public organization membership for the authenticated user -*OrgsApi* | [**orgs/unblockUser**](Apis/OrgsApi.http#orgs/unblockuser) | **DELETE** /orgs/{org}/blocks/{username} | Unblock a user from an organization -*OrgsApi* | [**orgs/update**](Apis/OrgsApi.http#orgs/update) | **PATCH** /orgs/{org} | Update an organization -*OrgsApi* | [**orgs/updateMembershipForAuthenticatedUser**](Apis/OrgsApi.http#orgs/updatemembershipforauthenticateduser) | **PATCH** /user/memberships/orgs/{org} | Update an organization membership for the authenticated user -*OrgsApi* | [**orgs/updatePatAccess**](Apis/OrgsApi.http#orgs/updatepataccess) | **POST** /orgs/{org}/personal-access-tokens/{pat_id} | Update the access a fine-grained personal access token has to organization resources -*OrgsApi* | [**orgs/updatePatAccesses**](Apis/OrgsApi.http#orgs/updatepataccesses) | **POST** /orgs/{org}/personal-access-tokens | Update the access to organization resources via fine-grained personal access tokens -*OrgsApi* | [**orgs/updateWebhook**](Apis/OrgsApi.http#orgs/updatewebhook) | **PATCH** /orgs/{org}/hooks/{hook_id} | Update an organization webhook -*OrgsApi* | [**orgs/updateWebhookConfigForOrg**](Apis/OrgsApi.http#orgs/updatewebhookconfigfororg) | **PATCH** /orgs/{org}/hooks/{hook_id}/config | Update a webhook configuration for an organization -*PackagesApi* | [**packages/deletePackageForAuthenticatedUser**](Apis/PackagesApi.http#packages/deletepackageforauthenticateduser) | **DELETE** /user/packages/{package_type}/{package_name} | Delete a package for the authenticated user -*PackagesApi* | [**packages/deletePackageForOrg**](Apis/PackagesApi.http#packages/deletepackagefororg) | **DELETE** /orgs/{org}/packages/{package_type}/{package_name} | Delete a package for an organization -*PackagesApi* | [**packages/deletePackageForUser**](Apis/PackagesApi.http#packages/deletepackageforuser) | **DELETE** /users/{username}/packages/{package_type}/{package_name} | Delete a package for a user -*PackagesApi* | [**packages/deletePackageVersionForAuthenticatedUser**](Apis/PackagesApi.http#packages/deletepackageversionforauthenticateduser) | **DELETE** /user/packages/{package_type}/{package_name}/versions/{package_version_id} | Delete a package version for the authenticated user -*PackagesApi* | [**packages/deletePackageVersionForOrg**](Apis/PackagesApi.http#packages/deletepackageversionfororg) | **DELETE** /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} | Delete package version for an organization -*PackagesApi* | [**packages/deletePackageVersionForUser**](Apis/PackagesApi.http#packages/deletepackageversionforuser) | **DELETE** /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} | Delete package version for a user -*PackagesApi* | [**packages/getAllPackageVersionsForPackageOwnedByAuthenticatedUser**](Apis/PackagesApi.http#packages/getallpackageversionsforpackageownedbyauthenticateduser) | **GET** /user/packages/{package_type}/{package_name}/versions | List package versions for a package owned by the authenticated user -*PackagesApi* | [**packages/getAllPackageVersionsForPackageOwnedByOrg**](Apis/PackagesApi.http#packages/getallpackageversionsforpackageownedbyorg) | **GET** /orgs/{org}/packages/{package_type}/{package_name}/versions | List package versions for a package owned by an organization -*PackagesApi* | [**packages/getAllPackageVersionsForPackageOwnedByUser**](Apis/PackagesApi.http#packages/getallpackageversionsforpackageownedbyuser) | **GET** /users/{username}/packages/{package_type}/{package_name}/versions | List package versions for a package owned by a user -*PackagesApi* | [**packages/getPackageForAuthenticatedUser**](Apis/PackagesApi.http#packages/getpackageforauthenticateduser) | **GET** /user/packages/{package_type}/{package_name} | Get a package for the authenticated user -*PackagesApi* | [**packages/getPackageForOrganization**](Apis/PackagesApi.http#packages/getpackagefororganization) | **GET** /orgs/{org}/packages/{package_type}/{package_name} | Get a package for an organization -*PackagesApi* | [**packages/getPackageForUser**](Apis/PackagesApi.http#packages/getpackageforuser) | **GET** /users/{username}/packages/{package_type}/{package_name} | Get a package for a user -*PackagesApi* | [**packages/getPackageVersionForAuthenticatedUser**](Apis/PackagesApi.http#packages/getpackageversionforauthenticateduser) | **GET** /user/packages/{package_type}/{package_name}/versions/{package_version_id} | Get a package version for the authenticated user -*PackagesApi* | [**packages/getPackageVersionForOrganization**](Apis/PackagesApi.http#packages/getpackageversionfororganization) | **GET** /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id} | Get a package version for an organization -*PackagesApi* | [**packages/getPackageVersionForUser**](Apis/PackagesApi.http#packages/getpackageversionforuser) | **GET** /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id} | Get a package version for a user -*PackagesApi* | [**packages/listDockerMigrationConflictingPackagesForAuthenticatedUser**](Apis/PackagesApi.http#packages/listdockermigrationconflictingpackagesforauthenticateduser) | **GET** /user/docker/conflicts | Get list of conflicting packages during Docker migration for authenticated-user -*PackagesApi* | [**packages/listDockerMigrationConflictingPackagesForOrganization**](Apis/PackagesApi.http#packages/listdockermigrationconflictingpackagesfororganization) | **GET** /orgs/{org}/docker/conflicts | Get list of conflicting packages during Docker migration for organization -*PackagesApi* | [**packages/listDockerMigrationConflictingPackagesForUser**](Apis/PackagesApi.http#packages/listdockermigrationconflictingpackagesforuser) | **GET** /users/{username}/docker/conflicts | Get list of conflicting packages during Docker migration for user -*PackagesApi* | [**packages/listPackagesForAuthenticatedUser**](Apis/PackagesApi.http#packages/listpackagesforauthenticateduser) | **GET** /user/packages | List packages for the authenticated user's namespace -*PackagesApi* | [**packages/listPackagesForOrganization**](Apis/PackagesApi.http#packages/listpackagesfororganization) | **GET** /orgs/{org}/packages | List packages for an organization -*PackagesApi* | [**packages/listPackagesForUser**](Apis/PackagesApi.http#packages/listpackagesforuser) | **GET** /users/{username}/packages | List packages for a user -*PackagesApi* | [**packages/restorePackageForAuthenticatedUser**](Apis/PackagesApi.http#packages/restorepackageforauthenticateduser) | **POST** /user/packages/{package_type}/{package_name}/restore | Restore a package for the authenticated user -*PackagesApi* | [**packages/restorePackageForOrg**](Apis/PackagesApi.http#packages/restorepackagefororg) | **POST** /orgs/{org}/packages/{package_type}/{package_name}/restore | Restore a package for an organization -*PackagesApi* | [**packages/restorePackageForUser**](Apis/PackagesApi.http#packages/restorepackageforuser) | **POST** /users/{username}/packages/{package_type}/{package_name}/restore | Restore a package for a user -*PackagesApi* | [**packages/restorePackageVersionForAuthenticatedUser**](Apis/PackagesApi.http#packages/restorepackageversionforauthenticateduser) | **POST** /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore | Restore a package version for the authenticated user -*PackagesApi* | [**packages/restorePackageVersionForOrg**](Apis/PackagesApi.http#packages/restorepackageversionfororg) | **POST** /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore | Restore package version for an organization -*PackagesApi* | [**packages/restorePackageVersionForUser**](Apis/PackagesApi.http#packages/restorepackageversionforuser) | **POST** /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore | Restore package version for a user -*ProjectsApi* | [**projects/addCollaborator**](Apis/ProjectsApi.http#projects/addcollaborator) | **PUT** /projects/{project_id}/collaborators/{username} | Add project collaborator -*ProjectsApi* | [**projects/createCard**](Apis/ProjectsApi.http#projects/createcard) | **POST** /projects/columns/{column_id}/cards | Create a project card -*ProjectsApi* | [**projects/createColumn**](Apis/ProjectsApi.http#projects/createcolumn) | **POST** /projects/{project_id}/columns | Create a project column -*ProjectsApi* | [**projects/createForAuthenticatedUser**](Apis/ProjectsApi.http#projects/createforauthenticateduser) | **POST** /user/projects | Create a user project -*ProjectsApi* | [**projects/createForOrg**](Apis/ProjectsApi.http#projects/createfororg) | **POST** /orgs/{org}/projects | Create an organization project -*ProjectsApi* | [**projects/createForRepo**](Apis/ProjectsApi.http#projects/createforrepo) | **POST** /repos/{owner}/{repo}/projects | Create a repository project -*ProjectsApi* | [**projects/delete**](Apis/ProjectsApi.http#projects/delete) | **DELETE** /projects/{project_id} | Delete a project -*ProjectsApi* | [**projects/deleteCard**](Apis/ProjectsApi.http#projects/deletecard) | **DELETE** /projects/columns/cards/{card_id} | Delete a project card -*ProjectsApi* | [**projects/deleteColumn**](Apis/ProjectsApi.http#projects/deletecolumn) | **DELETE** /projects/columns/{column_id} | Delete a project column -*ProjectsApi* | [**projects/get**](Apis/ProjectsApi.http#projects/get) | **GET** /projects/{project_id} | Get a project -*ProjectsApi* | [**projects/getCard**](Apis/ProjectsApi.http#projects/getcard) | **GET** /projects/columns/cards/{card_id} | Get a project card -*ProjectsApi* | [**projects/getColumn**](Apis/ProjectsApi.http#projects/getcolumn) | **GET** /projects/columns/{column_id} | Get a project column -*ProjectsApi* | [**projects/getPermissionForUser**](Apis/ProjectsApi.http#projects/getpermissionforuser) | **GET** /projects/{project_id}/collaborators/{username}/permission | Get project permission for a user -*ProjectsApi* | [**projects/listCards**](Apis/ProjectsApi.http#projects/listcards) | **GET** /projects/columns/{column_id}/cards | List project cards -*ProjectsApi* | [**projects/listCollaborators**](Apis/ProjectsApi.http#projects/listcollaborators) | **GET** /projects/{project_id}/collaborators | List project collaborators -*ProjectsApi* | [**projects/listColumns**](Apis/ProjectsApi.http#projects/listcolumns) | **GET** /projects/{project_id}/columns | List project columns -*ProjectsApi* | [**projects/listForOrg**](Apis/ProjectsApi.http#projects/listfororg) | **GET** /orgs/{org}/projects | List organization projects -*ProjectsApi* | [**projects/listForRepo**](Apis/ProjectsApi.http#projects/listforrepo) | **GET** /repos/{owner}/{repo}/projects | List repository projects -*ProjectsApi* | [**projects/listForUser**](Apis/ProjectsApi.http#projects/listforuser) | **GET** /users/{username}/projects | List user projects -*ProjectsApi* | [**projects/moveCard**](Apis/ProjectsApi.http#projects/movecard) | **POST** /projects/columns/cards/{card_id}/moves | Move a project card -*ProjectsApi* | [**projects/moveColumn**](Apis/ProjectsApi.http#projects/movecolumn) | **POST** /projects/columns/{column_id}/moves | Move a project column -*ProjectsApi* | [**projects/removeCollaborator**](Apis/ProjectsApi.http#projects/removecollaborator) | **DELETE** /projects/{project_id}/collaborators/{username} | Remove user as a collaborator -*ProjectsApi* | [**projects/update**](Apis/ProjectsApi.http#projects/update) | **PATCH** /projects/{project_id} | Update a project -*ProjectsApi* | [**projects/updateCard**](Apis/ProjectsApi.http#projects/updatecard) | **PATCH** /projects/columns/cards/{card_id} | Update an existing project card -*ProjectsApi* | [**projects/updateColumn**](Apis/ProjectsApi.http#projects/updatecolumn) | **PATCH** /projects/columns/{column_id} | Update an existing project column -*PullsApi* | [**pulls/checkIfMerged**](Apis/PullsApi.http#pulls/checkifmerged) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/merge | Check if a pull request has been merged -*PullsApi* | [**pulls/create**](Apis/PullsApi.http#pulls/create) | **POST** /repos/{owner}/{repo}/pulls | Create a pull request -*PullsApi* | [**pulls/createReplyForReviewComment**](Apis/PullsApi.http#pulls/createreplyforreviewcomment) | **POST** /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies | Create a reply for a review comment -*PullsApi* | [**pulls/createReview**](Apis/PullsApi.http#pulls/createreview) | **POST** /repos/{owner}/{repo}/pulls/{pull_number}/reviews | Create a review for a pull request -*PullsApi* | [**pulls/createReviewComment**](Apis/PullsApi.http#pulls/createreviewcomment) | **POST** /repos/{owner}/{repo}/pulls/{pull_number}/comments | Create a review comment for a pull request -*PullsApi* | [**pulls/deletePendingReview**](Apis/PullsApi.http#pulls/deletependingreview) | **DELETE** /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} | Delete a pending review for a pull request -*PullsApi* | [**pulls/deleteReviewComment**](Apis/PullsApi.http#pulls/deletereviewcomment) | **DELETE** /repos/{owner}/{repo}/pulls/comments/{comment_id} | Delete a review comment for a pull request -*PullsApi* | [**pulls/dismissReview**](Apis/PullsApi.http#pulls/dismissreview) | **PUT** /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals | Dismiss a review for a pull request -*PullsApi* | [**pulls/get**](Apis/PullsApi.http#pulls/get) | **GET** /repos/{owner}/{repo}/pulls/{pull_number} | Get a pull request -*PullsApi* | [**pulls/getReview**](Apis/PullsApi.http#pulls/getreview) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} | Get a review for a pull request -*PullsApi* | [**pulls/getReviewComment**](Apis/PullsApi.http#pulls/getreviewcomment) | **GET** /repos/{owner}/{repo}/pulls/comments/{comment_id} | Get a review comment for a pull request -*PullsApi* | [**pulls/list**](Apis/PullsApi.http#pulls/list) | **GET** /repos/{owner}/{repo}/pulls | List pull requests -*PullsApi* | [**pulls/listCommentsForReview**](Apis/PullsApi.http#pulls/listcommentsforreview) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments | List comments for a pull request review -*PullsApi* | [**pulls/listCommits**](Apis/PullsApi.http#pulls/listcommits) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/commits | List commits on a pull request -*PullsApi* | [**pulls/listFiles**](Apis/PullsApi.http#pulls/listfiles) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/files | List pull requests files -*PullsApi* | [**pulls/listRequestedReviewers**](Apis/PullsApi.http#pulls/listrequestedreviewers) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers | Get all requested reviewers for a pull request -*PullsApi* | [**pulls/listReviewComments**](Apis/PullsApi.http#pulls/listreviewcomments) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/comments | List review comments on a pull request -*PullsApi* | [**pulls/listReviewCommentsForRepo**](Apis/PullsApi.http#pulls/listreviewcommentsforrepo) | **GET** /repos/{owner}/{repo}/pulls/comments | List review comments in a repository -*PullsApi* | [**pulls/listReviews**](Apis/PullsApi.http#pulls/listreviews) | **GET** /repos/{owner}/{repo}/pulls/{pull_number}/reviews | List reviews for a pull request -*PullsApi* | [**pulls/merge**](Apis/PullsApi.http#pulls/merge) | **PUT** /repos/{owner}/{repo}/pulls/{pull_number}/merge | Merge a pull request -*PullsApi* | [**pulls/removeRequestedReviewers**](Apis/PullsApi.http#pulls/removerequestedreviewers) | **DELETE** /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers | Remove requested reviewers from a pull request -*PullsApi* | [**pulls/requestReviewers**](Apis/PullsApi.http#pulls/requestreviewers) | **POST** /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers | Request reviewers for a pull request -*PullsApi* | [**pulls/submitReview**](Apis/PullsApi.http#pulls/submitreview) | **POST** /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events | Submit a review for a pull request -*PullsApi* | [**pulls/update**](Apis/PullsApi.http#pulls/update) | **PATCH** /repos/{owner}/{repo}/pulls/{pull_number} | Update a pull request -*PullsApi* | [**pulls/updateBranch**](Apis/PullsApi.http#pulls/updatebranch) | **PUT** /repos/{owner}/{repo}/pulls/{pull_number}/update-branch | Update a pull request branch -*PullsApi* | [**pulls/updateReview**](Apis/PullsApi.http#pulls/updatereview) | **PUT** /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} | Update a review for a pull request -*PullsApi* | [**pulls/updateReviewComment**](Apis/PullsApi.http#pulls/updatereviewcomment) | **PATCH** /repos/{owner}/{repo}/pulls/comments/{comment_id} | Update a review comment for a pull request -*RateLimitApi* | [**rateLimit/get**](Apis/RateLimitApi.http#ratelimit/get) | **GET** /rate_limit | Get rate limit status for the authenticated user -*ReactionsApi* | [**reactions/createForCommitComment**](Apis/ReactionsApi.http#reactions/createforcommitcomment) | **POST** /repos/{owner}/{repo}/comments/{comment_id}/reactions | Create reaction for a commit comment -*ReactionsApi* | [**reactions/createForIssue**](Apis/ReactionsApi.http#reactions/createforissue) | **POST** /repos/{owner}/{repo}/issues/{issue_number}/reactions | Create reaction for an issue -*ReactionsApi* | [**reactions/createForIssueComment**](Apis/ReactionsApi.http#reactions/createforissuecomment) | **POST** /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions | Create reaction for an issue comment -*ReactionsApi* | [**reactions/createForPullRequestReviewComment**](Apis/ReactionsApi.http#reactions/createforpullrequestreviewcomment) | **POST** /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions | Create reaction for a pull request review comment -*ReactionsApi* | [**reactions/createForRelease**](Apis/ReactionsApi.http#reactions/createforrelease) | **POST** /repos/{owner}/{repo}/releases/{release_id}/reactions | Create reaction for a release -*ReactionsApi* | [**reactions/createForTeamDiscussionCommentInOrg**](Apis/ReactionsApi.http#reactions/createforteamdiscussioncommentinorg) | **POST** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions | Create reaction for a team discussion comment -*ReactionsApi* | [**reactions/createForTeamDiscussionCommentLegacy**](Apis/ReactionsApi.http#reactions/createforteamdiscussioncommentlegacy) | **POST** /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions | Create reaction for a team discussion comment (Legacy) -*ReactionsApi* | [**reactions/createForTeamDiscussionInOrg**](Apis/ReactionsApi.http#reactions/createforteamdiscussioninorg) | **POST** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions | Create reaction for a team discussion -*ReactionsApi* | [**reactions/createForTeamDiscussionLegacy**](Apis/ReactionsApi.http#reactions/createforteamdiscussionlegacy) | **POST** /teams/{team_id}/discussions/{discussion_number}/reactions | Create reaction for a team discussion (Legacy) -*ReactionsApi* | [**reactions/deleteForCommitComment**](Apis/ReactionsApi.http#reactions/deleteforcommitcomment) | **DELETE** /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id} | Delete a commit comment reaction -*ReactionsApi* | [**reactions/deleteForIssue**](Apis/ReactionsApi.http#reactions/deleteforissue) | **DELETE** /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id} | Delete an issue reaction -*ReactionsApi* | [**reactions/deleteForIssueComment**](Apis/ReactionsApi.http#reactions/deleteforissuecomment) | **DELETE** /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id} | Delete an issue comment reaction -*ReactionsApi* | [**reactions/deleteForPullRequestComment**](Apis/ReactionsApi.http#reactions/deleteforpullrequestcomment) | **DELETE** /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id} | Delete a pull request comment reaction -*ReactionsApi* | [**reactions/deleteForRelease**](Apis/ReactionsApi.http#reactions/deleteforrelease) | **DELETE** /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id} | Delete a release reaction -*ReactionsApi* | [**reactions/deleteForTeamDiscussion**](Apis/ReactionsApi.http#reactions/deleteforteamdiscussion) | **DELETE** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id} | Delete team discussion reaction -*ReactionsApi* | [**reactions/deleteForTeamDiscussionComment**](Apis/ReactionsApi.http#reactions/deleteforteamdiscussioncomment) | **DELETE** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id} | Delete team discussion comment reaction -*ReactionsApi* | [**reactions/listForCommitComment**](Apis/ReactionsApi.http#reactions/listforcommitcomment) | **GET** /repos/{owner}/{repo}/comments/{comment_id}/reactions | List reactions for a commit comment -*ReactionsApi* | [**reactions/listForIssue**](Apis/ReactionsApi.http#reactions/listforissue) | **GET** /repos/{owner}/{repo}/issues/{issue_number}/reactions | List reactions for an issue -*ReactionsApi* | [**reactions/listForIssueComment**](Apis/ReactionsApi.http#reactions/listforissuecomment) | **GET** /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions | List reactions for an issue comment -*ReactionsApi* | [**reactions/listForPullRequestReviewComment**](Apis/ReactionsApi.http#reactions/listforpullrequestreviewcomment) | **GET** /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions | List reactions for a pull request review comment -*ReactionsApi* | [**reactions/listForRelease**](Apis/ReactionsApi.http#reactions/listforrelease) | **GET** /repos/{owner}/{repo}/releases/{release_id}/reactions | List reactions for a release -*ReactionsApi* | [**reactions/listForTeamDiscussionCommentInOrg**](Apis/ReactionsApi.http#reactions/listforteamdiscussioncommentinorg) | **GET** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions | List reactions for a team discussion comment -*ReactionsApi* | [**reactions/listForTeamDiscussionCommentLegacy**](Apis/ReactionsApi.http#reactions/listforteamdiscussioncommentlegacy) | **GET** /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions | List reactions for a team discussion comment (Legacy) -*ReactionsApi* | [**reactions/listForTeamDiscussionInOrg**](Apis/ReactionsApi.http#reactions/listforteamdiscussioninorg) | **GET** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions | List reactions for a team discussion -*ReactionsApi* | [**reactions/listForTeamDiscussionLegacy**](Apis/ReactionsApi.http#reactions/listforteamdiscussionlegacy) | **GET** /teams/{team_id}/discussions/{discussion_number}/reactions | List reactions for a team discussion (Legacy) -*ReposApi* | [**repos/acceptInvitationForAuthenticatedUser**](Apis/ReposApi.http#repos/acceptinvitationforauthenticateduser) | **PATCH** /user/repository_invitations/{invitation_id} | Accept a repository invitation -*ReposApi* | [**repos/addAppAccessRestrictions**](Apis/ReposApi.http#repos/addappaccessrestrictions) | **POST** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps | Add app access restrictions -*ReposApi* | [**repos/addCollaborator**](Apis/ReposApi.http#repos/addcollaborator) | **PUT** /repos/{owner}/{repo}/collaborators/{username} | Add a repository collaborator -*ReposApi* | [**repos/addStatusCheckContexts**](Apis/ReposApi.http#repos/addstatuscheckcontexts) | **POST** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts | Add status check contexts -*ReposApi* | [**repos/addTeamAccessRestrictions**](Apis/ReposApi.http#repos/addteamaccessrestrictions) | **POST** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams | Add team access restrictions -*ReposApi* | [**repos/addUserAccessRestrictions**](Apis/ReposApi.http#repos/adduseraccessrestrictions) | **POST** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users | Add user access restrictions -*ReposApi* | [**repos/cancelPagesDeployment**](Apis/ReposApi.http#repos/cancelpagesdeployment) | **POST** /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel | Cancel a GitHub Pages deployment -*ReposApi* | [**repos/checkAutomatedSecurityFixes**](Apis/ReposApi.http#repos/checkautomatedsecurityfixes) | **GET** /repos/{owner}/{repo}/automated-security-fixes | Check if automated security fixes are enabled for a repository -*ReposApi* | [**repos/checkCollaborator**](Apis/ReposApi.http#repos/checkcollaborator) | **GET** /repos/{owner}/{repo}/collaborators/{username} | Check if a user is a repository collaborator -*ReposApi* | [**repos/checkVulnerabilityAlerts**](Apis/ReposApi.http#repos/checkvulnerabilityalerts) | **GET** /repos/{owner}/{repo}/vulnerability-alerts | Check if vulnerability alerts are enabled for a repository -*ReposApi* | [**repos/codeownersErrors**](Apis/ReposApi.http#repos/codeownerserrors) | **GET** /repos/{owner}/{repo}/codeowners/errors | List CODEOWNERS errors -*ReposApi* | [**repos/compareCommits**](Apis/ReposApi.http#repos/comparecommits) | **GET** /repos/{owner}/{repo}/compare/{basehead} | Compare two commits -*ReposApi* | [**repos/createAutolink**](Apis/ReposApi.http#repos/createautolink) | **POST** /repos/{owner}/{repo}/autolinks | Create an autolink reference for a repository -*ReposApi* | [**repos/createCommitComment**](Apis/ReposApi.http#repos/createcommitcomment) | **POST** /repos/{owner}/{repo}/commits/{commit_sha}/comments | Create a commit comment -*ReposApi* | [**repos/createCommitSignatureProtection**](Apis/ReposApi.http#repos/createcommitsignatureprotection) | **POST** /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures | Create commit signature protection -*ReposApi* | [**repos/createCommitStatus**](Apis/ReposApi.http#repos/createcommitstatus) | **POST** /repos/{owner}/{repo}/statuses/{sha} | Create a commit status -*ReposApi* | [**repos/createDeployKey**](Apis/ReposApi.http#repos/createdeploykey) | **POST** /repos/{owner}/{repo}/keys | Create a deploy key -*ReposApi* | [**repos/createDeployment**](Apis/ReposApi.http#repos/createdeployment) | **POST** /repos/{owner}/{repo}/deployments | Create a deployment -*ReposApi* | [**repos/createDeploymentBranchPolicy**](Apis/ReposApi.http#repos/createdeploymentbranchpolicy) | **POST** /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies | Create a deployment branch policy -*ReposApi* | [**repos/createDeploymentProtectionRule**](Apis/ReposApi.http#repos/createdeploymentprotectionrule) | **POST** /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules | Create a custom deployment protection rule on an environment -*ReposApi* | [**repos/createDeploymentStatus**](Apis/ReposApi.http#repos/createdeploymentstatus) | **POST** /repos/{owner}/{repo}/deployments/{deployment_id}/statuses | Create a deployment status -*ReposApi* | [**repos/createDispatchEvent**](Apis/ReposApi.http#repos/createdispatchevent) | **POST** /repos/{owner}/{repo}/dispatches | Create a repository dispatch event -*ReposApi* | [**repos/createForAuthenticatedUser**](Apis/ReposApi.http#repos/createforauthenticateduser) | **POST** /user/repos | Create a repository for the authenticated user -*ReposApi* | [**repos/createFork**](Apis/ReposApi.http#repos/createfork) | **POST** /repos/{owner}/{repo}/forks | Create a fork -*ReposApi* | [**repos/createInOrg**](Apis/ReposApi.http#repos/createinorg) | **POST** /orgs/{org}/repos | Create an organization repository -*ReposApi* | [**repos/createOrUpdateCustomPropertiesValues**](Apis/ReposApi.http#repos/createorupdatecustompropertiesvalues) | **PATCH** /repos/{owner}/{repo}/properties/values | Create or update custom property values for a repository -*ReposApi* | [**repos/createOrUpdateEnvironment**](Apis/ReposApi.http#repos/createorupdateenvironment) | **PUT** /repos/{owner}/{repo}/environments/{environment_name} | Create or update an environment -*ReposApi* | [**repos/createOrUpdateFileContents**](Apis/ReposApi.http#repos/createorupdatefilecontents) | **PUT** /repos/{owner}/{repo}/contents/{path} | Create or update file contents -*ReposApi* | [**repos/createOrgRuleset**](Apis/ReposApi.http#repos/createorgruleset) | **POST** /orgs/{org}/rulesets | Create an organization repository ruleset -*ReposApi* | [**repos/createPagesDeployment**](Apis/ReposApi.http#repos/createpagesdeployment) | **POST** /repos/{owner}/{repo}/pages/deployments | Create a GitHub Pages deployment -*ReposApi* | [**repos/createPagesSite**](Apis/ReposApi.http#repos/createpagessite) | **POST** /repos/{owner}/{repo}/pages | Create a GitHub Pages site -*ReposApi* | [**repos/createRelease**](Apis/ReposApi.http#repos/createrelease) | **POST** /repos/{owner}/{repo}/releases | Create a release -*ReposApi* | [**repos/createRepoRuleset**](Apis/ReposApi.http#repos/createreporuleset) | **POST** /repos/{owner}/{repo}/rulesets | Create a repository ruleset -*ReposApi* | [**repos/createTagProtection**](Apis/ReposApi.http#repos/createtagprotection) | **POST** /repos/{owner}/{repo}/tags/protection | Create a tag protection state for a repository -*ReposApi* | [**repos/createUsingTemplate**](Apis/ReposApi.http#repos/createusingtemplate) | **POST** /repos/{template_owner}/{template_repo}/generate | Create a repository using a template -*ReposApi* | [**repos/createWebhook**](Apis/ReposApi.http#repos/createwebhook) | **POST** /repos/{owner}/{repo}/hooks | Create a repository webhook -*ReposApi* | [**repos/declineInvitationForAuthenticatedUser**](Apis/ReposApi.http#repos/declineinvitationforauthenticateduser) | **DELETE** /user/repository_invitations/{invitation_id} | Decline a repository invitation -*ReposApi* | [**repos/delete**](Apis/ReposApi.http#repos/delete) | **DELETE** /repos/{owner}/{repo} | Delete a repository -*ReposApi* | [**repos/deleteAccessRestrictions**](Apis/ReposApi.http#repos/deleteaccessrestrictions) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions | Delete access restrictions -*ReposApi* | [**repos/deleteAdminBranchProtection**](Apis/ReposApi.http#repos/deleteadminbranchprotection) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins | Delete admin branch protection -*ReposApi* | [**repos/deleteAnEnvironment**](Apis/ReposApi.http#repos/deleteanenvironment) | **DELETE** /repos/{owner}/{repo}/environments/{environment_name} | Delete an environment -*ReposApi* | [**repos/deleteAutolink**](Apis/ReposApi.http#repos/deleteautolink) | **DELETE** /repos/{owner}/{repo}/autolinks/{autolink_id} | Delete an autolink reference from a repository -*ReposApi* | [**repos/deleteBranchProtection**](Apis/ReposApi.http#repos/deletebranchprotection) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection | Delete branch protection -*ReposApi* | [**repos/deleteCommitComment**](Apis/ReposApi.http#repos/deletecommitcomment) | **DELETE** /repos/{owner}/{repo}/comments/{comment_id} | Delete a commit comment -*ReposApi* | [**repos/deleteCommitSignatureProtection**](Apis/ReposApi.http#repos/deletecommitsignatureprotection) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures | Delete commit signature protection -*ReposApi* | [**repos/deleteDeployKey**](Apis/ReposApi.http#repos/deletedeploykey) | **DELETE** /repos/{owner}/{repo}/keys/{key_id} | Delete a deploy key -*ReposApi* | [**repos/deleteDeployment**](Apis/ReposApi.http#repos/deletedeployment) | **DELETE** /repos/{owner}/{repo}/deployments/{deployment_id} | Delete a deployment -*ReposApi* | [**repos/deleteDeploymentBranchPolicy**](Apis/ReposApi.http#repos/deletedeploymentbranchpolicy) | **DELETE** /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} | Delete a deployment branch policy -*ReposApi* | [**repos/deleteFile**](Apis/ReposApi.http#repos/deletefile) | **DELETE** /repos/{owner}/{repo}/contents/{path} | Delete a file -*ReposApi* | [**repos/deleteInvitation**](Apis/ReposApi.http#repos/deleteinvitation) | **DELETE** /repos/{owner}/{repo}/invitations/{invitation_id} | Delete a repository invitation -*ReposApi* | [**repos/deleteOrgRuleset**](Apis/ReposApi.http#repos/deleteorgruleset) | **DELETE** /orgs/{org}/rulesets/{ruleset_id} | Delete an organization repository ruleset -*ReposApi* | [**repos/deletePagesSite**](Apis/ReposApi.http#repos/deletepagessite) | **DELETE** /repos/{owner}/{repo}/pages | Delete a GitHub Pages site -*ReposApi* | [**repos/deletePullRequestReviewProtection**](Apis/ReposApi.http#repos/deletepullrequestreviewprotection) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews | Delete pull request review protection -*ReposApi* | [**repos/deleteRelease**](Apis/ReposApi.http#repos/deleterelease) | **DELETE** /repos/{owner}/{repo}/releases/{release_id} | Delete a release -*ReposApi* | [**repos/deleteReleaseAsset**](Apis/ReposApi.http#repos/deletereleaseasset) | **DELETE** /repos/{owner}/{repo}/releases/assets/{asset_id} | Delete a release asset -*ReposApi* | [**repos/deleteRepoRuleset**](Apis/ReposApi.http#repos/deletereporuleset) | **DELETE** /repos/{owner}/{repo}/rulesets/{ruleset_id} | Delete a repository ruleset -*ReposApi* | [**repos/deleteTagProtection**](Apis/ReposApi.http#repos/deletetagprotection) | **DELETE** /repos/{owner}/{repo}/tags/protection/{tag_protection_id} | Delete a tag protection state for a repository -*ReposApi* | [**repos/deleteWebhook**](Apis/ReposApi.http#repos/deletewebhook) | **DELETE** /repos/{owner}/{repo}/hooks/{hook_id} | Delete a repository webhook -*ReposApi* | [**repos/disableAutomatedSecurityFixes**](Apis/ReposApi.http#repos/disableautomatedsecurityfixes) | **DELETE** /repos/{owner}/{repo}/automated-security-fixes | Disable automated security fixes -*ReposApi* | [**repos/disableDeploymentProtectionRule**](Apis/ReposApi.http#repos/disabledeploymentprotectionrule) | **DELETE** /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} | Disable a custom protection rule for an environment -*ReposApi* | [**repos/disablePrivateVulnerabilityReporting**](Apis/ReposApi.http#repos/disableprivatevulnerabilityreporting) | **DELETE** /repos/{owner}/{repo}/private-vulnerability-reporting | Disable private vulnerability reporting for a repository -*ReposApi* | [**repos/disableVulnerabilityAlerts**](Apis/ReposApi.http#repos/disablevulnerabilityalerts) | **DELETE** /repos/{owner}/{repo}/vulnerability-alerts | Disable vulnerability alerts -*ReposApi* | [**repos/downloadTarballArchive**](Apis/ReposApi.http#repos/downloadtarballarchive) | **GET** /repos/{owner}/{repo}/tarball/{ref} | Download a repository archive (tar) -*ReposApi* | [**repos/downloadZipballArchive**](Apis/ReposApi.http#repos/downloadzipballarchive) | **GET** /repos/{owner}/{repo}/zipball/{ref} | Download a repository archive (zip) -*ReposApi* | [**repos/enableAutomatedSecurityFixes**](Apis/ReposApi.http#repos/enableautomatedsecurityfixes) | **PUT** /repos/{owner}/{repo}/automated-security-fixes | Enable automated security fixes -*ReposApi* | [**repos/enablePrivateVulnerabilityReporting**](Apis/ReposApi.http#repos/enableprivatevulnerabilityreporting) | **PUT** /repos/{owner}/{repo}/private-vulnerability-reporting | Enable private vulnerability reporting for a repository -*ReposApi* | [**repos/enableVulnerabilityAlerts**](Apis/ReposApi.http#repos/enablevulnerabilityalerts) | **PUT** /repos/{owner}/{repo}/vulnerability-alerts | Enable vulnerability alerts -*ReposApi* | [**repos/generateReleaseNotes**](Apis/ReposApi.http#repos/generatereleasenotes) | **POST** /repos/{owner}/{repo}/releases/generate-notes | Generate release notes content for a release -*ReposApi* | [**repos/get**](Apis/ReposApi.http#repos/get) | **GET** /repos/{owner}/{repo} | Get a repository -*ReposApi* | [**repos/getAccessRestrictions**](Apis/ReposApi.http#repos/getaccessrestrictions) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions | Get access restrictions -*ReposApi* | [**repos/getAdminBranchProtection**](Apis/ReposApi.http#repos/getadminbranchprotection) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins | Get admin branch protection -*ReposApi* | [**repos/getAllDeploymentProtectionRules**](Apis/ReposApi.http#repos/getalldeploymentprotectionrules) | **GET** /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules | Get all deployment protection rules for an environment -*ReposApi* | [**repos/getAllEnvironments**](Apis/ReposApi.http#repos/getallenvironments) | **GET** /repos/{owner}/{repo}/environments | List environments -*ReposApi* | [**repos/getAllStatusCheckContexts**](Apis/ReposApi.http#repos/getallstatuscheckcontexts) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts | Get all status check contexts -*ReposApi* | [**repos/getAllTopics**](Apis/ReposApi.http#repos/getalltopics) | **GET** /repos/{owner}/{repo}/topics | Get all repository topics -*ReposApi* | [**repos/getAppsWithAccessToProtectedBranch**](Apis/ReposApi.http#repos/getappswithaccesstoprotectedbranch) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps | Get apps with access to the protected branch -*ReposApi* | [**repos/getAutolink**](Apis/ReposApi.http#repos/getautolink) | **GET** /repos/{owner}/{repo}/autolinks/{autolink_id} | Get an autolink reference of a repository -*ReposApi* | [**repos/getBranch**](Apis/ReposApi.http#repos/getbranch) | **GET** /repos/{owner}/{repo}/branches/{branch} | Get a branch -*ReposApi* | [**repos/getBranchProtection**](Apis/ReposApi.http#repos/getbranchprotection) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection | Get branch protection -*ReposApi* | [**repos/getBranchRules**](Apis/ReposApi.http#repos/getbranchrules) | **GET** /repos/{owner}/{repo}/rules/branches/{branch} | Get rules for a branch -*ReposApi* | [**repos/getClones**](Apis/ReposApi.http#repos/getclones) | **GET** /repos/{owner}/{repo}/traffic/clones | Get repository clones -*ReposApi* | [**repos/getCodeFrequencyStats**](Apis/ReposApi.http#repos/getcodefrequencystats) | **GET** /repos/{owner}/{repo}/stats/code_frequency | Get the weekly commit activity -*ReposApi* | [**repos/getCollaboratorPermissionLevel**](Apis/ReposApi.http#repos/getcollaboratorpermissionlevel) | **GET** /repos/{owner}/{repo}/collaborators/{username}/permission | Get repository permissions for a user -*ReposApi* | [**repos/getCombinedStatusForRef**](Apis/ReposApi.http#repos/getcombinedstatusforref) | **GET** /repos/{owner}/{repo}/commits/{ref}/status | Get the combined status for a specific reference -*ReposApi* | [**repos/getCommit**](Apis/ReposApi.http#repos/getcommit) | **GET** /repos/{owner}/{repo}/commits/{ref} | Get a commit -*ReposApi* | [**repos/getCommitActivityStats**](Apis/ReposApi.http#repos/getcommitactivitystats) | **GET** /repos/{owner}/{repo}/stats/commit_activity | Get the last year of commit activity -*ReposApi* | [**repos/getCommitComment**](Apis/ReposApi.http#repos/getcommitcomment) | **GET** /repos/{owner}/{repo}/comments/{comment_id} | Get a commit comment -*ReposApi* | [**repos/getCommitSignatureProtection**](Apis/ReposApi.http#repos/getcommitsignatureprotection) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures | Get commit signature protection -*ReposApi* | [**repos/getCommunityProfileMetrics**](Apis/ReposApi.http#repos/getcommunityprofilemetrics) | **GET** /repos/{owner}/{repo}/community/profile | Get community profile metrics -*ReposApi* | [**repos/getContent**](Apis/ReposApi.http#repos/getcontent) | **GET** /repos/{owner}/{repo}/contents/{path} | Get repository content -*ReposApi* | [**repos/getContributorsStats**](Apis/ReposApi.http#repos/getcontributorsstats) | **GET** /repos/{owner}/{repo}/stats/contributors | Get all contributor commit activity -*ReposApi* | [**repos/getCustomDeploymentProtectionRule**](Apis/ReposApi.http#repos/getcustomdeploymentprotectionrule) | **GET** /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id} | Get a custom deployment protection rule -*ReposApi* | [**repos/getCustomPropertiesValues**](Apis/ReposApi.http#repos/getcustompropertiesvalues) | **GET** /repos/{owner}/{repo}/properties/values | Get all custom property values for a repository -*ReposApi* | [**repos/getDeployKey**](Apis/ReposApi.http#repos/getdeploykey) | **GET** /repos/{owner}/{repo}/keys/{key_id} | Get a deploy key -*ReposApi* | [**repos/getDeployment**](Apis/ReposApi.http#repos/getdeployment) | **GET** /repos/{owner}/{repo}/deployments/{deployment_id} | Get a deployment -*ReposApi* | [**repos/getDeploymentBranchPolicy**](Apis/ReposApi.http#repos/getdeploymentbranchpolicy) | **GET** /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} | Get a deployment branch policy -*ReposApi* | [**repos/getDeploymentStatus**](Apis/ReposApi.http#repos/getdeploymentstatus) | **GET** /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id} | Get a deployment status -*ReposApi* | [**repos/getEnvironment**](Apis/ReposApi.http#repos/getenvironment) | **GET** /repos/{owner}/{repo}/environments/{environment_name} | Get an environment -*ReposApi* | [**repos/getLatestPagesBuild**](Apis/ReposApi.http#repos/getlatestpagesbuild) | **GET** /repos/{owner}/{repo}/pages/builds/latest | Get latest Pages build -*ReposApi* | [**repos/getLatestRelease**](Apis/ReposApi.http#repos/getlatestrelease) | **GET** /repos/{owner}/{repo}/releases/latest | Get the latest release -*ReposApi* | [**repos/getOrgRuleSuite**](Apis/ReposApi.http#repos/getorgrulesuite) | **GET** /orgs/{org}/rulesets/rule-suites/{rule_suite_id} | Get an organization rule suite -*ReposApi* | [**repos/getOrgRuleSuites**](Apis/ReposApi.http#repos/getorgrulesuites) | **GET** /orgs/{org}/rulesets/rule-suites | List organization rule suites -*ReposApi* | [**repos/getOrgRuleset**](Apis/ReposApi.http#repos/getorgruleset) | **GET** /orgs/{org}/rulesets/{ruleset_id} | Get an organization repository ruleset -*ReposApi* | [**repos/getOrgRulesets**](Apis/ReposApi.http#repos/getorgrulesets) | **GET** /orgs/{org}/rulesets | Get all organization repository rulesets -*ReposApi* | [**repos/getPages**](Apis/ReposApi.http#repos/getpages) | **GET** /repos/{owner}/{repo}/pages | Get a GitHub Pages site -*ReposApi* | [**repos/getPagesBuild**](Apis/ReposApi.http#repos/getpagesbuild) | **GET** /repos/{owner}/{repo}/pages/builds/{build_id} | Get GitHub Pages build -*ReposApi* | [**repos/getPagesDeployment**](Apis/ReposApi.http#repos/getpagesdeployment) | **GET** /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id} | Get the status of a GitHub Pages deployment -*ReposApi* | [**repos/getPagesHealthCheck**](Apis/ReposApi.http#repos/getpageshealthcheck) | **GET** /repos/{owner}/{repo}/pages/health | Get a DNS health check for GitHub Pages -*ReposApi* | [**repos/getParticipationStats**](Apis/ReposApi.http#repos/getparticipationstats) | **GET** /repos/{owner}/{repo}/stats/participation | Get the weekly commit count -*ReposApi* | [**repos/getPullRequestReviewProtection**](Apis/ReposApi.http#repos/getpullrequestreviewprotection) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews | Get pull request review protection -*ReposApi* | [**repos/getPunchCardStats**](Apis/ReposApi.http#repos/getpunchcardstats) | **GET** /repos/{owner}/{repo}/stats/punch_card | Get the hourly commit count for each day -*ReposApi* | [**repos/getReadme**](Apis/ReposApi.http#repos/getreadme) | **GET** /repos/{owner}/{repo}/readme | Get a repository README -*ReposApi* | [**repos/getReadmeInDirectory**](Apis/ReposApi.http#repos/getreadmeindirectory) | **GET** /repos/{owner}/{repo}/readme/{dir} | Get a repository README for a directory -*ReposApi* | [**repos/getRelease**](Apis/ReposApi.http#repos/getrelease) | **GET** /repos/{owner}/{repo}/releases/{release_id} | Get a release -*ReposApi* | [**repos/getReleaseAsset**](Apis/ReposApi.http#repos/getreleaseasset) | **GET** /repos/{owner}/{repo}/releases/assets/{asset_id} | Get a release asset -*ReposApi* | [**repos/getReleaseByTag**](Apis/ReposApi.http#repos/getreleasebytag) | **GET** /repos/{owner}/{repo}/releases/tags/{tag} | Get a release by tag name -*ReposApi* | [**repos/getRepoRuleSuite**](Apis/ReposApi.http#repos/getreporulesuite) | **GET** /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id} | Get a repository rule suite -*ReposApi* | [**repos/getRepoRuleSuites**](Apis/ReposApi.http#repos/getreporulesuites) | **GET** /repos/{owner}/{repo}/rulesets/rule-suites | List repository rule suites -*ReposApi* | [**repos/getRepoRuleset**](Apis/ReposApi.http#repos/getreporuleset) | **GET** /repos/{owner}/{repo}/rulesets/{ruleset_id} | Get a repository ruleset -*ReposApi* | [**repos/getRepoRulesets**](Apis/ReposApi.http#repos/getreporulesets) | **GET** /repos/{owner}/{repo}/rulesets | Get all repository rulesets -*ReposApi* | [**repos/getStatusChecksProtection**](Apis/ReposApi.http#repos/getstatuschecksprotection) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks | Get status checks protection -*ReposApi* | [**repos/getTeamsWithAccessToProtectedBranch**](Apis/ReposApi.http#repos/getteamswithaccesstoprotectedbranch) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams | Get teams with access to the protected branch -*ReposApi* | [**repos/getTopPaths**](Apis/ReposApi.http#repos/gettoppaths) | **GET** /repos/{owner}/{repo}/traffic/popular/paths | Get top referral paths -*ReposApi* | [**repos/getTopReferrers**](Apis/ReposApi.http#repos/gettopreferrers) | **GET** /repos/{owner}/{repo}/traffic/popular/referrers | Get top referral sources -*ReposApi* | [**repos/getUsersWithAccessToProtectedBranch**](Apis/ReposApi.http#repos/getuserswithaccesstoprotectedbranch) | **GET** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users | Get users with access to the protected branch -*ReposApi* | [**repos/getViews**](Apis/ReposApi.http#repos/getviews) | **GET** /repos/{owner}/{repo}/traffic/views | Get page views -*ReposApi* | [**repos/getWebhook**](Apis/ReposApi.http#repos/getwebhook) | **GET** /repos/{owner}/{repo}/hooks/{hook_id} | Get a repository webhook -*ReposApi* | [**repos/getWebhookConfigForRepo**](Apis/ReposApi.http#repos/getwebhookconfigforrepo) | **GET** /repos/{owner}/{repo}/hooks/{hook_id}/config | Get a webhook configuration for a repository -*ReposApi* | [**repos/getWebhookDelivery**](Apis/ReposApi.http#repos/getwebhookdelivery) | **GET** /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id} | Get a delivery for a repository webhook -*ReposApi* | [**repos/listActivities**](Apis/ReposApi.http#repos/listactivities) | **GET** /repos/{owner}/{repo}/activity | List repository activities -*ReposApi* | [**repos/listAutolinks**](Apis/ReposApi.http#repos/listautolinks) | **GET** /repos/{owner}/{repo}/autolinks | Get all autolinks of a repository -*ReposApi* | [**repos/listBranches**](Apis/ReposApi.http#repos/listbranches) | **GET** /repos/{owner}/{repo}/branches | List branches -*ReposApi* | [**repos/listBranchesForHeadCommit**](Apis/ReposApi.http#repos/listbranchesforheadcommit) | **GET** /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head | List branches for HEAD commit -*ReposApi* | [**repos/listCollaborators**](Apis/ReposApi.http#repos/listcollaborators) | **GET** /repos/{owner}/{repo}/collaborators | List repository collaborators -*ReposApi* | [**repos/listCommentsForCommit**](Apis/ReposApi.http#repos/listcommentsforcommit) | **GET** /repos/{owner}/{repo}/commits/{commit_sha}/comments | List commit comments -*ReposApi* | [**repos/listCommitCommentsForRepo**](Apis/ReposApi.http#repos/listcommitcommentsforrepo) | **GET** /repos/{owner}/{repo}/comments | List commit comments for a repository -*ReposApi* | [**repos/listCommitStatusesForRef**](Apis/ReposApi.http#repos/listcommitstatusesforref) | **GET** /repos/{owner}/{repo}/commits/{ref}/statuses | List commit statuses for a reference -*ReposApi* | [**repos/listCommits**](Apis/ReposApi.http#repos/listcommits) | **GET** /repos/{owner}/{repo}/commits | List commits -*ReposApi* | [**repos/listContributors**](Apis/ReposApi.http#repos/listcontributors) | **GET** /repos/{owner}/{repo}/contributors | List repository contributors -*ReposApi* | [**repos/listCustomDeploymentRuleIntegrations**](Apis/ReposApi.http#repos/listcustomdeploymentruleintegrations) | **GET** /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps | List custom deployment rule integrations available for an environment -*ReposApi* | [**repos/listDeployKeys**](Apis/ReposApi.http#repos/listdeploykeys) | **GET** /repos/{owner}/{repo}/keys | List deploy keys -*ReposApi* | [**repos/listDeploymentBranchPolicies**](Apis/ReposApi.http#repos/listdeploymentbranchpolicies) | **GET** /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies | List deployment branch policies -*ReposApi* | [**repos/listDeploymentStatuses**](Apis/ReposApi.http#repos/listdeploymentstatuses) | **GET** /repos/{owner}/{repo}/deployments/{deployment_id}/statuses | List deployment statuses -*ReposApi* | [**repos/listDeployments**](Apis/ReposApi.http#repos/listdeployments) | **GET** /repos/{owner}/{repo}/deployments | List deployments -*ReposApi* | [**repos/listForAuthenticatedUser**](Apis/ReposApi.http#repos/listforauthenticateduser) | **GET** /user/repos | List repositories for the authenticated user -*ReposApi* | [**repos/listForOrg**](Apis/ReposApi.http#repos/listfororg) | **GET** /orgs/{org}/repos | List organization repositories -*ReposApi* | [**repos/listForUser**](Apis/ReposApi.http#repos/listforuser) | **GET** /users/{username}/repos | List repositories for a user -*ReposApi* | [**repos/listForks**](Apis/ReposApi.http#repos/listforks) | **GET** /repos/{owner}/{repo}/forks | List forks -*ReposApi* | [**repos/listInvitations**](Apis/ReposApi.http#repos/listinvitations) | **GET** /repos/{owner}/{repo}/invitations | List repository invitations -*ReposApi* | [**repos/listInvitationsForAuthenticatedUser**](Apis/ReposApi.http#repos/listinvitationsforauthenticateduser) | **GET** /user/repository_invitations | List repository invitations for the authenticated user -*ReposApi* | [**repos/listLanguages**](Apis/ReposApi.http#repos/listlanguages) | **GET** /repos/{owner}/{repo}/languages | List repository languages -*ReposApi* | [**repos/listPagesBuilds**](Apis/ReposApi.http#repos/listpagesbuilds) | **GET** /repos/{owner}/{repo}/pages/builds | List GitHub Pages builds -*ReposApi* | [**repos/listPublic**](Apis/ReposApi.http#repos/listpublic) | **GET** /repositories | List public repositories -*ReposApi* | [**repos/listPullRequestsAssociatedWithCommit**](Apis/ReposApi.http#repos/listpullrequestsassociatedwithcommit) | **GET** /repos/{owner}/{repo}/commits/{commit_sha}/pulls | List pull requests associated with a commit -*ReposApi* | [**repos/listReleaseAssets**](Apis/ReposApi.http#repos/listreleaseassets) | **GET** /repos/{owner}/{repo}/releases/{release_id}/assets | List release assets -*ReposApi* | [**repos/listReleases**](Apis/ReposApi.http#repos/listreleases) | **GET** /repos/{owner}/{repo}/releases | List releases -*ReposApi* | [**repos/listTagProtection**](Apis/ReposApi.http#repos/listtagprotection) | **GET** /repos/{owner}/{repo}/tags/protection | List tag protection states for a repository -*ReposApi* | [**repos/listTags**](Apis/ReposApi.http#repos/listtags) | **GET** /repos/{owner}/{repo}/tags | List repository tags -*ReposApi* | [**repos/listTeams**](Apis/ReposApi.http#repos/listteams) | **GET** /repos/{owner}/{repo}/teams | List repository teams -*ReposApi* | [**repos/listWebhookDeliveries**](Apis/ReposApi.http#repos/listwebhookdeliveries) | **GET** /repos/{owner}/{repo}/hooks/{hook_id}/deliveries | List deliveries for a repository webhook -*ReposApi* | [**repos/listWebhooks**](Apis/ReposApi.http#repos/listwebhooks) | **GET** /repos/{owner}/{repo}/hooks | List repository webhooks -*ReposApi* | [**repos/merge**](Apis/ReposApi.http#repos/merge) | **POST** /repos/{owner}/{repo}/merges | Merge a branch -*ReposApi* | [**repos/mergeUpstream**](Apis/ReposApi.http#repos/mergeupstream) | **POST** /repos/{owner}/{repo}/merge-upstream | Sync a fork branch with the upstream repository -*ReposApi* | [**repos/pingWebhook**](Apis/ReposApi.http#repos/pingwebhook) | **POST** /repos/{owner}/{repo}/hooks/{hook_id}/pings | Ping a repository webhook -*ReposApi* | [**repos/redeliverWebhookDelivery**](Apis/ReposApi.http#repos/redeliverwebhookdelivery) | **POST** /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts | Redeliver a delivery for a repository webhook -*ReposApi* | [**repos/removeAppAccessRestrictions**](Apis/ReposApi.http#repos/removeappaccessrestrictions) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps | Remove app access restrictions -*ReposApi* | [**repos/removeCollaborator**](Apis/ReposApi.http#repos/removecollaborator) | **DELETE** /repos/{owner}/{repo}/collaborators/{username} | Remove a repository collaborator -*ReposApi* | [**repos/removeStatusCheckContexts**](Apis/ReposApi.http#repos/removestatuscheckcontexts) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts | Remove status check contexts -*ReposApi* | [**repos/removeStatusCheckProtection**](Apis/ReposApi.http#repos/removestatuscheckprotection) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks | Remove status check protection -*ReposApi* | [**repos/removeTeamAccessRestrictions**](Apis/ReposApi.http#repos/removeteamaccessrestrictions) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams | Remove team access restrictions -*ReposApi* | [**repos/removeUserAccessRestrictions**](Apis/ReposApi.http#repos/removeuseraccessrestrictions) | **DELETE** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users | Remove user access restrictions -*ReposApi* | [**repos/renameBranch**](Apis/ReposApi.http#repos/renamebranch) | **POST** /repos/{owner}/{repo}/branches/{branch}/rename | Rename a branch -*ReposApi* | [**repos/replaceAllTopics**](Apis/ReposApi.http#repos/replacealltopics) | **PUT** /repos/{owner}/{repo}/topics | Replace all repository topics -*ReposApi* | [**repos/requestPagesBuild**](Apis/ReposApi.http#repos/requestpagesbuild) | **POST** /repos/{owner}/{repo}/pages/builds | Request a GitHub Pages build -*ReposApi* | [**repos/setAdminBranchProtection**](Apis/ReposApi.http#repos/setadminbranchprotection) | **POST** /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins | Set admin branch protection -*ReposApi* | [**repos/setAppAccessRestrictions**](Apis/ReposApi.http#repos/setappaccessrestrictions) | **PUT** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps | Set app access restrictions -*ReposApi* | [**repos/setStatusCheckContexts**](Apis/ReposApi.http#repos/setstatuscheckcontexts) | **PUT** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts | Set status check contexts -*ReposApi* | [**repos/setTeamAccessRestrictions**](Apis/ReposApi.http#repos/setteamaccessrestrictions) | **PUT** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams | Set team access restrictions -*ReposApi* | [**repos/setUserAccessRestrictions**](Apis/ReposApi.http#repos/setuseraccessrestrictions) | **PUT** /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users | Set user access restrictions -*ReposApi* | [**repos/testPushWebhook**](Apis/ReposApi.http#repos/testpushwebhook) | **POST** /repos/{owner}/{repo}/hooks/{hook_id}/tests | Test the push repository webhook -*ReposApi* | [**repos/transfer**](Apis/ReposApi.http#repos/transfer) | **POST** /repos/{owner}/{repo}/transfer | Transfer a repository -*ReposApi* | [**repos/update**](Apis/ReposApi.http#repos/update) | **PATCH** /repos/{owner}/{repo} | Update a repository -*ReposApi* | [**repos/updateBranchProtection**](Apis/ReposApi.http#repos/updatebranchprotection) | **PUT** /repos/{owner}/{repo}/branches/{branch}/protection | Update branch protection -*ReposApi* | [**repos/updateCommitComment**](Apis/ReposApi.http#repos/updatecommitcomment) | **PATCH** /repos/{owner}/{repo}/comments/{comment_id} | Update a commit comment -*ReposApi* | [**repos/updateDeploymentBranchPolicy**](Apis/ReposApi.http#repos/updatedeploymentbranchpolicy) | **PUT** /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} | Update a deployment branch policy -*ReposApi* | [**repos/updateInformationAboutPagesSite**](Apis/ReposApi.http#repos/updateinformationaboutpagessite) | **PUT** /repos/{owner}/{repo}/pages | Update information about a GitHub Pages site -*ReposApi* | [**repos/updateInvitation**](Apis/ReposApi.http#repos/updateinvitation) | **PATCH** /repos/{owner}/{repo}/invitations/{invitation_id} | Update a repository invitation -*ReposApi* | [**repos/updateOrgRuleset**](Apis/ReposApi.http#repos/updateorgruleset) | **PUT** /orgs/{org}/rulesets/{ruleset_id} | Update an organization repository ruleset -*ReposApi* | [**repos/updatePullRequestReviewProtection**](Apis/ReposApi.http#repos/updatepullrequestreviewprotection) | **PATCH** /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews | Update pull request review protection -*ReposApi* | [**repos/updateRelease**](Apis/ReposApi.http#repos/updaterelease) | **PATCH** /repos/{owner}/{repo}/releases/{release_id} | Update a release -*ReposApi* | [**repos/updateReleaseAsset**](Apis/ReposApi.http#repos/updatereleaseasset) | **PATCH** /repos/{owner}/{repo}/releases/assets/{asset_id} | Update a release asset -*ReposApi* | [**repos/updateRepoRuleset**](Apis/ReposApi.http#repos/updatereporuleset) | **PUT** /repos/{owner}/{repo}/rulesets/{ruleset_id} | Update a repository ruleset -*ReposApi* | [**repos/updateStatusCheckProtection**](Apis/ReposApi.http#repos/updatestatuscheckprotection) | **PATCH** /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks | Update status check protection -*ReposApi* | [**repos/updateWebhook**](Apis/ReposApi.http#repos/updatewebhook) | **PATCH** /repos/{owner}/{repo}/hooks/{hook_id} | Update a repository webhook -*ReposApi* | [**repos/updateWebhookConfigForRepo**](Apis/ReposApi.http#repos/updatewebhookconfigforrepo) | **PATCH** /repos/{owner}/{repo}/hooks/{hook_id}/config | Update a webhook configuration for a repository -*ReposApi* | [**repos/uploadReleaseAsset**](Apis/ReposApi.http#repos/uploadreleaseasset) | **POST** /repos/{owner}/{repo}/releases/{release_id}/assets | Upload a release asset -*SearchApi* | [**search/code**](Apis/SearchApi.http#search/code) | **GET** /search/code | Search code -*SearchApi* | [**search/commits**](Apis/SearchApi.http#search/commits) | **GET** /search/commits | Search commits -*SearchApi* | [**search/issuesAndPullRequests**](Apis/SearchApi.http#search/issuesandpullrequests) | **GET** /search/issues | Search issues and pull requests -*SearchApi* | [**search/labels**](Apis/SearchApi.http#search/labels) | **GET** /search/labels | Search labels -*SearchApi* | [**search/repos**](Apis/SearchApi.http#search/repos) | **GET** /search/repositories | Search repositories -*SearchApi* | [**search/topics**](Apis/SearchApi.http#search/topics) | **GET** /search/topics | Search topics -*SearchApi* | [**search/users**](Apis/SearchApi.http#search/users) | **GET** /search/users | Search users -*SecretScanningApi* | [**secretScanning/getAlert**](Apis/SecretScanningApi.http#secretscanning/getalert) | **GET** /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} | Get a secret scanning alert -*SecretScanningApi* | [**secretScanning/listAlertsForEnterprise**](Apis/SecretScanningApi.http#secretscanning/listalertsforenterprise) | **GET** /enterprises/{enterprise}/secret-scanning/alerts | List secret scanning alerts for an enterprise -*SecretScanningApi* | [**secretScanning/listAlertsForOrg**](Apis/SecretScanningApi.http#secretscanning/listalertsfororg) | **GET** /orgs/{org}/secret-scanning/alerts | List secret scanning alerts for an organization -*SecretScanningApi* | [**secretScanning/listAlertsForRepo**](Apis/SecretScanningApi.http#secretscanning/listalertsforrepo) | **GET** /repos/{owner}/{repo}/secret-scanning/alerts | List secret scanning alerts for a repository -*SecretScanningApi* | [**secretScanning/listLocationsForAlert**](Apis/SecretScanningApi.http#secretscanning/listlocationsforalert) | **GET** /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations | List locations for a secret scanning alert -*SecretScanningApi* | [**secretScanning/updateAlert**](Apis/SecretScanningApi.http#secretscanning/updatealert) | **PATCH** /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number} | Update a secret scanning alert -*SecurityAdvisoriesApi* | [**securityAdvisories/createFork**](Apis/SecurityAdvisoriesApi.http#securityadvisories/createfork) | **POST** /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks | Create a temporary private fork -*SecurityAdvisoriesApi* | [**securityAdvisories/createPrivateVulnerabilityReport**](Apis/SecurityAdvisoriesApi.http#securityadvisories/createprivatevulnerabilityreport) | **POST** /repos/{owner}/{repo}/security-advisories/reports | Privately report a security vulnerability -*SecurityAdvisoriesApi* | [**securityAdvisories/createRepositoryAdvisory**](Apis/SecurityAdvisoriesApi.http#securityadvisories/createrepositoryadvisory) | **POST** /repos/{owner}/{repo}/security-advisories | Create a repository security advisory -*SecurityAdvisoriesApi* | [**securityAdvisories/createRepositoryAdvisoryCveRequest**](Apis/SecurityAdvisoriesApi.http#securityadvisories/createrepositoryadvisorycverequest) | **POST** /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve | Request a CVE for a repository security advisory -*SecurityAdvisoriesApi* | [**securityAdvisories/getGlobalAdvisory**](Apis/SecurityAdvisoriesApi.http#securityadvisories/getglobaladvisory) | **GET** /advisories/{ghsa_id} | Get a global security advisory -*SecurityAdvisoriesApi* | [**securityAdvisories/getRepositoryAdvisory**](Apis/SecurityAdvisoriesApi.http#securityadvisories/getrepositoryadvisory) | **GET** /repos/{owner}/{repo}/security-advisories/{ghsa_id} | Get a repository security advisory -*SecurityAdvisoriesApi* | [**securityAdvisories/listGlobalAdvisories**](Apis/SecurityAdvisoriesApi.http#securityadvisories/listglobaladvisories) | **GET** /advisories | List global security advisories -*SecurityAdvisoriesApi* | [**securityAdvisories/listOrgRepositoryAdvisories**](Apis/SecurityAdvisoriesApi.http#securityadvisories/listorgrepositoryadvisories) | **GET** /orgs/{org}/security-advisories | List repository security advisories for an organization -*SecurityAdvisoriesApi* | [**securityAdvisories/listRepositoryAdvisories**](Apis/SecurityAdvisoriesApi.http#securityadvisories/listrepositoryadvisories) | **GET** /repos/{owner}/{repo}/security-advisories | List repository security advisories -*SecurityAdvisoriesApi* | [**securityAdvisories/updateRepositoryAdvisory**](Apis/SecurityAdvisoriesApi.http#securityadvisories/updaterepositoryadvisory) | **PATCH** /repos/{owner}/{repo}/security-advisories/{ghsa_id} | Update a repository security advisory -*TeamsApi* | [**teams/addMemberLegacy**](Apis/TeamsApi.http#teams/addmemberlegacy) | **PUT** /teams/{team_id}/members/{username} | Add team member (Legacy) -*TeamsApi* | [**teams/addOrUpdateMembershipForUserInOrg**](Apis/TeamsApi.http#teams/addorupdatemembershipforuserinorg) | **PUT** /orgs/{org}/teams/{team_slug}/memberships/{username} | Add or update team membership for a user -*TeamsApi* | [**teams/addOrUpdateMembershipForUserLegacy**](Apis/TeamsApi.http#teams/addorupdatemembershipforuserlegacy) | **PUT** /teams/{team_id}/memberships/{username} | Add or update team membership for a user (Legacy) -*TeamsApi* | [**teams/addOrUpdateProjectPermissionsInOrg**](Apis/TeamsApi.http#teams/addorupdateprojectpermissionsinorg) | **PUT** /orgs/{org}/teams/{team_slug}/projects/{project_id} | Add or update team project permissions -*TeamsApi* | [**teams/addOrUpdateProjectPermissionsLegacy**](Apis/TeamsApi.http#teams/addorupdateprojectpermissionslegacy) | **PUT** /teams/{team_id}/projects/{project_id} | Add or update team project permissions (Legacy) -*TeamsApi* | [**teams/addOrUpdateRepoPermissionsInOrg**](Apis/TeamsApi.http#teams/addorupdaterepopermissionsinorg) | **PUT** /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} | Add or update team repository permissions -*TeamsApi* | [**teams/addOrUpdateRepoPermissionsLegacy**](Apis/TeamsApi.http#teams/addorupdaterepopermissionslegacy) | **PUT** /teams/{team_id}/repos/{owner}/{repo} | Add or update team repository permissions (Legacy) -*TeamsApi* | [**teams/checkPermissionsForProjectInOrg**](Apis/TeamsApi.http#teams/checkpermissionsforprojectinorg) | **GET** /orgs/{org}/teams/{team_slug}/projects/{project_id} | Check team permissions for a project -*TeamsApi* | [**teams/checkPermissionsForProjectLegacy**](Apis/TeamsApi.http#teams/checkpermissionsforprojectlegacy) | **GET** /teams/{team_id}/projects/{project_id} | Check team permissions for a project (Legacy) -*TeamsApi* | [**teams/checkPermissionsForRepoInOrg**](Apis/TeamsApi.http#teams/checkpermissionsforrepoinorg) | **GET** /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} | Check team permissions for a repository -*TeamsApi* | [**teams/checkPermissionsForRepoLegacy**](Apis/TeamsApi.http#teams/checkpermissionsforrepolegacy) | **GET** /teams/{team_id}/repos/{owner}/{repo} | Check team permissions for a repository (Legacy) -*TeamsApi* | [**teams/create**](Apis/TeamsApi.http#teams/create) | **POST** /orgs/{org}/teams | Create a team -*TeamsApi* | [**teams/createDiscussionCommentInOrg**](Apis/TeamsApi.http#teams/creatediscussioncommentinorg) | **POST** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments | Create a discussion comment -*TeamsApi* | [**teams/createDiscussionCommentLegacy**](Apis/TeamsApi.http#teams/creatediscussioncommentlegacy) | **POST** /teams/{team_id}/discussions/{discussion_number}/comments | Create a discussion comment (Legacy) -*TeamsApi* | [**teams/createDiscussionInOrg**](Apis/TeamsApi.http#teams/creatediscussioninorg) | **POST** /orgs/{org}/teams/{team_slug}/discussions | Create a discussion -*TeamsApi* | [**teams/createDiscussionLegacy**](Apis/TeamsApi.http#teams/creatediscussionlegacy) | **POST** /teams/{team_id}/discussions | Create a discussion (Legacy) -*TeamsApi* | [**teams/deleteDiscussionCommentInOrg**](Apis/TeamsApi.http#teams/deletediscussioncommentinorg) | **DELETE** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} | Delete a discussion comment -*TeamsApi* | [**teams/deleteDiscussionCommentLegacy**](Apis/TeamsApi.http#teams/deletediscussioncommentlegacy) | **DELETE** /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} | Delete a discussion comment (Legacy) -*TeamsApi* | [**teams/deleteDiscussionInOrg**](Apis/TeamsApi.http#teams/deletediscussioninorg) | **DELETE** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} | Delete a discussion -*TeamsApi* | [**teams/deleteDiscussionLegacy**](Apis/TeamsApi.http#teams/deletediscussionlegacy) | **DELETE** /teams/{team_id}/discussions/{discussion_number} | Delete a discussion (Legacy) -*TeamsApi* | [**teams/deleteInOrg**](Apis/TeamsApi.http#teams/deleteinorg) | **DELETE** /orgs/{org}/teams/{team_slug} | Delete a team -*TeamsApi* | [**teams/deleteLegacy**](Apis/TeamsApi.http#teams/deletelegacy) | **DELETE** /teams/{team_id} | Delete a team (Legacy) -*TeamsApi* | [**teams/getByName**](Apis/TeamsApi.http#teams/getbyname) | **GET** /orgs/{org}/teams/{team_slug} | Get a team by name -*TeamsApi* | [**teams/getDiscussionCommentInOrg**](Apis/TeamsApi.http#teams/getdiscussioncommentinorg) | **GET** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} | Get a discussion comment -*TeamsApi* | [**teams/getDiscussionCommentLegacy**](Apis/TeamsApi.http#teams/getdiscussioncommentlegacy) | **GET** /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} | Get a discussion comment (Legacy) -*TeamsApi* | [**teams/getDiscussionInOrg**](Apis/TeamsApi.http#teams/getdiscussioninorg) | **GET** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} | Get a discussion -*TeamsApi* | [**teams/getDiscussionLegacy**](Apis/TeamsApi.http#teams/getdiscussionlegacy) | **GET** /teams/{team_id}/discussions/{discussion_number} | Get a discussion (Legacy) -*TeamsApi* | [**teams/getLegacy**](Apis/TeamsApi.http#teams/getlegacy) | **GET** /teams/{team_id} | Get a team (Legacy) -*TeamsApi* | [**teams/getMemberLegacy**](Apis/TeamsApi.http#teams/getmemberlegacy) | **GET** /teams/{team_id}/members/{username} | Get team member (Legacy) -*TeamsApi* | [**teams/getMembershipForUserInOrg**](Apis/TeamsApi.http#teams/getmembershipforuserinorg) | **GET** /orgs/{org}/teams/{team_slug}/memberships/{username} | Get team membership for a user -*TeamsApi* | [**teams/getMembershipForUserLegacy**](Apis/TeamsApi.http#teams/getmembershipforuserlegacy) | **GET** /teams/{team_id}/memberships/{username} | Get team membership for a user (Legacy) -*TeamsApi* | [**teams/list**](Apis/TeamsApi.http#teams/list) | **GET** /orgs/{org}/teams | List teams -*TeamsApi* | [**teams/listChildInOrg**](Apis/TeamsApi.http#teams/listchildinorg) | **GET** /orgs/{org}/teams/{team_slug}/teams | List child teams -*TeamsApi* | [**teams/listChildLegacy**](Apis/TeamsApi.http#teams/listchildlegacy) | **GET** /teams/{team_id}/teams | List child teams (Legacy) -*TeamsApi* | [**teams/listDiscussionCommentsInOrg**](Apis/TeamsApi.http#teams/listdiscussioncommentsinorg) | **GET** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments | List discussion comments -*TeamsApi* | [**teams/listDiscussionCommentsLegacy**](Apis/TeamsApi.http#teams/listdiscussioncommentslegacy) | **GET** /teams/{team_id}/discussions/{discussion_number}/comments | List discussion comments (Legacy) -*TeamsApi* | [**teams/listDiscussionsInOrg**](Apis/TeamsApi.http#teams/listdiscussionsinorg) | **GET** /orgs/{org}/teams/{team_slug}/discussions | List discussions -*TeamsApi* | [**teams/listDiscussionsLegacy**](Apis/TeamsApi.http#teams/listdiscussionslegacy) | **GET** /teams/{team_id}/discussions | List discussions (Legacy) -*TeamsApi* | [**teams/listForAuthenticatedUser**](Apis/TeamsApi.http#teams/listforauthenticateduser) | **GET** /user/teams | List teams for the authenticated user -*TeamsApi* | [**teams/listMembersInOrg**](Apis/TeamsApi.http#teams/listmembersinorg) | **GET** /orgs/{org}/teams/{team_slug}/members | List team members -*TeamsApi* | [**teams/listMembersLegacy**](Apis/TeamsApi.http#teams/listmemberslegacy) | **GET** /teams/{team_id}/members | List team members (Legacy) -*TeamsApi* | [**teams/listPendingInvitationsInOrg**](Apis/TeamsApi.http#teams/listpendinginvitationsinorg) | **GET** /orgs/{org}/teams/{team_slug}/invitations | List pending team invitations -*TeamsApi* | [**teams/listPendingInvitationsLegacy**](Apis/TeamsApi.http#teams/listpendinginvitationslegacy) | **GET** /teams/{team_id}/invitations | List pending team invitations (Legacy) -*TeamsApi* | [**teams/listProjectsInOrg**](Apis/TeamsApi.http#teams/listprojectsinorg) | **GET** /orgs/{org}/teams/{team_slug}/projects | List team projects -*TeamsApi* | [**teams/listProjectsLegacy**](Apis/TeamsApi.http#teams/listprojectslegacy) | **GET** /teams/{team_id}/projects | List team projects (Legacy) -*TeamsApi* | [**teams/listReposInOrg**](Apis/TeamsApi.http#teams/listreposinorg) | **GET** /orgs/{org}/teams/{team_slug}/repos | List team repositories -*TeamsApi* | [**teams/listReposLegacy**](Apis/TeamsApi.http#teams/listreposlegacy) | **GET** /teams/{team_id}/repos | List team repositories (Legacy) -*TeamsApi* | [**teams/removeMemberLegacy**](Apis/TeamsApi.http#teams/removememberlegacy) | **DELETE** /teams/{team_id}/members/{username} | Remove team member (Legacy) -*TeamsApi* | [**teams/removeMembershipForUserInOrg**](Apis/TeamsApi.http#teams/removemembershipforuserinorg) | **DELETE** /orgs/{org}/teams/{team_slug}/memberships/{username} | Remove team membership for a user -*TeamsApi* | [**teams/removeMembershipForUserLegacy**](Apis/TeamsApi.http#teams/removemembershipforuserlegacy) | **DELETE** /teams/{team_id}/memberships/{username} | Remove team membership for a user (Legacy) -*TeamsApi* | [**teams/removeProjectInOrg**](Apis/TeamsApi.http#teams/removeprojectinorg) | **DELETE** /orgs/{org}/teams/{team_slug}/projects/{project_id} | Remove a project from a team -*TeamsApi* | [**teams/removeProjectLegacy**](Apis/TeamsApi.http#teams/removeprojectlegacy) | **DELETE** /teams/{team_id}/projects/{project_id} | Remove a project from a team (Legacy) -*TeamsApi* | [**teams/removeRepoInOrg**](Apis/TeamsApi.http#teams/removerepoinorg) | **DELETE** /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} | Remove a repository from a team -*TeamsApi* | [**teams/removeRepoLegacy**](Apis/TeamsApi.http#teams/removerepolegacy) | **DELETE** /teams/{team_id}/repos/{owner}/{repo} | Remove a repository from a team (Legacy) -*TeamsApi* | [**teams/updateDiscussionCommentInOrg**](Apis/TeamsApi.http#teams/updatediscussioncommentinorg) | **PATCH** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number} | Update a discussion comment -*TeamsApi* | [**teams/updateDiscussionCommentLegacy**](Apis/TeamsApi.http#teams/updatediscussioncommentlegacy) | **PATCH** /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number} | Update a discussion comment (Legacy) -*TeamsApi* | [**teams/updateDiscussionInOrg**](Apis/TeamsApi.http#teams/updatediscussioninorg) | **PATCH** /orgs/{org}/teams/{team_slug}/discussions/{discussion_number} | Update a discussion -*TeamsApi* | [**teams/updateDiscussionLegacy**](Apis/TeamsApi.http#teams/updatediscussionlegacy) | **PATCH** /teams/{team_id}/discussions/{discussion_number} | Update a discussion (Legacy) -*TeamsApi* | [**teams/updateInOrg**](Apis/TeamsApi.http#teams/updateinorg) | **PATCH** /orgs/{org}/teams/{team_slug} | Update a team -*TeamsApi* | [**teams/updateLegacy**](Apis/TeamsApi.http#teams/updatelegacy) | **PATCH** /teams/{team_id} | Update a team (Legacy) -*UsersApi* | [**users/addEmailForAuthenticatedUser**](Apis/UsersApi.http#users/addemailforauthenticateduser) | **POST** /user/emails | Add an email address for the authenticated user -*UsersApi* | [**users/addSocialAccountForAuthenticatedUser**](Apis/UsersApi.http#users/addsocialaccountforauthenticateduser) | **POST** /user/social_accounts | Add social accounts for the authenticated user -*UsersApi* | [**users/block**](Apis/UsersApi.http#users/block) | **PUT** /user/blocks/{username} | Block a user -*UsersApi* | [**users/checkBlocked**](Apis/UsersApi.http#users/checkblocked) | **GET** /user/blocks/{username} | Check if a user is blocked by the authenticated user -*UsersApi* | [**users/checkFollowingForUser**](Apis/UsersApi.http#users/checkfollowingforuser) | **GET** /users/{username}/following/{target_user} | Check if a user follows another user -*UsersApi* | [**users/checkPersonIsFollowedByAuthenticated**](Apis/UsersApi.http#users/checkpersonisfollowedbyauthenticated) | **GET** /user/following/{username} | Check if a person is followed by the authenticated user -*UsersApi* | [**users/createGpgKeyForAuthenticatedUser**](Apis/UsersApi.http#users/creategpgkeyforauthenticateduser) | **POST** /user/gpg_keys | Create a GPG key for the authenticated user -*UsersApi* | [**users/createPublicSshKeyForAuthenticatedUser**](Apis/UsersApi.http#users/createpublicsshkeyforauthenticateduser) | **POST** /user/keys | Create a public SSH key for the authenticated user -*UsersApi* | [**users/createSshSigningKeyForAuthenticatedUser**](Apis/UsersApi.http#users/createsshsigningkeyforauthenticateduser) | **POST** /user/ssh_signing_keys | Create a SSH signing key for the authenticated user -*UsersApi* | [**users/deleteEmailForAuthenticatedUser**](Apis/UsersApi.http#users/deleteemailforauthenticateduser) | **DELETE** /user/emails | Delete an email address for the authenticated user -*UsersApi* | [**users/deleteGpgKeyForAuthenticatedUser**](Apis/UsersApi.http#users/deletegpgkeyforauthenticateduser) | **DELETE** /user/gpg_keys/{gpg_key_id} | Delete a GPG key for the authenticated user -*UsersApi* | [**users/deletePublicSshKeyForAuthenticatedUser**](Apis/UsersApi.http#users/deletepublicsshkeyforauthenticateduser) | **DELETE** /user/keys/{key_id} | Delete a public SSH key for the authenticated user -*UsersApi* | [**users/deleteSocialAccountForAuthenticatedUser**](Apis/UsersApi.http#users/deletesocialaccountforauthenticateduser) | **DELETE** /user/social_accounts | Delete social accounts for the authenticated user -*UsersApi* | [**users/deleteSshSigningKeyForAuthenticatedUser**](Apis/UsersApi.http#users/deletesshsigningkeyforauthenticateduser) | **DELETE** /user/ssh_signing_keys/{ssh_signing_key_id} | Delete an SSH signing key for the authenticated user -*UsersApi* | [**users/follow**](Apis/UsersApi.http#users/follow) | **PUT** /user/following/{username} | Follow a user -*UsersApi* | [**users/getAuthenticated**](Apis/UsersApi.http#users/getauthenticated) | **GET** /user | Get the authenticated user -*UsersApi* | [**users/getByUsername**](Apis/UsersApi.http#users/getbyusername) | **GET** /users/{username} | Get a user -*UsersApi* | [**users/getContextForUser**](Apis/UsersApi.http#users/getcontextforuser) | **GET** /users/{username}/hovercard | Get contextual information for a user -*UsersApi* | [**users/getGpgKeyForAuthenticatedUser**](Apis/UsersApi.http#users/getgpgkeyforauthenticateduser) | **GET** /user/gpg_keys/{gpg_key_id} | Get a GPG key for the authenticated user -*UsersApi* | [**users/getPublicSshKeyForAuthenticatedUser**](Apis/UsersApi.http#users/getpublicsshkeyforauthenticateduser) | **GET** /user/keys/{key_id} | Get a public SSH key for the authenticated user -*UsersApi* | [**users/getSshSigningKeyForAuthenticatedUser**](Apis/UsersApi.http#users/getsshsigningkeyforauthenticateduser) | **GET** /user/ssh_signing_keys/{ssh_signing_key_id} | Get an SSH signing key for the authenticated user -*UsersApi* | [**users/list**](Apis/UsersApi.http#users/list) | **GET** /users | List users -*UsersApi* | [**users/listBlockedByAuthenticatedUser**](Apis/UsersApi.http#users/listblockedbyauthenticateduser) | **GET** /user/blocks | List users blocked by the authenticated user -*UsersApi* | [**users/listEmailsForAuthenticatedUser**](Apis/UsersApi.http#users/listemailsforauthenticateduser) | **GET** /user/emails | List email addresses for the authenticated user -*UsersApi* | [**users/listFollowedByAuthenticatedUser**](Apis/UsersApi.http#users/listfollowedbyauthenticateduser) | **GET** /user/following | List the people the authenticated user follows -*UsersApi* | [**users/listFollowersForAuthenticatedUser**](Apis/UsersApi.http#users/listfollowersforauthenticateduser) | **GET** /user/followers | List followers of the authenticated user -*UsersApi* | [**users/listFollowersForUser**](Apis/UsersApi.http#users/listfollowersforuser) | **GET** /users/{username}/followers | List followers of a user -*UsersApi* | [**users/listFollowingForUser**](Apis/UsersApi.http#users/listfollowingforuser) | **GET** /users/{username}/following | List the people a user follows -*UsersApi* | [**users/listGpgKeysForAuthenticatedUser**](Apis/UsersApi.http#users/listgpgkeysforauthenticateduser) | **GET** /user/gpg_keys | List GPG keys for the authenticated user -*UsersApi* | [**users/listGpgKeysForUser**](Apis/UsersApi.http#users/listgpgkeysforuser) | **GET** /users/{username}/gpg_keys | List GPG keys for a user -*UsersApi* | [**users/listPublicEmailsForAuthenticatedUser**](Apis/UsersApi.http#users/listpublicemailsforauthenticateduser) | **GET** /user/public_emails | List public email addresses for the authenticated user -*UsersApi* | [**users/listPublicKeysForUser**](Apis/UsersApi.http#users/listpublickeysforuser) | **GET** /users/{username}/keys | List public keys for a user -*UsersApi* | [**users/listPublicSshKeysForAuthenticatedUser**](Apis/UsersApi.http#users/listpublicsshkeysforauthenticateduser) | **GET** /user/keys | List public SSH keys for the authenticated user -*UsersApi* | [**users/listSocialAccountsForAuthenticatedUser**](Apis/UsersApi.http#users/listsocialaccountsforauthenticateduser) | **GET** /user/social_accounts | List social accounts for the authenticated user -*UsersApi* | [**users/listSocialAccountsForUser**](Apis/UsersApi.http#users/listsocialaccountsforuser) | **GET** /users/{username}/social_accounts | List social accounts for a user -*UsersApi* | [**users/listSshSigningKeysForAuthenticatedUser**](Apis/UsersApi.http#users/listsshsigningkeysforauthenticateduser) | **GET** /user/ssh_signing_keys | List SSH signing keys for the authenticated user -*UsersApi* | [**users/listSshSigningKeysForUser**](Apis/UsersApi.http#users/listsshsigningkeysforuser) | **GET** /users/{username}/ssh_signing_keys | List SSH signing keys for a user -*UsersApi* | [**users/setPrimaryEmailVisibilityForAuthenticatedUser**](Apis/UsersApi.http#users/setprimaryemailvisibilityforauthenticateduser) | **PATCH** /user/email/visibility | Set primary email visibility for the authenticated user -*UsersApi* | [**users/unblock**](Apis/UsersApi.http#users/unblock) | **DELETE** /user/blocks/{username} | Unblock a user -*UsersApi* | [**users/unfollow**](Apis/UsersApi.http#users/unfollow) | **DELETE** /user/following/{username} | Unfollow a user -*UsersApi* | [**users/updateAuthenticated**](Apis/UsersApi.http#users/updateauthenticated) | **PATCH** /user | Update the authenticated user - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator-ignore b/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator/FILES b/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator/FILES deleted file mode 100644 index ae4035d9e7..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,9 +0,0 @@ -Apis/ClassicCheckoutSDKApi.http -Apis/DonationsApi.http -Apis/ModificationsApi.http -Apis/OrdersApi.http -Apis/PaymentLinksApi.http -Apis/PaymentsApi.http -Apis/RecurringApi.http -Apis/UtilityApi.http -README.md diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator/VERSION b/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/ClassicCheckoutSDKApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/ClassicCheckoutSDKApi.http deleted file mode 100644 index 3ce2fc93c5..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/ClassicCheckoutSDKApi.http +++ /dev/null @@ -1,139 +0,0 @@ -## ClassicCheckoutSDKApi - -### Create a payment session -## Set up a payment session (Android) -POST https://checkout-test.adyen.com/v71/paymentSession -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 17408 -}, - "reference": "Your order number", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "channel": "Android", - "token": "TOKEN_YOU_GET_FROM_CHECKOUT_SDK", - "returnUrl": "app://", - "countryCode": "NL", - "shopperLocale": "nl_NL", - "sessionValidity": "2017-04-06T13:09:13Z", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Create a payment session -## Set up a payment session with the option to store card details -POST https://checkout-test.adyen.com/v71/paymentSession -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 17408 -}, - "reference": "Your order number", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "enableOneClick": true, - "enableRecurring": true, - "channel": "Web", - "origin": "https://www.yourwebsite.com", - "returnUrl": "https://www.yourshop.com/checkout/result", - "countryCode": "NL", - "shopperLocale": "nl_NL", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "sdkVersion": "1.7.0" -} -### Create a payment session -## Set up a payment session (iOS) -POST https://checkout-test.adyen.com/v71/paymentSession -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 17408 -}, - "reference": "Your order number", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "channel": "iOS", - "token": "TOKEN_YOU_GET_FROM_CHECKOUT_SDK", - "returnUrl": "app://", - "countryCode": "NL", - "shopperLocale": "nl_NL", - "sessionValidity": "2017-04-06T13:09:13Z", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Create a payment session -## Split a payment between a sub-merchant and a platform account -POST https://checkout-test.adyen.com/v71/paymentSession -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 6200 -}, - "additionalData": { - "split.api": "1", - "split.nrOfItems": "2", - "split.totalAmount": "6200", - "split.currencyCode": "EUR", - "split.item1.amount": "6000", - "split.item1.type": "MarketPlace", - "split.item1.account": "151272963", - "split.item1.reference": "6124145", - "split.item1.description": "Porcelain Doll: Eliza (20cm)", - "split.item2.amount": "200", - "split.item2.type": "Commission", - "split.item2.reference": "6124146" -}, - "reference": "Your order number", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "channel": "Android", - "token": "TOKEN_YOU_GET_FROM_CHECKOUT_SDK", - "returnUrl": "app://", - "countryCode": "NL", - "shopperLocale": "nl_NL", - "sessionValidity": "2017-04-06T13:09:13Z", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Create a payment session -## Set up a payment session (Web) -POST https://checkout-test.adyen.com/v71/paymentSession -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 17408 -}, - "reference": "Your order number", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "channel": "Web", - "origin": "https://www.yourwebsite.com", - "returnUrl": "https://www.yourshop.com/checkout/result", - "countryCode": "NL", - "shopperLocale": "nl_NL", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "sdkVersion": "1.9.5" -} - -### Verify a payment result -## Verify payment results -POST https://checkout-test.adyen.com/v71/payments/result -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "payload": "VALUE_YOU_GET_FROM_CHECKOUT_SDK" -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/DonationsApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/DonationsApi.http deleted file mode 100644 index e8cbc95499..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/DonationsApi.http +++ /dev/null @@ -1,49 +0,0 @@ -## DonationsApi - -### Start a transaction for donations -## Start a donation transaction -POST https://checkout-test.adyen.com/v71/donations -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 1000 -}, - "reference": "YOUR_DONATION_REFERENCE", - "paymentMethod": { - "type": "scheme" -}, - "donationToken": "YOUR_DONATION_TOKEN", - "donationOriginalPspReference": "991559660454807J", - "donationAccount": "CHARITY_ACCOUNT", - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "shopperInteraction": "ContAuth" -} -### Start a transaction for donations -## Start a donation transaction with a token -POST https://checkout-test.adyen.com/v71/donations -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 1000 -}, - "reference": "YOUR_DONATION_REFERENCE", - "paymentMethod": { - "type": "scheme", - "recurringDetailReference": "7219687191761347" -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "donationAccount": "CHARITY_ACCOUNT", - "shopperInteraction": "ContAuth", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "recurringProcessingModel": "CardOnFile" -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/ModificationsApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/ModificationsApi.http deleted file mode 100644 index 339aaff6d5..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/ModificationsApi.http +++ /dev/null @@ -1,91 +0,0 @@ -## ModificationsApi - -### Cancel an authorised payment -## Cancel a payment using your own reference -POST https://checkout-test.adyen.com/v71/cancels -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "paymentReference": "YOUR_UNIQUE_REFERENCE_FOR_THE_PAYMENT", - "reference": "YOUR_UNIQUE_REFERENCE_FOR_THE_CANCELLATION", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} - -### Update an authorised amount -## Update the amount of an authorised payment -POST https://checkout-test.adyen.com/v71/payments/{{paymentPspReference}}/amountUpdates -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "amount": { - "currency": "EUR", - "value": 2500 -}, - "reference": "YOUR_UNIQUE_REFERENCE" -} - -### Cancel an authorised payment -## Cancel payment using a PSP reference -POST https://checkout-test.adyen.com/v71/payments/{{paymentPspReference}}/cancels -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "reference": "YOUR_UNIQUE_REFERENCE", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} - -### Capture an authorised payment -## Capture an authorised payment -POST https://checkout-test.adyen.com/v71/payments/{{paymentPspReference}}/captures -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "reference": "YOUR_UNIQUE_REFERENCE", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "amount": { - "value": 2000, - "currency": "EUR" -}, - "platformChargebackLogic": { - "behavior": "deductFromOneBalanceAccount", - "targetAccount": "BA00000000000000000000001", - "costAllocationAccount": "BA00000000000000000000001" -} -} - -### Refund a captured payment -## Refund a payment -POST https://checkout-test.adyen.com/v71/payments/{{paymentPspReference}}/refunds -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 2500 -}, - "reference": "YOUR_UNIQUE_REFERENCE", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} - -### Refund or cancel a payment -## Reverse (cancel or refund) a payment -POST https://checkout-test.adyen.com/v71/payments/{{paymentPspReference}}/reversals -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "reference": "YOUR_UNIQUE_REFERENCE", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/OrdersApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/OrdersApi.http deleted file mode 100644 index 74bb7304c1..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/OrdersApi.http +++ /dev/null @@ -1,71 +0,0 @@ -## OrdersApi - -### Create an order -## Create an order -POST https://checkout-test.adyen.com/v71/orders -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "reference": "YOUR_ORDER_REFERENCE", - "amount": { - "value": 2500, - "currency": "EUR" -}, - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} - -### Cancel an order -## Cancel an order -POST https://checkout-test.adyen.com/v71/orders/cancel -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "order": { - "pspReference": "8815517812932012", - "orderData": "823fh892f8f18f4...148f13f9f3f" -}, - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} - -### Get the balance of a gift card -## Get gift card balance specifying amount of 10 EUR -POST https://checkout-test.adyen.com/v71/paymentMethods/balance -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "paymentMethod": { - "type": "givex", - "number": "4126491073027401", - "cvc": "737" -}, - "amount": { - "currency": "EUR", - "value": 1000 -}, - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Get the balance of a gift card -## Get gift card balance specifying amount of 100 EUR -POST https://checkout-test.adyen.com/v71/paymentMethods/balance -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "paymentMethod": { - "type": "givex", - "number": "4126491073027401", - "cvc": "737" -}, - "amount": { - "currency": "EUR", - "value": 10000 -}, - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/PaymentLinksApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/PaymentLinksApi.http deleted file mode 100644 index eaada8d0ca..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/PaymentLinksApi.http +++ /dev/null @@ -1,54 +0,0 @@ -## PaymentLinksApi - -### Get a payment link -## Get a payment link -GET https://checkout-test.adyen.com/v71/paymentLinks/{{linkId}} -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -### Update the status of a payment link -## Update the status of a payment link -PATCH https://checkout-test.adyen.com/v71/paymentLinks/{{linkId}} -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "status": "expired" -} - -### Create a payment link -## Create a payment link -POST https://checkout-test.adyen.com/v71/paymentLinks -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "reference": "YOUR_ORDER_NUMBER", - "amount": { - "value": 1250, - "currency": "BRL" -}, - "countryCode": "BR", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "shopperEmail": "test@email.com", - "shopperLocale": "pt-BR", - "billingAddress": { - "street": "Roque Petroni Jr", - "postalCode": "59000060", - "city": "São Paulo", - "houseNumberOrName": "999", - "country": "BR", - "stateOrProvince": "SP" -}, - "deliveryAddress": { - "street": "Roque Petroni Jr", - "postalCode": "59000060", - "city": "São Paulo", - "houseNumberOrName": "999", - "country": "BR", - "stateOrProvince": "SP" -} -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/PaymentsApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/PaymentsApi.http deleted file mode 100644 index d6e1f1d2e7..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,590 +0,0 @@ -## PaymentsApi - -### Get the result of a payment session -## Get the result of a payment session -GET https://checkout-test.adyen.com/v71/sessions/{{sessionId}} -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -### Get the list of brands on the card -## Get a list of brands on a card -POST https://checkout-test.adyen.com/v71/cardDetails -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "cardNumber": "411111" -} - - - -### Get the list of brands on the card -## Get a list of brands on a card specifying your supported card brands -POST https://checkout-test.adyen.com/v71/cardDetails -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "cardNumber": "411111", - "supportedBrands": ["visa","mc","amex"] -} - -### Get a list of available payment methods -## Get available payment methods -POST https://checkout-test.adyen.com/v71/paymentMethods -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Get a list of available payment methods -## Get payment methods based on the country and amount -POST https://checkout-test.adyen.com/v71/paymentMethods -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "countryCode": "NL", - "shopperLocale": "nl-NL", - "amount": { - "currency": "EUR", - "value": 1000 -} -} -### Get a list of available payment methods -## Get payment methods including stored card details -POST https://checkout-test.adyen.com/v71/paymentMethods -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "countryCode": "NL", - "amount": { - "currency": "EUR", - "value": 1000 -}, - "shopperReference": "YOUR_SHOPPER_REFERENCE" -} - -### Start a transaction -## Make an Apple Pay payment -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "applepay", - "applePayToken": "VNRWtuNlNEWkRCSm1xWndjMDFFbktkQU..." -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Make a card payment with 3D Secure 2 native authentication -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 1000 -}, - "reference": "YOUR_ORDER_NUMBER", - "paymentMethod": { - "type": "scheme", - "encryptedCardNumber": "test_4035501428146300", - "encryptedExpiryMonth": "test_03", - "encryptedExpiryYear": "test_2030", - "encryptedSecurityCode": "test_737", - "holderName": "John Smith" -}, - "authenticationData": { - "threeDSRequestData": { - "nativeThreeDS": "preferred" -} -}, - "billingAddress": { - "country": "US", - "city": "New York", - "street": "Redwood Block", - "houseNumberOrName": "37C", - "stateOrProvince": "NY", - "postalCode": "10039" -}, - "shopperEmail": "s.hopper@test.com", - "shopperIP": "192.0.2.1", - "browserInfo": { - "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36", - "acceptHeader": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8", - "language": "nl-NL", - "colorDepth": 24, - "screenHeight": 723, - "screenWidth": 1536, - "timeZoneOffset": 0, - "javaEnabled": true -}, - "channel": "Web", - "origin": "https://your-company.com", - "returnUrl": "https://your-company.com/checkout/", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Make a card payment with 3D Secure redirect authentication -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "number": "4212345678901237", - "expiryMonth": "03", - "expiryYear": "2030", - "holderName": "John Smith", - "cvc": "737" -}, - "browserInfo": { - "userAgent": "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0", - "acceptHeader": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", - "javaEnabled": true, - "colorDepth": 10, - "screenHeight": 2000, - "screenWidth": 3000, - "timeZoneOffset": 5, - "language": "en" -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Make a card payment with unencrypted card details -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "number": "4111111111111111", - "expiryMonth": "03", - "expiryYear": "2030", - "holderName": "John Smith", - "cvc": "737" -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Make a card payment -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "encryptedCardNumber": "test_4111111111111111", - "encryptedExpiryMonth": "test_03", - "encryptedExpiryYear": "test_2030", - "encryptedSecurityCode": "test_737" -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Tokenize card details for one-off payments -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "encryptedCardNumber": "test_4111111111111111", - "encryptedExpiryMonth": "test_03", - "encryptedExpiryYear": "test_2030", - "encryptedSecurityCode": "test_737" -}, - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "storePaymentMethod": true, - "shopperInteraction": "Ecommerce", - "recurringProcessingModel": "CardOnFile", - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Make a Google Pay payment -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "paywithgoogle", - "googlePayToken": "==Payload as retrieved from Google Pay response==" -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "YourMerchantAccount" -} -### Start a transaction -## Make an iDEAL payment -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "EUR", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "ideal", - "issuer": "1121" -}, - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} -### Start a transaction -## Make a Klarna payment -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "reference": "YOUR_ORDER_REFERENCE", - "paymentMethod": { - "type": "klarna" -}, - "amount": { - "currency": "SEK", - "value": 1000 -}, - "shopperLocale": "en_US", - "countryCode": "SE", - "telephoneNumber": "+46 840 839 298", - "shopperEmail": "youremail@email.com", - "shopperName": { - "firstName": "Testperson-se", - "lastName": "Approved" -}, - "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j", - "billingAddress": { - "city": "Ankeborg", - "country": "SE", - "houseNumberOrName": "1", - "postalCode": "12345", - "street": "Stargatan" -}, - "deliveryAddress": { - "city": "Ankeborg", - "country": "SE", - "houseNumberOrName": "1", - "postalCode": "12345", - "street": "Stargatan" -}, - "returnUrl": "https://www.your-company.com/...", - "lineItems": ["{quantity=1, amountExcludingTax=331, taxPercentage=2100, description=Shoes, id=Item #1, taxAmount=69, amountIncludingTax=400, productUrl=URL_TO_PURCHASED_ITEM, imageUrl=URL_TO_PICTURE_OF_PURCHASED_ITEM}","{quantity=2, amountExcludingTax=248, taxPercentage=2100, description=Socks, id=Item #2, taxAmount=52, amountIncludingTax=300, productUrl=URL_TO_PURCHASED_ITEM, imageUrl=URL_TO_PICTURE_OF_PURCHASED_ITEM}"] -} -### Start a transaction -## Make a one-off payment with a token and CVV -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "storedPaymentMethodId": "8416038790273850", - "encryptedSecurityCode": "adyenjs_0_1_18$MT6ppy0FAMVMLH..." -}, - "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_6738oneoff", - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "shopperInteraction": "ContAuth", - "recurringProcessingModel": "CardOnFile" -} -### Start a transaction -## Make a subscription card payment with a token -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "storedPaymentMethodId": "8316038796685850" -}, - "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_IOfW3subscription", - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "shopperInteraction": "ContAuth", - "recurringProcessingModel": "Subscription" -} -### Start a transaction -## Split a payment between balance accounts -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "paymentMethod": { - "type": "scheme", - "encryptedCardNumber": "test_4111111111111111", - "encryptedExpiryMonth": "test_03", - "encryptedExpiryYear": "test_2030", - "encryptedSecurityCode": "test_737" -}, - "amount": { - "value": 40000, - "currency": "USD" -}, - "reference": "YOUR_ORDER_NUMBER", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "returnUrl": "https://your-company.com/...", - "platformChargebackLogic": { - "behavior": "deductFromOneBalanceAccount", - "targetAccount": "BA00000000000000000000001", - "costAllocationAccount": "BA00000000000000000000001" -}, - "splits": ["{amount={value=39600}, type=BalanceAccount, account=BA00000000000000000000001, reference=Your reference for the sale amount, description=Your description for the sale amount}","{amount={value=400}, type=Commission, reference=Your reference for the commission, description=Your description for the commission}","{type=PaymentFee, account=BA00000000000000000000001, reference=Your reference for the fees, description=Your description for the fees}"] -} -### Start a transaction -## Split a payment in a Classic Platforms integration -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "paymentMethod": { - "type": "scheme", - "encryptedCardNumber": "test_4111111111111111", - "encryptedExpiryMonth": "test_03", - "encryptedExpiryYear": "test_2030", - "encryptedSecurityCode": "test_737" -}, - "amount": { - "value": 6200, - "currency": "EUR" -}, - "reference": "YOUR_ORDER_NUMBER", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "returnUrl": "https://your-company.com/...", - "splits": ["{amount={value=6000}, type=MarketPlace, account=151272963, reference=6124145, description=Porcelain Doll: Eliza (20cm)}","{amount={value=200}, type=Commission, reference=6124146}"] -} -### Start a transaction -## Tokenize card details for a subscription -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "currency": "USD", - "value": 1000 -}, - "reference": "Your order number", - "paymentMethod": { - "type": "scheme", - "encryptedCardNumber": "test_4111111111111111", - "encryptedExpiryMonth": "test_03", - "encryptedExpiryYear": "test_2030", - "encryptedSecurityCode": "test_737" -}, - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "storePaymentMethod": true, - "shopperInteraction": "Ecommerce", - "recurringProcessingModel": "Subscription", - "returnUrl": "https://your-company.com/...", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}" -} - -### Submit details for a payment -## Submit the redirect result -POST https://checkout-test.adyen.com/v71/payments/details -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "details": { - "redirectResult": "X6XtfGC3!Y..." -} -} -### Submit details for a payment -## Submit 3D Secure 2 authentication result -POST https://checkout-test.adyen.com/v71/payments/details -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "details": { - "threeDSResult": "eyJ0cmFuc1N0YXR1cyI6IlkifQ==" -} -} - -### Create a payment session -## Create a payment session -POST https://checkout-test.adyen.com/v71/sessions -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "amount": { - "value": 100, - "currency": "EUR" -}, - "returnUrl": "https://your-company.com/checkout?shopperOrder=12xy..", - "reference": "YOUR_PAYMENT_REFERENCE", - "countryCode": "NL" -} -### Create a payment session -## Create a payment session including Klarna fields -POST https://checkout-test.adyen.com/v71/sessions -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "reference": "YOUR_ORDER_REFERENCE", - "amount": { - "currency": "SEK", - "value": 1000 -}, - "shopperLocale": "en_US", - "countryCode": "SE", - "telephoneNumber": "+46 840 839 298", - "shopperEmail": "youremail@email.com", - "shopperName": { - "firstName": "Testperson-se", - "lastName": "Approved" -}, - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "billingAddress": { - "city": "Ankeborg", - "country": "SE", - "houseNumberOrName": "1", - "postalCode": "12345", - "street": "Stargatan" -}, - "deliveryAddress": { - "city": "Ankeborg", - "country": "SE", - "houseNumberOrName": "1", - "postalCode": "12345", - "street": "Stargatan" -}, - "dateOfBirth": "1996-09-04", - "socialSecurityNumber": "0108", - "returnUrl": "https://example.org", - "lineItems": ["{quantity=1, amountExcludingTax=331, taxPercentage=2100, description=Shoes, id=Item #1, taxAmount=69, amountIncludingTax=400, productUrl=URL_TO_PURCHASED_ITEM, imageUrl=URL_TO_PICTURE_OF_PURCHASED_ITEM}","{quantity=2, amountExcludingTax=248, taxPercentage=2100, description=Socks, id=Item #2, taxAmount=52, amountIncludingTax=300, productUrl=URL_TO_PURCHASED_ITEM, imageUrl=URL_TO_PICTURE_OF_PURCHASED_ITEM}"] -} -### Create a payment session -## Tokenize card details for one-off payments without asking shopper -POST https://checkout-test.adyen.com/v71/sessions -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "merchantAccount": "TestMerchantCheckout", - "amount": { - "value": 100, - "currency": "EUR" -}, - "shopperReference": "YOUR_SHOPPER_REFERENCE", - "returnUrl": "https://your-company.com/checkout?shopperOrder=12xy..", - "reference": "YOUR_PAYMENT_REFERENCE", - "countryCode": "NL", - "storePaymentMethodMode": "enabled", - "shopperInteraction": "Ecommerce", - "recurringProcessingModel": "CardOnFile" -} -### Create a payment session -## Split a payment between balance accounts -POST https://checkout-test.adyen.com/v71/sessions -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "amount": { - "value": 40000, - "currency": "USD" -}, - "reference": "YOUR_ORDER_NUMBER", - "merchantAccount": "{{YOUR_MERCHANT_ACCOUNT}}", - "returnUrl": "https://your-company.com/...", - "splits": ["{amount={value=39200}, type=BalanceAccount, account=BA00000000000000000000001, reference=Your reference for the sale amount, description=Your description for the sale amount}","{amount={value=400}, type=Commission, reference=Your reference for the commission, description=Your description for the commission}","{amount={value=400}, account=BA00000000000000000000001, reference=Your reference for the fees, description=Your description for the fees, type=PaymentFee}"] -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/RecurringApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/RecurringApi.http deleted file mode 100644 index 10a8b16b83..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/RecurringApi.http +++ /dev/null @@ -1,13 +0,0 @@ -## RecurringApi - -### Delete a token for stored payment details -## Delete a token for stored payment details -DELETE https://checkout-test.adyen.com/v71/storedPaymentMethods/{{storedPaymentMethodId}} -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -### Get tokens for stored payment details -## Get tokens for stored payment details -GET https://checkout-test.adyen.com/v71/storedPaymentMethods -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/UtilityApi.http b/samples/client/jetbrains/adyen/checkout71/http/client/Apis/UtilityApi.http deleted file mode 100644 index 64417343ab..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/Apis/UtilityApi.http +++ /dev/null @@ -1,25 +0,0 @@ -## UtilityApi - -### Get an Apple Pay session -## Get payment session for Apple Pay -POST https://checkout-test.adyen.com/v71/applePay/sessions -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "displayName": "YOUR_MERCHANT_NAME", - "domainName": "YOUR_DOMAIN_NAME", - "merchantIdentifier": "YOUR_MERCHANT_ID" -} - -### Create originKey values for domains -## Get origin keys -POST https://checkout-test.adyen.com/v71/originKeys -Content-Type: application/json -Authorization: Basic: {{username-password}} -X-API-Key: {{apiKey}} - -{ - "originDomains": ["https://www.your-domain1.com","https://www.your-domain2.com","https://www.your-domain3.com"] -} diff --git a/samples/client/jetbrains/adyen/checkout71/http/client/README.md b/samples/client/jetbrains/adyen/checkout71/http/client/README.md deleted file mode 100644 index 3a7a43d068..0000000000 --- a/samples/client/jetbrains/adyen/checkout71/http/client/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# Adyen Checkout API - Jetbrains API Client - -## OpenAPI File description - -Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [online payments documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to Checkout API must be signed with an API key. For this, [get your API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key) from your Customer Area, and set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: YOUR_API_KEY\" \\ ... ``` ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v71/payments ``` ## Going live To access the live endpoints, you need an API key from your live Customer Area. The live endpoint URLs contain a prefix which is unique to your company account, for example: ``` https://{PREFIX}-checkout-live.adyenpayments.com/checkout/v71/payments ``` Get your `{PREFIX}` from your live Customer Area under **Developers** > **API URLs** > **Prefix**. When preparing to do live transactions with Checkout API, follow the [go-live checklist](https://docs.adyen.com/online-payments/go-live-checklist) to make sure you've got all the required configuration in place. ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=71) to find out what changed in this version! - -* API basepath : [https://checkout-test.adyen.com/v71](https://checkout-test.adyen.com/v71) -* Version : 71 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v71*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*ClassicCheckoutSDKApi* | [**postPaymentSession**](Apis/ClassicCheckoutSDKApi.http#postpaymentsession) | **POST** /paymentSession | Create a payment session -*ClassicCheckoutSDKApi* | [**postPaymentsResult**](Apis/ClassicCheckoutSDKApi.http#postpaymentsresult) | **POST** /payments/result | Verify a payment result -*DonationsApi* | [**postDonations**](Apis/DonationsApi.http#postdonations) | **POST** /donations | Start a transaction for donations -*ModificationsApi* | [**postCancels**](Apis/ModificationsApi.http#postcancels) | **POST** /cancels | Cancel an authorised payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceAmountUpdates**](Apis/ModificationsApi.http#postpaymentspaymentpspreferenceamountupdates) | **POST** /payments/{paymentPspReference}/amountUpdates | Update an authorised amount -*ModificationsApi* | [**postPaymentsPaymentPspReferenceCancels**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencecancels) | **POST** /payments/{paymentPspReference}/cancels | Cancel an authorised payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceCaptures**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencecaptures) | **POST** /payments/{paymentPspReference}/captures | Capture an authorised payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceRefunds**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencerefunds) | **POST** /payments/{paymentPspReference}/refunds | Refund a captured payment -*ModificationsApi* | [**postPaymentsPaymentPspReferenceReversals**](Apis/ModificationsApi.http#postpaymentspaymentpspreferencereversals) | **POST** /payments/{paymentPspReference}/reversals | Refund or cancel a payment -*OrdersApi* | [**postOrders**](Apis/OrdersApi.http#postorders) | **POST** /orders | Create an order -*OrdersApi* | [**postOrdersCancel**](Apis/OrdersApi.http#postorderscancel) | **POST** /orders/cancel | Cancel an order -*OrdersApi* | [**postPaymentMethodsBalance**](Apis/OrdersApi.http#postpaymentmethodsbalance) | **POST** /paymentMethods/balance | Get the balance of a gift card -*PaymentLinksApi* | [**getPaymentLinksLinkId**](Apis/PaymentLinksApi.http#getpaymentlinkslinkid) | **GET** /paymentLinks/{linkId} | Get a payment link -*PaymentLinksApi* | [**patchPaymentLinksLinkId**](Apis/PaymentLinksApi.http#patchpaymentlinkslinkid) | **PATCH** /paymentLinks/{linkId} | Update the status of a payment link -*PaymentLinksApi* | [**postPaymentLinks**](Apis/PaymentLinksApi.http#postpaymentlinks) | **POST** /paymentLinks | Create a payment link -*PaymentsApi* | [**getSessionsSessionId**](Apis/PaymentsApi.http#getsessionssessionid) | **GET** /sessions/{sessionId} | Get the result of a payment session -*PaymentsApi* | [**postCardDetails**](Apis/PaymentsApi.http#postcarddetails) | **POST** /cardDetails | Get the list of brands on the card -*PaymentsApi* | [**postPaymentMethods**](Apis/PaymentsApi.http#postpaymentmethods) | **POST** /paymentMethods | Get a list of available payment methods -*PaymentsApi* | [**postPayments**](Apis/PaymentsApi.http#postpayments) | **POST** /payments | Start a transaction -*PaymentsApi* | [**postPaymentsDetails**](Apis/PaymentsApi.http#postpaymentsdetails) | **POST** /payments/details | Submit details for a payment -*PaymentsApi* | [**postSessions**](Apis/PaymentsApi.http#postsessions) | **POST** /sessions | Create a payment session -*RecurringApi* | [**deleteStoredPaymentMethodsStoredPaymentMethodId**](Apis/RecurringApi.http#deletestoredpaymentmethodsstoredpaymentmethodid) | **DELETE** /storedPaymentMethods/{storedPaymentMethodId} | Delete a token for stored payment details -*RecurringApi* | [**getStoredPaymentMethods**](Apis/RecurringApi.http#getstoredpaymentmethods) | **GET** /storedPaymentMethods | Get tokens for stored payment details -*UtilityApi* | [**postApplePaySessions**](Apis/UtilityApi.http#postapplepaysessions) | **POST** /applePay/sessions | Get an Apple Pay session -*UtilityApi* | [**postOriginKeys**](Apis/UtilityApi.http#postoriginkeys) | **POST** /originKeys | Create originKey values for domains - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator-ignore b/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator/FILES b/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator/FILES deleted file mode 100644 index bfbdad8e47..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,2 +0,0 @@ -Apis/PaymentsApi.http -README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator/VERSION b/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/Apis/PaymentsApi.http b/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/Apis/PaymentsApi.http deleted file mode 100644 index 054f9fd236..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,70 +0,0 @@ -## PaymentsApi - -### Get payment method by id -## Get payment method by id -GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}} - - - - -### Get payment methods -## Get payment methods -GET https://checkout-test.adyen.com/v71/paymentMethods - - - - -### Make a payment -## ApplePay request -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json - -{ - "paymentMethod" : { - "name" : "applepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "iOS" -} - -### Make a payment -## GooglePay request -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - -### Make a payment -## Example with a merchant account that doesn't exist -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "INVALID MERCHANT ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - diff --git a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/README.md b/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/README.md deleted file mode 100644 index c02aebdb06..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasibearer/http/client/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Checkout Basic - Jetbrains API Client - -## OpenAPI File description - -Checkout Basic - -* API basepath : [https://checkout-test.adyen.com/v71](https://checkout-test.adyen.com/v71) -* Version : 1.0.0 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v71*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*PaymentsApi* | [**getPaymentMethodById**](Apis/PaymentsApi.http#getpaymentmethodbyid) | **GET** /paymentMethods/{id} | Get payment method by id -*PaymentsApi* | [**getPaymentMethods**](Apis/PaymentsApi.http#getpaymentmethods) | **GET** /paymentMethods | Get payment methods -*PaymentsApi* | [**postMakePayment**](Apis/PaymentsApi.http#postmakepayment) | **POST** /payments | Make a payment - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator-ignore b/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator/FILES b/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator/FILES deleted file mode 100644 index bfbdad8e47..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,2 +0,0 @@ -Apis/PaymentsApi.http -README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator/VERSION b/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasic/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/jetbrains/adyen/checkoutbasic/http/client/Apis/PaymentsApi.http b/samples/client/jetbrains/adyen/checkoutbasic/http/client/Apis/PaymentsApi.http deleted file mode 100644 index 12090e4307..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasic/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,75 +0,0 @@ -## PaymentsApi - -### Get payment method by id -## Get payment method by id -GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}} - - - - - -### Get payment methods -## Get payment methods -GET https://checkout-test.adyen.com/v71/paymentMethods - - - - - -### Make a payment -## ApplePay request -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json - - -{ - "paymentMethod" : { - "name" : "applepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "iOS" -} - -### Make a payment -## GooglePay request -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json - - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - -### Make a payment -## Example with a merchant account that doesn't exist -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json - - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "INVALID MERCHANT ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - diff --git a/samples/client/jetbrains/adyen/checkoutbasic/http/client/README.md b/samples/client/jetbrains/adyen/checkoutbasic/http/client/README.md deleted file mode 100644 index c02aebdb06..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasic/http/client/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Checkout Basic - Jetbrains API Client - -## OpenAPI File description - -Checkout Basic - -* API basepath : [https://checkout-test.adyen.com/v71](https://checkout-test.adyen.com/v71) -* Version : 1.0.0 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v71*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*PaymentsApi* | [**getPaymentMethodById**](Apis/PaymentsApi.http#getpaymentmethodbyid) | **GET** /paymentMethods/{id} | Get payment method by id -*PaymentsApi* | [**getPaymentMethods**](Apis/PaymentsApi.http#getpaymentmethods) | **GET** /paymentMethods | Get payment methods -*PaymentsApi* | [**postMakePayment**](Apis/PaymentsApi.http#postmakepayment) | **POST** /payments | Make a payment - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator-ignore b/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator/FILES b/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator/FILES deleted file mode 100644 index bfbdad8e47..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,2 +0,0 @@ -Apis/PaymentsApi.http -README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator/VERSION b/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/Apis/PaymentsApi.http b/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/Apis/PaymentsApi.http deleted file mode 100644 index 16eae79c0a..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,71 +0,0 @@ -## PaymentsApi - -### Get payment method by id -## Get payment method by id -GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}} -Accept: application/json -Cookie: X-API-Key={{cookieKey}} - -### Get payment methods -## Get payment methods -GET https://checkout-test.adyen.com/v71/paymentMethods -Accept: application/json -Cookie: X-API-Key={{cookieKey}} - -### Make a payment -## ApplePay request -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Accept: application/json -Cookie: X-API-Key={{cookieKey}} - -{ - "paymentMethod" : { - "name" : "applepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "iOS" -} -### Make a payment -## GooglePay request -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Accept: application/json -Cookie: X-API-Key={{cookieKey}} - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} -### Make a payment -## Example with a merchant account that doesn't exist -POST https://checkout-test.adyen.com/v71/payments -Content-Type: application/json -Accept: application/json -Cookie: X-API-Key={{cookieKey}} - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "INVALID MERCHANT ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} diff --git a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/README.md b/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/README.md deleted file mode 100644 index c02aebdb06..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasiccookie/http/client/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Checkout Basic - Jetbrains API Client - -## OpenAPI File description - -Checkout Basic - -* API basepath : [https://checkout-test.adyen.com/v71](https://checkout-test.adyen.com/v71) -* Version : 1.0.0 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v71*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*PaymentsApi* | [**getPaymentMethodById**](Apis/PaymentsApi.http#getpaymentmethodbyid) | **GET** /paymentMethods/{id} | Get payment method by id -*PaymentsApi* | [**getPaymentMethods**](Apis/PaymentsApi.http#getpaymentmethods) | **GET** /paymentMethods | Get payment methods -*PaymentsApi* | [**postMakePayment**](Apis/PaymentsApi.http#postmakepayment) | **POST** /payments | Make a payment - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator-ignore b/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator/FILES b/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator/FILES deleted file mode 100644 index bfbdad8e47..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,2 +0,0 @@ -Apis/PaymentsApi.http -README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator/VERSION b/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/Apis/PaymentsApi.http b/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/Apis/PaymentsApi.http deleted file mode 100644 index 5936e908e5..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,75 +0,0 @@ -## PaymentsApi - -### Get payment method by id -## Get payment method by id -GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}?api_key={{queryKey}} - - - - - -### Get payment methods -## Get payment methods -GET https://checkout-test.adyen.com/v71/paymentMethods?api_key={{queryKey}} - - - - - -### Make a payment -## ApplePay request -POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}} -Content-Type: application/json - - -{ - "paymentMethod" : { - "name" : "applepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "iOS" -} - -### Make a payment -## GooglePay request -POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}} -Content-Type: application/json - - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - -### Make a payment -## Example with a merchant account that doesn't exist -POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}} -Content-Type: application/json - - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "INVALID MERCHANT ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - diff --git a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/README.md b/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/README.md deleted file mode 100644 index c02aebdb06..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicquery/http/client/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Checkout Basic - Jetbrains API Client - -## OpenAPI File description - -Checkout Basic - -* API basepath : [https://checkout-test.adyen.com/v71](https://checkout-test.adyen.com/v71) -* Version : 1.0.0 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v71*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*PaymentsApi* | [**getPaymentMethodById**](Apis/PaymentsApi.http#getpaymentmethodbyid) | **GET** /paymentMethods/{id} | Get payment method by id -*PaymentsApi* | [**getPaymentMethods**](Apis/PaymentsApi.http#getpaymentmethods) | **GET** /paymentMethods | Get payment methods -*PaymentsApi* | [**postMakePayment**](Apis/PaymentsApi.http#postmakepayment) | **POST** /payments | Make a payment - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file diff --git a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator-ignore b/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator/FILES b/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator/FILES deleted file mode 100644 index bfbdad8e47..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator/FILES +++ /dev/null @@ -1,2 +0,0 @@ -Apis/PaymentsApi.http -README.md diff --git a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator/VERSION b/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator/VERSION deleted file mode 100644 index 4eb25b6ea2..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -unset diff --git a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/Apis/PaymentsApi.http b/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/Apis/PaymentsApi.http deleted file mode 100644 index 3ab770464e..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/Apis/PaymentsApi.http +++ /dev/null @@ -1,79 +0,0 @@ -## PaymentsApi - -### Get payment method by id -## Get payment method by id -GET https://checkout-test.adyen.com/v71/paymentMethods/{{id}}?api_key={{queryKey}} -Cookie:X-API-KEY={{cookieKey}} -Accept-Encoding=gzip - - - -### Get payment methods -## Get payment methods -GET https://checkout-test.adyen.com/v71/paymentMethods?api_key={{queryKey}} -Cookie:X-API-KEY={{cookieKey}} -Accept-Encoding=gzip - - - - -### Make a payment -## ApplePay request -POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} -Accept-Encoding=gzip - -{ - "paymentMethod" : { - "name" : "applepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "iOS" -} - -### Make a payment -## GooglePay request -POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} -Accept-Encoding=gzip - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "YOUR_MERCHANT_ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - -### Make a payment -## Example with a merchant account that doesn't exist -POST https://checkout-test.adyen.com/v71/payments?api_key={{queryKey}} -Content-Type: application/json -Cookie:X-API-KEY={{cookieKey}} -Accept-Encoding=gzip - -{ - "paymentMethod" : { - "name" : "googlepay" - }, - "amount" : { - "currency" : "EUR", - "value" : 1000 - }, - "merchantAccount" : "INVALID MERCHANT ACCOUNT", - "reference" : "YOUR_REFERENCE", - "channel" : "Android" -} - diff --git a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/README.md b/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/README.md deleted file mode 100644 index c02aebdb06..0000000000 --- a/samples/client/jetbrains/adyen/checkoutbasicqueryheaders/http/client/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Checkout Basic - Jetbrains API Client - -## OpenAPI File description - -Checkout Basic - -* API basepath : [https://checkout-test.adyen.com/v71](https://checkout-test.adyen.com/v71) -* Version : 1.0.0 - -## Documentation for API Endpoints - -All URIs are relative to *https://checkout-test.adyen.com/v71*, but will link to the `.http` file that contains the endpoint definition - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*PaymentsApi* | [**getPaymentMethodById**](Apis/PaymentsApi.http#getpaymentmethodbyid) | **GET** /paymentMethods/{id} | Get payment method by id -*PaymentsApi* | [**getPaymentMethods**](Apis/PaymentsApi.http#getpaymentmethods) | **GET** /paymentMethods | Get payment methods -*PaymentsApi* | [**postMakePayment**](Apis/PaymentsApi.http#postmakepayment) | **POST** /payments | Make a payment - - - -_This client was generated by the jetbrains-http-client of OpenAPI Generator_ \ No newline at end of file