get-info.asciidoc 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --
  2. :api: get-ml-info
  3. :request: MlInfoRequest
  4. :response: MlInfoResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === ML Get Info API
  8. The ML Get API provides defaults and limits used internally by {ml}.
  9. These may be useful to a user interface that needs to interpret machine learning
  10. configurations where certain fields are missing because the end user was happy with the default value.
  11. It accepts a +{request}+ object and responds with a +{response}+ object.
  12. [id="{upid}-{api}-request"]
  13. ==== Get Info Request
  14. ["source","java",subs="attributes,callouts,macros"]
  15. --------------------------------------------------
  16. include-tagged::{doc-tests-file}[{api}-request]
  17. --------------------------------------------------
  18. <1> Constructing a new request
  19. [id="{upid}-{api}-response"]
  20. ==== ML Get Info Response
  21. ["source","java",subs="attributes,callouts,macros"]
  22. --------------------------------------------------
  23. include-tagged::{doc-tests-file}[{api}-response]
  24. --------------------------------------------------
  25. <1> `info` from the +{response}+ contains ml info details
  26. include::../execution.asciidoc[]