All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
get_signing_key | Get /signing-key.gpg | Get default signing-key.gpg |
get_version | Get /version | Returns the version of the Gitea application |
render_markdown | Post /markdown | Render a markdown document as HTML |
render_markdown_raw | Post /markdown/raw | Render raw markdown as HTML |
String get_signing_key(ctx, ctx, ctx, ctx, ctx, ctx, ) Get default signing-key.gpg
This endpoint does not need any parameter.
String
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::ServerVersion get_version(ctx, ctx, ctx, ctx, ctx, ctx, ) Returns the version of the Gitea application
This endpoint does not need any parameter.
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
String render_markdown(ctx, ctx, ctx, ctx, ctx, ctx, optional) Render a markdown document as HTML
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 are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
body | MarkdownOption |
String
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
String render_markdown_raw(ctx, ctx, ctx, ctx, ctx, ctx, body) Render raw markdown as HTML
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 |
String
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]