forked from projectkudu/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
REST API
davidebbo edited this page Nov 29, 2012
·
31 revisions
This API is accessed the same way as the git endpoint. e.g. if your git URL is https://yoursite.scm.azurewebsites.net/yoursite.git, then the API to get the list of deployments will be https://yoursite.scm.azurewebsites.net/deployments.
The credentials you use are the same as when you git push. See Deployment-credentials for more details.
Note: in older builds, use live/scm instead of scm
GET scm/info
Get information about the repository
POST scm/clean
Clean the repository, using 'git clean -xdff'
DELETE scm
Delete the repository
POST command
Executes an arbitrary command line and return its output
GET deployments
Get the list of all deployments
GET deployments/{id}
Get a deployment
PUT deployments/{id}
Deploy a previous deployment
DELETE deployments/{id}
Delete a deployment
GET deployments/{id}/log
Get the list of log entries for a deployment
GET deployments/{id}/log/{logId}
Get the list of log entry details for a log entry
PUT sshkey
Set the private key. The supported key format is privacy enhanced mail (PEM)
GET environment
Get the Kudu version
POST settings
Create or change a setting
GET settings
Get the list of all settings
GET settings/{key}
Get the value of a setting
DELETE settings/{key}
Delete a setting
GET dump
Get all the diagnostic logs as a zip file