API ReferenceGit
Get dev server configuration
Get the dev server configuration for a repository and branch.
Path Parameters
repo_id*string
Repository ID
Format
uuidQuery Parameters
branch*string
Git branch name
Response Body
application/json
curl -X GET "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/dev-server-configuration?branch=string"{
"devCommand": "npm run dev",
"installCommand": "npm install",
"timeout": 30,
"envVars": {
"RESEND_API_KEY": "re_123456789"
},
"ports": [
{
"externalPort": 443,
"targetPort": 3000
}
],
"preset": {},
"systemd": {},
"users": [
{
"name": "string",
"uid": 0,
"gecos": "string",
"groups": [
"string"
],
"home": "string",
"shell": "string",
"system": false
}
],
"groups": [
{
"name": "string",
"gid": 0,
"system": false
}
],
"additionalFiles": {
"property1": {
"content": "string",
"encoding": "string"
},
"property2": {
"content": "string",
"encoding": "string"
}
},
"webTerminal": true,
"webVscode": true,
"additionalRepositories": [
{
"repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
"path": "string"
}
]
}Empty
Empty