Skip to content

Latest commit

 

History

History
910 lines (666 loc) · 31.8 KB

File metadata and controls

910 lines (666 loc) · 31.8 KB

CommentAutomationsApi

All URIs are relative to https://zernio.com/api

Method HTTP request Description
createCommentAutomation POST /v1/comment-automations Create a comment-to-DM automation
createCommentAutomationWithHttpInfo POST /v1/comment-automations Create a comment-to-DM automation
deleteCommentAutomation DELETE /v1/comment-automations/{automationId} Delete automation and all logs
deleteCommentAutomationWithHttpInfo DELETE /v1/comment-automations/{automationId} Delete automation and all logs
getCommentAutomation GET /v1/comment-automations/{automationId} Get automation details with recent logs
getCommentAutomationWithHttpInfo GET /v1/comment-automations/{automationId} Get automation details with recent logs
listCommentAutomationLogs GET /v1/comment-automations/{automationId}/logs List trigger logs for an automation
listCommentAutomationLogsWithHttpInfo GET /v1/comment-automations/{automationId}/logs List trigger logs for an automation
listCommentAutomations GET /v1/comment-automations List comment-to-DM automations
listCommentAutomationsWithHttpInfo GET /v1/comment-automations List comment-to-DM automations
updateCommentAutomation PATCH /v1/comment-automations/{automationId} Update automation settings
updateCommentAutomationWithHttpInfo PATCH /v1/comment-automations/{automationId} Update automation settings

createCommentAutomation

CreateCommentAutomation200Response createCommentAutomation(createCommentAutomationRequest)

Create a comment-to-DM automation

Create a keyword-triggered DM automation on an Instagram or Facebook post. When someone comments a matching keyword, they automatically receive a DM. Only one active automation per post is allowed.

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        CreateCommentAutomationRequest createCommentAutomationRequest = new CreateCommentAutomationRequest(); // CreateCommentAutomationRequest | 
        try {
            CreateCommentAutomation200Response result = apiInstance.createCommentAutomation(createCommentAutomationRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#createCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createCommentAutomationRequest CreateCommentAutomationRequest

Return type

CreateCommentAutomation200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation created -
400 Validation error -
401 Unauthorized -
409 Active automation already exists for this post -

createCommentAutomationWithHttpInfo

ApiResponse createCommentAutomation createCommentAutomationWithHttpInfo(createCommentAutomationRequest)

Create a comment-to-DM automation

Create a keyword-triggered DM automation on an Instagram or Facebook post. When someone comments a matching keyword, they automatically receive a DM. Only one active automation per post is allowed.

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        CreateCommentAutomationRequest createCommentAutomationRequest = new CreateCommentAutomationRequest(); // CreateCommentAutomationRequest | 
        try {
            ApiResponse<CreateCommentAutomation200Response> response = apiInstance.createCommentAutomationWithHttpInfo(createCommentAutomationRequest);
            System.out.println("Status code: " + response.getStatusCode());
            System.out.println("Response headers: " + response.getHeaders());
            System.out.println("Response body: " + response.getData());
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#createCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
createCommentAutomationRequest CreateCommentAutomationRequest

Return type

ApiResponse<CreateCommentAutomation200Response>

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation created -
400 Validation error -
401 Unauthorized -
409 Active automation already exists for this post -

deleteCommentAutomation

void deleteCommentAutomation(automationId)

Delete automation and all logs

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        try {
            apiInstance.deleteCommentAutomation(automationId);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#deleteCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String

Return type

null (empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation deleted -
401 Unauthorized -
404 Resource not found -

deleteCommentAutomationWithHttpInfo

ApiResponse deleteCommentAutomation deleteCommentAutomationWithHttpInfo(automationId)

Delete automation and all logs

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        try {
            ApiResponse<Void> response = apiInstance.deleteCommentAutomationWithHttpInfo(automationId);
            System.out.println("Status code: " + response.getStatusCode());
            System.out.println("Response headers: " + response.getHeaders());
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#deleteCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String

Return type

ApiResponse

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation deleted -
401 Unauthorized -
404 Resource not found -

getCommentAutomation

GetCommentAutomation200Response getCommentAutomation(automationId)

Get automation details with recent logs

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        try {
            GetCommentAutomation200Response result = apiInstance.getCommentAutomation(automationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#getCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String

Return type

GetCommentAutomation200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation details with stats and recent trigger logs -
401 Unauthorized -
404 Resource not found -

getCommentAutomationWithHttpInfo

ApiResponse getCommentAutomation getCommentAutomationWithHttpInfo(automationId)

Get automation details with recent logs

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        try {
            ApiResponse<GetCommentAutomation200Response> response = apiInstance.getCommentAutomationWithHttpInfo(automationId);
            System.out.println("Status code: " + response.getStatusCode());
            System.out.println("Response headers: " + response.getHeaders());
            System.out.println("Response body: " + response.getData());
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#getCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String

Return type

ApiResponse<GetCommentAutomation200Response>

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation details with stats and recent trigger logs -
401 Unauthorized -
404 Resource not found -

listCommentAutomationLogs

ListCommentAutomationLogs200Response listCommentAutomationLogs(automationId, status, limit, skip)

List trigger logs for an automation

Paginated list of every comment that triggered this automation, with send status and commenter info.

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        String status = "sent"; // String | Filter by result status
        Integer limit = 50; // Integer | 
        Integer skip = 0; // Integer | 
        try {
            ListCommentAutomationLogs200Response result = apiInstance.listCommentAutomationLogs(automationId, status, limit, skip);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#listCommentAutomationLogs");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String
status String Filter by result status [optional] [enum: sent, failed, skipped]
limit Integer [optional] [default to 50]
skip Integer [optional] [default to 0]

Return type

ListCommentAutomationLogs200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Trigger logs with pagination -
401 Unauthorized -
404 Resource not found -

listCommentAutomationLogsWithHttpInfo

ApiResponse listCommentAutomationLogs listCommentAutomationLogsWithHttpInfo(automationId, status, limit, skip)

List trigger logs for an automation

Paginated list of every comment that triggered this automation, with send status and commenter info.

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        String status = "sent"; // String | Filter by result status
        Integer limit = 50; // Integer | 
        Integer skip = 0; // Integer | 
        try {
            ApiResponse<ListCommentAutomationLogs200Response> response = apiInstance.listCommentAutomationLogsWithHttpInfo(automationId, status, limit, skip);
            System.out.println("Status code: " + response.getStatusCode());
            System.out.println("Response headers: " + response.getHeaders());
            System.out.println("Response body: " + response.getData());
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#listCommentAutomationLogs");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String
status String Filter by result status [optional] [enum: sent, failed, skipped]
limit Integer [optional] [default to 50]
skip Integer [optional] [default to 0]

Return type

ApiResponse<ListCommentAutomationLogs200Response>

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Trigger logs with pagination -
401 Unauthorized -
404 Resource not found -

listCommentAutomations

ListCommentAutomations200Response listCommentAutomations(profileId)

List comment-to-DM automations

List all comment-to-DM automations for a profile. Returns automations with their stats.

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String profileId = "profileId_example"; // String | Filter by profile. Omit to list across all profiles
        try {
            ListCommentAutomations200Response result = apiInstance.listCommentAutomations(profileId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#listCommentAutomations");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
profileId String Filter by profile. Omit to list across all profiles [optional]

Return type

ListCommentAutomations200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automations list -
401 Unauthorized -

listCommentAutomationsWithHttpInfo

ApiResponse listCommentAutomations listCommentAutomationsWithHttpInfo(profileId)

List comment-to-DM automations

List all comment-to-DM automations for a profile. Returns automations with their stats.

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String profileId = "profileId_example"; // String | Filter by profile. Omit to list across all profiles
        try {
            ApiResponse<ListCommentAutomations200Response> response = apiInstance.listCommentAutomationsWithHttpInfo(profileId);
            System.out.println("Status code: " + response.getStatusCode());
            System.out.println("Response headers: " + response.getHeaders());
            System.out.println("Response body: " + response.getData());
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#listCommentAutomations");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
profileId String Filter by profile. Omit to list across all profiles [optional]

Return type

ApiResponse<ListCommentAutomations200Response>

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automations list -
401 Unauthorized -

updateCommentAutomation

UpdateCommentAutomation200Response updateCommentAutomation(automationId, updateCommentAutomationRequest)

Update automation settings

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        UpdateCommentAutomationRequest updateCommentAutomationRequest = new UpdateCommentAutomationRequest(); // UpdateCommentAutomationRequest | 
        try {
            UpdateCommentAutomation200Response result = apiInstance.updateCommentAutomation(automationId, updateCommentAutomationRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#updateCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String
updateCommentAutomationRequest UpdateCommentAutomationRequest [optional]

Return type

UpdateCommentAutomation200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation updated -
401 Unauthorized -
404 Resource not found -

updateCommentAutomationWithHttpInfo

ApiResponse updateCommentAutomation updateCommentAutomationWithHttpInfo(automationId, updateCommentAutomationRequest)

Update automation settings

Example

// Import classes:
import dev.zernio.ApiClient;
import dev.zernio.ApiException;
import dev.zernio.ApiResponse;
import dev.zernio.Configuration;
import dev.zernio.auth.*;
import dev.zernio.models.*;
import dev.zernio.api.CommentAutomationsApi;

public class Example {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("https://zernio.com/api");
        
        // Configure HTTP bearer authorization: bearerAuth
        HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
        bearerAuth.setBearerToken("BEARER TOKEN");

        CommentAutomationsApi apiInstance = new CommentAutomationsApi(defaultClient);
        String automationId = "automationId_example"; // String | 
        UpdateCommentAutomationRequest updateCommentAutomationRequest = new UpdateCommentAutomationRequest(); // UpdateCommentAutomationRequest | 
        try {
            ApiResponse<UpdateCommentAutomation200Response> response = apiInstance.updateCommentAutomationWithHttpInfo(automationId, updateCommentAutomationRequest);
            System.out.println("Status code: " + response.getStatusCode());
            System.out.println("Response headers: " + response.getHeaders());
            System.out.println("Response body: " + response.getData());
        } catch (ApiException e) {
            System.err.println("Exception when calling CommentAutomationsApi#updateCommentAutomation");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Response headers: " + e.getResponseHeaders());
            System.err.println("Reason: " + e.getResponseBody());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
automationId String
updateCommentAutomationRequest UpdateCommentAutomationRequest [optional]

Return type

ApiResponse<UpdateCommentAutomation200Response>

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Automation updated -
401 Unauthorized -
404 Resource not found -