Skip to content

Update Quay API spec from quay.enthought.com#51

Open
dpinte wants to merge 2 commits intomainfrom
update-quay-api-from-enthought
Open

Update Quay API spec from quay.enthought.com#51
dpinte wants to merge 2 commits intomainfrom
update-quay-api-from-enthought

Conversation

@dpinte
Copy link
Member

@dpinte dpinte commented Jan 16, 2026

Summary

This PR updates the Quay API specification from quay.enthought.com and regenerates the Go client.

Changes

New endpoints added:

  • /api/v1/organization/{orgname}/robots/{robot_shortname}/federation
  • /api/v1/superuser/config
  • /api/v1/superuser/users/{username}

Breaking API changes (from upstream Quay):

  • NewOrg: email field is now optional (was required)
  • UpdateOrg: email field removed (cannot update org email via API anymore)

Provider updates:

  • organization_resource: email is now optional when creating organizations
  • organization_resource: attempting to update email now shows a warning explaining the API limitation

Note

This PR depends on #50 which adds the make update-quay-api-spec target used to generate this update.

Test plan

  • Run go build . to verify the provider builds
  • Run acceptance tests with make testacc
  • Verify organization create works with and without email
  • Verify organization name update still works
  • Verify email update shows appropriate warning

🤖 Generated with Claude Code

dpinte and others added 2 commits January 16, 2026 14:12
Add `update-quay-api-spec` Makefile target that fetches the Swagger 2.0
spec from a Quay instance, converts it to OpenAPI 3.0.1 using
swagger-converter, and removes unused OAuth2 security definitions.

This documents and automates the previously undocumented process for
obtaining and updating code_generator/quay_api.json.

Closes #43

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update the OpenAPI spec and regenerate the Go client from
quay.enthought.com. This brings in API changes and adds 3 new endpoints:
- /api/v1/organization/{orgname}/robots/{robot_shortname}/federation
- /api/v1/superuser/config
- /api/v1/superuser/users/{username}

Breaking changes in the Quay API:
- NewOrg: email field is now optional (was required)
- UpdateOrg: email field removed (cannot update org email via API)

Provider changes:
- organization_resource: email is now optional when creating orgs
- organization_resource: email updates show a warning (API limitation)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant