harbor-go-client icon indicating copy to clipboard operation
harbor-go-client copied to clipboard

[NOTE] The issue with API version

Open moooofly opened this issue 5 years ago • 0 comments

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 avatar Nov 02 '18 03:11 moooofly