GitHub · Capability

GitHub User API — Authenticated

GitHub User API — Authenticated. 50 operations. Lead operation: GitHub Get the Authenticated User. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubAuthenticated

What You Can Do

GET
Gettheauthenticateduser — GitHub Get the Authenticated User
/v1/user
PATCH
Updatetheauthenticateduser — GitHub Update the Authenticated User
/v1/user
GET
Listemailaddressesfortheauthenticateduser — GitHub List Email Addresses for the Authenticated User
/v1/user/emails
POST
Addanemailaddressfortheauthenticateduser — GitHub Add an Email Address for the Authenticated User
/v1/user/emails
DELETE
Deleteanemailaddressfortheauthenticateduser — GitHub Delete an Email Address for the Authenticated User
/v1/user/emails
GET
Listfollowersoftheauthenticateduser — GitHub List Followers of the Authenticated User
/v1/user/followers
GET
Listthepeopletheauthenticateduserfollows — GitHub List the People the Authenticated User Follows
/v1/user/following
GET
Checkifpersonisfollowedbytheauthenticateduser — GitHub Check if Person is Followed by the Authenticated User
/v1/user/following/{username}
GET
Listgpgkeysfortheauthenticateduser — GitHub List Gpg Keys for the Authenticated User
/v1/user/gpg-keys
POST
Creategpgkeyfortheauthenticateduser — GitHub Create Gpg Key for the Authenticated User
/v1/user/gpg-keys
GET
Getgpgkeyfortheauthenticateduser — GitHub Get Gpg Key for the Authenticated User
/v1/user/gpg-keys/{gpg-key-id}
DELETE
Deletegpgkeyfortheauthenticateduser — GitHub Delete Gpg Key for the Authenticated User
/v1/user/gpg-keys/{gpg-key-id}
GET
Listuseraccountissuesassignedtotheauthenticateduser — GitHub List User Account Issues Assigned to the Authenticated User
/v1/user/issues
GET
Listpublicsshkeysfortheauthenticateduser — GitHub List Public Ssh Keys for the Authenticated User
/v1/user/keys
POST
Createpublicsshkeyfortheauthenticateduser — GitHub Create Public Ssh Key for the Authenticated User
/v1/user/keys
GET
Getpublicsshkeyfortheauthenticateduser — GitHub Get Public Ssh Key for the Authenticated User
/v1/user/keys/{key-id}
DELETE
Deletepublicsshkeyfortheauthenticateduser — GitHub Delete Public Ssh Key for the Authenticated User
/v1/user/keys/{key-id}
GET
Listorganizationmembershipsfortheauthenticateduser — GitHub List Organization Memberships for the Authenticated User
/v1/user/memberships/orgs
GET
Getanorganizationmembershipfortheauthenticateduser — GitHub Get an Organization Membership for the Authenticated User
/v1/user/memberships/orgs/{org}
PATCH
Updateanorganizationmembershipfortheauthenticateduser — GitHub Update an Organization Membership for the Authenticated User
/v1/user/memberships/orgs/{org}
GET
Listorganizationsfortheauthenticateduser — GitHub List Organizations for the Authenticated User
/v1/user/orgs
GET
Listpackagesfortheauthenticatedusersnamespace — GitHub List Packages for the Authenticated User's Namespace
/v1/user/packages
GET
Getpackagefortheauthenticateduser — GitHub Get Package for the Authenticated User
/v1/user/packages/{package-type}/{package-name}
DELETE
Deletepackagefortheauthenticateduser — GitHub Delete Package for the Authenticated User
/v1/user/packages/{package-type}/{package-name}
POST
Restorepackagefortheauthenticateduser — GitHub Restore Package for the Authenticated User
/v1/user/packages/{package-type}/{package-name}/restore
GET
Listpackageversionsforpackageownedbytheauthenticateduser — GitHub List Package Versions for Package Owned by the Authenticated User
/v1/user/packages/{package-type}/{package-name}/versions
GET
Getpackageversionfortheauthenticateduser — GitHub Get Package Version for the Authenticated User
/v1/user/packages/{package-type}/{package-name}/versions/{package-version-id}
DELETE
Deletepackageversionfortheauthenticateduser — GitHub Delete Package Version for the Authenticated User
/v1/user/packages/{package-type}/{package-name}/versions/{package-version-id}
POST
Restorepackageversionfortheauthenticateduser — GitHub Restore Package Version for the Authenticated User
/v1/user/packages/{package-type}/{package-name}/versions/{package-version-id}/restore
GET
Listpublicemailaddressesfortheauthenticateduser — GitHub List Public Email Addresses for the Authenticated User
/v1/user/public-emails
GET
Listrepositoriesfortheauthenticateduser — GitHub List Repositories for the Authenticated User
/v1/user/repos
POST
Createrepositoryfortheauthenticateduser — GitHub Create Repository for the Authenticated User
/v1/user/repos
GET
Listrepositoryinvitationsfortheauthenticateduser — GitHub List Repository Invitations for the Authenticated User
/v1/user/repository-invitations
GET
Listsocialaccountsfortheauthenticateduser — GitHub List Social Accounts for the Authenticated User
/v1/user/social-accounts
POST
Addsocialaccountsfortheauthenticateduser — GitHub Add Social Accounts for the Authenticated User
/v1/user/social-accounts
DELETE
Deletesocialaccountsfortheauthenticateduser — GitHub Delete Social Accounts for the Authenticated User
/v1/user/social-accounts
GET
Listsshsigningkeysfortheauthenticateduser — GitHub List Ssh Signing Keys for the Authenticated User
/v1/user/ssh-signing-keys
POST
Createsshsigningkeyfortheauthenticateduser — GitHub Create Ssh Signing Key for the Authenticated User
/v1/user/ssh-signing-keys
GET
Getansshsigningkeyfortheauthenticateduser — GitHub Get an Ssh Signing Key for the Authenticated User
/v1/user/ssh-signing-keys/{ssh-signing-key-id}
DELETE
Deleteansshsigningkeyfortheauthenticateduser — GitHub Delete an Ssh Signing Key for the Authenticated User
/v1/user/ssh-signing-keys/{ssh-signing-key-id}
GET
Listrepositoriesstarredbytheauthenticateduser — GitHub List Repositories Starred by the Authenticated User
/v1/user/starred
GET
Checkifrepositoryisstarredbytheauthenticateduser — GitHub Check if Repository is Starred by the Authenticated User
/v1/user/starred/{owner}/{repo}
PUT
Starrepositoryfortheauthenticateduser — GitHub Star Repository for the Authenticated User
/v1/user/starred/{owner}/{repo}
DELETE
Unstarrepositoryfortheauthenticateduser — GitHub Unstar Repository for the Authenticated User
/v1/user/starred/{owner}/{repo}
GET
Listrepositorieswatchedbytheauthenticateduser — GitHub List Repositories Watched by the Authenticated User
/v1/user/subscriptions
GET
Listteamsfortheauthenticateduser — GitHub List Teams for the Authenticated User
/v1/user/teams
GET
Listeventsfortheauthenticateduser — GitHub List Events for the Authenticated User
/v1/users/{username}/events
GET
Listorganizationeventsfortheauthenticateduser — GitHub List Organization Events for the Authenticated User
/v1/users/{username}/events/orgs/{org}
GET
Getuserinstallationfortheauthenticatedapp — GitHub Get User Installation for the Authenticated App
/v1/users/{username}/installation
GET
Listeventsreceivedbytheauthenticateduser — GitHub List Events Received by the Authenticated User
/v1/users/{username}/received-events

