getAddonProperty method

Future<EntityProperty> getAddonProperty({
  1. required String addonKey,
  2. required String propertyKey,
})

Returns the key and value of an app's property.

Permissions required: Only a Connect app whose key matches addonKey can make this request. Additionally, Forge apps published on the Marketplace can access properties of Connect apps they were migrated from.

Implementation

Future<EntityProperty> getAddonProperty(
    {required String addonKey, required String propertyKey}) async {
  return EntityProperty.fromJson(await _client.send(
    'get',
    'rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}',
    pathParameters: {
      'addonKey': addonKey,
      'propertyKey': propertyKey,
    },
  ));
}