Skip to content

Add Insights logs opt-in to registry create - #1323

Open
rohinsuri wants to merge 1 commit into
mainfrom
rsuri/registry-insights-opt-in
Open

rohinsuri wants to merge 1 commit into
mainfrom
rsuri/registry-insights-opt-in

Conversation

@rohinsuri

@rohinsuri rohinsuri commented Nov 13, 2026 •

Copy link
Copy Markdown

Summary

  • Jira: https://do-internal.atlassian.net/browse/DOCR-2560
  • Add a write-only insights object to both registry create models (POST /v2/registry and POST /v2/registries).
  • logs: true opts the registry in. Omitting insights or logs, and logs: false, create the registry with logs not enabled.

Test plan

  • insights references insights_opt_in.yml on registry_create.yml and multiregistry_create.yml, and is not required
  • insights_opt_in.yml is writeOnly, and logs is a boolean with an example
  • registry.yml, registry_base.yml, and multiregistry.yml have no insights property; the 201 responses use those models
  • make lint (Spectral). CI job "Validate spec" passed: https://github.com/digitalocean/openapi/actions/runs/43408515378/job/131828755538

@rohinsuri
rohinsuri marked this pull request as ready for review November 13, 2026 10:51

This branch has not been deployed

No deployments
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