MCP Tools

github-get-authenticated-user

GitHub Get the Authenticated User

read-only idempotent
github-update-authenticated-user

GitHub Update the Authenticated User

idempotent
github-list-email-addresses-authenticated

GitHub List Email Addresses for the Authenticated User

read-only idempotent
github-add-email-address-authenticated

GitHub Add an Email Address for the Authenticated User

github-delete-email-address-authenticated

GitHub Delete an Email Address for the Authenticated User

idempotent
github-list-followers-authenticated-user

GitHub List Followers of the Authenticated User

read-only idempotent
github-list-people-authenticated-user

GitHub List the People the Authenticated User Follows

read-only idempotent
github-check-if-person-is

GitHub Check if Person is Followed by the Authenticated User

read-only idempotent
github-list-gpg-keys-authenticated

GitHub List Gpg Keys for the Authenticated User

read-only idempotent
github-create-gpg-key-authenticated

GitHub Create Gpg Key for the Authenticated User

github-get-gpg-key-authenticated

GitHub Get Gpg Key for the Authenticated User

read-only idempotent
github-delete-gpg-key-authenticated

GitHub Delete Gpg Key for the Authenticated User

idempotent
github-list-user-account-issues

GitHub List User Account Issues Assigned to the Authenticated User

read-only idempotent
github-list-public-ssh-keys

GitHub List Public Ssh Keys for the Authenticated User

read-only idempotent
github-create-public-ssh-key

GitHub Create Public Ssh Key for the Authenticated User

github-get-public-ssh-key

GitHub Get Public Ssh Key for the Authenticated User

read-only idempotent
github-delete-public-ssh-key

GitHub Delete Public Ssh Key for the Authenticated User

idempotent
github-list-organization-memberships-authenticated

GitHub List Organization Memberships for the Authenticated User

read-only idempotent
github-get-organization-membership-authenticated

GitHub Get an Organization Membership for the Authenticated User

read-only idempotent
github-update-organization-membership-authenticated

GitHub Update an Organization Membership for the Authenticated User

idempotent
github-list-organizations-authenticated-user

GitHub List Organizations for the Authenticated User

read-only idempotent
github-list-packages-authenticated-user-s

GitHub List Packages for the Authenticated User's Namespace

read-only idempotent
github-get-package-authenticated-user

GitHub Get Package for the Authenticated User

read-only idempotent
github-delete-package-authenticated-user

GitHub Delete Package for the Authenticated User

idempotent
github-restore-package-authenticated-user

GitHub Restore Package for the Authenticated User

github-list-package-versions-package

GitHub List Package Versions for Package Owned by the Authenticated User

read-only idempotent
github-get-package-version-authenticated

GitHub Get Package Version for the Authenticated User

read-only idempotent
github-delete-package-version-authenticated

GitHub Delete Package Version for the Authenticated User

idempotent
github-restore-package-version-authenticated

GitHub Restore Package Version for the Authenticated User

github-list-public-email-addresses

GitHub List Public Email Addresses for the Authenticated User

read-only idempotent
github-list-repositories-authenticated-user

GitHub List Repositories for the Authenticated User

read-only idempotent
github-create-repository-authenticated-user

GitHub Create Repository for the Authenticated User

github-list-repository-invitations-authenticated

GitHub List Repository Invitations for the Authenticated User

read-only idempotent
github-list-social-accounts-authenticated

GitHub List Social Accounts for the Authenticated User

read-only idempotent
github-add-social-accounts-authenticated

GitHub Add Social Accounts for the Authenticated User

github-delete-social-accounts-authenticated

GitHub Delete Social Accounts for the Authenticated User

idempotent
github-list-ssh-signing-keys

GitHub List Ssh Signing Keys for the Authenticated User

read-only idempotent
github-create-ssh-signing-key

GitHub Create Ssh Signing Key for the Authenticated User

github-get-ssh-signing-key

GitHub Get an Ssh Signing Key for the Authenticated User

read-only idempotent
github-delete-ssh-signing-key

GitHub Delete an Ssh Signing Key for the Authenticated User

idempotent
github-list-repositories-starred-authenticated

GitHub List Repositories Starred by the Authenticated User

read-only idempotent
github-check-if-repository-is

GitHub Check if Repository is Starred by the Authenticated User

read-only idempotent
github-star-repository-authenticated-user

GitHub Star Repository for the Authenticated User

idempotent
github-unstar-repository-authenticated-user

GitHub Unstar Repository for the Authenticated User

idempotent
github-list-repositories-watched-authenticated

GitHub List Repositories Watched by the Authenticated User

read-only idempotent
github-list-teams-authenticated-user

GitHub List Teams for the Authenticated User

read-only idempotent
github-list-events-authenticated-user

GitHub List Events for the Authenticated User

read-only idempotent
github-list-organization-events-authenticated

GitHub List Organization Events for the Authenticated User

read-only idempotent
github-get-user-installation-authenticated

GitHub Get User Installation for the Authenticated App

read-only idempotent
github-list-events-received-authenticated

GitHub List Events Received by the Authenticated User

read-only idempotent

Capability Spec

