listBuilds method
Future<List<AppBuildSummary> >
listBuilds({
- required String cloudCapsuleId,
- AppPlatform? platform,
- int? limit,
- UuidValue? afterBuildId,
Lists the capsule's builds newest first, up to limit builds (50 when
unset, at most 100), and only for platform if set. When
afterBuildId is set, lists the builds that come after it, for
fetching the next page.
Throws InvalidValueException if limit is negative.
Throws NotFoundException if afterBuildId does not name a build of
the capsule. Throws AppPublishingDisabledException while app
publishing is off in this environment.
Implementation
_ida.Future<List<_iy6jkon8.AppBuildSummary>> listBuilds({
required String cloudCapsuleId,
_id4pe5bk.AppPlatform? platform,
int? limit,
_isc.UuidValue? afterBuildId,
}) => caller.callServerEndpoint<List<_iy6jkon8.AppBuildSummary>>(
'appBuilds',
'listBuilds',
{
'cloudCapsuleId': cloudCapsuleId,
'platform': platform,
'limit': limit,
'afterBuildId': afterBuildId,
},
);