getAppChangelogEntry method

Future<DynamiteResponse<ApiGetAppChangelogEntryResponseApplicationJson, void>> getAppChangelogEntry({
  1. required String appId,
  2. ApiGetAppChangelogEntryApiVersion? apiVersion,
  3. String? version,
  4. bool? oCSAPIRequest,
})

Get changelog entry for an app.

This endpoint requires admin access.

Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.

Parameters:

  • apiVersion Defaults to "v1".
  • appId App to search changelog entry for.
  • version The version to search the changelog entry for (defaults to the latest installed).
  • oCSAPIRequest Required to be true for the API request to pass. Defaults to true.

Status codes:

  • 200: Changelog entry returned
  • 404: No changelog found

See:

Implementation

Future<_i1.DynamiteResponse<ApiGetAppChangelogEntryResponseApplicationJson, void>> getAppChangelogEntry({
  required String appId,
  ApiGetAppChangelogEntryApiVersion? apiVersion,
  String? version,
  bool? oCSAPIRequest,
}) async {
  final _request = $getAppChangelogEntry_Request(
    appId: appId,
    apiVersion: apiVersion,
    version: version,
    oCSAPIRequest: oCSAPIRequest,
  );
  final _streamedResponse = await _rootClient.httpClient.send(_request);
  final _response = await _i3.Response.fromStream(_streamedResponse);

  final _serializer = $getAppChangelogEntry_Serializer();
  return _i1.ResponseConverter<ApiGetAppChangelogEntryResponseApplicationJson, void>(_serializer).convert(_response);
}