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

docs(api): Updates API changlog #4745

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ERosendo
Copy link
Contributor

This PR closes #4678 by updating the REST API changelog template to reflect all changes made during the recent sprint cycle.

image

Note: This PR should be merged once all sub-issues related to #4678 are resolved.

@ERosendo ERosendo force-pushed the 4678-update-rest-api-changlog branch from 1bf2a05 to cb0280e Compare November 27, 2024 05:15
@ERosendo ERosendo marked this pull request as ready for review November 27, 2024 05:16
Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

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

I think we can do a bit more here:

  • Include links to the PRs and issues.
  • Update the API pages to say v4.1 instead of v4.0.
  • Link to the documentation for each feature from the release notes.

I think it's also worth separating the many enhancements into a bulleted list or something. It's a bit tricky to realize that the various sentences are orthogonal to each other.

@ERosendo
Copy link
Contributor Author

@mlissner I've applied your suggestions, and here's the updated v4.1 section:

image

Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

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

Looks close.

The ordering comment isn't quite right though. The order_by parameter wasn't added, just additional fields to use with it:

https://github.com/freelawproject/courtlistener/pull/4700/files#diff-a77be2c717f6c4b90d77faee73d82d017d6d7fbf2637d3e6d3d0b8891f11356a

A couple little tweaks too. It's important to get this right so that we can advertise all the little enhancements.

Thank you!

(<a href="https://github.com/freelawproject/courtlistener/issues/4061">Issue #4061</a>, <a
href="https://github.com/freelawproject/courtlistener/pull/4700">PR #4700</a>).
</li>
<li><strong>Deeper Filtering for Parties and Attorneys:</strong> The <a href="{% url "pacer_api_help" %}#party-endpoint">parties</a> and <a href="{% url "pacer_api_help" %}#attorney-endpoint">attorneys</a> API endpoint has been upgraded with the filter_nested_results=True query parameter. This enables granular filtering of nested data, providing more control over the retrieved information.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<li><strong>Deeper Filtering for Parties and Attorneys:</strong> The <a href="{% url "pacer_api_help" %}#party-endpoint">parties</a> and <a href="{% url "pacer_api_help" %}#attorney-endpoint">attorneys</a> API endpoint has been upgraded with the filter_nested_results=True query parameter. This enables granular filtering of nested data, providing more control over the retrieved information.
<li><strong>Deeper Filtering for Parties and Attorneys:</strong> The <a href="{% url "pacer_api_help" %}#party-endpoint">parties</a> and <a href="{% url "pacer_api_help" %}#attorney-endpoint">attorneys</a> API endpoint has been upgraded with the <code>filter_nested_results=True</code> query parameter. This enables granular filtering of nested data, providing more control over the retrieved information.

@@ -24,7 +24,7 @@ <h4 class="v-offset-below-2">
{% include "includes/toc_sidebar.html" %}
</div>
<div class="col-xs-12 col-md-8 col-lg-6">
<h1 id="about">REST API &ndash; v4.0</h1>
<h1 id="about">REST API &ndash; v4.1</h1>
Copy link
Member

Choose a reason for hiding this comment

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

Let's catch this in the HTML title too.

@mlissner mlissner assigned ERosendo and unassigned mlissner Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

Successfully merging this pull request may close these issues.

Release 4.1 of API and v2 of webhooks
2 participants