Skip to content

Add public and private profile endpoints#588

Open
Miner28 wants to merge 4 commits into
mainfrom
codex/add-profile-endpoints
Open

Add public and private profile endpoints#588
Miner28 wants to merge 4 commits into
mainfrom
codex/add-profile-endpoints

Conversation

@Miner28

@Miner28 Miner28 commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds dedicated “public profile” and “private profile” API endpoints to the OpenAPI spec, along with new/updated schemas to model the data returned by these endpoints.

Changes:

  • Added /profile/{userId} and /profile/{userId}/private paths and wired them into the top-level paths.yaml.
  • Introduced new profile schemas (PublicProfile, PrivateProfile, PrivateProfileActivity, ProfileRepresentedGroup) and corresponding response components.
  • Extended existing user-related schemas (User, LimitedUserSearch, Badge) with additional profile/badge fields.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
openapi/components/schemas/User.yaml Adds additional profile-related fields to the User schema.
openapi/components/schemas/PublicProfile.yaml New schema describing the public profile payload.
openapi/components/schemas/ProfileRepresentedGroup.yaml New schema for the represented group embedded in a profile.
openapi/components/schemas/PrivateProfileActivity.yaml New schema for private activity/location fields.
openapi/components/schemas/PrivateProfile.yaml New schema describing the authenticated user’s view of a profile.
openapi/components/schemas/LimitedUserSearch.yaml Adds additional profile-related fields to search results.
openapi/components/schemas/Badge.yaml Adds isQuantifiable flag to Badge schema.
openapi/components/responses/users/PublicProfileResponse.yaml New response component referencing PublicProfile.
openapi/components/responses/users/PrivateProfileResponse.yaml New response component referencing PrivateProfile.
openapi/components/paths/users.yaml Adds the two new profile endpoints under the users tag.
openapi/components/paths.yaml Registers the new profile routes in the global paths index.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread openapi/components/paths/users.yaml
Comment thread openapi/components/schemas/ProfileRepresentedGroup.yaml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants