Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend custom_operations_api::get_storage_info API #2620

Merged
merged 3 commits into from
Aug 6, 2022

Conversation

abitmore
Copy link
Member

@abitmore abitmore commented Aug 6, 2022

For issue #2139.

  • Add api-limit-get-storage-info node startup option
  • Extend custom_operations_api::get_storage_info API to accept 5 parameters:
    vector<account_storage_object> get_storage_info( account, catalog, key, limit, start_id );
    
    • All parameters are optional.
    • The account can be a name or an ID.
    • The default limit now is 101 (was unlimited).
    • The result is sorted by ID (was by key).
    *    By passing @a null to various optional parameters, or omitting where applicable,
    *    this API can be used to query stored objects by
    *    a) account, catalog and key, or
    *    b) account and catalog, or
    *    c) account, or
    *    d) catalog and key, or
    *    e) catalog, or
    *    f) unconditionally.
    
    Note: queries with keys without a catalog are not allowed.

@abitmore abitmore marked this pull request as ready for review August 6, 2022 08:03
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 6, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pagination support and other improvements for custom_operations_api::get_storage_info API
1 participant