Apps and sources
Preview

Get a source

GET
/sources/{sourceId}
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

sourceId*string
Formatuuid

Response Body

The source.

application/json
  1. response
id*string
Formatuuid
name*string
kind*SourceKind
Value in"git""oci"
url*string

The repository URL, or the OCI reference.

path*string

The directory inside the repository that holds the manifests. Empty for the root, and for OCI.

credentialsRef*string

The name of the secret in the secret store that holds the credentials. Empty for none.

createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
Example Request
curl -X GET 'https://wardn.example.com/api/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "kind": "git",  "url": "string",  "path": "string",  "credentialsRef": "string",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}