Gitea · Capability

Gitea API — user

Gitea API — user. 76 operations. Lead operation: Get the Authenticated User. Self-contained Naftiko capability covering one Gitea business surface.

Run with Naftiko Giteauser

What You Can Do

GET
Usergetcurrent — Get the Authenticated User
/v1/user
GET
Getuserworkflowjobs — Get Workflow Jobs
/v1/user/actions/jobs
GET
Getuserrunners — Get User-Level Runners
/v1/user/actions/runners
POST
Usercreaterunnerregistrationtoken — Get a User's Actions Runner Registration Token
/v1/user/actions/runners/registration-token
GET
Getuserrunner — Get a User-Level Runner
/v1/user/actions/runners/{runner-id}
DELETE
Deleteuserrunner — Delete a User-Level Runner
/v1/user/actions/runners/{runner-id}
PATCH
Updateuserrunner — Update a User-Level Runner
/v1/user/actions/runners/{runner-id}
GET
Getuserworkflowruns — Get Workflow Runs
/v1/user/actions/runs
PUT
Updateusersecret — Create or Update a Secret Value in a User Scope
/v1/user/actions/secrets/{secretname}
DELETE
Deleteusersecret — Delete a Secret in a User Scope
/v1/user/actions/secrets/{secretname}
GET
Getuservariableslist — Get the User-Level List of Variables Which Is Created by Current Doer
/v1/user/actions/variables
GET
Getuservariable — Get a User-Level Variable Which Is Created by Current Doer
/v1/user/actions/variables/{variablename}
PUT
Updateuservariable — Update a User-Level Variable Which Is Created by Current Doer
/v1/user/actions/variables/{variablename}
POST
Createuservariable — Create a User-Level Variable
/v1/user/actions/variables/{variablename}
DELETE
Deleteuservariable — Delete a User-Level Variable Which Is Created by Current Doer
/v1/user/actions/variables/{variablename}
GET
Usergetoauth2application — List the Authenticated User's OAuth2 Applications
/v1/user/applications/oauth2
POST
Usercreateoauth2application — Creates a New OAuth2 Application
/v1/user/applications/oauth2
GET
Usergetoauth2application — Get an OAuth2 Application
/v1/user/applications/oauth2/{id}
DELETE
Userdeleteoauth2application — Delete an OAuth2 Application
/v1/user/applications/oauth2/{id}
PATCH
Userupdateoauth2application — Update an OAuth2 Application, This Includes Regenerating the Client Secret
/v1/user/applications/oauth2/{id}
POST
Userupdateavatar — Update Avatar
/v1/user/avatar
DELETE
Userdeleteavatar — Delete Avatar
/v1/user/avatar
GET
Userlistblocks — List Users Blocked by the Authenticated User
/v1/user/blocks
GET
Usercheckuserblock — Check if a User Is Blocked by the Authenticated User
/v1/user/blocks/{username}
PUT
Userblockuser — Block a User
/v1/user/blocks/{username}
DELETE
Userunblockuser — Unblock a User
/v1/user/blocks/{username}
GET
Userlistemails — List the Authenticated User's Email Addresses
/v1/user/emails
POST
Useraddemail — Add Email Addresses
/v1/user/emails
DELETE
Userdeleteemail — Delete Email Addresses
/v1/user/emails
GET
Usercurrentlistfollowers — List the Authenticated User's Followers
/v1/user/followers
GET
Usercurrentlistfollowing — List the Users That the Authenticated User Is Following
/v1/user/following
GET
Usercurrentcheckfollowing — Check Whether a User Is Followed by the Authenticated User
/v1/user/following/{username}
PUT
Usercurrentputfollow — Follow a User
/v1/user/following/{username}
DELETE
Usercurrentdeletefollow — Unfollow a User
/v1/user/following/{username}
GET
Getverificationtoken — Get a Token to Verify
/v1/user/gpg-key-token
POST
Userverifygpgkey — Verify a GPG Key
/v1/user/gpg-key-verify
GET
Usercurrentlistgpgkeys — List the Authenticated User's GPG Keys
/v1/user/gpg-keys
POST
Usercurrentpostgpgkey — Create a GPG Key
/v1/user/gpg-keys
GET
Usercurrentgetgpgkey — Get a GPG Key
/v1/user/gpg-keys/{id}
DELETE
Usercurrentdeletegpgkey — Remove a GPG Key
/v1/user/gpg-keys/{id}
GET
Userlisthooks — List the Authenticated User's Webhooks
/v1/user/hooks
POST
Usercreatehook — Create a Hook
/v1/user/hooks
GET
Usergethook — Get a Hook
/v1/user/hooks/{id}
DELETE
Userdeletehook — Delete a Hook
/v1/user/hooks/{id}
PATCH
Useredithook — Update a Hook
/v1/user/hooks/{id}
GET
Usercurrentlistkeys — List the Authenticated User's Public Keys
/v1/user/keys
POST
Usercurrentpostkey — Create a Public Key
/v1/user/keys
GET
Usercurrentgetkey — Get a Public Key
/v1/user/keys/{id}
DELETE
Usercurrentdeletekey — Delete a Public Key
/v1/user/keys/{id}
GET
Usercurrentlistrepos — List the Repos That the Authenticated User Owns
/v1/user/repos
POST
Createcurrentuserrepo — Create a Repository
/v1/user/repos
GET
Getusersettings — Get User Settings
/v1/user/settings
PATCH
Updateusersettings — Update User Settings
/v1/user/settings
GET
Usercurrentliststarred — The Repos That the Authenticated User Has Starred
/v1/user/starred
GET
Usercurrentcheckstarring — Whether the Authenticated Is Starring the Repo
/v1/user/starred/{owner}/{repo}
PUT
Usercurrentputstar — Star the Given Repo
/v1/user/starred/{owner}/{repo}
DELETE
Usercurrentdeletestar — Unstar the Given Repo
/v1/user/starred/{owner}/{repo}
GET
Usergetstopwatches — Get List of All Existing Stopwatches
/v1/user/stopwatches
GET
Usercurrentlistsubscriptions — List Repositories Watched by the Authenticated User
/v1/user/subscriptions
GET
Userlistteams — List All the Teams a User Belongs To
/v1/user/teams
GET
Usercurrenttrackedtimes — List the Current User's Tracked Times
/v1/user/times
GET
Usersearch — Search for Users
/v1/users/search
GET
Userget — Get a User
/v1/users/{username}
GET
Userlistactivityfeeds — List a User's Activity Feeds
/v1/users/{username}/activities/feeds
GET
Userlistfollowers — List the Given User's Followers
/v1/users/{username}/followers
GET
Userlistfollowing — List the Users That the Given User Is Following
/v1/users/{username}/following
GET
Usercheckfollowing — Check if One User Is Following Another User
/v1/users/{username}/following/{target}
GET
Userlistgpgkeys — List the Given User's GPG Keys
/v1/users/{username}/gpg-keys
GET
Usergetheatmapdata — Get a User's Heatmap
/v1/users/{username}/heatmap
GET
Userlistkeys — List the Given User's Public Keys
/v1/users/{username}/keys
GET
Userlistrepos — List the Repos Owned by the Given User
/v1/users/{username}/repos
GET
Userliststarred — The Repos That the Given User Has Starred
/v1/users/{username}/starred
GET
Userlistsubscriptions — List the Repositories Watched by a User
/v1/users/{username}/subscriptions
GET
Usergettokens — List the Authenticated User's Access Tokens
/v1/users/{username}/tokens
POST
Usercreatetoken — Create an Access Token
/v1/users/{username}/tokens
DELETE
Userdeleteaccesstoken — Delete an Access Token
/v1/users/{username}/tokens/{token}

