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

API Request : Build an endpoint that validates and enhances a given test #1480

Open
sartaj10 opened this issue Oct 13, 2024 · 0 comments
Open
Assignees

Comments

@sartaj10
Copy link

sartaj10 commented Oct 13, 2024

For pSCompose, request to build an API endpoint that once a user fills out a form to add a given test, the endpoint takes in that data, validates it and enhances it by appending a minimum schema version for the same.

For example, user fills in data as follows

{
    "src": "abc",
    "dst": "xyz",
    "link-rtt": 1.234
}

Upon giving this data to the endpoint, it will validate this and append a schema version to this and return the output

{
    "src": "abc",
    "dst": "xyz",
    "link-rtt": 1.234,
    "schema": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

2 participants