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

Mock API - business implementation #29

Open
onthebreeze opened this issue Jul 6, 2022 · 0 comments
Open

Mock API - business implementation #29

onthebreeze opened this issue Jul 6, 2022 · 0 comments
Assignees

Comments

@onthebreeze
Copy link
Contributor

APi specification has been updated https://jargon.sh/redoc.html?url=/user/unece/traceabilityEvents/v/working/artefacts/openapi/render.json. Notable changes are

  • to remove the traceability graph structure and replace with a simple GET collection on the Events abstract type (implemented as Open API Any-of the four concrete event types.). Also added filter parameters and pagination to this API

  • please implement all methods in a simple stateful mock that allows POST/PUT/GET of individual events and the GET collection query over any posted events that match filter conditions. The GET collection will, in future, need to be more carefully scoped to avoid returning sensitive data.

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

No branches or pull requests

2 participants