diff --git a/changelog.html b/changelog.html index 3a998336d10372d9c1ea9c58a811594374c2f873..f41b83bf11b4be5e98fb8b6f5e2c99c855a91646 100644 --- a/changelog.html +++ b/changelog.html @@ -70,6 +70,8 @@ Upcoming changes
  • Added a new extension point for custom checkout behaviour, especially targeted for matrix projects. (pull 482) +
  • + REST API now supports pretty printing of JSON and other formats.
  • Allow the tree parameter and the xpath parameter to be used together in the REST API. diff --git a/core/pom.xml b/core/pom.xml index 67e2e21dc3db52399df15a6642fc740fd63743ba..ae6bdc54942ab938b73354f4a85582833b7f4b70 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -42,7 +42,7 @@ THE SOFTWARE. true - 1.190 + 1.191 diff --git a/core/src/main/resources/hudson/model/Api/index.jelly b/core/src/main/resources/hudson/model/Api/index.jelly index 2ca5b63f6e47a6ced8416a55fd2530cb0125eaf8..5aca02b46e0a3c953c4ac28b9270a4043872f27f 100644 --- a/core/src/main/resources/hudson/model/Api/index.jelly +++ b/core/src/main/resources/hudson/model/Api/index.jelly @@ -65,14 +65,14 @@ THE SOFTWARE.

    -
    JSON API
    +
    JSON API
    Access the same data as JSON for JavaScript-based access. Supports JSONP through the optional jsonp=callbackname query parameter.
    -
    Python API
    +
    Python API

    Access the same data as Python for Python clients. This can be parsed into Python @@ -87,6 +87,18 @@ THE SOFTWARE. ast.literal_eval(urllib.urlopen("...").read())

    + +