Best Practice For Using Jenkins REST API Bee Bot July 13, 2022 10:19 Updated The content of this article has moved to the new documentation site. Related articles How to build a job using the REST API and cURL? Block all API calls How to create a job using the REST API and cURL? Get Build Number with REST API How to build a job using the REST API and Java? Comments 2 comments Sort by Date Votes Colathur Vijayan July 22, 2019 20:33 There is no link in this sentence. Can this be fixed ? More information about the tree parameter can be found here $JENKINS_URL/api. 0 Raymond Kivisto September 13, 2019 00:37 Hi Colathur, "$JENKINS_URL/api" refers to your own running instance of Jenkins. For example, if your Jenkins server URL was "https://example.com", then the API documentation can be accessed at "https://example.com/api" Other resources to learn about the tree parameter are the "Depth control" section of https://wiki.jenkins.io/display/JENKINS/Remote+access+API and also https://www.cloudbees.com/blog/taming-jenkins-json-api-depth-and-tree 0 Please sign in to leave a comment.
Comments
2 comments
There is no link in this sentence. Can this be fixed ?
More information about the tree parameter can be found here
$JENKINS_URL/api
.Hi Colathur,
"$JENKINS_URL/api" refers to your own running instance of Jenkins.
For example, if your Jenkins server URL was "https://example.com", then the API documentation can be accessed at "https://example.com/api"
Other resources to learn about the tree parameter are the "Depth control" section of https://wiki.jenkins.io/display/JENKINS/Remote+access+API and also https://www.cloudbees.com/blog/taming-jenkins-json-api-depth-and-tree
Please sign in to leave a comment.