octopush/crates/gitea_raw_client/docs/SettingsApi.md
Kasper Juul Hermansen 991861db99
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Rewrite rust (#38)
Co-authored-by: kjuulh <contact@kjuulh.io>
Reviewed-on: #38
2022-11-27 11:21:35 +00:00

4.1 KiB

\SettingsApi

All URIs are relative to /api/v1

Method HTTP request Description
get_general_api_settings GET /settings/api Get instance's global settings for api
get_general_attachment_settings GET /settings/attachment Get instance's global settings for Attachment
get_general_repository_settings GET /settings/repository Get instance's global settings for repositories
get_general_ui_settings GET /settings/ui Get instance's global settings for ui

get_general_api_settings

crate::models::GeneralApiSettings get_general_api_settings() Get instance's global settings for api

Parameters

This endpoint does not need any parameter.

Return type

crate::models::GeneralApiSettings

Authorization

AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, TOTPHeader, Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_general_attachment_settings

crate::models::GeneralAttachmentSettings get_general_attachment_settings() Get instance's global settings for Attachment

Parameters

This endpoint does not need any parameter.

Return type

crate::models::GeneralAttachmentSettings

Authorization

AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, TOTPHeader, Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_general_repository_settings

crate::models::GeneralRepoSettings get_general_repository_settings() Get instance's global settings for repositories

Parameters

This endpoint does not need any parameter.

Return type

crate::models::GeneralRepoSettings

Authorization

AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, TOTPHeader, Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_general_ui_settings

crate::models::GeneralUiSettings get_general_ui_settings() Get instance's global settings for ui

Parameters

This endpoint does not need any parameter.

Return type

crate::models::GeneralUiSettings

Authorization

AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, TOTPHeader, Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]