cloneRepository

Clones a repository from a remote server

Input fields

data (NewRepository!)

The parameters of the new repository

remoteAddress (String!)

The address of a remote repository

remoteType (RepositoryRemoteType!)

The type of the cloned repository

urlMappings ([NewUrlMapping!]!)

The orignial Url Mapping that are applied to the repository

Return fields

contentType (RepositoryContentType!)

Type of the repository

description (String)

Description of the repository

id (ID!)

ID of the repository

memberships ([RepositoryMembership!]!)

List of the repository's memberships

Argument Type Description
limit Int

Maximum number of memberships to list

The default value is 20.

role RepositoryRole

Filter the users by the membership role

skip Int

Skip the first n memberships

The default value is 0.

name (String!)

Name of the repository

owner (OrganizationalUnit!)

Owner of the repository

permissions (RepositoryPermissions)

The current_user's permissions for this repository

urlMappings ([UrlMapping!]!)

List of all URL Mappings of this repository

visibility (RepositoryVisibility!)

Visibility of the repository