481 B
481 B
import { Client, Vcs } from "@appwrite.io/console";
const client = new Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('5df5acd0d48c2'); // Your project ID
const vcs = new Vcs(client);
const result = await vcs.createRepositoryDetection( '<INSTALLATION_ID>', // installationId '<PROVIDER_REPOSITORY_ID>', // providerRepositoryId '<PROVIDER_ROOT_DIRECTORY>' // providerRootDirectory (optional) );
console.log(response);