Class MarkdownApi

  • All Implemented Interfaces:
    Constants

    public class MarkdownApi
    extends AbstractApi
    This class provides an entry point to all the GitLab API markdown calls.
    • Constructor Detail

      • MarkdownApi

        public MarkdownApi​(GitLabApi gitLabApi)
    • Method Detail

      • getMarkdown

        public Markdown getMarkdown​(String text)
                             throws GitLabApiException
        Render an arbitrary Markdown document.
        GitLab Endpoint: POST /api/v4/markdown
        Parameters:
        text - text to be transformed
        Returns:
        a Markdown instance with transformed info
        Throws:
        GitLabApiException - if any exception occurs
        Since:
        GitLab 11.0