|
| 1 | +# DefaultApi |
| 2 | + |
| 3 | +All URIs are relative to *http://petstore.swagger.io/v2* |
| 4 | + |
| 5 | +| Method | HTTP request | Description | |
| 6 | +|------------- | ------------- | -------------| |
| 7 | +| [**fakeWebhooksSourcesDeletedPost**](DefaultApi.md#fakeWebhooksSourcesDeletedPost) | **POST** /fake/webhooks/sources/deleted | | |
| 8 | + |
| 9 | + |
| 10 | +<a id="fakeWebhooksSourcesDeletedPost"></a> |
| 11 | +# **fakeWebhooksSourcesDeletedPost** |
| 12 | +> fakeWebhooksSourcesDeletedPost(fakeWebhooksSourcesDeletedPostRequest) |
| 13 | +
|
| 14 | + |
| 15 | + |
| 16 | +### Example |
| 17 | +```java |
| 18 | +// Import classes: |
| 19 | +import org.openapitools.client.ApiClient; |
| 20 | +import org.openapitools.client.ApiException; |
| 21 | +import org.openapitools.client.Configuration; |
| 22 | +import org.openapitools.client.models.*; |
| 23 | +import org.openapitools.client.api.DefaultApi; |
| 24 | + |
| 25 | +public class Example { |
| 26 | + public static void main(String[] args) { |
| 27 | + ApiClient defaultClient = Configuration.getDefaultApiClient(); |
| 28 | + defaultClient.setBasePath("http://petstore.swagger.io/v2"); |
| 29 | + |
| 30 | + DefaultApi apiInstance = new DefaultApi(defaultClient); |
| 31 | + FakeWebhooksSourcesDeletedPostRequest fakeWebhooksSourcesDeletedPostRequest = new FakeWebhooksSourcesDeletedPostRequest(); // FakeWebhooksSourcesDeletedPostRequest | |
| 32 | + try { |
| 33 | + apiInstance.fakeWebhooksSourcesDeletedPost(fakeWebhooksSourcesDeletedPostRequest); |
| 34 | + } catch (ApiException e) { |
| 35 | + System.err.println("Exception when calling DefaultApi#fakeWebhooksSourcesDeletedPost"); |
| 36 | + System.err.println("Status code: " + e.getCode()); |
| 37 | + System.err.println("Reason: " + e.getResponseBody()); |
| 38 | + System.err.println("Response headers: " + e.getResponseHeaders()); |
| 39 | + e.printStackTrace(); |
| 40 | + } |
| 41 | + } |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +### Parameters |
| 46 | + |
| 47 | +| Name | Type | Description | Notes | |
| 48 | +|------------- | ------------- | ------------- | -------------| |
| 49 | +| **fakeWebhooksSourcesDeletedPostRequest** | [**FakeWebhooksSourcesDeletedPostRequest**](FakeWebhooksSourcesDeletedPostRequest.md)| | [optional] | |
| 50 | + |
| 51 | +### Return type |
| 52 | + |
| 53 | +null (empty response body) |
| 54 | + |
| 55 | +### Authorization |
| 56 | + |
| 57 | +No authorization required |
| 58 | + |
| 59 | +### HTTP request headers |
| 60 | + |
| 61 | + - **Content-Type**: application/json |
| 62 | + - **Accept**: Not defined |
| 63 | + |
| 64 | +### HTTP response details |
| 65 | +| Status code | Description | Response headers | |
| 66 | +|-------------|-------------|------------------| |
| 67 | +| **200** | successful operation | - | |
| 68 | +| **405** | Invalid input | - | |
| 69 | + |
0 commit comments