| Package | Description |
|---|---|
| net.leanix.dropkit.apiclient | |
| net.leanix.dropkit.apiclient.auth | |
| net.leanix.webhooks.api |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
ApiClient.deserialize(javax.ws.rs.core.Response response,
javax.ws.rs.core.GenericType<T> returnType)
Deserialize response body to Java object according to the Content-Type.
|
File |
ApiClient.downloadFileFromResponse(javax.ws.rs.core.Response response)
Download file from the given response.
|
<T> T |
ApiClient.invokeAPI(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String accept,
String contentType,
String[] authNames,
javax.ws.rs.core.GenericType<T> returnType)
Invoke API by sending HTTP request with the given options.
|
javax.ws.rs.client.Entity<?> |
ApiClient.serialize(Object obj,
Map<String,Object> formParams,
String contentType)
Serialize the given Java object into string entity according the given
Content-Type (only JSON is supported for now).
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientCredentialRefreshingOAuth.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams) |
void |
Authentication.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams)
Apply authentication settings to header and query params.
|
void |
OAuth.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams) |
| Modifier and Type | Method and Description |
|---|---|
EventResponse |
EventsApi.createEvent(Event body)
createEvent
Endpoint to trigger an event.
|
EventListResponse |
EventsApi.createEventBatch(EventBatch body)
createEventBatch
Endpoint to trigger multiple events.
|
SubscriptionResponse |
SubscriptionsApi.createSubscription(Subscription body)
createSubscription
Endpoint to create a subscription.
|
WatcherResponse |
WatchersApi.createWatcher(Watcher body)
createWatcher
Endpoint to create a watcher.
|
SubscriptionResponse |
SubscriptionsApi.deleteSubscription(String id)
deleteSubscription
Endpoint to delete a subscription.
|
WatcherResponse |
WatchersApi.deleteWatcher(String id)
deleteWatcher
Enpoint to delete a watcher.
|
EventListResponse |
EventsApi.getEvents(String cursor,
Integer size,
Boolean withPayload)
getEvents
Endpoint to list the events (only for system users)
|
SubscriptionResponse |
SubscriptionsApi.getSubscription(String id)
getSubscription
returns a subscription with a given id
|
DeliveryListResponse |
SubscriptionsApi.getSubscriptionDeliveries(String id,
Integer page,
Integer size,
String sort)
getSubscriptionDeliveries
Endpoint to list the deliveries
|
SubscriptionListResponse |
SubscriptionsApi.getSubscriptions(String workspaceId,
String identifier)
getSubscriptions
Endpoint to list the subscriptions.
|
WatcherListResponse |
WatchersApi.getWatchers()
getWatchers
Endpoint to get all watchers.
|
SubscriptionListResponse |
WatchersApi.getWatcherSubscription(String id)
getWatcherSubscription
Endpoint to list the subscription.
|
EventResponse |
EventSubmitter.submitEvent(Event body)
Send an event to webhooks and retry if the post fails.
|
EventListResponse |
EventSubmitter.submitEventBatch(EventBatch batch)
Send an event batch to webhooks and retry if the post fails.
|
SubscriptionResponse |
SubscriptionsApi.updateSubscription(String id,
Subscription body)
updateSubscription
Endpoint to update a subscription.
|
WatcherResponse |
WatchersApi.updateWatcher(String id,
Watcher body)
updateWatcher
Endpoint to update a watcher
|
Copyright © 2017 LeanIX GmbH. All rights reserved.