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

Add GitProvider endpoint on product #225

Closed
Zorin95670 opened this issue Jun 6, 2022 · 0 comments
Closed

Add GitProvider endpoint on product #225

Zorin95670 opened this issue Jun 6, 2022 · 0 comments
Labels
Technical task Technical task to develop

Comments

@Zorin95670
Copy link
Member

Zorin95670 commented Jun 6, 2022

  • Add endpoint for GitProvider:
Endpoint Create new GitProvider
URL /product/[PRODUCT_ID]/gitprovider
Method POST
Body type JSON
Body GitProvider object without id
success status 201
Sucess Response generated Gitprovider
Authentication check Yes

Errors list:

  • 404 when unknown product id
  • 400 on missing url or path
  • 400 if GitProvider already exist on product
Endpoint Get GitProvider
URL /product/[PRODUCT_ID]/gitprovider/[GITPROVIDER_ID]
Method GET
success status 200
Sucess Response Gitprovider
Authentication check Yes

Errors list:

  • 404 when unknown GitProvider id
Endpoint Update GitProvider
URL /product/[PRODUCT_ID]/gitprovider/[GITPROVIDER_ID]
Method PUT
success status 204
Authentication check Yes

Errors list:

  • 404 when unknown GitProvider id
  • 400 on missing url or path
Endpoint Delete GitProvider
URL /product/[PRODUCT_ID]/gitprovider/[GITPROVIDER_ID]
Method DELETE
success status 204
Authentication check Yes

Errors list:

  • 404 when unknown GitProvider id

Links

Blocked by :

@Zorin95670 Zorin95670 added To be verified Issue need to be verified by mainteners Technical task Technical task to develop labels Jun 6, 2022
@Zorin95670 Zorin95670 changed the title [Draft] Add git provider endpoint on product Add git provider endpoint on product Jun 6, 2022
@Zorin95670 Zorin95670 removed the To be verified Issue need to be verified by mainteners label Jun 6, 2022
@Zorin95670 Zorin95670 changed the title Add git provider endpoint on product Add GitProvider endpoint on product Jun 6, 2022
@Mari0nV Mari0nV closed this as completed Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Technical task Technical task to develop
Projects
None yet
Development

No branches or pull requests

2 participants