Repository navigation
CP-8788: Document the Field Visibility endpoints - #130
Merged
Merged
Conversation
Adds GET, PATCH and PUT /field_visibility_rules to openapi.yaml under a new Field Visibility tag, with a matching section of endpoint cards and a nav link on the docs page. CP-8788. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xob9JFU7VBHYg7vQnM
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Field Visibility hides a field from some users: list it with restricted: true and a null value, null hidden built-in fields and name them in restricted_fields, and refuse a write to a hidden field with 422. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xob9JFU7VBHYg7vQnM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xob9JFU7VBHYg7vQnM
mattkepple
marked this pull request as ready for review
November 4, 2026 15:57
Contributor
Author
|
Merged into The endpoints documented here reach production with the next Rails release. Generated by Claude Code |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira: https://makerble.atlassian.net/browse/CP-8788
Rails PR: https://github.com/MakerbleDev/makerble/pull/17341
This PR documents the new endpoints:
openapi.yaml: a new Field Visibility tag, plusGET,PATCHandPUT /field_visibility_rules. They usesecurity: [{tokenAuth: []}], the sharedPage/PerPageparameters and theUnauthorized/NotFound/UnprocessableEntityresponses, with request and response examples. The descriptions are in front-end terms.LastSyncDatetimeis left out on purpose: a field returned to default has no record to sync.server.js: a Field Visibility section with endpoint cards and a nav link. No styles,<head>or assets are touched.Release timing: the docs are pre-launch, so this can merge once it's been reviewed, without waiting for the Rails PR to reach production.
Checks:
npm run checkpasses. I parsed the new path with js-yaml. Strict parsing of the whole file fails on a duplicate"422"key that is already onmain(around line 8487), not in this change.Generated by Claude Code