Skip to content

A public endpoint to validate the GitLab server url #384

@baymac

Description

@baymac

Hi @gmessner,

I am trying to perform a form validation of the GitLab server url field in my Jenkins plugin. Checking the URI scheme of the provided server url might not be the right way to do it. In self hosted versions, the URL can be configured by admins so there is not specific pattern to test the server url. I am wondering if there is an API method to verify that the server url hosts a valid GitLab server but does not required authentication. For example, we make a public request to the GitLab server endpoint and get a status ok meaning the server is valid or maybe returns the version of GitLab server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions