Skip to content

How do I get all assets from azure media service #669

Description

@kennethinsnow

One query returns a maximum of 1000 items. how do i get the rest of them? Does java sdk provides a way to skip like this php program?
https://blogs.msdn.microsoft.com/randomnumber/2015/11/05/listing-more-than-1000-assets-with-the-php-sdk-for-azure-media-services/
My code:
MediaContract mediaService = MediaService.create(MediaConfiguration.configureWithOAuthAuthentication( mediaServiceUri, oAuthUri, AMSAccountName, AMSAccountKey, scope));
List<AssetInfo> info = mediaService.list(Asset.list());
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions