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

feat: support logs cursor pagination #234

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

jleon15
Copy link
Contributor

@jleon15 jleon15 commented Jan 11, 2024

Description

  • Support logs cursor pagination

Testing required outside of automated testing?

  • Not Applicable

Screenshots (if appropriate):

  • Not Applicable

Rollback / Rollforward Procedure

  • Roll Forward
  • Roll Back

Reviewer Checklist

  • Description of Change
  • Description of outside testing if applicable.
  • Description of Roll Forward / Backward Procedure
  • Documentation updated for Change

@jleon15 jleon15 requested a review from a team as a code owner January 11, 2024 05:28
Comment on lines 9 to 22
[JsonPropertyName("total_items")]
public int TotalItems { get; set; }
[JsonProperty("total_items")]
[JsonPropertyName("total_items")]
public int TotalItems { get; set; }

[JsonProperty("page_number")]
[JsonPropertyName("page_number")]
public int PageNumber { get; set; }
[JsonProperty("page_number")]
[JsonPropertyName("page_number")]
public int PageNumber { get; set; }

[JsonProperty("page_size")]
[JsonPropertyName("page_size")]
public int PageSize { get; set; }
[JsonProperty("page_size")]
[JsonPropertyName("page_size")]
public int PageSize { get; set; }

[JsonProperty("total_pages")]
[JsonPropertyName("total_pages")]
public int TotalPages { get; set; }
}
}
[JsonProperty("total_pages")]
[JsonPropertyName("total_pages")]
public int TotalPages { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these all be made nullable int?

@jleon15 jleon15 merged commit 71f8179 into master Jan 16, 2024
1 check passed
@jleon15 jleon15 deleted the eng-5923-add-logs-cursor-pagination branch January 16, 2024 21:51
bt-platform-eng pushed a commit that referenced this pull request Jan 16, 2024
# [2.0.0](v1.53.2...v2.0.0) (2024-01-16)

* feat!: support logs cursor pagination (#234) ([71f8179](71f8179)), closes [#234](#234)

### BREAKING CHANGES

* logs API now uses cursor pagination instead of offset pagination
@bt-platform-eng
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants