Merged
Conversation
Aligns the design doc with the Docverse implementation, which uses an integer auto-increment primary key for the org_memberships table.
…ntials Replace UUID primary keys with integer auto-increment keys to match the convention used by the rest of the schema. Also fixes the organization_id FK type in the SQL example.
Expand the API conventions section with pagination details (cursor, limit, order, Link header, X-Total-Count). Add query parameter tables for projects, editions, and builds collection endpoints.
Add the q query parameter to GET /orgs/:org/projects that enables trigram-based fuzzy search across project slug and title using pg_trgm. Document the GIN trigram indexes on the projects table.
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.
Summary
Updates the SQR-112 design document to reflect recent Docverse API implementation work:
cursor,limit,order) and response headers (Link,X-Total-Count) for all collection endpointsqparameter) for project listing using PostgreSQLpg_trgmtrigram similarity, with GIN indexes onslugandtitlestatusfilter) and editions (withkindfilter)uploading→pending, adduploadedas a signal-only valueorg_membershipsandorganization_credentialsPKs from UUID to int auto-incrementCross-reference: lsst-sqre/docverse#138
Test plan