feat: add rustls
This commit is contained in:
@@ -6,11 +6,16 @@ Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create_current_user_repo**](UserApi.md#create_current_user_repo) | **POST** /user/repos | Create a repository
|
||||
[**create_user_variable**](UserApi.md#create_user_variable) | **POST** /user/actions/variables/{variablename} | Create a user-level variable
|
||||
[**delete_user_runner**](UserApi.md#delete_user_runner) | **DELETE** /user/actions/runners/{runner_id} | Delete an user-level runner
|
||||
[**delete_user_secret**](UserApi.md#delete_user_secret) | **DELETE** /user/actions/secrets/{secretname} | Delete a secret in a user scope
|
||||
[**delete_user_variable**](UserApi.md#delete_user_variable) | **DELETE** /user/actions/variables/{variablename} | Delete a user-level variable which is created by current doer
|
||||
[**get_user_runner**](UserApi.md#get_user_runner) | **GET** /user/actions/runners/{runner_id} | Get an user-level runner
|
||||
[**get_user_runners**](UserApi.md#get_user_runners) | **GET** /user/actions/runners | Get user-level runners
|
||||
[**get_user_settings**](UserApi.md#get_user_settings) | **GET** /user/settings | Get user settings
|
||||
[**get_user_variable**](UserApi.md#get_user_variable) | **GET** /user/actions/variables/{variablename} | Get a user-level variable which is created by current doer
|
||||
[**get_user_variables_list**](UserApi.md#get_user_variables_list) | **GET** /user/actions/variables | Get the user-level list of variables which is created by current doer
|
||||
[**get_user_workflow_jobs**](UserApi.md#get_user_workflow_jobs) | **GET** /user/actions/jobs | Get workflow jobs
|
||||
[**get_user_workflow_runs**](UserApi.md#get_user_workflow_runs) | **GET** /user/actions/runs | Get workflow runs
|
||||
[**get_verification_token**](UserApi.md#get_verification_token) | **GET** /user/gpg_key_token | Get a Token to verify
|
||||
[**update_user_secret**](UserApi.md#update_user_secret) | **PUT** /user/actions/secrets/{secretname} | Create or Update a secret value in a user scope
|
||||
[**update_user_settings**](UserApi.md#update_user_settings) | **PATCH** /user/settings | Update user settings
|
||||
@@ -21,6 +26,7 @@ Method | HTTP request | Description
|
||||
[**user_check_user_block**](UserApi.md#user_check_user_block) | **GET** /user/blocks/{username} | Check if a user is blocked by the authenticated user
|
||||
[**user_create_hook**](UserApi.md#user_create_hook) | **POST** /user/hooks | Create a hook
|
||||
[**user_create_o_auth2_application**](UserApi.md#user_create_o_auth2_application) | **POST** /user/applications/oauth2 | creates a new OAuth2 application
|
||||
[**user_create_runner_registration_token**](UserApi.md#user_create_runner_registration_token) | **POST** /user/actions/runners/registration-token | Get an user's actions runner registration token
|
||||
[**user_create_token**](UserApi.md#user_create_token) | **POST** /users/{username}/tokens | Create an access token
|
||||
[**user_current_check_following**](UserApi.md#user_current_check_following) | **GET** /user/following/{username} | Check whether a user is followed by the authenticated user
|
||||
[**user_current_check_starring**](UserApi.md#user_current_check_starring) | **GET** /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo
|
||||
@@ -134,6 +140,34 @@ 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_user_runner
|
||||
|
||||
> delete_user_runner(runner_id)
|
||||
Delete an user-level 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)
|
||||
|
||||
|
||||
## delete_user_secret
|
||||
|
||||
> delete_user_secret(secretname)
|
||||
@@ -190,6 +224,59 @@ 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)
|
||||
|
||||
|
||||
## get_user_runner
|
||||
|
||||
> get_user_runner(runner_id)
|
||||
Get an user-level 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_user_runners
|
||||
|
||||
> get_user_runners()
|
||||
Get user-level 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)
|
||||
|
||||
|
||||
## get_user_settings
|
||||
|
||||
> Vec<models::UserSettings> get_user_settings()
|
||||
@@ -272,6 +359,70 @@ 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)
|
||||
|
||||
|
||||
## get_user_workflow_jobs
|
||||
|
||||
> models::ActionWorkflowJobsResponse get_user_workflow_jobs(status, page, limit)
|
||||
Get workflow 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)
|
||||
|
||||
|
||||
## get_user_workflow_runs
|
||||
|
||||
> models::ActionWorkflowRunsResponse get_user_workflow_runs(event, branch, status, actor, head_sha, page, limit)
|
||||
Get workflow 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)
|
||||
|
||||
|
||||
## get_verification_token
|
||||
|
||||
> String get_verification_token()
|
||||
@@ -421,7 +572,7 @@ Block a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | user to block | [required] |
|
||||
**username** | **String** | username of the user to block | [required] |
|
||||
**note** | Option<**String**> | optional note for the block | |
|
||||
|
||||
### Return type
|
||||
@@ -450,8 +601,8 @@ Check if one user is following another user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of following user | [required] |
|
||||
**target** | **String** | username of followed user | [required] |
|
||||
**username** | **String** | username of the following user | [required] |
|
||||
**target** | **String** | username of the followed user | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -479,7 +630,7 @@ Check if a user is blocked by the authenticated user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | user to check | [required] |
|
||||
**username** | **String** | username of the user to check | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -553,6 +704,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)
|
||||
|
||||
|
||||
## user_create_runner_registration_token
|
||||
|
||||
> user_create_runner_registration_token()
|
||||
Get an user's 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)
|
||||
|
||||
|
||||
## user_create_token
|
||||
|
||||
> models::AccessToken user_create_token(username, body)
|
||||
@@ -563,7 +739,7 @@ Create an access token
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose token is to be created | [required] |
|
||||
**body** | Option<[**CreateAccessTokenOption**](CreateAccessTokenOption.md)> | | |
|
||||
|
||||
### Return type
|
||||
@@ -592,7 +768,7 @@ Check whether a user is followed by the authenticated user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of followed user | [required] |
|
||||
**username** | **String** | username of the user to check for authenticated followers | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -649,7 +825,7 @@ Unfollow a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user to unfollow | [required] |
|
||||
**username** | **String** | username of the user to unfollow | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -1078,7 +1254,7 @@ Follow a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user to follow | [required] |
|
||||
**username** | **String** | username of the user to follow | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -1166,7 +1342,7 @@ delete an access token
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose token is to be deleted | [required] |
|
||||
**token** | **String** | token to be deleted, identified by ID and if not available by name | [required] |
|
||||
|
||||
### Return type
|
||||
@@ -1333,7 +1509,7 @@ Get a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user to get | [required] |
|
||||
**username** | **String** | username of the user whose data is to be listed | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -1386,7 +1562,7 @@ Get a user's heatmap
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user to get | [required] |
|
||||
**username** | **String** | username of the user whose heatmap is to be obtained | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -1553,7 +1729,7 @@ List the authenticated user's access tokens
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of to user whose access tokens are to be listed | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1583,7 +1759,7 @@ List a user's activity feeds
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose activity feeds are to be listed | [required] |
|
||||
**only_performed_by** | Option<**bool**> | if true, only show actions performed by the requested user | |
|
||||
**date** | Option<**String**> | the date of the activities to be found | |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
@@ -1669,7 +1845,7 @@ List the given user's followers
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose followers are to be listed | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1699,7 +1875,7 @@ List the users that the given user is following
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose followed users are to be listed | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1729,7 +1905,7 @@ List the given user's GPG keys
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose GPG key list is to be obtained | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1788,7 +1964,7 @@ List the given user's public keys
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose public keys are to be listed | [required] |
|
||||
**fingerprint** | Option<**String**> | fingerprint of the key | |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
@@ -1819,7 +1995,7 @@ List the repos owned by the given user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose owned repos are to be listed | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1849,7 +2025,7 @@ The repos that the given user has starred
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of user | [required] |
|
||||
**username** | **String** | username of the user whose starred repos are to be listed | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1879,7 +2055,7 @@ List the repositories watched by a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | username of the user | [required] |
|
||||
**username** | **String** | username of the user whose watched repos are to be listed | [required] |
|
||||
**page** | Option<**i32**> | page number of results to return (1-based) | |
|
||||
**limit** | Option<**i32**> | page size of results | |
|
||||
|
||||
@@ -1969,7 +2145,7 @@ Unblock a user
|
||||
|
||||
Name | Type | Description | Required | Notes
|
||||
------------- | ------------- | ------------- | ------------- | -------------
|
||||
**username** | **String** | user to unblock | [required] |
|
||||
**username** | **String** | username of the user to unblock | [required] |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user