| Package | Description |
|---|---|
| com.affinda.api.client |
Package containing the classes for AffindaAPI.
|
| com.affinda.api.client.models |
Package containing the data models for AffindaAPI.
|
| Modifier and Type | Method and Description |
|---|---|
ResthookSubscription |
AffindaAPI.activateResthookSubscription(String xHookSecret)
After creating a subscription, we'll send a POST request to your target URL with a `X-Hook-Secret` header.
|
ResthookSubscription |
AffindaAPI.createResthookSubscription(ResthookSubscriptionCreate body)
After a subscription is sucessfully created, we'll send a POST request to your target URL with a `X-Hook-Secret`
header.
|
ResthookSubscription |
AffindaAPI.getResthookSubscription(int id)
Return a specific resthook subscription.
|
ResthookSubscription |
AffindaAPI.updateResthookSubscription(int id,
ResthookSubscriptionUpdate body)
Update data of a resthook subscription.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.AffindaAPIService.activateResthookSubscription(Region region,
String xHookSecret,
String accept) |
reactor.core.publisher.Mono<ResthookSubscription> |
AffindaAPI.activateResthookSubscriptionAsync(String xHookSecret)
After creating a subscription, we'll send a POST request to your target URL with a `X-Hook-Secret` header.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.activateResthookSubscriptionWithResponseAsync(String xHookSecret)
After creating a subscription, we'll send a POST request to your target URL with a `X-Hook-Secret` header.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.AffindaAPIService.createResthookSubscription(Region region,
ResthookSubscriptionCreate body,
String accept) |
reactor.core.publisher.Mono<ResthookSubscription> |
AffindaAPI.createResthookSubscriptionAsync(ResthookSubscriptionCreate body)
After a subscription is sucessfully created, we'll send a POST request to your target URL with a `X-Hook-Secret`
header.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.createResthookSubscriptionWithResponseAsync(ResthookSubscriptionCreate body)
After a subscription is sucessfully created, we'll send a POST request to your target URL with a `X-Hook-Secret`
header.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.AffindaAPIService.getResthookSubscription(Region region,
int id,
String accept) |
reactor.core.publisher.Mono<ResthookSubscription> |
AffindaAPI.getResthookSubscriptionAsync(int id)
Return a specific resthook subscription.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.getResthookSubscriptionWithResponseAsync(int id)
Return a specific resthook subscription.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.AffindaAPIService.updateResthookSubscription(Region region,
int id,
ResthookSubscriptionUpdate body,
String accept) |
reactor.core.publisher.Mono<ResthookSubscription> |
AffindaAPI.updateResthookSubscriptionAsync(int id,
ResthookSubscriptionUpdate body)
Update data of a resthook subscription.
|
reactor.core.publisher.Mono<com.azure.core.http.rest.Response<ResthookSubscription>> |
AffindaAPI.updateResthookSubscriptionWithResponseAsync(int id,
ResthookSubscriptionUpdate body)
Update data of a resthook subscription.
|
| Modifier and Type | Method and Description |
|---|---|
ResthookSubscription |
ResthookSubscription.setActive(Boolean active)
Set the active property: Resthooks only fire for active subscriptions.
|
ResthookSubscription |
ResthookSubscription.setAutoDeactivated(Boolean autoDeactivated)
Set the autoDeactivated property: Resthook subscriptions can be auto deactivated if the receiver continuously
returns error status code over a period of time.
|
ResthookSubscription |
ResthookSubscription.setAutoDeactivateReason(String autoDeactivateReason)
Set the autoDeactivateReason property: The reason for the subscription being auto deactivated.
|
ResthookSubscription |
ResthookSubscription.setEvent(ResthookEvent event)
Set the event property: The event name to subscribe to.
|
ResthookSubscription |
ResthookSubscription.setId(Integer id)
Set the id property: Resthook subscription's ID.
|
ResthookSubscription |
ResthookSubscription.setTargetUrl(String targetUrl)
Set the targetUrl property: URL of the resthook's receiver.
|
ResthookSubscription |
ResthookSubscription.setVersion(ResthookSubscriptionVersion version)
Set the version property: Version of the resthook subscription.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResthookSubscription> |
PathsDd1FapV2ResthookSubscriptionsGetResponses200ContentApplicationJsonSchemaAllof1.getResults()
Get the results property: The results property.
|
List<ResthookSubscription> |
PathsMda0LlV2ResthookSubscriptionsGetResponses200ContentApplicationJsonSchema.getResults()
Get the results property: The results property.
|
| Modifier and Type | Method and Description |
|---|---|
PathsDd1FapV2ResthookSubscriptionsGetResponses200ContentApplicationJsonSchemaAllof1 |
PathsDd1FapV2ResthookSubscriptionsGetResponses200ContentApplicationJsonSchemaAllof1.setResults(List<ResthookSubscription> results)
Set the results property: The results property.
|
PathsMda0LlV2ResthookSubscriptionsGetResponses200ContentApplicationJsonSchema |
PathsMda0LlV2ResthookSubscriptionsGetResponses200ContentApplicationJsonSchema.setResults(List<ResthookSubscription> results)
Set the results property: The results property.
|
Copyright © 2023. All rights reserved.