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

Add date range query to cyberstorm API #1043

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Oksamies
Copy link
Contributor

/api/cyberstorm/listing/{community-id}/ now supports the query parameters updated_before, updated_after, created_before, and created_after.

/api/cyberstorm/listing/{community-id}/ now supports the query parameters updated_before, updated_after, created_before, and created_after.
assert result["count"] == 2

response = api_client.get(
f"/api/cyberstorm/listing/{community.identifier}/??updated_recent=999",
Copy link

Choose a reason for hiding this comment

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

There's a typo in the URL - it contains two question marks (??) instead of one. The correct URL should be:

f"/api/cyberstorm/listing/{community.identifier}/?updated_recent=999"

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

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.

3 participants