| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Gitea.API.Miscellaneous
Description
Synopsis
- getGitignoreTemplateInfo :: Name -> GiteaRequest GetGitignoreTemplateInfo MimeNoContent GitignoreTemplateInfo MimeJSON
- data GetGitignoreTemplateInfo
- getLabelTemplateInfo :: Name -> GiteaRequest GetLabelTemplateInfo MimeNoContent [LabelTemplate] MimeJSON
- data GetLabelTemplateInfo
- getLicenseTemplateInfo :: Name -> GiteaRequest GetLicenseTemplateInfo MimeNoContent LicenseTemplateInfo MimeJSON
- data GetLicenseTemplateInfo
- getNodeInfo :: GiteaRequest GetNodeInfo MimeNoContent NodeInfo MimeJSON
- data GetNodeInfo
- getSigningKey :: GiteaRequest GetSigningKey MimeNoContent Text MimePlainText
- data GetSigningKey
- getVersion :: GiteaRequest GetVersion MimeNoContent ServerVersion MimeJSON
- data GetVersion
- listGitignoresTemplates :: GiteaRequest ListGitignoresTemplates MimeNoContent [Text] MimeJSON
- data ListGitignoresTemplates
- listLabelTemplates :: GiteaRequest ListLabelTemplates MimeNoContent [Text] MimeJSON
- data ListLabelTemplates
- listLicenseTemplates :: GiteaRequest ListLicenseTemplates MimeNoContent [LicensesTemplateListEntry] MimeJSON
- data ListLicenseTemplates
- renderMarkdown :: Consumes RenderMarkdown MimeJSON => GiteaRequest RenderMarkdown MimeJSON Text MimeTextHtml
- data RenderMarkdown
- renderMarkdownRaw :: (Consumes RenderMarkdownRaw MimePlainText, MimeRender MimePlainText Body) => Body -> GiteaRequest RenderMarkdownRaw MimePlainText Text MimeTextHtml
- data RenderMarkdownRaw
- renderMarkup :: Consumes RenderMarkup MimeJSON => GiteaRequest RenderMarkup MimeJSON Text MimeTextHtml
- data RenderMarkup
Operations
Miscellaneous
getGitignoreTemplateInfo
getGitignoreTemplateInfo Source #
Arguments
| :: Name | "name" - name of the template |
| -> GiteaRequest GetGitignoreTemplateInfo MimeNoContent GitignoreTemplateInfo MimeJSON |
GET /gitignore/templates/{name}Returns information about a gitignore template
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data GetGitignoreTemplateInfo Source #
Instances
| Produces GetGitignoreTemplateInfo MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
getLabelTemplateInfo
Arguments
| :: Name | "name" - name of the template |
| -> GiteaRequest GetLabelTemplateInfo MimeNoContent [LabelTemplate] MimeJSON |
GET /label/templates/{name}Returns all labels in a template
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data GetLabelTemplateInfo Source #
Instances
| Produces GetLabelTemplateInfo MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
getLicenseTemplateInfo
getLicenseTemplateInfo Source #
Arguments
| :: Name | "name" - name of the license |
| -> GiteaRequest GetLicenseTemplateInfo MimeNoContent LicenseTemplateInfo MimeJSON |
GET /licenses/{name}Returns information about a license template
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data GetLicenseTemplateInfo Source #
Instances
| Produces GetLicenseTemplateInfo MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
getNodeInfo
getNodeInfo :: GiteaRequest GetNodeInfo MimeNoContent NodeInfo MimeJSON Source #
GET /nodeinfo
Returns the nodeinfo of the Gitea application
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data GetNodeInfo Source #
Instances
| Produces GetNodeInfo MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
getSigningKey
getSigningKey :: GiteaRequest GetSigningKey MimeNoContent Text MimePlainText Source #
GET /signing-key.gpg
Get default signing-key.gpg
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data GetSigningKey Source #
Instances
| Produces GetSigningKey MimePlainText Source # | text/plain |
Defined in Gitea.API.Miscellaneous | |
getVersion
getVersion :: GiteaRequest GetVersion MimeNoContent ServerVersion MimeJSON Source #
GET /version
Returns the version of the Gitea application
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data GetVersion Source #
Instances
| Produces GetVersion MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
listGitignoresTemplates
listGitignoresTemplates :: GiteaRequest ListGitignoresTemplates MimeNoContent [Text] MimeJSON Source #
GET /gitignore/templates
Returns a list of all gitignore templates
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data ListGitignoresTemplates Source #
Instances
| Produces ListGitignoresTemplates MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
listLabelTemplates
listLabelTemplates :: GiteaRequest ListLabelTemplates MimeNoContent [Text] MimeJSON Source #
GET /label/templates
Returns a list of all label templates
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data ListLabelTemplates Source #
Instances
| Produces ListLabelTemplates MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
listLicenseTemplates
listLicenseTemplates :: GiteaRequest ListLicenseTemplates MimeNoContent [LicensesTemplateListEntry] MimeJSON Source #
GET /licenses
Returns a list of all license templates
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data ListLicenseTemplates Source #
Instances
| Produces ListLicenseTemplates MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
renderMarkdown
renderMarkdown :: Consumes RenderMarkdown MimeJSON => GiteaRequest RenderMarkdown MimeJSON Text MimeTextHtml Source #
POST /markdown
Render a markdown document as HTML
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data RenderMarkdown Source #
Instances
| HasBodyParam RenderMarkdown MarkdownOption Source # | |
Defined in Gitea.API.Miscellaneous Methods setBodyParam :: (Consumes RenderMarkdown contentType, MimeRender contentType MarkdownOption) => GiteaRequest RenderMarkdown contentType res accept -> MarkdownOption -> GiteaRequest RenderMarkdown contentType res accept Source # | |
| Consumes RenderMarkdown MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
| Produces RenderMarkdown MimeTextHtml Source # | text/html |
Defined in Gitea.API.Miscellaneous | |
renderMarkdownRaw
Arguments
| :: (Consumes RenderMarkdownRaw MimePlainText, MimeRender MimePlainText Body) | |
| => Body | "body" - Request body to render |
| -> GiteaRequest RenderMarkdownRaw MimePlainText Text MimeTextHtml |
POST /markdown/raw
Render raw markdown as HTML
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data RenderMarkdownRaw Source #
Instances
| HasBodyParam RenderMarkdownRaw Body Source # | Body Param "body" - Request body to render |
Defined in Gitea.API.Miscellaneous Methods setBodyParam :: (Consumes RenderMarkdownRaw contentType, MimeRender contentType Body) => GiteaRequest RenderMarkdownRaw contentType res accept -> Body -> GiteaRequest RenderMarkdownRaw contentType res accept Source # | |
| Consumes RenderMarkdownRaw MimePlainText Source # | text/plain |
Defined in Gitea.API.Miscellaneous | |
| Produces RenderMarkdownRaw MimeTextHtml Source # | text/html |
Defined in Gitea.API.Miscellaneous | |
renderMarkup
renderMarkup :: Consumes RenderMarkup MimeJSON => GiteaRequest RenderMarkup MimeJSON Text MimeTextHtml Source #
POST /markup
Render a markup document as HTML
AuthMethod: AuthApiKeyTOTPHeader, AuthApiKeyAuthorizationHeaderToken, AuthApiKeySudoHeader, AuthBasicBasicAuth, AuthApiKeyAccessToken, AuthApiKeySudoParam, AuthApiKeyToken
data RenderMarkup Source #
Instances
| HasBodyParam RenderMarkup MarkupOption Source # | |
Defined in Gitea.API.Miscellaneous Methods setBodyParam :: (Consumes RenderMarkup contentType, MimeRender contentType MarkupOption) => GiteaRequest RenderMarkup contentType res accept -> MarkupOption -> GiteaRequest RenderMarkup contentType res accept Source # | |
| Consumes RenderMarkup MimeJSON Source # | application/json |
Defined in Gitea.API.Miscellaneous | |
| Produces RenderMarkup MimeTextHtml Source # | text/html |
Defined in Gitea.API.Miscellaneous | |