-
Notifications
You must be signed in to change notification settings - Fork 40
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
(BSR) docs: Add deprecation warning for beginningDatetime field in co… #15850
base: master
Are you sure you want to change the base?
Conversation
…llective public api
Visit the preview URL for this PR (updated for commit b214143): https://pc-pro-testing--pr15850-public-api-beginning-oxskva96.web.app (expires Thu, 16 Jan 2025 10:57:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 032d233ee67e1c50d6af12e29c936c7076770eb1 |
- [**Get Collective Offer endpoint**](/rest-api#tag/Collective-Offers/operation/GetCollectiveOfferPublic) | ||
- [**Get Collective Offers endpoint**](/rest-api#tag/Collective-Offers/operation/GetCollectiveOffersPublic) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il y a deux fois l'endoint Get Collective Offer endpoint, c'est normal ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il y a Offer (récupérer une offre) et Offers (toutes les offres)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci ! Sorry j'ai lu trop vite
|
||
Please use the `startDatetime` and `endDatetime` fields instead. | ||
|
||
The `startDatetime` field will be required when creating a collective offer and its value will be copied to `endDatetime` if `endDatetime` is not provided. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super ! Est-ce qu'on ne mentionnerait pas ça aussi directement dans la description du champ dans la doc openapi ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je pense pas qu'il faille mettre ça dans la doc actuelle du champ, on pourrait s'emmêler et penser que cette logique s'applique dès maintenant non ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, donc on se note de l'ajouter dans la PR qui supprime beginningDatetime de l'API ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes je l'ai mis dans l'autre PR -> #15840
…llective public api
But de la pull request
Ticket Jira (ou description si BSR) : https://passculture.atlassian.net/browse/PC-33977
Vérifications