LogoFreestyle
API Reference/Dev servers

Handle_watch_dev_server_files

POST/ephemeral/v1/dev-servers/watch-files

Request Body

application/jsonRequired
dev_serverRequiredobject

Response Body

200

Stream of file events

responseRequiredstring
curl -X POST "https://api.freestyle.sh/ephemeral/v1/dev-servers/watch-files" \
  -H "Content-Type: application/json" \
  -d '{
    "dev_server": {
      "repoId": "c7c90052-c566-40b6-94a5-a1e9a44bfdc7",
      "kind": "repo"
    }
  }'

Stream of file events

"string"