This commit is contained in:
Stephane Nicoll
2016-01-31 11:13:14 +01:00
parent 8b3cfcacf8
commit 62d394d226

View File

@@ -112,12 +112,13 @@ third-party clients. You can grab the meta-data by _curling_ the root
$ curl -H 'Accept: application/json' https://start.spring.io $ curl -H 'Accept: application/json' https://start.spring.io
---- ----
NOTE: If you use `curl` without an accept header, you'll retrieve a human readable text version NOTE: As stated above, if you use `curl` without an accept header, you'll retrieve a human
of the metadata. `HTTPie` is also supported. readable text version of the metadata. `HTTPie` is also supported.
The meta-data basically lists the _capabilities_ of the service, that is the available options The meta-data basically lists the _capabilities_ of the service, that is the available
for all request parameters (`dependencies`, `type`, `bootVersion`, etc.) The web UI options for all request parameters (`dependencies`, `type`, `bootVersion`, etc.) The web
uses that information to initialize the select options and the tree of available dependencies. UI uses that information to initialize the select options and the tree of available
dependencies.
The meta-data also lists the default values for simple _text_ parameter (i.e. the default The meta-data also lists the default values for simple _text_ parameter (i.e. the default
`name` for the project). `name` for the project).