feat: add rustls
This commit is contained in:
@@ -10,6 +10,7 @@ Method | HTTP request | Description
|
||||
[**admin_create_org**](AdminApi.md#admin_create_org) | **POST** /admin/users/{username}/orgs | Create an organization
|
||||
[**admin_create_public_key**](AdminApi.md#admin_create_public_key) | **POST** /admin/users/{username}/keys | Add a public key on behalf of a user
|
||||
[**admin_create_repo**](AdminApi.md#admin_create_repo) | **POST** /admin/users/{username}/repos | Create a repository on behalf of a user
|
||||
[**admin_create_runner_registration_token**](AdminApi.md#admin_create_runner_registration_token) | **POST** /admin/actions/runners/registration-token | Get an global actions runner registration token
|
||||
[**admin_create_user**](AdminApi.md#admin_create_user) | **POST** /admin/users | Create a user
|
||||
[**admin_cron_list**](AdminApi.md#admin_cron_list) | **GET** /admin/cron | List cron tasks
|
||||
[**admin_cron_run**](AdminApi.md#admin_cron_run) | **POST** /admin/cron/{task} | Run cron task
|
||||
@@ -30,6 +31,11 @@ Method | HTTP request | Description
|
||||
[**admin_search_emails**](AdminApi.md#admin_search_emails) | **GET** /admin/emails/search | Search all emails
|
||||
[**admin_search_users**](AdminApi.md#admin_search_users) | **GET** /admin/users | Search users according filter conditions
|
||||
[**admin_unadopted_list**](AdminApi.md#admin_unadopted_list) | **GET** /admin/unadopted | List unadopted repositories
|
||||
[**delete_admin_runner**](AdminApi.md#delete_admin_runner) | **DELETE** /admin/actions/runners/{runner_id} | Delete an global runner
|
||||
[**get_admin_runner**](AdminApi.md#get_admin_runner) | **GET** /admin/actions/runners/{runner_id} | Get an global runner
|
||||
[**get_admin_runners**](AdminApi.md#get_admin_runners) | **GET** /admin/actions/runners | Get all runners
|
||||
[**list_admin_workflow_jobs**](AdminApi.md#list_admin_workflow_jobs) | **GET** /admin/actions/jobs | Lists all jobs
|
||||
[**list_admin_workflow_runs**](AdminApi.md#list_admin_workflow_runs) | **GET** /admin/actions/runs | Lists all runs
|
||||
|
||||
|
||||
|
||||
@@ -43,7 +49,7 @@ Add a badge to a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user to whom a badge is to be added | [required] |
|
||||
**body** | Option<[**UserBadgeOption**](UserBadgeOption.md)> | | |
|
||||
|
||||
### Return type
|
||||
@@ -129,7 +135,7 @@ Create an organization
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of the user that will own the created organization | [required] |
|
||||
**username** | **String** | username of the user who will own the created organization | [required] |
|
||||
**organization** | [**CreateOrgOption**](CreateOrgOption.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
@@ -158,7 +164,7 @@ Add a public key on behalf of a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of the user | [required] |
|
||||
**username** | **String** | username of the user who is to receive a public key | [required] |
|
||||
**key** | Option<[**CreateKeyOption**](CreateKeyOption.md)> | | |
|
||||
|
||||
### Return type
|
||||
@@ -187,7 +193,7 @@ Create a repository on behalf of a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of the user. This user will own the created repository | [required] |
|
||||
**username** | **String** | username of the user who will own the created repository | [required] |
|
||||
**repository** | [**CreateRepoOption**](CreateRepoOption.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
@@ -206,6 +212,31 @@ Name | Type | Description | Required | Notes
|
||||
[[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)
|
||||
|
||||
|
||||
## admin_create_runner_registration_token
|
||||
|
||||
> admin_create_runner_registration_token()
|
||||
Get an global actions runner registration token
|
||||
|
||||
### Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[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)
|
||||
|
||||
|
||||
## admin_create_user
|
||||
|
||||
> models::User admin_create_user(body)
|
||||
@@ -358,7 +389,7 @@ Delete a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user to delete | [required] |
|
||||
**username** | **String** | username of the user to delete | [required] |
|
||||
**purge** | Option<**bool**> | purge the user from the system completely | |
|
||||
|
||||
### Return type
|
||||
@@ -387,7 +418,7 @@ Remove a badge from a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose badge is to be deleted | [required] |
|
||||
**body** | Option<[**UserBadgeOption**](UserBadgeOption.md)> | | |
|
||||
|
||||
### Return type
|
||||
@@ -416,7 +447,7 @@ Delete a user's public key
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose public key is to be deleted | [required] |
|
||||
**id** | **i64** | id of the key to delete | [required] |
|
||||
|
||||
### Return type
|
||||
@@ -474,7 +505,7 @@ Edit an existing user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user to edit | [required] |
|
||||
**username** | **String** | username of the user whose data is to be edited | [required] |
|
||||
**body** | Option<[**EditUserOption**](EditUserOption.md)> | | |
|
||||
|
||||
### Return type
|
||||
@@ -606,7 +637,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
## admin_list_hooks
|
||||
|
||||
> Vec<models::Hook> admin_list_hooks(page, limit)
|
||||
> Vec<models::Hook> admin_list_hooks(page, limit, r#type)
|
||||
List system's webhooks
|
||||
|
||||
### Parameters
|
||||
@@ -616,6 +647,7 @@ Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
**r#type** | Option<**String**> | system, default or both kinds of webhooks | |[default to system]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -643,7 +675,7 @@ List a user's badges
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose badges are to be listed | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -671,7 +703,7 @@ Rename a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | existing username of user | [required] |
|
||||
**username** | **String** | current username of the user | [required] |
|
||||
**body** | [**RenameUserOption**](RenameUserOption.md) | | [required] |
|
||||
|
||||
### Return type
|
||||
@@ -731,7 +763,7 @@ Search users according filter conditions
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**source_id** | Option<**i64**> | ID of the user's login source to search for | |
|
||||
**login_name** | Option<**String**> | user's login name to search for | |
|
||||
**login_name** | Option<**String**> | identifier of the user, provided by the external authenticator | |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -780,3 +812,148 @@ Name | Type | Description | Required | Notes
|
||||
|
||||
[[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)
|
||||
|
||||
|
||||
## delete_admin_runner
|
||||
|
||||
> delete_admin_runner(runner_id)
|
||||
Delete an global runner
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**runner_id** | **String** | id of the runner | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[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_admin_runner
|
||||
|
||||
> get_admin_runner(runner_id)
|
||||
Get an global runner
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**runner_id** | **String** | id of the runner | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[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_admin_runners
|
||||
|
||||
> get_admin_runners()
|
||||
Get all runners
|
||||
|
||||
### Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[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_admin_workflow_jobs
|
||||
|
||||
> models::ActionWorkflowJobsResponse list_admin_workflow_jobs(status, page, limit)
|
||||
Lists all jobs
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**status** | Option<**String**> | workflow status (pending, queued, in_progress, failure, success, skipped) | |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::ActionWorkflowJobsResponse**](ActionWorkflowJobsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
|
||||
|
||||
### 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_admin_workflow_runs
|
||||
|
||||
> models::ActionWorkflowRunsResponse list_admin_workflow_runs(event, branch, status, actor, head_sha, page, limit)
|
||||
Lists all runs
|
||||
|
||||
### Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**event** | Option<**String**> | workflow event name | |
|
||||
**branch** | Option<**String**> | workflow branch | |
|
||||
**status** | Option<**String**> | workflow status (pending, queued, in_progress, failure, success, skipped) | |
|
||||
**actor** | Option<**String**> | triggered by user | |
|
||||
**head_sha** | Option<**String**> | triggering sha of the workflow run | |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**models::ActionWorkflowRunsResponse**](ActionWorkflowRunsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[TOTPHeader](../README.md#TOTPHeader), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [SudoHeader](../README.md#SudoHeader), [BasicAuth](../README.md#BasicAuth), [AccessToken](../README.md#AccessToken), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
|
||||
|
||||
### 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user