Version 4.0.24.14
Get All Git Connection Tests
dev mode required.
- Call
update_session
to select the 'dev' workspace.
Returns a list of tests which can be run against a project's (or the dependency project for the provided remote_url) git connection. Call Run Git Connection Test to execute each test in sequence.
Tests are ordered by increasing specificity. Tests should be run in the order returned because later tests require functionality tested by tests earlier in the test list.
For example, a late-stage test for write access is meaningless if connecting to the git server (an early test) is failing.
Request
GET
/projects/{project_id}/git_connection_tests
Expand HTTP Path definition...
project_id
string
Project Id
Expand HTTP Query definition...
remote_url
string
(Optional: leave blank for root project) The remote url for remote dependency to test.
Response
200: Git Connection Test
can
lock
object
Operations the current user is able to perform on this object
description
lock
string
Human readable string describing the test
id
lock
string
A short string, uniquely naming this test
400: Bad Request
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
message
lock
string
Error details
documentation_url
lock
string
Documentation link
429: Too Many Requests
message
lock
string
Error details
documentation_url
lock
string
Documentation link