# \RepoApi
All URIs are relative to *https://api.spatio.app*
[**create_repo_branch**](RepoApi.md#create_repo_branch) | **POST** /v1/repos/repositories/{owner}/{repo}/branches | Create a branch (from a base sha).
[**create_repo_pull_request**](RepoApi.md#create_repo_pull_request) | **POST** /v1/repos/repositories/{owner}/{repo}/pulls | Open a pull request.
[**create_repo_repository**](RepoApi.md#create_repo_repository) | **POST** /v1/repos/repositories | Create a repository.
[**get_repo_commit**](RepoApi.md#get_repo_commit) | **GET** /v1/repos/repositories/{owner}/{repo}/commits/{sha} | Fetch a single commit.
[**get_repo_repository**](RepoApi.md#get_repo_repository) | **GET** /v1/repos/repositories/{owner}/{repo} | Fetch a single repository.
[**link_repo_task**](RepoApi.md#link_repo_task) | **POST** /v1/repos/repositories/{owner}/{repo}/tasks/link | Link an existing Spatio task to this repo, allocating a per-repo number.
[**list_repo_branches**](RepoApi.md#list_repo_branches) | **GET** /v1/repos/repositories/{owner}/{repo}/branches | List branches on a repository.
[**list_repo_commits**](RepoApi.md#list_repo_commits) | **GET** /v1/repos/repositories/{owner}/{repo}/commits | List commits on a repository.
[**list_repo_pull_requests**](RepoApi.md#list_repo_pull_requests) | **GET** /v1/repos/repositories/{owner}/{repo}/pulls | List pull requests on a repository.
[**list_repo_repositories**](RepoApi.md#list_repo_repositories) | **GET** /v1/repos/repositories | List the caller's accessible repositories.
[**list_repo_tasks**](RepoApi.md#list_repo_tasks) | **GET** /v1/repos/repositories/{owner}/{repo}/tasks | List tasks linked to this repo (the \"issues\" surface).
[**list_repo_workflows**](RepoApi.md#list_repo_workflows) | **GET** /v1/repos/repositories/{owner}/{repo}/workflows | List CI workflows.
[**merge_repo_pull_request**](RepoApi.md#merge_repo_pull_request) | **POST** /v1/repos/repositories/{owner}/{repo}/pulls/{number}/merge | Merge a pull request.
[**trigger_repo_workflow**](RepoApi.md#trigger_repo_workflow) | **POST** /v1/repos/repositories/{owner}/{repo}/workflows/{id}/trigger | Trigger a workflow_dispatch run.
[**workspace_create_repo_branch**](RepoApi.md#workspace_create_repo_branch) | **POST** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/branches |
[**workspace_create_repo_pull_request**](RepoApi.md#workspace_create_repo_pull_request) | **POST** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/pulls |
[**workspace_create_repo_repository**](RepoApi.md#workspace_create_repo_repository) | **POST** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories |
[**workspace_get_repo_commit**](RepoApi.md#workspace_get_repo_commit) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/commits/{sha} |
[**workspace_get_repo_repository**](RepoApi.md#workspace_get_repo_repository) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo} |
[**workspace_link_repo_task**](RepoApi.md#workspace_link_repo_task) | **POST** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/tasks/link |
[**workspace_list_repo_branches**](RepoApi.md#workspace_list_repo_branches) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/branches |
[**workspace_list_repo_commits**](RepoApi.md#workspace_list_repo_commits) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/commits |
[**workspace_list_repo_pull_requests**](RepoApi.md#workspace_list_repo_pull_requests) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/pulls |
[**workspace_list_repo_repositories**](RepoApi.md#workspace_list_repo_repositories) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories |
[**workspace_list_repo_tasks**](RepoApi.md#workspace_list_repo_tasks) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/tasks |
[**workspace_list_repo_workflows**](RepoApi.md#workspace_list_repo_workflows) | **GET** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/workflows |
[**workspace_merge_repo_pull_request**](RepoApi.md#workspace_merge_repo_pull_request) | **POST** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/pulls/{number}/merge |
[**workspace_trigger_repo_workflow**](RepoApi.md#workspace_trigger_repo_workflow) | **POST** /v1/organizations/{org}/workspaces/{workspace}/repos/repositories/{owner}/{repo}/workflows/{id}/trigger |
## create_repo_branch
> std::collections::HashMap<String, serde_json::Value> create_repo_branch(owner, repo, request_body)
Create a branch (from a base sha).
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## create_repo_pull_request
> std::collections::HashMap<String, serde_json::Value> create_repo_pull_request(owner, repo, request_body)
Open a pull request.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## create_repo_repository
> std::collections::HashMap<String, serde_json::Value> create_repo_repository(request_body)
Create a repository.
### Parameters
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_repo_commit
> std::collections::HashMap<String, serde_json::Value> get_repo_commit(owner, repo, sha)
Fetch a single commit.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**sha** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_repo_repository
> std::collections::HashMap<String, serde_json::Value> get_repo_repository(owner, repo)
Fetch a single repository.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## link_repo_task
> std::collections::HashMap<String, serde_json::Value> link_repo_task(owner, repo, link_repo_task_request)
Link an existing Spatio task to this repo, allocating a per-repo number.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**link_repo_task_request** | [**LinkRepoTaskRequest**](LinkRepoTaskRequest.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_repo_branches
> std::collections::HashMap<String, serde_json::Value> list_repo_branches(owner, repo)
List branches on a repository.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_repo_commits
> std::collections::HashMap<String, serde_json::Value> list_repo_commits(owner, repo, branch, limit)
List commits on a repository.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**branch** | Option<**String**> | | |
**limit** | Option<**i32**> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_repo_pull_requests
> std::collections::HashMap<String, serde_json::Value> list_repo_pull_requests(owner, repo)
List pull requests on a repository.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_repo_repositories
> std::collections::HashMap<String, serde_json::Value> list_repo_repositories(visibility, limit)
List the caller's accessible repositories.
### Parameters
**visibility** | Option<**String**> | | |
**limit** | Option<**i32**> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_repo_tasks
> std::collections::HashMap<String, serde_json::Value> list_repo_tasks(owner, repo, state, per_page, page)
List tasks linked to this repo (the \"issues\" surface).
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**state** | Option<**String**> | | |
**per_page** | Option<**i32**> | | |
**page** | Option<**i32**> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_repo_workflows
> std::collections::HashMap<String, serde_json::Value> list_repo_workflows(owner, repo)
List CI workflows.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## merge_repo_pull_request
> std::collections::HashMap<String, serde_json::Value> merge_repo_pull_request(owner, repo, number, request_body)
Merge a pull request.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**number** | **i32** | | [required] |
**request_body** | Option<[**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md)> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## trigger_repo_workflow
> std::collections::HashMap<String, serde_json::Value> trigger_repo_workflow(owner, repo, id, request_body)
Trigger a workflow_dispatch run.
### Parameters
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**id** | **String** | | [required] |
**request_body** | Option<[**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md)> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_create_repo_branch
> std::collections::HashMap<String, serde_json::Value> workspace_create_repo_branch(org, workspace, owner, repo, request_body)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_create_repo_pull_request
> std::collections::HashMap<String, serde_json::Value> workspace_create_repo_pull_request(org, workspace, owner, repo, request_body)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_create_repo_repository
> std::collections::HashMap<String, serde_json::Value> workspace_create_repo_repository(org, workspace, request_body)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_get_repo_commit
> std::collections::HashMap<String, serde_json::Value> workspace_get_repo_commit(org, workspace, owner, repo, sha)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**sha** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_get_repo_repository
> std::collections::HashMap<String, serde_json::Value> workspace_get_repo_repository(org, workspace, owner, repo)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_link_repo_task
> std::collections::HashMap<String, serde_json::Value> workspace_link_repo_task(org, workspace, owner, repo, request_body)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**request_body** | [**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md) | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_list_repo_branches
> std::collections::HashMap<String, serde_json::Value> workspace_list_repo_branches(org, workspace, owner, repo)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_list_repo_commits
> std::collections::HashMap<String, serde_json::Value> workspace_list_repo_commits(org, workspace, owner, repo)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_list_repo_pull_requests
> std::collections::HashMap<String, serde_json::Value> workspace_list_repo_pull_requests(org, workspace, owner, repo)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_list_repo_repositories
> std::collections::HashMap<String, serde_json::Value> workspace_list_repo_repositories(org, workspace)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_list_repo_tasks
> std::collections::HashMap<String, serde_json::Value> workspace_list_repo_tasks(org, workspace, owner, repo)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_list_repo_workflows
> std::collections::HashMap<String, serde_json::Value> workspace_list_repo_workflows(org, workspace, owner, repo)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_merge_repo_pull_request
> std::collections::HashMap<String, serde_json::Value> workspace_merge_repo_pull_request(org, workspace, owner, repo, number, request_body)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**number** | **i32** | | [required] |
**request_body** | Option<[**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md)> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## workspace_trigger_repo_workflow
> std::collections::HashMap<String, serde_json::Value> workspace_trigger_repo_workflow(org, workspace, owner, repo, id, request_body)
### Parameters
**org** | **String** | | [required] |
**workspace** | **String** | | [required] |
**owner** | **String** | | [required] |
**repo** | **String** | | [required] |
**id** | **String** | | [required] |
**request_body** | Option<[**std::collections::HashMap<String, serde_json::Value>**](SerdeJson__Value.md)> | | |
### Return type
[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)