MCP Tools

get-authenticated-user

Get the Authenticated User

read-only idempotent
get-workflow-jobs

Get Workflow Jobs

read-only idempotent
get-user-level-runners

Get User-Level Runners

read-only idempotent
get-user-s-actions-runner-registration

Get a User's Actions Runner Registration Token

read-only
get-user-level-runner

Get a User-Level Runner

read-only idempotent
delete-user-level-runner

Delete a User-Level Runner

idempotent
update-user-level-runner

Update a User-Level Runner

idempotent
get-workflow-runs

Get Workflow Runs

read-only idempotent
create-update-secret-value-user

Create or Update a Secret Value in a User Scope

idempotent
delete-secret-user-scope

Delete a Secret in a User Scope

idempotent
get-user-level-list-variables

Get the User-Level List of Variables Which Is Created by Current Doer

read-only idempotent
get-user-level-variable-which

Get a User-Level Variable Which Is Created by Current Doer

read-only idempotent
update-user-level-variable-which

Update a User-Level Variable Which Is Created by Current Doer

idempotent
create-user-level-variable

Create a User-Level Variable

delete-user-level-variable-which

Delete a User-Level Variable Which Is Created by Current Doer

idempotent
list-authenticated-user-s-oauth2-applications

List the Authenticated User's OAuth2 Applications

