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

Safety Data involved/ API returns duplicated entries with wrong road segments #2778

Open
ziv17 opened this issue Feb 20, 2025 · 1 comment · May be fixed by #2779
Open

Safety Data involved/ API returns duplicated entries with wrong road segments #2778

ziv17 opened this issue Feb 20, 2025 · 1 comment · May be fixed by #2779
Assignees

Comments

@ziv17
Copy link
Collaborator

ziv17 commented Feb 20, 2025

  1. Fix road segment
  2. Support pagination in a similar manner as done in news flash API.
@ziv17 ziv17 self-assigned this Feb 20, 2025
@ziv17
Copy link
Collaborator Author

ziv17 commented Feb 20, 2025

Hi @atalyaalon @citizen-dror ,
For the involved/ query pagination,

  1. We will add two non-mandatory parameters:
    • page_number, default: 0.
    • page_size, default: 8192
  2. We will change the structure of the result:
{
  "data": [ {...}, {...}, ...],
  "pagination": {
    "page_number": <number>,
    "page_size": <number>
  }
}

What do you think?

@ziv17 ziv17 linked a pull request Feb 26, 2025 that will close this issue
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 a pull request may close this issue.

1 participant