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

Introduce milkURLScheme.json #235

Merged
merged 9 commits into from
Aug 26, 2021
Merged

Conversation

cookeac
Copy link
Collaborator

@cookeac cookeac commented Aug 12, 2021

Separate URL scheme for ADE-1.2-milk messages, including GET, single POST, and batch POST.
I have not created POST API specs for some messages such as daily averages and lactations that are effectively summary or derived data. See if you agree.

Along with other PRs, this resolves #154

Renamed icarErrorResource to icarBatchResultMessage, and added icarBatchResultSeverityType enum.
Batch POSTS now always return an array of icarBatchResult, each of which may contain an array of icarErrorWarningMessageResource.

Single POSTs if successful return the posted object (ID filled in), otherwise they return an errors array of icarErrorWarningMessageResource.

Sorry for renaming the file, but it helped to clarify its purpose.
Renamed icarErrorWarningMessage Resource to icarResponseMessageResource based on feedback to PR adewg#232
Create registrationURLScheme.json, which adds GET, single POST, and **batch** POST methods for animals, births, deaths, arrivals, and departures.
Moved milking related observations and resources into an OpenAPI file for the ADE-milk label. Covers milking visits, test days and test day results,  lactation status observations, and summaries for daily milking averages and lactations. Resolves adewg#154
Corrected title and description for the scheme, and parameters for GET lactations.
@cookeac cookeac changed the base branch from ADE-1 to Develop August 12, 2021 00:28
@cookeac cookeac requested review from ahokkonen, alamers and AndreasSchultzGEA and removed request for AndreasSchultzGEA August 18, 2021 05:32
Copy link
Collaborator

@erwinspeybroeck erwinspeybroeck left a comment

Choose a reason for hiding this comment

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

ok for me, no remarks

@erwinspeybroeck erwinspeybroeck merged commit 47f7888 into adewg:Develop Aug 26, 2021
@cookeac cookeac deleted the cookeac-milk branch August 27, 2021 06:11
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.

Semantics for POST method
3 participants