Run Git Connection Test

Version 4.0.24.6 (latest)

Run a git connection test

Run the named test on the git service used by this project (or the dependency project for the provided remote_url) and return the result. This is intended to help debug git connections when things do not work properly, to give more helpful information about why a git url is not working with Looker.

Tests should be run in the order they are returned by Get All Git Connection Tests.

Request

GET /projects/{project_id}/git_connection_tests/{test_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id
test_id
string
Test Id
query
HTTP Query
Expand HTTP Query definition...
remote_url
string
(Optional: leave blank for root project) The remote url for remote dependency to test.
use_production
string
(Optional: leave blank for dev credentials) Whether to use git production credentials.

Response

200: Git Connection Test Result

Datatype
Description
can
object
Operations the current user is able to perform on this object
id
string
A short string, uniquely naming this test
message
string
Additional data from the test
status
string
Either 'pass' or 'fail'

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link