Skip to content

docs: align Apply organization quota status to 200 OK#5190

Merged
philippthun merged 1 commit into
cloudfoundry:mainfrom
norman-abramovitz:docs/org-quota-apply-status-200
Jun 16, 2026
Merged

docs: align Apply organization quota status to 200 OK#5190
philippthun merged 1 commit into
cloudfoundry:mainfrom
norman-abramovitz:docs/org-quota-apply-status-200

Conversation

@norman-abramovitz

Copy link
Copy Markdown
Contributor

The "Apply an organization quota to an organization" endpoint
(POST /v3/organization_quotas/:quota_guid/relationships/organizations)
documents 201 Created, but the controller renders status: :ok (200) via
ToManyRelationshipPresenter (organization_quotas_controller.rb, apply action).

This is the same class of mismatch as the roles/users fixes in #5185, and the
cf-openapi spec already documents 200 here. Docs-only, one line.

I have read and signed the Contributor License Agreement — [x]

The 'Apply an organization quota to an organization' endpoint
(POST /v3/organization_quotas/:quota_guid/relationships/organizations)
documents '201 Created', but the controller renders 'status: :ok' (200)
via ToManyRelationshipPresenter. This mirrors the roles/users fixes in
PR cloudfoundry#5185 and the cf-openapi spec, which already document 200 here.
@philippthun philippthun merged commit 3621034 into cloudfoundry:main Jun 16, 2026
6 checks passed
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Jun 16, 2026
Changes in cloud_controller_ng:

- docs: align Apply organization quota status to 200 OK
    PR: cloudfoundry/cloud_controller_ng#5190
    Author: Norman Abramovitz <norman-abramovitz@users.noreply.github.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.

2 participants