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

[NOTE] The issue with API version #27

Open
moooofly opened this issue Nov 2, 2018 · 0 comments
Open

[NOTE] The issue with API version #27

moooofly opened this issue Nov 2, 2018 · 0 comments
Assignees
Labels
note markdown some conclusions

Comments

@moooofly
Copy link
Owner

moooofly commented Nov 2, 2018

STATUS

  • harbor-go-client is developed based on harbor v1.5.0 (API version 1.4.0), so it should be compatible with harbor v1.5.0 and below.
  • harborctl (WIP) is developed based on harbor v1.6.0 (API version 1.6.0), so it may be incompatible with harbor v1.5.0 and below.

Below is the relationship between harbor version and API version in swagger file

Harbor v1.6.0

ref: https://github.com/goharbor/harbor/blob/v1.6.0/docs/swagger.yaml

swagger: '2.0'
info:
  title: Harbor API
  description: These APIs provide services for manipulating Harbor project.
  version: 1.6.0

Harbor v1.5.4

ref: https://github.com/goharbor/harbor/blob/v1.5.4/docs/swagger.yaml

swagger: '2.0'
info:
  title: Harbor API
  description: These APIs provide services for manipulating Harbor project.
  version: 1.4.0

Harbor v1.5.0

ref: https://github.com/goharbor/harbor/blob/v1.5.0/docs/swagger.yaml

swagger: '2.0'
info:
  title: Harbor API
  description: These APIs provide services for manipulating Harbor project.
  version: 1.4.0

Harbor v1.4.0

ref: https://github.com/goharbor/harbor/blob/v1.4.0/docs/swagger.yaml

swagger: '2.0'
info:
  title: Harbor API
  description: These APIs provide services for manipulating Harbor project.
  version: 1.4.0

Harbor v1.3.0

ref: https://github.com/goharbor/harbor/blob/v1.3.0/docs/swagger.yaml

swagger: '2.0'
info:
  title: Harbor API
  description: These APIs provide services for manipulating Harbor project.
  version: 0.3.0

Harbor v1.2.2

ref: https://github.com/goharbor/harbor/blob/v1.2.2/docs/swagger.yaml

swagger: '2.0'
info:
  title: Harbor API
  description: These APIs provide services for manipulating Harbor project.
  version: 0.3.0
@moooofly moooofly added the note markdown some conclusions label Nov 2, 2018
@moooofly moooofly self-assigned this Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
note markdown some conclusions
Projects
None yet
Development

No branches or pull requests

1 participant