|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- # \MiscellaneousApi
-
- All URIs are relative to *http://localhost/api/v1*
-
- Method | HTTP request | Description
- ------------- | ------------- | -------------
- [**get_signing_key**](MiscellaneousApi.md#get_signing_key) | **Get** /signing-key.gpg | Get default signing-key.gpg
- [**get_version**](MiscellaneousApi.md#get_version) | **Get** /version | Returns the version of the Gitea application
- [**render_markdown**](MiscellaneousApi.md#render_markdown) | **Post** /markdown | Render a markdown document as HTML
- [**render_markdown_raw**](MiscellaneousApi.md#render_markdown_raw) | **Post** /markdown/raw | Render raw markdown as HTML
-
-
- # **get_signing_key**
- > String get_signing_key(ctx, ctx, ctx, ctx, ctx, ctx, )
- Get default signing-key.gpg
-
- ### Required Parameters
- This endpoint does not need any parameter.
-
- ### Return type
-
- **String**
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: text/plain
-
- [[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_version**
- > ::models::ServerVersion get_version(ctx, ctx, ctx, ctx, ctx, ctx, )
- Returns the version of the Gitea application
-
- ### Required Parameters
- This endpoint does not need any parameter.
-
- ### Return type
-
- [**::models::ServerVersion**](ServerVersion.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **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)
-
- # **render_markdown**
- > String render_markdown(ctx, ctx, ctx, ctx, ctx, ctx, optional)
- Render a markdown document as HTML
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **body** | [**MarkdownOption**](MarkdownOption.md)| |
-
- ### Return type
-
- **String**
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: text/html
-
- [[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)
-
- # **render_markdown_raw**
- > String render_markdown_raw(ctx, ctx, ctx, ctx, ctx, ctx, body)
- Render raw markdown as HTML
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **body** | **String**| Request body to render |
-
- ### Return type
-
- **String**
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: text/plain
- - **Accept**: text/html
-
- [[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)
-
|