{
  "key": "ch.mibex.confluence.include.gitlab",
  "baseUrl": "https://include-gitlab-for-confluence.mibexsoftware.com",
  "name": "Include GitLab for Confluence",
  "description": "Confluence macros to include files, pull requests and issues from GitLab into Confluence pages",
  "enableLicensing": true,
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "vendor": {
    "name": "Mibex Software GmbH",
    "url": "https://www.mibexsoftware.com"
  },
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled"
  },
  "scopes": ["READ"],
  "modules": {
    "postInstallPage":
    {
      "url": "/v1/postInstall",
      "icon": {
        "width": 80,
        "height": 80,
        "url": "/img/macro-icon-gitlab.png"
      },
      "key": "post-install",
      "name": {
        "value": "Include GitLab"
      }
    },
    "configurePage":
    {
      "url": "/v1/addonConfig",
      "key": "addOnConfig",
      "icon": {
        "width": 80,
        "height": 80,
        "url": "/img/macro-icon-gitlab.png"
      },
      "location": "system.admin/configuration",
      "name": {
        "value": "Include GitLab"
      }
    },
    "adminPages": [
      {
        "url": "/v1/addonConfig",
        "key": "addon-admin-config",
        "icon": {
          "width": 80,
          "height": 80,
          "url": "/img/macro-icon-gitlab.png"
        },
        "name": {
          "value": "Include GitLab"
        }
      }
    ],
    "generalPages": [
      {
        "url": "/v1/confluence-connect-page?ac.state={ac.state}&ac.code={ac.code}",
        "key": "oauth-connect-page",
        "location": "none",
        "name": {
          "value": "Include GitLab OAuth Connect Page"
        },
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ],
    "dynamicContentMacros": [
      {
        "url": "/v1/getfile?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader={hideHeader}&collapsible={collapsible}&mode={output.type}",
        "description": {
          "value": "Include a GitLab file in Confluence. Hint: You can paste a GitLab file URL into a Confluence page editor to also trigger this macro."
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-gitlab-to-confluence-cloud/include-file"
        },
        "icon": {
          "url": "/img/macro-icon-gitlab.png"
        },
        "categories": [
          "formatting", "development", "external-content", "reporting"
        ],
        "renderModes": {
          "default": {
            "url": "/v1/getfile?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader=true&collapsible=false&mode={output.type}"
          }
        },
        "outputType": "block",
        "bodyType": "none",
        "aliases": [
          "include-gitlab-file-macro"
        ],
        "name": {
          "value": "GitLab File"
        },
        "key": "gitlab-file-macro",
        "parameters": [
          {
            "identifier": "url",
            "name": {
              "value": "URL to a file in a GitLab repo"
            },
            "type": "string",
            "required": true,
            "multiple": false,
            "description": {
              "value": "e.g. https://gitlab.com/gitlab-org/gitlab/-/blob/master/README.md"
            }
          },
          {
            "identifier": "syntaxHighlighting",
            "name": {
              "value": "Syntax highlighting"
            },
            "type": "enum",
            "required": false,
            "multiple": false,
            "defaultValue": "Auto Detect",
            "values": ["Auto Detect",
              "Plain Text",
              ".properties",
              "6502 Assembly",
              "ABAP",
              "ABNF",
              "Apache Configuration",
              "AsciiDoc",
              "AsciiDoc highlighted",
              "BASIC",
              "BNF",
              "C",
              "C-like",
              "CIL",
              "Clojure",
              "CMake",
              "CoffeeScript",
              "Cpp",
              "CSharp",
              "Css",
              "CSV",
              "D",
              "DAX",
              "Docker",
              "EBNF",
              "EJS",
              "Embedded Lua templating",
              "ERB",
              "F#",
              "FreeMarker Template Language",
              "Gherkin",
              "Go",
              "GraphQL",
              "Groovy",
              "Haskell",
              "HCL",
              "HTML",
              "Java",
              "Java stack trace",
              "JavaDoc",
              "JavaScript",
              "JSON",
              "Kotlin",
              "LaTeX",
              "LLVM IR",
              "Markdown",
              "Markdown highlighted",
              "MathML",
              "MATLAB",
              "Mermaid",
              "nginx",
              "Object Pascal",
              "Objective-C",
              "OCaml",
              "OpenCL",
              "PHP",
              "PL/SQL",
              "PlantUML",
              "PowerShell",
              "ProtoBuf",
              "Python",
              "Q",
              "Racket",
              "React JSX",
              "React TSX",
              "reST (reStructuredText)",
              "RSS",
              "Ruby",
              "Rust",
              "Sass",
              "Scala",
              "Shell session",
              "Soy (Closure Template)",
              "Sql",
              "SSML",
              "SVG",
              "Swift",
              "T4 templating",
              "T4 Text Templates (C#)",
              "T4 Text Templates (VB)",
              "TeX",
              "TypeScript",
              "Vb",
              "VHDL",
              "vim",
              "Web App Manifest",
              "WebAssembly",
              "Wiki markup",
              "Xml",
              "XQuery",
              "Yaml"
            ],
            "hidden": false
          },
          {
            "identifier": "title",
            "name": {
              "value": "Title"
            },
            "type": "string",
            "required": false,
            "multiple": false
          },
          {
            "identifier": "showLineNumbers",
            "name": {
              "value": "Show line numbers"
            },
            "description": {
              "value": "Line numbers for rendered files like Markdown and AsciiDoc not shown."
            },
            "type": "boolean"
          },
          {
            "identifier": "hideHeader",
            "name": {
              "value": "Hide file header"
            },
            "type": "boolean"
          },
          {
            "identifier": "collapsible",
            "name": {
              "value": "Collapsible"
            },
            "type": "boolean"
          }
        ],
        "autoconvert": {
          "urlParameter": "url",
          "matchers": [
            {
              "pattern": "https://gitlab.com/{}/{}/blob/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/blob/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/blob/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/{}/-/blob/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/{}/-/blob/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/{}/-/blob/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/raw/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/raw/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/raw/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/raw/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/{}/-/raw/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}.{}"
            }
          ]
        }
      },
      {
        "url": "/v1/getdirectory?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader={hideHeader}&collapsible={collapsible}&mode={output.type}",
        "description": {
          "value": "Include files from a GitLab directory in Confluence. Hint: You can paste a GitLab directory URL into a Confluence page editor to also trigger this macro."
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-gitlab-to-confluence-cloud/include-directory"
        },
        "icon": {
          "url": "/img/macro-icon-gitlab.png"
        },
        "categories": [
          "development", "external-content", "reporting"
        ],
        "outputType": "block",
        "bodyType": "none",
        "renderModes": {
          "default": {
            "url": "/v1/getdirectory?url={url}&spaceKey={space.key}&contentId={content.id}&syntaxHighlighting={syntaxHighlighting}&title={title}&showLineNumbers={showLineNumbers}&hideHeader=true&collapsible=false&mode={output.type}"
          }
        },
        "aliases": [
          "include-gitlab-directory-macro"
        ],
        "name": {
          "value": "GitLab Directory"
        },
        "key": "gitlab-directory-macro",
        "parameters": [
          {
            "identifier": "url",
            "name": {
              "value": "URL to a directory in a GitLab repository"
            },
            "type": "string",
            "required": true,
            "multiple": false,
            "description": {
              "value": "e.g. https://gitlab.com/gitlab-org/gitlab/-/tree/master/doc/policy"
            }
          },
          {
            "identifier": "syntaxHighlighting",
            "name": {
              "value": "Syntax highlighting"
            },
            "type": "enum",
            "required": false,
            "multiple": false,
            "defaultValue": "Auto Detect",
            "values": ["Auto Detect",
              "Plain Text",
              ".properties",
              "6502 Assembly",
              "ABAP",
              "ABNF",
              "Apache Configuration",
              "AsciiDoc",
              "AsciiDoc highlighted",
              "BASIC",
              "BNF",
              "C",
              "C-like",
              "CIL",
              "Clojure",
              "CMake",
              "CoffeeScript",
              "Cpp",
              "CSharp",
              "Css",
              "CSV",
              "D",
              "DAX",
              "Docker",
              "EBNF",
              "EJS",
              "Embedded Lua templating",
              "ERB",
              "F#",
              "FreeMarker Template Language",
              "Gherkin",
              "Go",
              "GraphQL",
              "Groovy",
              "Haskell",
              "HCL",
              "HTML",
              "Java",
              "Java stack trace",
              "JavaDoc",
              "JavaScript",
              "JSON",
              "Kotlin",
              "LaTeX",
              "LLVM IR",
              "Markdown",
              "Markdown highlighted",
              "MathML",
              "MATLAB",
              "Mermaid",
              "nginx",
              "Object Pascal",
              "Objective-C",
              "OCaml",
              "OpenCL",
              "PHP",
              "PL/SQL",
              "PlantUML",
              "PowerShell",
              "ProtoBuf",
              "Python",
              "Q",
              "Racket",
              "React JSX",
              "React TSX",
              "reST (reStructuredText)",
              "RSS",
              "Ruby",
              "Rust",
              "Sass",
              "Scala",
              "Shell session",
              "Soy (Closure Template)",
              "Sql",
              "SSML",
              "SVG",
              "Swift",
              "T4 templating",
              "T4 Text Templates (C#)",
              "T4 Text Templates (VB)",
              "TeX",
              "TypeScript",
              "Vb",
              "VHDL",
              "vim",
              "Web App Manifest",
              "WebAssembly",
              "Wiki markup",
              "Xml",
              "XQuery",
              "Yaml"
            ],
            "hidden": false
          },
          {
            "identifier": "showLineNumbers",
            "name": {
              "value": "Show line numbers"
            },
            "description": {
              "value": "Line numbers for rendered files like Markdown and AsciiDoc not shown."
            },
            "type": "boolean"
          },
          {
            "identifier": "hideHeader",
            "name": {
              "value": "Hide file header"
            },
            "type": "boolean"
          },
          {
            "identifier": "collapsible",
            "name": {
              "value": "Collapsible"
            },
            "type": "boolean"
          }
        ],
        "autoconvert": {
          "urlParameter": "url",
          "matchers": [
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            },
            {
              "pattern": "https://gitlab.com/{}/{}/-/tree/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}/{}"
            }
          ]
        }
      },
      {
        "url": "/v1/getPullRequests?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}",
        "description": {
          "value": "Include a list of pull requests from GitLab"
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-gitlab-to-confluence-cloud/include-pull-merge-requests-list"
        },
        "icon": {
          "url": "/img/macro-icon-gitlab.png"
        },
        "categories": [
          "development", "external-content", "reporting"
        ],
        "outputType": "block",
        "bodyType": "none",
        "renderModes": {
          "default": {
            "url": "/v1/getPullRequests?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}"
          }
        },
        "aliases": [
          "include-gitlab-pull-merge-request"
        ],
        "name": {
          "value": "GitLab Pull Requests"
        },
        "key": "gitlab-merge-request",
        "parameters": [
          {
            "identifier": "repository",
            "name": {
              "value": "Project URL"
            },
            "description": {
              "value": "The url of the GitLab project, like https://gitlab.com/company/project."
            },
            "type": "string",
            "required": true,
            "multiple": false
          },
          {
            "identifier": "query",
            "name": {
              "value": "Search query"
            },
            "description": {
              "value": "Filter for specific pull requests (e.g. labels=front-end). See our Documentation link above for more information."
            },
            "type": "string",
            "required": false,
            "multiple": true
          }
        ]
      },
      {
        "url": "/v1/getIssues?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}",
        "description": {
          "value": "Include a list of issues from GitLab"
        },
        "documentation": {
          "url": "https://go.communardo.app/docs/include-from-gitlab-to-confluence-cloud/include-issues-list"
        },
        "icon": {
          "url": "/img/macro-icon-gitlab.png"
        },
        "categories": [
          "development", "external-content", "reporting"
        ],
        "outputType": "block",
        "bodyType": "none",
        "renderModes": {
          "default": {
            "url": "/v1/getIssues?ownerName=&repository={repository}&spaceKey={space.key}&contentId={content.id}&query={query}&mode={output.type}"
          }
        },
        "aliases": [
          "include-gitlab-issue"
        ],
        "name": {
          "value": "GitLab Issues"
        },
        "key": "gitlab-issue",
        "parameters": [
          {
            "identifier": "repository",
            "name": {
              "value": "Project URL"
            },
            "description": {
              "value": "The url of the GitLab project, like https://gitlab.com/company/project."
            },
            "type": "string",
            "required": true,
            "multiple": false
          },
          {
            "identifier": "query",
            "name": {
              "value": "Search query"
            },
            "description": {
              "value": "Filter for specific issues (e.g. state=closed). See our Documentation link above for more information."
            },
            "type": "string",
            "required": false,
            "multiple": true
          }
        ]
      }]
  }
}