users-authenticated.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub User API — Authenticated
  description: 'GitHub User API — Authenticated. 50 operations. Lead operation: GitHub Get the Authenticated User. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Authenticated
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: users-authenticated
    baseUri: ''
    description: GitHub User API — Authenticated business capability. Self-contained, no shared references.
    resources:
    - name: user
      path: /user
      operations:
      - name: gettheauthenticateduser
        method: GET
        description: GitHub Get the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: updatetheauthenticateduser
        method: PATCH
        description: GitHub Update the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-emails
      path: /user/emails
      operations:
      - name: listemailaddressesfortheauthenticateduser
        method: GET
        description: GitHub List Email Addresses for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: addanemailaddressfortheauthenticateduser
        method: POST
        description: GitHub Add an Email Address for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteanemailaddressfortheauthenticateduser
        method: DELETE
        description: GitHub Delete an Email Address for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-followers
      path: /user/followers
      operations:
      - name: listfollowersoftheauthenticateduser
        method: GET
        description: GitHub List Followers of the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-following
      path: /user/following
      operations:
      - name: listthepeopletheauthenticateduserfollows
        method: GET
        description: GitHub List the People the Authenticated User Follows
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-following-username
      path: /user/following/{username}
      operations:
      - name: checkifpersonisfollowedbytheauthenticateduser
        method: GET
        description: GitHub Check if Person is Followed by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-gpg_keys
      path: /user/gpg_keys
      operations:
      - name: listgpgkeysfortheauthenticateduser
        method: GET
        description: GitHub List Gpg Keys for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: creategpgkeyfortheauthenticateduser
        method: POST
        description: GitHub Create Gpg Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-gpg_keys-gpg_key_id
      path: /user/gpg_keys/{gpg_key_id}
      operations:
      - name: getgpgkeyfortheauthenticateduser
        method: GET
        description: GitHub Get Gpg Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deletegpgkeyfortheauthenticateduser
        method: DELETE
        description: GitHub Delete Gpg Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-issues
      path: /user/issues
      operations:
      - name: listuseraccountissuesassignedtotheauthenticateduser
        method: GET
        description: GitHub List User Account Issues Assigned to the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means
            issues created by you. `mentioned` means issues mentioning y
        - name: state
          in: query
          type: string
          description: Indicates the state of the issues to return.
        - name: sort
          in: query
          type: string
          description: What to sort results by.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-keys
      path: /user/keys
      operations:
      - name: listpublicsshkeysfortheauthenticateduser
        method: GET
        description: GitHub List Public Ssh Keys for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createpublicsshkeyfortheauthenticateduser
        method: POST
        description: GitHub Create Public Ssh Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-keys-key_id
      path: /user/keys/{key_id}
      operations:
      - name: getpublicsshkeyfortheauthenticateduser
        method: GET
        description: GitHub Get Public Ssh Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deletepublicsshkeyfortheauthenticateduser
        method: DELETE
        description: GitHub Delete Public Ssh Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-memberships-orgs
      path: /user/memberships/orgs
      operations:
      - name: listorganizationmembershipsfortheauthenticateduser
        method: GET
        description: GitHub List Organization Memberships for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: state
          in: query
          type: string
          description: Indicates the state of the memberships to return. If not specified, the API returns both active and
            pending memberships.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-memberships-orgs-org
      path: /user/memberships/orgs/{org}
      operations:
      - name: getanorganizationmembershipfortheauthenticateduser
        method: GET
        description: GitHub Get an Organization Membership for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: updateanorganizationmembershipfortheauthenticateduser
        method: PATCH
        description: GitHub Update an Organization Membership for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-orgs
      path: /user/orgs
      operations:
      - name: listorganizationsfortheauthenticateduser
        method: GET
        description: GitHub List Organizations for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-packages
      path: /user/packages
      operations:
      - name: listpackagesfortheauthenticatedusersnamespace
        method: GET
        description: GitHub List Packages for the Authenticated User's Namespace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: package_type
          in: query
          type: string
          description: 'The type of supported package. Packages in GitHub''s Gradle registry have the type `maven`. Docker
            images pushed to GitHub''s Container registry (`ghcr.io`) have '
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-packages-package_type-package_name
      path: /user/packages/{package_type}/{package_name}
      operations:
      - name: getpackagefortheauthenticateduser
        method: GET
        description: GitHub Get Package for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deletepackagefortheauthenticateduser
        method: DELETE
        description: GitHub Delete Package for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-packages-package_type-package_name-restore
      path: /user/packages/{package_type}/{package_name}/restore
      operations:
      - name: restorepackagefortheauthenticateduser
        method: POST
        description: GitHub Restore Package for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: token
          in: query
          type: string
          description: package token
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-packages-package_type-package_name-versions
      path: /user/packages/{package_type}/{package_name}/versions
      operations:
      - name: listpackageversionsforpackageownedbytheauthenticateduser
        method: GET
        description: GitHub List Package Versions for Package Owned by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: state
          in: query
          type: string
          description: The state of the package, either active or deleted.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-packages-package_type-package_name-versions-package_version_id
      path: /user/packages/{package_type}/{package_name}/versions/{package_version_id}
      operations:
      - name: getpackageversionfortheauthenticateduser
        method: GET
        description: GitHub Get Package Version for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deletepackageversionfortheauthenticateduser
        method: DELETE
        description: GitHub Delete Package Version for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-packages-package_type-package_name-versions-package_version_id-restore
      path: /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore
      operations:
      - name: restorepackageversionfortheauthenticateduser
        method: POST
        description: GitHub Restore Package Version for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-public_emails
      path: /user/public_emails
      operations:
      - name: listpublicemailaddressesfortheauthenticateduser
        method: GET
        description: GitHub List Public Email Addresses for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-repos
      path: /user/repos
      operations:
      - name: listrepositoriesfortheauthenticateduser
        method: GET
        description: GitHub List Repositories for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: visibility
          in: query
          type: string
          description: Limit results to repositories with the specified visibility.
        - name: affiliation
          in: query
          type: string
          description: 'Comma-separated list of values. Can include:  '
        - name: type
          in: query
          type: string
          description: Limit results to repositories of the specified type. Will cause a `422` error if used in the same request
            as **visibility** or **affiliation**.
        - name: sort
          in: query
          type: string
          description: The property to sort the results by.
        - name: direction
          in: query
          type: string
          description: 'The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.'
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createrepositoryfortheauthenticateduser
        method: POST
        description: GitHub Create Repository for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-repository_invitations
      path: /user/repository_invitations
      operations:
      - name: listrepositoryinvitationsfortheauthenticateduser
        method: GET
        description: GitHub List Repository Invitations for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-social_accounts
      path: /user/social_accounts
      operations:
      - name: listsocialaccountsfortheauthenticateduser
        method: GET
        description: GitHub List Social Accounts for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: addsocialaccountsfortheauthenticateduser
        method: POST
        description: GitHub Add Social Accounts for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletesocialaccountsfortheauthenticateduser
        method: DELETE
        description: GitHub Delete Social Accounts for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-ssh_signing_keys
      path: /user/ssh_signing_keys
      operations:
      - name: listsshsigningkeysfortheauthenticateduser
        method: GET
        description: GitHub List Ssh Signing Keys for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createsshsigningkeyfortheauthenticateduser
        method: POST
        description: GitHub Create Ssh Signing Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-ssh_signing_keys-ssh_signing_key_id
      path: /user/ssh_signing_keys/{ssh_signing_key_id}
      operations:
      - name: getansshsigningkeyfortheauthenticateduser
        method: GET
        description: GitHub Get an Ssh Signing Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deleteansshsigningkeyfortheauthenticateduser
        method: DELETE
        description: GitHub Delete an Ssh Signing Key for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-starred
      path: /user/starred
      operations:
      - name: listrepositoriesstarredbytheauthenticateduser
        method: GET
        description: GitHub List Repositories Starred by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-starred-owner-repo
      path: /user/starred/{owner}/{repo}
      operations:
      - name: checkifrepositoryisstarredbytheauthenticateduser
        method: GET
        description: GitHub Check if Repository is Starred by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: starrepositoryfortheauthenticateduser
        method: PUT
        description: GitHub Star Repository for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: unstarrepositoryfortheauthenticateduser
        method: DELETE
        description: GitHub Unstar Repository for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-subscriptions
      path: /user/subscriptions
      operations:
      - name: listrepositorieswatchedbytheauthenticateduser
        method: GET
        description: GitHub List Repositories Watched by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: user-teams
      path: /user/teams
      operations:
      - name: listteamsfortheauthenticateduser
        method: GET
        description: GitHub List Teams for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: users-username-events
      path: /users/{username}/events
      operations:
      - name: listeventsfortheauthenticateduser
        method: GET
        description: GitHub List Events for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: users-username-events-orgs-org
      path: /users/{username}/events/orgs/{org}
      operations:
      - name: listorganizationeventsfortheauthenticateduser
        method: GET
        description: GitHub List Organization Events for the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: users-username-installation
      path: /users/{username}/installation
      operations:
      - name: getuserinstallationfortheauthenticatedapp
        method: GET
        description: GitHub Get User Installation for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: users-username-received_events
      path: /users/{username}/received_events
      operations:
      - name: listeventsreceivedbytheauthentic

# --- truncated at 32 KB (85 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/users-authenticated.yaml