{ "opencollection": "1.0.0", "info": { "name": "Forgejo activitypub user API", "version": "16.0.0-dev-465-4b83448b7d+gitea-1.22.0" }, "items": [ { "info": { "name": "user", "type": "folder" }, "items": [ { "info": { "name": "Get the authenticated user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user" }, "docs": "Get the authenticated user" }, { "info": { "name": "Get the user's runners", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/actions/runners", "params": [ { "name": "visible", "value": "", "type": "query", "description": "whether to include all visible runners (true) or only those that are directly owned by the user (false)" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "Get the user's runners" }, { "info": { "name": "Register a new user-level runner", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/actions/runners" }, "docs": "Register a new user-level runner" }, { "info": { "name": "Search for user's action jobs according filter conditions", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/actions/runners/jobs", "params": [ { "name": "labels", "value": "", "type": "query", "description": "a comma separated list of run job labels to search for" } ] }, "docs": "Search for user's action jobs according filter conditions" }, { "info": { "name": "Get the user's runner registration token", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/actions/runners/registration-token" }, "docs": "This operation has been deprecated in Forgejo 15. Use the web UI or [`/user/actions/runners`](#/user/registerUserRunner) instead.\n" }, { "info": { "name": "Get a particular runner that belongs to the user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/actions/runners/:runner_id", "params": [ { "name": "runner_id", "value": "", "type": "path", "description": "ID of the runner" } ] }, "docs": "Get a particular runner that belongs to the user" }, { "info": { "name": "Delete a particular user-level runner", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/actions/runners/:runner_id", "params": [ { "name": "runner_id", "value": "", "type": "path", "description": "ID of the runner" } ] }, "docs": "Delete a particular user-level runner" }, { "info": { "name": "Create or Update a secret value in a user scope", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/user/actions/secrets/:secretname", "params": [ { "name": "secretname", "value": "", "type": "path", "description": "name of the secret" } ] }, "docs": "Create or Update a secret value in a user scope" }, { "info": { "name": "Delete a secret in a user scope", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/actions/secrets/:secretname", "params": [ { "name": "secretname", "value": "", "type": "path", "description": "name of the secret" } ] }, "docs": "Delete a secret in a user scope" }, { "info": { "name": "Get the user-level list of variables which is created by current doer", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/actions/variables", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "Get the user-level list of variables which is created by current doer" }, { "info": { "name": "Get a user-level variable which is created by current doer", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/actions/variables/:variablename", "params": [ { "name": "variablename", "value": "", "type": "path", "description": "name of the variable" } ] }, "docs": "Get a user-level variable which is created by current doer" }, { "info": { "name": "Create a user-level variable", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/actions/variables/:variablename", "params": [ { "name": "variablename", "value": "", "type": "path", "description": "name of the variable" } ] }, "docs": "Create a user-level variable" }, { "info": { "name": "Update a user-level variable which is created by current doer", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/user/actions/variables/:variablename", "params": [ { "name": "variablename", "value": "", "type": "path", "description": "name of the variable" } ] }, "docs": "Update a user-level variable which is created by current doer" }, { "info": { "name": "Delete a user-level variable which is created by current doer", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/actions/variables/:variablename", "params": [ { "name": "variablename", "value": "", "type": "path", "description": "name of the variable" } ] }, "docs": "Delete a user-level variable which is created by current doer" }, { "info": { "name": "Follow a remote activitypub account", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/activitypub/follow" }, "docs": "Follow a remote activitypub account" }, { "info": { "name": "List the authenticated user's oauth2 applications", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/applications/oauth2", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the authenticated user's oauth2 applications" }, { "info": { "name": "Creates a new OAuth2 application", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/applications/oauth2" }, "docs": "Creates a new OAuth2 application" }, { "info": { "name": "Get an OAuth2 application", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/applications/oauth2/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Application ID to be found" } ] }, "docs": "Get an OAuth2 application" }, { "info": { "name": "Update an OAuth2 application, this includes regenerating the client secret", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/user/applications/oauth2/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "application to be updated" } ] }, "docs": "Update an OAuth2 application, this includes regenerating the client secret" }, { "info": { "name": "Delete an OAuth2 application", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/applications/oauth2/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "token to be deleted" } ] }, "docs": "Delete an OAuth2 application" }, { "info": { "name": "Update avatar of the current user", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/avatar" }, "docs": "Update avatar of the current user" }, { "info": { "name": "Delete avatar of the current user. It will be replaced by a default one", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/avatar" }, "docs": "Delete avatar of the current user. It will be replaced by a default one" }, { "info": { "name": "Blocks a user from the doer", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/user/block/:username", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of the user" } ] }, "docs": "Blocks a user from the doer" }, { "info": { "name": "List all email addresses of the current user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/emails" }, "docs": "List all email addresses of the current user" }, { "info": { "name": "Add an email addresses to the current user's account", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/emails" }, "docs": "Add an email addresses to the current user's account" }, { "info": { "name": "Delete email addresses from the current user's account", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/emails" }, "docs": "Delete email addresses from the current user's account" }, { "info": { "name": "List the authenticated user's followers", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/followers", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the authenticated user's followers" }, { "info": { "name": "List the users that the authenticated user is following", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/following", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the users that the authenticated user is following" }, { "info": { "name": "Check whether a user is followed by the authenticated user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/following/:username", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of followed user" } ] }, "docs": "Check whether a user is followed by the authenticated user" }, { "info": { "name": "Follow a user", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/user/following/:username", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user to follow" } ] }, "docs": "Follow a user" }, { "info": { "name": "Unfollow a user", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/following/:username", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user to unfollow" } ] }, "docs": "Unfollow a user" }, { "info": { "name": "Get a Token to verify", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/gpg_key_token" }, "docs": "Get a Token to verify" }, { "info": { "name": "Verify a GPG key", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/gpg_key_verify" }, "docs": "Verify a GPG key" }, { "info": { "name": "List the authenticated user's GPG keys", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/gpg_keys", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the authenticated user's GPG keys" }, { "info": { "name": "Add a GPG public key to current user's account", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/gpg_keys" }, "docs": "Add a GPG public key to current user's account" }, { "info": { "name": "Get a GPG key", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/gpg_keys/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of key to get" } ] }, "docs": "Get a GPG key" }, { "info": { "name": "Remove a GPG public key from current user's account", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/gpg_keys/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of key to delete" } ] }, "docs": "Remove a GPG public key from current user's account" }, { "info": { "name": "List the authenticated user's webhooks", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/hooks", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the authenticated user's webhooks" }, { "info": { "name": "Create a hook", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/hooks" }, "docs": "Create a hook" }, { "info": { "name": "Get a hook", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/hooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of the hook to get" } ] }, "docs": "Get a hook" }, { "info": { "name": "Update a hook", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/user/hooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of the hook to update" } ] }, "docs": "Update a hook" }, { "info": { "name": "Delete a hook", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/hooks/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of the hook to delete" } ] }, "docs": "Delete a hook" }, { "info": { "name": "List the authenticated user's public keys", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/keys", "params": [ { "name": "fingerprint", "value": "", "type": "query", "description": "fingerprint of the key" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the authenticated user's public keys" }, { "info": { "name": "Create a public key", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/keys" }, "docs": "Create a public key" }, { "info": { "name": "Get a public key", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/keys/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of key to get" } ] }, "docs": "Get a public key" }, { "info": { "name": "Delete a public key", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/keys/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "id of key to delete" } ] }, "docs": "Delete a public key" }, { "info": { "name": "List the authenticated user's blocked users", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/list_blocked", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the authenticated user's blocked users" }, { "info": { "name": "Get quota information for the authenticated user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/quota" }, "docs": "Get quota information for the authenticated user" }, { "info": { "name": "List the artifacts affecting the authenticated user's quota", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/quota/artifacts", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the artifacts affecting the authenticated user's quota" }, { "info": { "name": "List the attachments affecting the authenticated user's quota", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/quota/attachments", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the attachments affecting the authenticated user's quota" }, { "info": { "name": "Check if the authenticated user is over quota for a given subject", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/quota/check", "params": [ { "name": "subject", "value": "", "type": "query", "description": "subject of the quota" } ] }, "docs": "Check if the authenticated user is over quota for a given subject" }, { "info": { "name": "List the packages affecting the authenticated user's quota", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/quota/packages", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the packages affecting the authenticated user's quota" }, { "info": { "name": "List the repos that the authenticated user owns", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/repos", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" }, { "name": "order_by", "value": "", "type": "query", "description": "order the repositories" } ] }, "docs": "List the repos that the authenticated user owns" }, { "info": { "name": "Create a repository", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/user/repos" }, "docs": "Create a repository" }, { "info": { "name": "Get current user's account settings", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/settings" }, "docs": "Get current user's account settings" }, { "info": { "name": "Update settings in current user's account", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/user/settings" }, "docs": "Update settings in current user's account" }, { "info": { "name": "The repos that the authenticated user has starred", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/starred", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "The repos that the authenticated user has starred" }, { "info": { "name": "Whether the authenticated is starring the repo", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/starred/:owner/:repo", "params": [ { "name": "owner", "value": "", "type": "path", "description": "owner of the repo" }, { "name": "repo", "value": "", "type": "path", "description": "name of the repo" } ] }, "docs": "Whether the authenticated is starring the repo" }, { "info": { "name": "Star the given repo", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/user/starred/:owner/:repo", "params": [ { "name": "owner", "value": "", "type": "path", "description": "owner of the repo to star" }, { "name": "repo", "value": "", "type": "path", "description": "name of the repo to star" } ] }, "docs": "Star the given repo" }, { "info": { "name": "Unstar the given repo", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/user/starred/:owner/:repo", "params": [ { "name": "owner", "value": "", "type": "path", "description": "owner of the repo to unstar" }, { "name": "repo", "value": "", "type": "path", "description": "name of the repo to unstar" } ] }, "docs": "Unstar the given repo" }, { "info": { "name": "Get list of all existing stopwatches", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/stopwatches", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "Get list of all existing stopwatches" }, { "info": { "name": "List repositories watched by the authenticated user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/subscriptions", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List repositories watched by the authenticated user" }, { "info": { "name": "List all the teams a user belongs to", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/teams", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List all the teams a user belongs to" }, { "info": { "name": "List the current user's tracked times", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/user/times", "params": [ { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" }, { "name": "since", "value": "", "type": "query", "description": "Only show times updated after the given time. This is a timestamp in RFC 3339 format" }, { "name": "before", "value": "", "type": "query", "description": "Only show times updated before the given time. This is a timestamp in RFC 3339 format" } ] }, "docs": "List the current user's tracked times" }, { "info": { "name": "Unblocks a user from the doer", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/user/unblock/:username", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of the user" } ] }, "docs": "Unblocks a user from the doer" }, { "info": { "name": "Search for users", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/search", "params": [ { "name": "q", "value": "", "type": "query", "description": "keyword" }, { "name": "uid", "value": "", "type": "query", "description": "ID of the user to search for" }, { "name": "sort", "value": "", "type": "query", "description": "sort order of results" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "Search for users" }, { "info": { "name": "Get a user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user to get" } ] }, "docs": "Get a user" }, { "info": { "name": "List a user's activity feeds", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/activities/feeds", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "only-performed-by", "value": "", "type": "query", "description": "if true, only show actions performed by the requested user" }, { "name": "date", "value": "", "type": "query", "description": "the date of the activities to be found" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List a user's activity feeds" }, { "info": { "name": "List the given user's followers", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/followers", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the given user's followers" }, { "info": { "name": "List the users that the given user is following", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/following", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the users that the given user is following" }, { "info": { "name": "Check if one user is following another user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/following/:target", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of following user" }, { "name": "target", "value": "", "type": "path", "description": "username of followed user" } ] }, "docs": "Check if one user is following another user" }, { "info": { "name": "List the given user's GPG keys", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/gpg_keys", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the given user's GPG keys" }, { "info": { "name": "Get a user's heatmap", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/heatmap", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user to get" } ] }, "docs": "Get a user's heatmap" }, { "info": { "name": "List the given user's public keys", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/keys", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "fingerprint", "value": "", "type": "query", "description": "fingerprint of the key" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the given user's public keys" }, { "info": { "name": "List the repos owned by the given user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/repos", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the repos owned by the given user" }, { "info": { "name": "The repos that the given user has starred", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/starred", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "The repos that the given user has starred" }, { "info": { "name": "List the repositories watched by a user", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/subscriptions", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of the user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the repositories watched by a user" }, { "info": { "name": "List the specified user's access tokens", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/users/:username/tokens", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "page", "value": "", "type": "query", "description": "page number of results to return (1-based)" }, { "name": "limit", "value": "", "type": "query", "description": "page size of results" } ] }, "docs": "List the specified user's access tokens" }, { "info": { "name": "Generate an access token for the specified user", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/users/:username/tokens", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" } ] }, "docs": "Generate an access token for the specified user" }, { "info": { "name": "Delete an access token from the specified user's account", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/users/:username/tokens/:token", "params": [ { "name": "username", "value": "", "type": "path", "description": "username of user" }, { "name": "token", "value": "", "type": "path", "description": "token to be deleted, identified by ID and if not available by name" } ] }, "docs": "Delete an access token from the specified user's account" } ] } ], "bundled": true }