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

Updates /register and /report API return status codes description #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

navidshaikh
Copy link

This patchset updates /register and /report APIs return status code
descriptions.

  This patchset updates /register and /report APIs return status code
  descriptions.
@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

2 similar comments
@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Author

@navidshaikh navidshaikh left a 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
Copy link
Author

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':
Copy link
Author

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 ?

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.

2 participants