getFeatureFlagById method

Future getFeatureFlagById(
  1. String featureFlagId
)

Retrieve the currently stored Feature Flag data for the given ID.

The result will be what is currently stored, ignoring any pending updates or deletes.

Only Connect apps that define the jiraFeatureFlagInfoProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

Implementation

Future<dynamic> getFeatureFlagById(String featureFlagId) async {
  return await _client.send(
    'get',
    'rest/featureflags/0.1/flag/{featureFlagId}',
    pathParameters: {
      'featureFlagId': featureFlagId,
    },
  );
}