createRepository
Creates a new repository
Input fields
NewRepository!
)
The parameters of the new repository
Return fields
[String!]!
)
Branches of the repository
Commit
)
Find a commit by revision
Argument | Type | Description |
---|---|---|
revision |
ID
|
The revision to query for (default: What is retruned in the defaultBranch field) |
RepositoryContentType!
)
Type of the repository
String
)
Default branch of the repository
String
)
Description of the repository
[Diff!]!
)
ID!
)
ID of the repository
[Commit!]!
)
The history (git log) of the repository starting with the most recent changes
Argument | Type | Description |
---|---|---|
after |
Time
|
Only show commits from after this date/time |
before |
Time
|
Only show commits from before this date/time |
limit |
Int
|
Maximum number of commits to list The default value is |
path |
String
|
A path to a file or directory to see the history of The default value is |
revision |
String
|
The newest revision to show in the history |
skip |
Int
|
Skip the first n commits The default value is |
skipMerges |
Boolean
|
Whether or not to skip merge commits in the history The default value is |
[RepositoryMembership!]!
)
List of the repository's memberships
Argument | Type | Description |
---|---|---|
limit |
Int
|
Maximum number of memberships to list The default value is |
role |
RepositoryRole
|
Filter the users by the membership role |
skip |
Int
|
Skip the first n memberships The default value is |
String!
)
Name of the repository
OrganizationalUnit!
)
Owner of the repository
RepositoryPermissions
)
The current_user's permissions for this repository
File
)
The repository's readme file
Argument | Type | Description |
---|---|---|
revision |
ID
|
The repository's revision |
Tags of the repository
[UrlMapping!]!
)
List of all URL Mappings of this repository
RepositoryVisibility!
)
Visibility of the repository