-
Notifications
You must be signed in to change notification settings - Fork 26
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
Updates /register and /report API return status codes description #93
base: master
Are you sure you want to change the base?
Updates /register and /report API return status codes description #93
Conversation
This patchset updates /register and /report APIs return status code descriptions.
Can one of the admins verify this patch? |
2 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
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.
@abs51295 @samuzzal-choudhury : I have asked few queries, at places where I need to add changes.
@@ -47,15 +47,15 @@ paths: | |||
'200': | |||
schema: | |||
$ref: "#/definitions/RegisterResponse" | |||
description: Repository registered | |||
description: Git repository is registered for scan at Gemini API server. | |||
'400': | |||
description: Bad request from the client |
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.
@abs51295 @samuzzal-choudhury : Why do we have 400 for /register
API call?
'400': | ||
description: Bad request from the client | ||
'401': | ||
description: Request unauthorized | ||
description: Unauthorized request from the client. Kindly if check access token is valid or expired. | ||
'404': |
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.
What does 404 mean for /register
API call ?
This patchset updates /register and /report APIs return status code
descriptions.