RepoApi class

Constructors

RepoApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createRepoBranch(String owner, String repo, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Create a branch (from a base sha).
createRepoBranchWithHttpInfo(String owner, String repo, Map<String, Object> requestBody) → Future<Response>
Create a branch (from a base sha).
createRepoPullRequest(String owner, String repo, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Open a pull request.
createRepoPullRequestWithHttpInfo(String owner, String repo, Map<String, Object> requestBody) → Future<Response>
Open a pull request.
createRepoRepository(Map<String, Object> requestBody) → Future<Map<String, Object>?>
Create a repository.
createRepoRepositoryWithHttpInfo(Map<String, Object> requestBody) → Future<Response>
Create a repository.
getRepoCommit(String owner, String repo, String sha) → Future<Map<String, Object>?>
Fetch a single commit.
getRepoCommitWithHttpInfo(String owner, String repo, String sha) → Future<Response>
Fetch a single commit.
getRepoRepository(String owner, String repo) → Future<Map<String, Object>?>
Fetch a single repository.
getRepoRepositoryWithHttpInfo(String owner, String repo) → Future<Response>
Fetch a single repository.
linkRepoTask(String owner, String repo, LinkRepoTaskRequest linkRepoTaskRequest) → Future<Map<String, Object>?>
Link an existing Spatio task to this repo, allocating a per-repo number.
linkRepoTaskWithHttpInfo(String owner, String repo, LinkRepoTaskRequest linkRepoTaskRequest) → Future<Response>
Link an existing Spatio task to this repo, allocating a per-repo number.
listRepoBranches(String owner, String repo) → Future<Map<String, Object>?>
List branches on a repository.
listRepoBranchesWithHttpInfo(String owner, String repo) → Future<Response>
List branches on a repository.
listRepoCommits(String owner, String repo, {String? branch, int? limit}) → Future<Map<String, Object>?>
List commits on a repository.
listRepoCommitsWithHttpInfo(String owner, String repo, {String? branch, int? limit}) → Future<Response>
List commits on a repository.
listRepoPullRequests(String owner, String repo) → Future<Map<String, Object>?>
List pull requests on a repository.
listRepoPullRequestsWithHttpInfo(String owner, String repo) → Future<Response>
List pull requests on a repository.
listRepoRepositories({String? visibility, int? limit}) → Future<Map<String, Object>?>
List the caller's accessible repositories.
listRepoRepositoriesWithHttpInfo({String? visibility, int? limit}) → Future<Response>
List the caller's accessible repositories.
listRepoTasks(String owner, String repo, {String? state, int? perPage, int? page}) → Future<Map<String, Object>?>
List tasks linked to this repo (the "issues" surface).
listRepoTasksWithHttpInfo(String owner, String repo, {String? state, int? perPage, int? page}) → Future<Response>
List tasks linked to this repo (the "issues" surface).
listRepoWorkflows(String owner, String repo) → Future<Map<String, Object>?>
List CI workflows.
listRepoWorkflowsWithHttpInfo(String owner, String repo) → Future<Response>
List CI workflows.
mergeRepoPullRequest(String owner, String repo, int number, {Map<String, Object>? requestBody}) → Future<Map<String, Object>?>
Merge a pull request.
mergeRepoPullRequestWithHttpInfo(String owner, String repo, int number, {Map<String, Object>? requestBody}) → Future<Response>
Merge a pull request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
triggerRepoWorkflow(String owner, String repo, String id, {Map<String, Object>? requestBody}) → Future<Map<String, Object>?>
Trigger a workflow_dispatch run.
triggerRepoWorkflowWithHttpInfo(String owner, String repo, String id, {Map<String, Object>? requestBody}) → Future<Response>
Trigger a workflow_dispatch run.
workspaceCreateRepoBranch(String org, String workspace, String owner, String repo, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceCreateRepoBranchWithHttpInfo(String org, String workspace, String owner, String repo, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/branches' operation and returns the Response. Parameters:
workspaceCreateRepoPullRequest(String org, String workspace, String owner, String repo, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceCreateRepoPullRequestWithHttpInfo(String org, String workspace, String owner, String repo, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/pulls' operation and returns the Response. Parameters:
workspaceCreateRepoRepository(String org, String workspace, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceCreateRepoRepositoryWithHttpInfo(String org, String workspace, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/repos/repositories' operation and returns the Response. Parameters:
workspaceGetRepoCommit(String org, String workspace, String owner, String repo, String sha) → Future<Map<String, Object>?>
Parameters:
workspaceGetRepoCommitWithHttpInfo(String org, String workspace, String owner, String repo, String sha) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/commits/{sha}' operation and returns the Response. Parameters:
workspaceGetRepoRepository(String org, String workspace, String owner, String repo) → Future<Map<String, Object>?>
Parameters:
workspaceGetRepoRepositoryWithHttpInfo(String org, String workspace, String owner, String repo) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}' operation and returns the Response. Parameters:
workspaceLinkRepoTask(String org, String workspace, String owner, String repo, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceLinkRepoTaskWithHttpInfo(String org, String workspace, String owner, String repo, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/tasks/link' operation and returns the Response. Parameters:
workspaceListRepoBranches(String org, String workspace, String owner, String repo) → Future<Map<String, Object>?>
Parameters:
workspaceListRepoBranchesWithHttpInfo(String org, String workspace, String owner, String repo) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/branches' operation and returns the Response. Parameters:
workspaceListRepoCommits(String org, String workspace, String owner, String repo) → Future<Map<String, Object>?>
Parameters:
workspaceListRepoCommitsWithHttpInfo(String org, String workspace, String owner, String repo) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/commits' operation and returns the Response. Parameters:
workspaceListRepoPullRequests(String org, String workspace, String owner, String repo) → Future<Map<String, Object>?>
Parameters:
workspaceListRepoPullRequestsWithHttpInfo(String org, String workspace, String owner, String repo) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/pulls' operation and returns the Response. Parameters:
workspaceListRepoRepositories(String org, String workspace) → Future<Map<String, Object>?>
Parameters:
workspaceListRepoRepositoriesWithHttpInfo(String org, String workspace) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories' operation and returns the Response. Parameters:
workspaceListRepoTasks(String org, String workspace, String owner, String repo) → Future<Map<String, Object>?>
Parameters:
workspaceListRepoTasksWithHttpInfo(String org, String workspace, String owner, String repo) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/tasks' operation and returns the Response. Parameters:
workspaceListRepoWorkflows(String org, String workspace, String owner, String repo) → Future<Map<String, Object>?>
Parameters:
workspaceListRepoWorkflowsWithHttpInfo(String org, String workspace, String owner, String repo) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/workflows' operation and returns the Response. Parameters:
workspaceMergeRepoPullRequest(String org, String workspace, String owner, String repo, int number, {Map<String, Object>? requestBody}) → Future<Map<String, Object>?>
Parameters:
workspaceMergeRepoPullRequestWithHttpInfo(String org, String workspace, String owner, String repo, int number, {Map<String, Object>? requestBody}) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/pulls/{number}/merge' operation and returns the Response. Parameters:
workspaceTriggerRepoWorkflow(String org, String workspace, String owner, String repo, String id, {Map<String, Object>? requestBody}) → Future<Map<String, Object>?>
Parameters:
workspaceTriggerRepoWorkflowWithHttpInfo(String org, String workspace, String owner, String repo, String id, {Map<String, Object>? requestBody}) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/workflows/{id}/trigger' operation and returns the Response. Parameters:

Operators

operator ==(Object other) → bool
The equality operator.
inherited