API
- All job (at top level) latest status: JENKINS_URL/api/xml
- Build numbers and urls for a job: JENKINS_URL/job/jobName/api/xml
- Build result and details: JENKINS_URL/job/jobName/buildNumber/api/xml
- Create job: POST to JENKINS_URL/createItem?name=jobName and post config.xml
- Delete job: POST to JENKINS_URL/job/jobName/doDelete
- Enable job: POST to JENKINS_URL/job/jobName/enable
- Disable job: POST to JENKINS_URL/job/jobName/disable
Note: If your Jenkins uses the "Prevent Cross Site Request Forgery exploits" security option (which it should), when you make a POST request, you have to send a CSRF protection token (.crumb) as an HTTP request header.
For curl/wget you can obtain the header needed in the request from the
URL JENKINS_URL/crumbIssuer/api/xml (or .../api/json).