read-only idempotent
creates-new-oauth2-application

Creates a New OAuth2 Application

get-oauth2-application

Get an OAuth2 Application

read-only idempotent
delete-oauth2-application

Delete an OAuth2 Application

idempotent
update-oauth2-application-this-includes

Update an OAuth2 Application, This Includes Regenerating the Client Secret

idempotent
update-avatar

Update Avatar

delete-avatar

Delete Avatar

idempotent
list-users-blocked-authenticated-user

List Users Blocked by the Authenticated User

read-only idempotent
check-if-user-is-blocked

Check if a User Is Blocked by the Authenticated User

read-only idempotent
block-user

Block a User

idempotent
unblock-user

Unblock a User

idempotent
list-authenticated-user-s-email-addresses

List the Authenticated User's Email Addresses

read-only idempotent
add-email-addresses

Add Email Addresses

delete-email-addresses

Delete Email Addresses

idempotent
list-authenticated-user-s-followers

List the Authenticated User's Followers

read-only idempotent
list-users-that-authenticated-user

List the Users That the Authenticated User Is Following

read-only idempotent
check-whether-user-is-followed

Check Whether a User Is Followed by the Authenticated User

read-only idempotent
follow-user

Follow a User

idempotent
unfollow-user

Unfollow a User

idempotent
get-token-verify

Get a Token to Verify

read-only idempotent
verify-gpg-key

Verify a GPG Key

list-authenticated-user-s-gpg-keys

List the Authenticated User's GPG Keys

read-only idempotent
create-gpg-key

Create a GPG Key

get-gpg-key

Get a GPG Key

read-only idempotent
remove-gpg-key

Remove a GPG Key

idempotent
list-authenticated-user-s-webhooks

List the Authenticated User's Webhooks

read-only idempotent
create-hook

Create a Hook

get-hook

Get a Hook

read-only idempotent
delete-hook

Delete a Hook

idempotent
update-hook

Update a Hook

idempotent
list-authenticated-user-s-public-keys

List the Authenticated User's Public Keys

read-only idempotent
create-public-key

Create a Public Key

get-public-key

Get a Public Key

read-only idempotent
delete-public-key

Delete a Public Key

idempotent
list-repos-that-authenticated-user

List the Repos That the Authenticated User Owns

read-only idempotent
create-repository

Create a Repository

get-user-settings

Get User Settings

read-only idempotent
update-user-settings

Update User Settings

idempotent
repos-that-authenticated-user-has

The Repos That the Authenticated User Has Starred

read-only idempotent
whether-authenticated-is-starring-repo

Whether the Authenticated Is Starring the Repo

read-only idempotent
star-given-repo

Star the Given Repo

idempotent
unstar-given-repo

Unstar the Given Repo

idempotent
get-list-all-existing-stopwatches

Get List of All Existing Stopwatches

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

List Repositories Watched by the Authenticated User

read-only idempotent
list-all-teams-user-belongs

List All the Teams a User Belongs To

read-only idempotent
list-current-user-s-tracked-times

List the Current User's Tracked Times

read-only idempotent
search-users

Search for Users

read-only idempotent
get-user

Get a User

read-only idempotent
list-user-s-activity-feeds

List a User's Activity Feeds

read-only idempotent
list-given-user-s-followers

List the Given User's Followers

read-only idempotent
list-users-that-given-user

List the Users That the Given User Is Following

read-only idempotent
check-if-one-user-is

Check if One User Is Following Another User

read-only idempotent
list-given-user-s-gpg-keys

List the Given User's GPG Keys

read-only idempotent
get-user-s-heatmap

Get a User's Heatmap

read-only idempotent
list-given-user-s-public-keys

List the Given User's Public Keys

read-only idempotent
list-repos-owned-given-user

List the Repos Owned by the Given User

read-only idempotent
repos-that-given-user-has

The Repos That the Given User Has Starred

read-only idempotent
list-repositories-watched-user

List the Repositories Watched by a User

read-only idempotent
list-authenticated-user-s-access-tokens

List the Authenticated User's Access Tokens

read-only idempotent
create-access-token

Create an Access Token

delete-access-token

Delete an Access Token

idempotent

Capability Spec

rest-user.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Gitea API — user
  description: 'Gitea API — user. 76 operations. Lead operation: Get the Authenticated User. Self-contained Naftiko capability
    covering one Gitea business surface.'
  tags:
  - Gitea
  - user
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITEA_API_KEY: GITEA_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-user
    baseUri: https://gitea.com/api/v1
    description: Gitea API — user business capability. Self-contained, no shared references.
    resources:
    - name: user
      path: /user
      operations:
      - name: usergetcurrent
        method: GET
        description: Get the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-actions-jobs
      path: /user/actions/jobs
      operations:
      - name: getuserworkflowjobs
        method: GET
        description: Get Workflow Jobs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: workflow status (pending, queued, in_progress, failure, success, skipped)
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-actions-runners
      path: /user/actions/runners
      operations:
      - name: getuserrunners
        method: GET
        description: Get User-Level Runners
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: disabled
          in: query
          type: boolean
          description: filter by disabled status (true or false)
    - name: user-actions-runners-registration-token
      path: /user/actions/runners/registration-token
      operations:
      - name: usercreaterunnerregistrationtoken
        method: POST
        description: Get a User's Actions Runner Registration Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-actions-runners-runner_id
      path: /user/actions/runners/{runner_id}
      operations:
      - name: getuserrunner
        method: GET
        description: Get a User-Level Runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: runner_id
          in: path
          type: string
          description: id of the runner
          required: true
      - name: deleteuserrunner
        method: DELETE
        description: Delete a User-Level Runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: runner_id
          in: path
          type: string
          description: id of the runner
          required: true
      - name: updateuserrunner
        method: PATCH
        description: Update a User-Level Runner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: runner_id
          in: path
          type: string
          description: id of the runner
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-actions-runs
      path: /user/actions/runs
      operations:
      - name: getuserworkflowruns
        method: GET
        description: Get Workflow Runs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event
          in: query
          type: string
          description: workflow event name
        - name: branch
          in: query
          type: string
          description: workflow branch
        - name: status
          in: query
          type: string
          description: workflow status (pending, queued, in_progress, failure, success, skipped)
        - name: actor
          in: query
          type: string
          description: triggered by user
        - name: head_sha
          in: query
          type: string
          description: triggering sha of the workflow run
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-actions-secrets-secretname
      path: /user/actions/secrets/{secretname}
      operations:
      - name: updateusersecret
        method: PUT
        description: Create or Update a Secret Value in a User Scope
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: secretname
          in: path
          type: string
          description: name of the secret
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteusersecret
        method: DELETE
        description: Delete a Secret in a User Scope
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: secretname
          in: path
          type: string
          description: name of the secret
          required: true
    - name: user-actions-variables
      path: /user/actions/variables
      operations:
      - name: getuservariableslist
        method: GET
        description: Get the User-Level List of Variables Which Is Created by Current Doer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-actions-variables-variablename
      path: /user/actions/variables/{variablename}
      operations:
      - name: getuservariable
        method: GET
        description: Get a User-Level Variable Which Is Created by Current Doer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
      - name: updateuservariable
        method: PUT
        description: Update a User-Level Variable Which Is Created by Current Doer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: createuservariable
        method: POST
        description: Create a User-Level Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteuservariable
        method: DELETE
        description: Delete a User-Level Variable Which Is Created by Current Doer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: variablename
          in: path
          type: string
          description: name of the variable
          required: true
    - name: user-applications-oauth2
      path: /user/applications/oauth2
      operations:
      - name: usergetoauth2application
        method: GET
        description: List the Authenticated User's OAuth2 Applications
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
      - name: usercreateoauth2application
        method: POST
        description: Creates a New OAuth2 Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-applications-oauth2-id
      path: /user/applications/oauth2/{id}
      operations:
      - name: usergetoauth2application
        method: GET
        description: Get an OAuth2 Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Application ID to be found
          required: true
      - name: userdeleteoauth2application
        method: DELETE
        description: Delete an OAuth2 Application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: token to be deleted
          required: true
      - name: userupdateoauth2application
        method: PATCH
        description: Update an OAuth2 Application, This Includes Regenerating the Client Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: application to be updated
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-avatar
      path: /user/avatar
      operations:
      - name: userupdateavatar
        method: POST
        description: Update Avatar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: userdeleteavatar
        method: DELETE
        description: Delete Avatar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-blocks
      path: /user/blocks
      operations:
      - name: userlistblocks
        method: GET
        description: List Users Blocked by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-blocks-username
      path: /user/blocks/{username}
      operations:
      - name: usercheckuserblock
        method: GET
        description: Check if a User Is Blocked by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user to check
          required: true
      - name: userblockuser
        method: PUT
        description: Block a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user to block
          required: true
        - name: note
          in: query
          type: string
          description: optional note for the block
      - name: userunblockuser
        method: DELETE
        description: Unblock a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user to unblock
          required: true
    - name: user-emails
      path: /user/emails
      operations:
      - name: userlistemails
        method: GET
        description: List the Authenticated User's Email Addresses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: useraddemail
        method: POST
        description: Add Email Addresses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: userdeleteemail
        method: DELETE
        description: Delete Email Addresses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-followers
      path: /user/followers
      operations:
      - name: usercurrentlistfollowers
        method: GET
        description: List the Authenticated User's Followers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-following
      path: /user/following
      operations:
      - name: usercurrentlistfollowing
        method: GET
        description: List the Users That the Authenticated User Is Following
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-following-username
      path: /user/following/{username}
      operations:
      - name: usercurrentcheckfollowing
        method: GET
        description: Check Whether a User Is Followed by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user to check for authenticated followers
          required: true
      - name: usercurrentputfollow
        method: PUT
        description: Follow a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user to follow
          required: true
      - name: usercurrentdeletefollow
        method: DELETE
        description: Unfollow a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user to unfollow
          required: true
    - name: user-gpg_key_token
      path: /user/gpg_key_token
      operations:
      - name: getverificationtoken
        method: GET
        description: Get a Token to Verify
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-gpg_key_verify
      path: /user/gpg_key_verify
      operations:
      - name: userverifygpgkey
        method: POST
        description: Verify a GPG Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-gpg_keys
      path: /user/gpg_keys
      operations:
      - name: usercurrentlistgpgkeys
        method: GET
        description: List the Authenticated User's GPG Keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
      - name: usercurrentpostgpgkey
        method: POST
        description: Create a GPG Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-gpg_keys-id
      path: /user/gpg_keys/{id}
      operations:
      - name: usercurrentgetgpgkey
        method: GET
        description: Get a GPG Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of key to get
          required: true
      - name: usercurrentdeletegpgkey
        method: DELETE
        description: Remove a GPG Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of key to delete
          required: true
    - name: user-hooks
      path: /user/hooks
      operations:
      - name: userlisthooks
        method: GET
        description: List the Authenticated User's Webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
      - name: usercreatehook
        method: POST
        description: Create a Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-hooks-id
      path: /user/hooks/{id}
      operations:
      - name: usergethook
        method: GET
        description: Get a Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of the hook to get
          required: true
      - name: userdeletehook
        method: DELETE
        description: Delete a Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of the hook to delete
          required: true
      - name: useredithook
        method: PATCH
        description: Update a Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of the hook to update
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-keys
      path: /user/keys
      operations:
      - name: usercurrentlistkeys
        method: GET
        description: List the Authenticated User's Public Keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fingerprint
          in: query
          type: string
          description: fingerprint of the key
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
      - name: usercurrentpostkey
        method: POST
        description: Create a Public Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-keys-id
      path: /user/keys/{id}
      operations:
      - name: usercurrentgetkey
        method: GET
        description: Get a Public Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of key to get
          required: true
      - name: usercurrentdeletekey
        method: DELETE
        description: Delete a Public Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: id of key to delete
          required: true
    - name: user-repos
      path: /user/repos
      operations:
      - name: usercurrentlistrepos
        method: GET
        description: List the Repos That the Authenticated User Owns
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
      - name: createcurrentuserrepo
        method: POST
        description: Create a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-settings
      path: /user/settings
      operations:
      - name: getusersettings
        method: GET
        description: Get User Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateusersettings
        method: PATCH
        description: Update User Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: user-starred
      path: /user/starred
      operations:
      - name: usercurrentliststarred
        method: GET
        description: The Repos That the Authenticated User Has Starred
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-starred-owner-repo
      path: /user/starred/{owner}/{repo}
      operations:
      - name: usercurrentcheckstarring
        method: GET
        description: Whether the Authenticated Is Starring the Repo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo
          required: true
      - name: usercurrentputstar
        method: PUT
        description: Star the Given Repo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo to star
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo to star
          required: true
      - name: usercurrentdeletestar
        method: DELETE
        description: Unstar the Given Repo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: owner
          in: path
          type: string
          description: owner of the repo to unstar
          required: true
        - name: repo
          in: path
          type: string
          description: name of the repo to unstar
          required: true
    - name: user-stopwatches
      path: /user/stopwatches
      operations:
      - name: usergetstopwatches
        method: GET
        description: Get List of All Existing Stopwatches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-subscriptions
      path: /user/subscriptions
      operations:
      - name: usercurrentlistsubscriptions
        method: GET
        description: List Repositories Watched by the Authenticated User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-teams
      path: /user/teams
      operations:
      - name: userlistteams
        method: GET
        description: List All the Teams a User Belongs To
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: user-times
      path: /user/times
      operations:
      - name: usercurrenttrackedtimes
        method: GET
        description: List the Current User's Tracked Times
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
        - name: since
          in: query
          type: string
          description: Only show times updated after the given time. This is a timestamp in RFC 3339 format
        - name: before
          in: query
          type: string
          description: Only show times updated before the given time. This is a timestamp in RFC 3339 format
    - name: users-search
      path: /users/search
      operations:
      - name: usersearch
        method: GET
        description: Search for Users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: keyword
        - name: uid
          in: query
          type: integer
          description: ID of the user to search for
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: users-username
      path: /users/{username}
      operations:
      - name: userget
        method: GET
        description: Get a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user whose data is to be listed
          required: true
    - name: users-username-activities-feeds
      path: /users/{username}/activities/feeds
      operations:
      - name: userlistactivityfeeds
        method: GET
        description: List a User's Activity Feeds
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: username
          in: path
          type: string
          description: username of the user whose activity feeds are to be listed
          required: true
        - name: only-performed-by
          in: query
          type: boolean
          description: if true, only show actions performed by the requested user
        - name: date
          in: query
          type: string
          description: the date of the activities to be found
        - name: page
          in: query
          type: integer
          description: page number of results to return (1-based)
        - name: limit
          in: query
          type: integer
          description: page size of results
    - name: users-username-followers
      path: /users/{username}/followers
      operations:
      - name: userlistfollowers
        method: GET
        description: List the Given User's Followers
        outputRawFormat: json
        

# --- truncated at 32 KB (93 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/capabilities/rest-user.yaml