SetDotfilesConfiguration
client.users.dotfiles.set(DotfileSetParams { repository } body, RequestOptionsoptions?): DotfileSetResponse
POST/gitpod.v1.UserService/SetDotfilesConfiguration
Sets the dotfiles configuration for a user.
Use this method to:
- Configure user dotfiles
- Update dotfiles settings
Examples
-
Set dotfiles configuration:
Sets the dotfiles configuration for the current user.
{ "repository": "https://github.com/gitpod-io/dotfiles", } -
Remove dotfiles:
Removes the dotfiles for the current user.
{}
SetDotfilesConfiguration
import Gitpod from '@gitpod/sdk';
const client = new Gitpod({
bearerToken: process.env['GITPOD_API_KEY'], // This is the default and can be omitted
});
const response = await client.users.dotfiles.set();
console.log(response);{}Returns Examples
{}