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

Feature/enforcement api check parking add details parameter #26

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

juuso-j
Copy link
Collaborator

@juuso-j juuso-j commented Oct 24, 2024

Add details parameter to enforcement API

Description

Returns operator, time_start for allowed parking and all permission for the registration number in check_parking endpoint.
Trello


Breakdown:

Files changed

  1. docs/api/enforcement.yaml
    • Add information about details parameter.
  2. parkings/api/enforcement/check_parking.py
    • Add details parameter, that returns time_start, operator of the allowed parking and all the permission for the registration number.
  3. parkings/tests/api/enforcement/test_check_parking.py
    • Test details parameter.

@juuso-j juuso-j added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 24, 2024
@juuso-j juuso-j requested a review from SanttuA October 24, 2024 07:56
@juuso-j juuso-j self-assigned this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants