getPublicInvitationWithHttpInfo method

Future<Response> getPublicInvitationWithHttpInfo(
  1. String token
)

Fetch invitation details by token (unauthenticated). Used by the renderer to show invitation context before the user signs in.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> getPublicInvitationWithHttpInfo(String token,) async {
  // ignore: prefer_const_declarations
  final path = r'/invitations/{token}'
    .replaceAll('{token}', token);

  // 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,
  );
}