gitops

Test a Git source connection

Changed on

Tests connectivity for Git connection details that have not been persisted yet. Access policy: authenticated

post/gitops/sources/test

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/gitops/sources/test
  • Auth
    • API key in header X-API-KEY
    • or API key in header Authorization

Request body

administratorsOnlyboolean
intervalstring
namestring
publicboolean
teamAccessesinteger[]
tlsSkipVerifyboolean
urlstring required
userAccessesinteger[]

Example request

{
  "administratorsOnly": true,
  "public": true
}

Response

Connection test result

errorstring
successboolean

Changes