getEndpointsByIdKeysWithHttpInfo method

Future<Response> getEndpointsByIdKeysWithHttpInfo(
  1. String companyId,
  2. String endpointId
)

GET /companies/{company_id}/endpoints/{endpoint_id}/keys

Note: This method returns the HTTP Response.

Parameters:

  • String companyId (required): Unique identifier for the Company

  • String endpointId (required): Unique identifier for the Endpoint

Implementation

Future<Response> getEndpointsByIdKeysWithHttpInfo(String companyId, String endpointId,) async {
  // ignore: prefer_const_declarations
  final path = r'/companies/{company_id}/endpoints/{endpoint_id}/keys'
    .replaceAll('{company_id}', companyId)
    .replaceAll('{endpoint_id}', endpointId);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}