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

TI API: error codes update #320

Open
FabrizioMoggio opened this issue Nov 11, 2024 · 1 comment
Open

TI API: error codes update #320

FabrizioMoggio opened this issue Nov 11, 2024 · 1 comment
Labels
correction Suggesting corrections of API specification or indicating misalignment with API design guidelines Fixed Traffic Influence API

Comments

@FabrizioMoggio
Copy link
Collaborator

FabrizioMoggio commented Nov 11, 2024

Problem description
the CAMARA Guidelines specify:
The Following Error codes must be present:

for POST: 400, 401, 403, 409, 415, 429, 500, 503
for GET: 400, 401, 403, 500, 503
for GET .../{subscriptionId}: 400, 401, 403, 404, 500, 503
for DELETE: 400, 401, 403, 404, 500, 503

In the TI API are missing:

for POST: 409, 415, 429
for GET: 400
for GET .../{subscriptionId}: 400
for DELETE: 400, 500,

Expected behavior
introduce the missing error codes

The error code template is here: https://github.com/camaraproject/Commonalities/blob/main/artifacts/CAMARA_common.yaml

@FabrizioMoggio FabrizioMoggio added Traffic Influence API correction Suggesting corrections of API specification or indicating misalignment with API design guidelines labels Nov 11, 2024
FabrizioMoggio added a commit to FabrizioMoggio/EdgeCloud that referenced this issue Nov 12, 2024
@FabrizioMoggio
Copy link
Collaborator Author

Fixed with: #315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correction Suggesting corrections of API specification or indicating misalignment with API design guidelines Fixed Traffic Influence API
Projects
None yet
Development

No branches or pull requests

1 participant