hammer_cli_katello 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello/acs.rb +82 -0
  3. data/lib/hammer_cli_katello/activation_key.rb +8 -2
  4. data/lib/hammer_cli_katello/content_export.rb +39 -0
  5. data/lib/hammer_cli_katello/content_export_helper.rb +64 -6
  6. data/lib/hammer_cli_katello/host_subscription.rb +32 -0
  7. data/lib/hammer_cli_katello/organization.rb +4 -0
  8. data/lib/hammer_cli_katello/repository.rb +1 -1
  9. data/lib/hammer_cli_katello/simple_content_access.rb +10 -0
  10. data/lib/hammer_cli_katello/version.rb +1 -1
  11. data/lib/hammer_cli_katello.rb +5 -0
  12. data/test/data/2.5/foreman_api.json +1 -0
  13. data/test/data/3.0/foreman_api.json +1 -0
  14. data/test/data/3.10/foreman_api.json +1 -0
  15. data/test/data/3.11/foreman_api.json +1 -0
  16. data/test/data/3.12/foreman_api.json +1 -0
  17. data/test/data/3.13/foreman_api.json +1 -0
  18. data/test/data/3.14/foreman_api.json +1 -0
  19. data/test/data/3.15/foreman_api.json +1 -0
  20. data/test/data/3.16/foreman_api.json +1 -0
  21. data/test/data/3.17/foreman_api.json +1 -0
  22. data/test/data/3.18/foreman_api.json +1 -0
  23. data/test/data/3.19/foreman_api.json +1 -0
  24. data/test/data/3.2/foreman_api.json +1 -0
  25. data/test/data/3.4/foreman_api.json +1 -0
  26. data/test/data/3.5/foreman_api.json +1 -0
  27. data/test/data/3.6/foreman_api.json +1 -0
  28. data/test/data/3.7/foreman_api.json +1 -0
  29. data/test/data/3.8/foreman_api.json +1 -0
  30. data/test/data/3.9/foreman_api.json +1 -0
  31. data/test/data/4.0/foreman_api.json +1 -0
  32. data/test/data/4.1/foreman_api.json +1 -0
  33. data/test/data/4.3/foreman_api.json +1 -0
  34. data/test/data/4.4/foreman_api.json +1 -0
  35. data/test/data/4.5/foreman_api.json +1 -0
  36. data/test/data/4.6/foreman_api.json +1 -0
  37. data/test/data/Readme.md +5 -0
  38. data/test/functional/acs/create_test.rb +27 -0
  39. data/test/functional/acs/delete_test.rb +13 -0
  40. data/test/functional/acs/info_test.rb +94 -0
  41. data/test/functional/acs/list_test.rb +62 -0
  42. data/test/functional/acs/update_test.rb +23 -0
  43. data/test/functional/activation_key/add_host_collection_test.rb +62 -0
  44. data/test/functional/activation_key/content_override_test.rb +92 -0
  45. data/test/functional/activation_key/create_test.rb +33 -0
  46. data/test/functional/activation_key/data/activation_key.json +17 -0
  47. data/test/functional/activation_key/info_test.rb +29 -0
  48. data/test/functional/activation_key/list_test.rb +68 -0
  49. data/test/functional/activation_key/product_content_test.rb +23 -0
  50. data/test/functional/activation_key/remove_host_collection_test.rb +62 -0
  51. data/test/functional/activation_key/subscriptions_test.rb +74 -0
  52. data/test/functional/activation_key/update_test.rb +26 -0
  53. data/test/functional/apipie_helper_test.rb +31 -0
  54. data/test/functional/capsule/capsule_helpers.rb +13 -0
  55. data/test/functional/capsule/content/add_lifecycle_environment_test.rb +40 -0
  56. data/test/functional/capsule/content/cancel_synchronization_test.rb +42 -0
  57. data/test/functional/capsule/content/capsule_content_helpers.rb +24 -0
  58. data/test/functional/capsule/content/data/library_env.json +47 -0
  59. data/test/functional/capsule/content/data/sync_status.json +6 -0
  60. data/test/functional/capsule/content/data/sync_tasks.json +62 -0
  61. data/test/functional/capsule/content/info_test.rb +61 -0
  62. data/test/functional/capsule/content/lifecycle_environments_test.rb +19 -0
  63. data/test/functional/capsule/content/remove_lifecycle_environment_test.rb +40 -0
  64. data/test/functional/capsule/content/synchronization_status_test.rb +107 -0
  65. data/test/functional/capsule/info_test.rb +25 -0
  66. data/test/functional/capsule/list_test.rb +24 -0
  67. data/test/functional/content_credentials/create_test.rb +32 -0
  68. data/test/functional/content_credentials/data/test_cert.json +43 -0
  69. data/test/functional/content_credentials/info_test.rb +50 -0
  70. data/test/functional/content_credentials/list_test.rb +66 -0
  71. data/test/functional/content_export/complete/library_test.rb +155 -0
  72. data/test/functional/content_export/complete/repository_test.rb +226 -0
  73. data/test/functional/content_export/complete/version_test.rb +297 -0
  74. data/test/functional/content_export/content_export_helpers.rb +33 -0
  75. data/test/functional/content_export/generate_listing_test.rb +62 -0
  76. data/test/functional/content_export/generate_metadata_test.rb +64 -0
  77. data/test/functional/content_export/incremental/library_test.rb +172 -0
  78. data/test/functional/content_export/incremental/repository_test.rb +212 -0
  79. data/test/functional/content_export/incremental/version_test.rb +268 -0
  80. data/test/functional/content_export/list_test.rb +64 -0
  81. data/test/functional/content_import/library_test.rb +85 -0
  82. data/test/functional/content_import/list_test.rb +65 -0
  83. data/test/functional/content_import/metadata.json +1 -0
  84. data/test/functional/content_import/version_test.rb +85 -0
  85. data/test/functional/content_units/info_test.rb +29 -0
  86. data/test/functional/content_units/list_test.rb +106 -0
  87. data/test/functional/content_view/add_content_view_version_test.rb +88 -0
  88. data/test/functional/content_view/add_repository_test.rb +21 -0
  89. data/test/functional/content_view/component/add_test.rb +177 -0
  90. data/test/functional/content_view/component/list_test.rb +55 -0
  91. data/test/functional/content_view/component/remove_test.rb +107 -0
  92. data/test/functional/content_view/component/update_test.rb +134 -0
  93. data/test/functional/content_view/content_view_helpers.rb +20 -0
  94. data/test/functional/content_view/copy_test.rb +53 -0
  95. data/test/functional/content_view/create_test.rb +34 -0
  96. data/test/functional/content_view/delete_test.rb +62 -0
  97. data/test/functional/content_view/filter/create_test.rb +57 -0
  98. data/test/functional/content_view/filter/delete_test.rb +90 -0
  99. data/test/functional/content_view/filter/info_test.rb +89 -0
  100. data/test/functional/content_view/filter/list_test.rb +98 -0
  101. data/test/functional/content_view/filter/update_test.rb +91 -0
  102. data/test/functional/content_view/list_test.rb +68 -0
  103. data/test/functional/content_view/publish_test.rb +24 -0
  104. data/test/functional/content_view/purge_test.rb +97 -0
  105. data/test/functional/content_view/remove_content_view_version_test.rb +88 -0
  106. data/test/functional/content_view/remove_test.rb +79 -0
  107. data/test/functional/content_view/update_test.rb +53 -0
  108. data/test/functional/content_view/version/incremental_update_test.rb +108 -0
  109. data/test/functional/content_view/version/list_test.rb +44 -0
  110. data/test/functional/content_view/version/promote_test.rb +75 -0
  111. data/test/functional/content_view/version/republish_repositories_test.rb +34 -0
  112. data/test/functional/content_view/version/update_test.rb +48 -0
  113. data/test/functional/erratum/erratum_helpers.rb +91 -0
  114. data/test/functional/erratum/info_test.rb +29 -0
  115. data/test/functional/erratum/list_test.rb +108 -0
  116. data/test/functional/file/file_helpers.rb +13 -0
  117. data/test/functional/file/info_test.rb +162 -0
  118. data/test/functional/file/list_test.rb +112 -0
  119. data/test/functional/filter_rule/create_test.rb +99 -0
  120. data/test/functional/filter_rule/delete_test.rb +104 -0
  121. data/test/functional/filter_rule/filter_rule_helpers.rb +12 -0
  122. data/test/functional/filter_rule/info_test.rb +104 -0
  123. data/test/functional/filter_rule/list_test.rb +91 -0
  124. data/test/functional/filter_rule/update_test.rb +104 -0
  125. data/test/functional/host/errata/apply_test.rb +45 -0
  126. data/test/functional/host/errata/info_test.rb +27 -0
  127. data/test/functional/host/errata/list_test.rb +49 -0
  128. data/test/functional/host/errata/recalculate_test.rb +26 -0
  129. data/test/functional/host/extensions/create_test.rb +95 -0
  130. data/test/functional/host/extensions/data/host.json +320 -0
  131. data/test/functional/host/extensions/data/host_list.json +117 -0
  132. data/test/functional/host/extensions/info_test.rb +35 -0
  133. data/test/functional/host/extensions/list_test.rb +21 -0
  134. data/test/functional/host/extensions/update_test.rb +70 -0
  135. data/test/functional/host/host_helpers.rb +8 -0
  136. data/test/functional/host/subscription/attach_test.rb +54 -0
  137. data/test/functional/host/subscription/auto_attach_test.rb +35 -0
  138. data/test/functional/host/subscription/content_override_test.rb +96 -0
  139. data/test/functional/host/subscription/enabled_repositories_test.rb +39 -0
  140. data/test/functional/host/subscription/product_content_test.rb +27 -0
  141. data/test/functional/host/subscription/register_test.rb +53 -0
  142. data/test/functional/host/subscription/remove_test.rb +52 -0
  143. data/test/functional/host/subscription/unregister_test.rb +37 -0
  144. data/test/functional/host/traces/list_test.rb +37 -0
  145. data/test/functional/host/traces/resolve_test.rb +31 -0
  146. data/test/functional/host_collection/add_host_test.rb +90 -0
  147. data/test/functional/host_collection/content_api_expectations.rb +35 -0
  148. data/test/functional/host_collection/content_install_test.rb +62 -0
  149. data/test/functional/host_collection/content_remove_test.rb +37 -0
  150. data/test/functional/host_collection/content_update_test.rb +37 -0
  151. data/test/functional/host_collection/copy_test.rb +64 -0
  152. data/test/functional/host_collection/create_test.rb +54 -0
  153. data/test/functional/host_collection/delete_test.rb +57 -0
  154. data/test/functional/host_collection/hosts_test.rb +39 -0
  155. data/test/functional/host_collection/info_test.rb +57 -0
  156. data/test/functional/host_collection/list_test.rb +63 -0
  157. data/test/functional/host_collection/remove_host_test.rb +90 -0
  158. data/test/functional/host_collection/update_test.rb +57 -0
  159. data/test/functional/hostgroup/create_test.rb +112 -0
  160. data/test/functional/hostgroup/data/hostgroup.json +50 -0
  161. data/test/functional/hostgroup/info_test.rb +33 -0
  162. data/test/functional/hostgroup/update_test.rb +120 -0
  163. data/test/functional/lifecycle_environment/create_test.rb +14 -0
  164. data/test/functional/lifecycle_environment/lifecycle_environment_helpers.rb +18 -0
  165. data/test/functional/lifecycle_environment/list_test.rb +38 -0
  166. data/test/functional/lifecycle_environment/update_test.rb +14 -0
  167. data/test/functional/local_helper_test.rb +30 -0
  168. data/test/functional/module_stream/info_test.rb +58 -0
  169. data/test/functional/module_stream/list_test.rb +53 -0
  170. data/test/functional/organization/cdn_configuration_test.rb +45 -0
  171. data/test/functional/organization/delete_test.rb +26 -0
  172. data/test/functional/organization/info_test.rb +45 -0
  173. data/test/functional/organization/organization_helpers.rb +10 -0
  174. data/test/functional/package/list_test.rb +160 -0
  175. data/test/functional/package_group/list_test.rb +38 -0
  176. data/test/functional/ping_test.rb +61 -0
  177. data/test/functional/product/create_test.rb +54 -0
  178. data/test/functional/product/delete_test.rb +41 -0
  179. data/test/functional/product/info_test.rb +33 -0
  180. data/test/functional/product/list_test.rb +58 -0
  181. data/test/functional/product/product_helpers.rb +24 -0
  182. data/test/functional/product/remove_sync_plan_test.rb +35 -0
  183. data/test/functional/product/set_sync_plan_test.rb +49 -0
  184. data/test/functional/product/update_proxy.rb +48 -0
  185. data/test/functional/product/update_test.rb +46 -0
  186. data/test/functional/repository/create_test.rb +21 -0
  187. data/test/functional/repository/delete_test.rb +95 -0
  188. data/test/functional/repository/info_test.rb +156 -0
  189. data/test/functional/repository/list_test.rb +68 -0
  190. data/test/functional/repository/reclaim_space_test.rb +105 -0
  191. data/test/functional/repository/remove_content_test.rb +108 -0
  192. data/test/functional/repository/repository_helpers.rb +18 -0
  193. data/test/functional/repository/republish_test.rb +37 -0
  194. data/test/functional/repository/synchronize_test.rb +57 -0
  195. data/test/functional/repository/update_test.rb +150 -0
  196. data/test/functional/repository/upload_test.rb +368 -0
  197. data/test/functional/repository_set/available_repositories_test.rb +18 -0
  198. data/test/functional/repository_set/disable_test.rb +48 -0
  199. data/test/functional/repository_set/enable_test.rb +42 -0
  200. data/test/functional/repository_set/info_test.rb +17 -0
  201. data/test/functional/repository_set/list_test.rb +18 -0
  202. data/test/functional/repository_set/repository_set_helpers.rb +20 -0
  203. data/test/functional/search_helpers.rb +17 -0
  204. data/test/functional/simple_content_access/disable_test.rb +48 -0
  205. data/test/functional/simple_content_access/enable_test.rb +46 -0
  206. data/test/functional/simple_content_access/status_test.rb +29 -0
  207. data/test/functional/srpm/list_test.rb +92 -0
  208. data/test/functional/subscription/list_test.rb +86 -0
  209. data/test/functional/sync_plan/create_test.rb +60 -0
  210. data/test/functional/sync_plan/delete_test.rb +46 -0
  211. data/test/functional/sync_plan/info_test.rb +37 -0
  212. data/test/functional/sync_plan/list_test.rb +31 -0
  213. data/test/functional/sync_plan/sync_plan_helpers.rb +8 -0
  214. data/test/functional/sync_plan/update_test.rb +44 -0
  215. data/test/functional/test_helper.rb +24 -0
  216. data/test/task_helper.rb +7 -0
  217. data/test/test_helper.rb +38 -0
  218. data/test/unit/id_name_options_validator_test.rb +96 -0
  219. data/test/unit/id_resolver_test.rb +58 -0
  220. data/test/unit/messages_test.rb +7 -0
  221. data/test/unit/search_options_creators_test.rb +145 -0
  222. metadata +425 -4
@@ -0,0 +1 @@
1
+ {"docs":{"name":"Foreman","info":"\n\u003cp\u003eForeman API v2 is currently the default API version.\u003c/p\u003e\n","copyright":"","doc_url":"../apidoc/v2","api_url":"/api","resources":{"host_subscriptions":{"doc_url":"../apidoc/v2/host_subscriptions","api_url":"/api","name":"Host subscriptions","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/host_subscriptions/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/subscriptions","http_method":"GET","short_description":"List a host's subscriptions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/auto_attach","name":"auto_attach","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/auto_attach","http_method":"PUT","short_description":"Trigger an auto-attach of subscriptions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/events","name":"events","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/events","http_method":"GET","short_description":"List subscription events for the host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/subscriptions","http_method":"DELETE","short_description":"Unregister the host as a subscription consumer","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/create","name":"create","apis":[{"api_url":"/api/hosts/subscriptions","http_method":"POST","short_description":"Register a host with subscription and information.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"\n\u003cp\u003eName of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"uuid","description":"\n\u003cp\u003eUUID to use for registered host, random uuid is generated if not provided\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"facts","full_name":"facts","description":"\n\u003cp\u003eKey-value hash of subscription-manager facts, nesting uses a period delimiter (.)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"hypervisor_guest_uuids","full_name":"hypervisor_guest_uuids","description":"\n\u003cp\u003eUUIDs of the virtual guests from the host’s hypervisor\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"installed_products","full_name":"installed_products","description":"\n\u003cp\u003eList of products installed on the host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"product_id","full_name":"installed_products[product_id]","description":"\n\u003cp\u003eProduct id as listed from a host’s installed products, this is not the same product id as the products api returns\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_name","full_name":"installed_products[product_name]","description":"\n\u003cp\u003eProduct name as listed from a host’s installed products\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"arch","full_name":"installed_products[arch]","description":"\n\u003cp\u003eProduct architecture\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"version","full_name":"installed_products[version]","description":"\n\u003cp\u003eProduct version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"release_version","full_name":"release_version","description":"\n\u003cp\u003eRelease version of the content host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"service_level","full_name":"service_level","description":"\n\u003cp\u003eA service level for auto-healing process, e.g. SELF-SUPPORT\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"lifecycle_environment_id","full_name":"lifecycle_environment_id","description":"\n\u003cp\u003eLifecycle Environment ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003eContent View ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/remove_subscriptions","name":"remove_subscriptions","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/remove_subscriptions","http_method":"PUT","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"subscriptions","full_name":"subscriptions","description":"\n\u003cp\u003eArray of subscriptions to remove\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"id","full_name":"subscriptions[id]","description":"\n\u003cp\u003eSubscription Pool id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"quantity","full_name":"subscriptions[quantity]","description":"\n\u003cp\u003eIf specified, remove the first instance of a subscription with matching id and quantity\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/add_subscriptions","name":"add_subscriptions","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/add_subscriptions","http_method":"PUT","short_description":"Add a subscription to a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"subscriptions","full_name":"subscriptions","description":"\n\u003cp\u003eArray of subscriptions to add\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"id","full_name":"subscriptions[id]","description":"\n\u003cp\u003eSubscription Pool id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"quantity","full_name":"subscriptions[quantity]","description":"\n\u003cp\u003eQuantity of this subscriptions to add\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/content_override","name":"content_override","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/content_override","http_method":"PUT","short_description":"Set content overrides for the host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the content host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_label","full_name":"content_label","description":"\n\u003cp\u003eLabel of the content\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"value","description":"\n\u003cp\u003eOverride to ‘yes’, ‘no’, or ‘default’\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003e0\u003c/code\u003e, \u003ccode\u003e1\u003c/code\u003e, \u003ccode\u003eString\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/product_content","name":"product_content","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/product_content","http_method":"GET","short_description":"Get content and overrides for the host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eId of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_subscriptions/available_release_versions","name":"available_release_versions","apis":[{"api_url":"/api/hosts/:host_id/subscriptions/available_release_versions","http_method":"GET","short_description":"Show releases available for the content host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eid of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"hosts":{"doc_url":"../apidoc/v2/hosts","api_url":"/api","name":"Hosts","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hosts/index","name":"index","apis":[{"api_url":"/api/hosts","http_method":"GET","short_description":"List all hosts","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/hosts","http_method":"GET","short_description":"List all hosts for a host group","deprecated":null},{"api_url":"/api/locations/:location_id/hosts","http_method":"GET","short_description":"List hosts per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/hosts","http_method":"GET","short_description":"List hosts per organization","deprecated":null},{"api_url":"/api/environments/:environment_id/hosts","http_method":"GET","short_description":"List hosts per environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts\n200\n{\n \"total\": 3,\n \"subtotal\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"ip\": null,\n \"ip6\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"last_report\": null,\n \"mac\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": null,\n \"owner_type\": null,\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": null,\n \"compute_resource_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"build\"\n ],\n \"provision_method\": \"build\",\n \"puppet_proxy_id\": null,\n \"certname\": \"Host1.example.com\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 16:56:49 UTC\",\n \"updated_at\": \"2016-06-28 16:56:49 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"Error\",\n \"organization_id\": 622241907,\n \"organization_name\": null,\n \"location_id\": 285853653,\n \"location_name\": null,\n \"puppet_status\": 0,\n \"model_name\": null,\n \"errata_status\": 0,\n \"errata_status_label\": \"Security errata applicable\",\n \"name\": \"Host1.example.com\",\n \"id\": 980190962,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null,\n \"content_facet_attributes\": {\n \"id\": 980190962,\n \"uuid\": \"abcdefghi\",\n \"content_view_id\": 405955044,\n \"content_view_name\": \"Published LIbrary view\",\n \"lifecycle_environment_id\": 562075838,\n \"lifecycle_environment_name\": \"Library\",\n \"content_view\": {\n \"id\": 405955044,\n \"name\": \"Published LIbrary view\"\n },\n \"lifecycle_environment\": {\n \"id\": 562075838,\n \"name\": \"Library\"\n },\n \"errata_counts\": {\n \"security\": 0,\n \"bugfix\": 0,\n \"enhancement\": 0,\n \"total\": 0\n }\n },\n \"subscription_facet_attributes\": {\n \"id\": 980190962,\n \"uuid\": null,\n \"last_checkin\": null,\n \"service_level\": null,\n \"release_version\": null,\n \"autoheal\": false,\n \"registered_at\": \"2016-06-20 12:43:30 UTC\"\n },\n \"content_host_id\": 215379861\n },\n {\n \"ip\": null,\n \"ip6\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"last_report\": null,\n \"mac\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": null,\n \"owner_type\": null,\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": null,\n \"compute_resource_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"build\"\n ],\n \"provision_method\": \"build\",\n \"puppet_proxy_id\": null,\n \"certname\": \"Host2.example.com\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 16:56:49 UTC\",\n \"updated_at\": \"2016-06-28 16:56:49 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"Error\",\n \"organization_id\": 622241907,\n \"organization_name\": null,\n \"location_id\": 285853653,\n \"location_name\": null,\n \"puppet_status\": 0,\n \"model_name\": null,\n \"errata_status\": 0,\n \"errata_status_label\": \"Security errata applicable\",\n \"name\": \"Host2.example.com\",\n \"id\": 298486374,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null,\n \"content_facet_attributes\": {\n \"id\": 298486374,\n \"uuid\": \"abcdefghi\",\n \"content_view_id\": 909058347,\n \"content_view_name\": \"Published Library and dev view\",\n \"lifecycle_environment_id\": 292811013,\n \"lifecycle_environment_name\": \"Dev\",\n \"content_view\": {\n \"id\": 909058347,\n \"name\": \"Published Library and dev view\"\n },\n \"lifecycle_environment\": {\n \"id\": 292811013,\n \"name\": \"Dev\"\n },\n \"errata_counts\": {\n \"security\": 0,\n \"bugfix\": 0,\n \"enhancement\": 0,\n \"total\": 0\n }\n },\n \"subscription_facet_attributes\": {\n \"id\": 298486374,\n \"uuid\": null,\n \"last_checkin\": null,\n \"service_level\": null,\n \"release_version\": null,\n \"autoheal\": false,\n \"registered_at\": \"2016-06-20 12:43:30 UTC\"\n },\n \"content_host_id\": 68721162\n },\n {\n \"ip\": null,\n \"ip6\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"last_report\": null,\n \"mac\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": null,\n \"owner_type\": null,\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": null,\n \"compute_resource_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"build\"\n ],\n \"provision_method\": \"build\",\n \"puppet_proxy_id\": null,\n \"certname\": \"host83\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 17:38:07 UTC\",\n \"updated_at\": \"2016-06-28 17:38:07 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"OK\",\n \"organization_id\": null,\n \"organization_name\": null,\n \"location_id\": null,\n \"location_name\": null,\n \"puppet_status\": 0,\n \"model_name\": null,\n \"name\": \"host83\",\n \"id\": 980191056,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/show","name":"show","apis":[{"api_url":"/api/hosts/:id","http_method":"GET","short_description":"Show a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host87\n200\n{\n \"ip\": null,\n \"ip6\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"last_report\": null,\n \"mac\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": 130842698,\n \"owner_type\": \"User\",\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": null,\n \"compute_resource_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"build\"\n ],\n \"provision_method\": \"build\",\n \"puppet_proxy_id\": null,\n \"certname\": \"host87\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 17:38:07 UTC\",\n \"updated_at\": \"2016-06-28 17:38:07 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"OK\",\n \"organization_id\": null,\n \"organization_name\": null,\n \"location_id\": null,\n \"location_name\": null,\n \"puppet_status\": 0,\n \"model_name\": null,\n \"name\": \"host87\",\n \"id\": 980191060,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null,\n \"parameters\": [],\n \"interfaces\": [\n {\n \"id\": 98,\n \"name\": \"host87\",\n \"ip\": null,\n \"mac\": null,\n \"identifier\": null,\n \"primary\": true,\n \"provision\": true,\n \"type\": \"interface\"\n }\n ],\n \"puppetclasses\": [],\n \"config_groups\": [],\n \"all_parameters\": [\n {\n \"id\": 636252244,\n \"name\": \"test\",\n \"value\": \"myvalue\"\n }\n ],\n \"all_puppetclasses\": [],\n \"permissions\": {\n \"view_35\": false,\n \"view_hosts\": true,\n \"create_hosts\": false,\n \"edit_hosts\": false,\n \"destroy_hosts\": false,\n \"build_hosts\": false,\n \"power_hosts\": false,\n \"console_hosts\": false,\n \"ipmi_boot\": false,\n \"puppetrun_hosts\": false\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/create","name":"create","apis":[{"api_url":"/api/hosts","http_method":"POST","short_description":"Create a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host","full_name":"host","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"host[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"host[location_id]","description":"\n\u003cp\u003erequired if locations are enabled\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"host[organization_id]","description":"\n\u003cp\u003erequired if organizations are enabled\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"host[environment_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip","full_name":"host[ip]","description":"\n\u003cp\u003enot required if using a subnet with DHCP proxy\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mac","full_name":"host[mac]","description":"\n\u003cp\u003erequired for managed host that is bare metal, not required if it’s a virtual machine\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"host[architecture_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"host[domain_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_id","full_name":"host[realm_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_proxy_id","full_name":"host[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_ids","full_name":"host[puppetclass_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"host[operatingsystem_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium_id","full_name":"host[medium_id]","description":"\n\u003cp\u003erequired if not imaged based provisioning and host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable_id","full_name":"host[ptable_id]","description":"\n\u003cp\u003erequired if host is managed and custom partition has not been defined\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"host[subnet_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"host[compute_resource_id]","description":"\n\u003cp\u003enil means host is bare metal\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"root_pass","full_name":"host[root_pass]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group or default password in settings\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"model_id","full_name":"host[model_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"host[hostgroup_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"owner_id","full_name":"host[owner_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"owner_type","full_name":"host[owner_type]","description":"\n\u003cp\u003eHost’s owner type\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eUser\u003c/code\u003e, \u003ccode\u003eUsergroup\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_ca_proxy_id","full_name":"host[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"image_id","full_name":"host[image_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_parameters_attributes","full_name":"host[host_parameters_attributes]","description":"\n\u003cp\u003eHost’s parameters (array or indexed hash)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"host[host_parameters_attributes][name]","description":"\n\u003cp\u003eName of the parameter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"host[host_parameters_attributes][value]","description":"\n\u003cp\u003eParameter value\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"build","full_name":"host[build]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"enabled","full_name":"host[enabled]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provision_method","full_name":"host[provision_method]","description":"\n\u003cp\u003eThe method used to provision the host. Possible provision_methods may be build (Network Based), image (Image Based)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"managed","full_name":"host[managed]","description":"\n\u003cp\u003eTrue/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"progress_report_id","full_name":"host[progress_report_id]","description":"\n\u003cp\u003eUUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"comment","full_name":"host[comment]","description":"\n\u003cp\u003eAdditional information about this host\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"capabilities","full_name":"host[capabilities]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_profile_id","full_name":"host[compute_profile_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interfaces_attributes","full_name":"host[interfaces_attributes]","description":"\n\u003cp\u003eHost’s network interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"mac","full_name":"host[interfaces_attributes][mac]","description":"\n\u003cp\u003eMAC address of interface. Required for managed interfaces on bare metal.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip","full_name":"host[interfaces_attributes][ip]","description":"\n\u003cp\u003eIPv4 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip6","full_name":"host[interfaces_attributes][ip6]","description":"\n\u003cp\u003eIPv6 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"host[interfaces_attributes][type]","description":"\n\u003cp\u003eInterface type, e.g. bmc. Default is interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003einterface\u003c/code\u003e, \u003ccode\u003ebmc\u003c/code\u003e, \u003ccode\u003ebond\u003c/code\u003e, \u003ccode\u003ebridge\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"host[interfaces_attributes][name]","description":"\n\u003cp\u003eInterface’s DNS name\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"host[interfaces_attributes][subnet_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv4 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"subnet6_id","full_name":"host[interfaces_attributes][subnet6_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv6 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"host[interfaces_attributes][domain_id]","description":"\n\u003cp\u003eForeman domain ID of interface. Required for primary interfaces on managed hosts.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"identifier","full_name":"host[interfaces_attributes][identifier]","description":"\n\u003cp\u003eDevice identifier, e.g. eth0 or eth1.1\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"managed","full_name":"host[interfaces_attributes][managed]","description":"\n\u003cp\u003eShould this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning?\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"primary","full_name":"host[interfaces_attributes][primary]","description":"\n\u003cp\u003eShould this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provision","full_name":"host[interfaces_attributes][provision]","description":"\n\u003cp\u003eShould this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"host[interfaces_attributes][username]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"host[interfaces_attributes][password]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provider","full_name":"host[interfaces_attributes][provider]","description":"\n\u003cp\u003eInterface provider, e.g. IPMI. Only for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eIPMI\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"virtual","full_name":"host[interfaces_attributes][virtual]","description":"\n\u003cp\u003eAlias or VLAN device\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"host[interfaces_attributes][tag]","description":"\n\u003cp\u003eVLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_to","full_name":"host[interfaces_attributes][attached_to]","description":"\n\u003cp\u003eIdentifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mode","full_name":"host[interfaces_attributes][mode]","description":"\n\u003cp\u003eBond mode of the interface, e.g. balance-rr. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003ebalance-rr\u003c/code\u003e, \u003ccode\u003eactive-backup\u003c/code\u003e, \u003ccode\u003ebalance-xor\u003c/code\u003e, \u003ccode\u003ebroadcast\u003c/code\u003e, \u003ccode\u003e802.3ad\u003c/code\u003e, \u003ccode\u003ebalance-tlb\u003c/code\u003e, \u003ccode\u003ebalance-alb\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_devices","full_name":"host[interfaces_attributes][attached_devices]","description":"\n\u003cp\u003eIdentifiers of attached interfaces, e.g. \u003ccode\u003e[\u0026#39;eth1\u0026#39;, \u0026#39;eth2\u0026#39;]\u003c/code\u003e. For bond interfaces those are the slaves. Only for bond and bridges interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"bond_options","full_name":"host[interfaces_attributes][bond_options]","description":"\n\u003cp\u003eSpace separated options, e.g. miimon=100. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_attributes","full_name":"host[interfaces_attributes][compute_attributes]","description":"\n\u003cp\u003eAdditional compute resource specific attributes for the interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}]},{"name":"compute_attributes","full_name":"host[compute_attributes]","description":"\n\u003cp\u003eAdditional compute resource specific attributes.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"content_facet_attributes","full_name":"host[content_facet_attributes]","description":"\n\u003cp\u003eParameters for host’s content_facet facet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"content_view_id","full_name":"host[content_facet_attributes][content_view_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"lifecycle_environment_id","full_name":"host[content_facet_attributes][lifecycle_environment_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"kickstart_repository_id","full_name":"host[content_facet_attributes][kickstart_repository_id]","description":"\n\u003cp\u003eRepository Id associated with the kickstart repo used for provisioning\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}]},{"name":"subscription_facet_attributes","full_name":"host[subscription_facet_attributes]","description":"\n\u003cp\u003eParameters for host’s subscription_facet facet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"release_version","full_name":"host[subscription_facet_attributes][release_version]","description":"\n\u003cp\u003eRelease version for this Host to use (7Server, 7.1, etc)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"autoheal","full_name":"host[subscription_facet_attributes][autoheal]","description":"\n\u003cp\u003eSets whether the Host will autoheal subscriptions upon checkin\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"service_level","full_name":"host[subscription_facet_attributes][service_level]","description":"\n\u003cp\u003eService level to be used for autoheal.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"hypervisor_guest_uuids","full_name":"host[subscription_facet_attributes][hypervisor_guest_uuids]","description":"\n\u003cp\u003eList of hypervisor guest uuids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}]}],"examples":["POST /api/hosts\n{\n \"host\": {\n \"name\": \"testhost11\",\n \"environment_id\": \"334344675\",\n \"domain_id\": \"22495316\",\n \"ptable_id\": \"1007981741\",\n \"medium_id\": \"980190962\",\n \"architecture_id\": \"501905019\",\n \"operatingsystem_id\": \"1073012828\",\n \"puppet_proxy_id\": \"182953976\",\n \"compute_resource_id\": \"980190962\",\n \"root_pass\": \"xybxa6JUkz63w\",\n \"location_id\": \"255093256\",\n \"organization_id\": \"447626438\",\n \"ip\": \"10.0.0.20\",\n \"mac\": \"52:53:00:1e:85:93\",\n \"managed\": false\n }\n}\n201\n{\n \"ip\": \"10.0.0.20\",\n \"ip6\": null,\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"last_report\": null,\n \"mac\": \"52:53:00:1e:85:93\",\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": 22495316,\n \"domain_name\": \"mydomain.net\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": 1007981741,\n \"ptable_name\": \"ptable36\",\n \"medium_id\": 980190962,\n \"medium_name\": \"CentOS 5.4\",\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": 886836129,\n \"owner_type\": \"User\",\n \"enabled\": true,\n \"puppet_ca_proxy_id\": 182953976,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"build\",\n \"image\"\n ],\n \"provision_method\": \"build\",\n \"puppet_proxy_id\": 182953976,\n \"certname\": \"testhost11.mydomain.net\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 17:38:10 UTC\",\n \"updated_at\": \"2016-06-28 17:38:10 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"Warning\",\n \"organization_id\": 447626438,\n \"organization_name\": \"Organization 1\",\n \"location_id\": 255093256,\n \"location_name\": \"Location 1\",\n \"puppet_status\": 0,\n \"model_name\": null,\n \"configuration_status\": 0,\n \"configuration_status_label\": \"No reports\",\n \"name\": \"testhost11.mydomain.net\",\n \"id\": 980191068,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null,\n \"parameters\": [],\n \"interfaces\": [\n {\n \"id\": 107,\n \"name\": \"testhost11.mydomain.net\",\n \"ip\": \"10.0.0.20\",\n \"mac\": \"52:53:00:1e:85:93\",\n \"identifier\": null,\n \"primary\": true,\n \"provision\": true,\n \"type\": \"interface\"\n }\n ],\n \"puppetclasses\": [],\n \"config_groups\": [],\n \"all_parameters\": [\n {\n \"id\": 716195090,\n \"name\": \"os1\",\n \"value\": \"os1\"\n },\n {\n \"id\": 665394701,\n \"name\": \"parameter\",\n \"value\": \"value1\"\n },\n {\n \"id\": 513706444,\n \"name\": \"loc_param\",\n \"value\": \"abc\"\n },\n {\n \"id\": 840284801,\n \"name\": \"org_param\",\n \"value\": \"xyz\"\n },\n {\n \"id\": 636252244,\n \"name\": \"test\",\n \"value\": \"myvalue\"\n }\n ],\n \"all_puppetclasses\": [],\n \"permissions\": {\n \"view_hosts\": true,\n \"create_hosts\": true,\n \"edit_hosts\": true,\n \"destroy_hosts\": true,\n \"build_hosts\": true,\n \"power_hosts\": true,\n \"console_hosts\": true,\n \"ipmi_boot\": true,\n \"puppetrun_hosts\": true\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/update","name":"update","apis":[{"api_url":"/api/hosts/:id","http_method":"PUT","short_description":"Update a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host","full_name":"host","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"host[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"host[location_id]","description":"\n\u003cp\u003erequired if locations are enabled\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"host[organization_id]","description":"\n\u003cp\u003erequired if organizations are enabled\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"host[environment_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip","full_name":"host[ip]","description":"\n\u003cp\u003enot required if using a subnet with DHCP proxy\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mac","full_name":"host[mac]","description":"\n\u003cp\u003erequired for managed host that is bare metal, not required if it’s a virtual machine\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"host[architecture_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"host[domain_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_id","full_name":"host[realm_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_proxy_id","full_name":"host[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_ids","full_name":"host[puppetclass_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"host[operatingsystem_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium_id","full_name":"host[medium_id]","description":"\n\u003cp\u003erequired if not imaged based provisioning and host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable_id","full_name":"host[ptable_id]","description":"\n\u003cp\u003erequired if host is managed and custom partition has not been defined\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"host[subnet_id]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"host[compute_resource_id]","description":"\n\u003cp\u003enil means host is bare metal\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"root_pass","full_name":"host[root_pass]","description":"\n\u003cp\u003erequired if host is managed and value is not inherited from host group or default password in settings\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"model_id","full_name":"host[model_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"host[hostgroup_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"owner_id","full_name":"host[owner_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"owner_type","full_name":"host[owner_type]","description":"\n\u003cp\u003eHost’s owner type\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eUser\u003c/code\u003e, \u003ccode\u003eUsergroup\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_ca_proxy_id","full_name":"host[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"image_id","full_name":"host[image_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_parameters_attributes","full_name":"host[host_parameters_attributes]","description":"\n\u003cp\u003eHost’s parameters (array or indexed hash)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"host[host_parameters_attributes][name]","description":"\n\u003cp\u003eName of the parameter\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"host[host_parameters_attributes][value]","description":"\n\u003cp\u003eParameter value\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"build","full_name":"host[build]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"enabled","full_name":"host[enabled]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provision_method","full_name":"host[provision_method]","description":"\n\u003cp\u003eThe method used to provision the host. Possible provision_methods may be build (Network Based), image (Image Based)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"managed","full_name":"host[managed]","description":"\n\u003cp\u003eTrue/False flag whether a host is managed or unmanaged. Note: this value also determines whether several parameters are required or not\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"progress_report_id","full_name":"host[progress_report_id]","description":"\n\u003cp\u003eUUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"comment","full_name":"host[comment]","description":"\n\u003cp\u003eAdditional information about this host\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"capabilities","full_name":"host[capabilities]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_profile_id","full_name":"host[compute_profile_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interfaces_attributes","full_name":"host[interfaces_attributes]","description":"\n\u003cp\u003eHost’s network interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"mac","full_name":"host[interfaces_attributes][mac]","description":"\n\u003cp\u003eMAC address of interface. Required for managed interfaces on bare metal.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip","full_name":"host[interfaces_attributes][ip]","description":"\n\u003cp\u003eIPv4 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip6","full_name":"host[interfaces_attributes][ip6]","description":"\n\u003cp\u003eIPv6 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"host[interfaces_attributes][type]","description":"\n\u003cp\u003eInterface type, e.g. bmc. Default is interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003einterface\u003c/code\u003e, \u003ccode\u003ebmc\u003c/code\u003e, \u003ccode\u003ebond\u003c/code\u003e, \u003ccode\u003ebridge\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"host[interfaces_attributes][name]","description":"\n\u003cp\u003eInterface’s DNS name\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"host[interfaces_attributes][subnet_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv4 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"subnet6_id","full_name":"host[interfaces_attributes][subnet6_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv6 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"host[interfaces_attributes][domain_id]","description":"\n\u003cp\u003eForeman domain ID of interface. Required for primary interfaces on managed hosts.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"identifier","full_name":"host[interfaces_attributes][identifier]","description":"\n\u003cp\u003eDevice identifier, e.g. eth0 or eth1.1\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"managed","full_name":"host[interfaces_attributes][managed]","description":"\n\u003cp\u003eShould this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning?\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"primary","full_name":"host[interfaces_attributes][primary]","description":"\n\u003cp\u003eShould this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provision","full_name":"host[interfaces_attributes][provision]","description":"\n\u003cp\u003eShould this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"host[interfaces_attributes][username]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"host[interfaces_attributes][password]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provider","full_name":"host[interfaces_attributes][provider]","description":"\n\u003cp\u003eInterface provider, e.g. IPMI. Only for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eIPMI\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"virtual","full_name":"host[interfaces_attributes][virtual]","description":"\n\u003cp\u003eAlias or VLAN device\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"host[interfaces_attributes][tag]","description":"\n\u003cp\u003eVLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_to","full_name":"host[interfaces_attributes][attached_to]","description":"\n\u003cp\u003eIdentifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mode","full_name":"host[interfaces_attributes][mode]","description":"\n\u003cp\u003eBond mode of the interface, e.g. balance-rr. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003ebalance-rr\u003c/code\u003e, \u003ccode\u003eactive-backup\u003c/code\u003e, \u003ccode\u003ebalance-xor\u003c/code\u003e, \u003ccode\u003ebroadcast\u003c/code\u003e, \u003ccode\u003e802.3ad\u003c/code\u003e, \u003ccode\u003ebalance-tlb\u003c/code\u003e, \u003ccode\u003ebalance-alb\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_devices","full_name":"host[interfaces_attributes][attached_devices]","description":"\n\u003cp\u003eIdentifiers of attached interfaces, e.g. \u003ccode\u003e[\u0026#39;eth1\u0026#39;, \u0026#39;eth2\u0026#39;]\u003c/code\u003e. For bond interfaces those are the slaves. Only for bond and bridges interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"bond_options","full_name":"host[interfaces_attributes][bond_options]","description":"\n\u003cp\u003eSpace separated options, e.g. miimon=100. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_attributes","full_name":"host[interfaces_attributes][compute_attributes]","description":"\n\u003cp\u003eAdditional compute resource specific attributes for the interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}]},{"name":"compute_attributes","full_name":"host[compute_attributes]","description":"\n\u003cp\u003eAdditional compute resource specific attributes.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"content_facet_attributes","full_name":"host[content_facet_attributes]","description":"\n\u003cp\u003eParameters for host’s content_facet facet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"content_view_id","full_name":"host[content_facet_attributes][content_view_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"lifecycle_environment_id","full_name":"host[content_facet_attributes][lifecycle_environment_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"kickstart_repository_id","full_name":"host[content_facet_attributes][kickstart_repository_id]","description":"\n\u003cp\u003eRepository Id associated with the kickstart repo used for provisioning\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}]},{"name":"subscription_facet_attributes","full_name":"host[subscription_facet_attributes]","description":"\n\u003cp\u003eParameters for host’s subscription_facet facet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"release_version","full_name":"host[subscription_facet_attributes][release_version]","description":"\n\u003cp\u003eRelease version for this Host to use (7Server, 7.1, etc)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"autoheal","full_name":"host[subscription_facet_attributes][autoheal]","description":"\n\u003cp\u003eSets whether the Host will autoheal subscriptions upon checkin\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"service_level","full_name":"host[subscription_facet_attributes][service_level]","description":"\n\u003cp\u003eService level to be used for autoheal.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"hypervisor_guest_uuids","full_name":"host[subscription_facet_attributes][hypervisor_guest_uuids]","description":"\n\u003cp\u003eList of hypervisor guest uuids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}]}],"examples":["PUT /api/hosts/host84\n{\n \"host\": {}\n}\n404\n{\n \"error\": {\n \"message\": \"Resource host not found by id 'host84'\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:id","http_method":"DELETE","short_description":"Delete a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/hosts/host103\n404\n{\n \"error\": {\n \"message\": \"Resource host not found by id 'host103'\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/status","name":"status","apis":[{"api_url":"/api/hosts/:id/status","http_method":"GET","short_description":"Get configuration status of host","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eReturn value may either be one of the following:\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003emissing\u003c/li\u003e\n\n\u003cli\u003efailed\u003c/li\u003e\n\n\u003cli\u003epending\u003c/li\u003e\n\n\u003cli\u003echanged\u003c/li\u003e\n\n\u003cli\u003eunchanged\u003c/li\u003e\n\n\u003cli\u003eunreported\u003c/li\u003e\n\u003c/ul\u003e\n","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host89/status\n404\n{\n \"error\": {\n \"message\": \"Resource host not found by id 'host89'\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/get_status","name":"get_status","apis":[{"api_url":"/api/hosts/:id/status/:type","http_method":"GET","short_description":"Get status of host","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eReturns string representing a host status of a given type\u003c/p\u003e\n","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"type","description":"\n\u003cp\u003estatus type, can be one of\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003eglobal\u003c/li\u003e\n\n\u003cli\u003econfiguration\u003c/li\u003e\n\n\u003cli\u003ebuild\u003c/li\u003e\n\u003c/ul\u003e\n","required":true,"allow_nil":false,"validator":"Must be one of: HostStatus::Global, configuration, build.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host141/status/global\n200\n{\n \"status_label\": \"OK\",\n \"status\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/vm_compute_attributes","name":"vm_compute_attributes","apis":[{"api_url":"/api/hosts/:id/vm_compute_attributes","http_method":"GET","short_description":"Get vm attributes of host","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eReturn the host’s compute attributes that can be used to create a clone of this VM\u003c/p\u003e\n","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host136/vm_compute_attributes\n200\n{\n \"cpus\": 4,\n \"memory\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/puppetrun","name":"puppetrun","apis":[{"api_url":"/api/hosts/:id/puppetrun","http_method":"PUT","short_description":"Force a Puppet agent run on the host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/hosts/host111/puppetrun\n{\n \"host\": {}\n}\n200\n{\n \"id\": 980191088,\n \"name\": \"host111\",\n \"last_compile\": null,\n \"last_report\": null,\n \"updated_at\": \"2016-06-28T17:38:14.203Z\",\n \"created_at\": \"2016-06-28T17:38:14.203Z\",\n \"root_pass\": \"$5$T5sIi0rC$XUSnDATaBVyLUOtRCz2xLhvB0B1XnVfbYvmAGAd83i2\",\n \"architecture_id\": null,\n \"operatingsystem_id\": null,\n \"environment_id\": 687036947,\n \"ptable_id\": null,\n \"medium_id\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": 135138680,\n \"owner_type\": \"User\",\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": null,\n \"puppet_proxy_id\": 982965215,\n \"certname\": \"host111\",\n \"image_id\": null,\n \"organization_id\": null,\n \"location_id\": null,\n \"otp\": null,\n \"realm_id\": null,\n \"compute_profile_id\": null,\n \"provision_method\": \"build\",\n \"content_source_id\": null,\n \"grub_pass\": \"\",\n \"content_view_id\": null,\n \"lifecycle_environment_id\": null,\n \"global_status\": 0,\n \"lookup_value_matcher\": \"fqdn=host111\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/disassociate","name":"disassociate","apis":[{"api_url":"/api/hosts/:id/disassociate","http_method":"PUT","short_description":"Disassociate the host from a VM","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/hosts/host97/disassociate\n{\n \"host\": {}\n}\n200\n{\n \"ip\": null,\n \"ip6\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"last_report\": null,\n \"mac\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": null,\n \"owner_type\": null,\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": null,\n \"compute_resource_id\": null,\n \"compute_resource_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"build\"\n ],\n \"provision_method\": \"build\",\n \"puppet_proxy_id\": null,\n \"certname\": \"host97\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 17:38:11 UTC\",\n \"updated_at\": \"2016-06-28 17:38:12 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"OK\",\n \"organization_id\": null,\n \"organization_name\": null,\n \"location_id\": null,\n \"location_name\": null,\n \"puppet_status\": 0,\n \"model_name\": null,\n \"name\": \"host97\",\n \"id\": 980191073,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null,\n \"parameters\": [],\n \"interfaces\": [\n {\n \"id\": 112,\n \"name\": \"host97\",\n \"ip\": null,\n \"mac\": null,\n \"identifier\": null,\n \"primary\": true,\n \"provision\": true,\n \"type\": \"interface\"\n }\n ],\n \"puppetclasses\": [],\n \"config_groups\": [],\n \"all_parameters\": [\n {\n \"id\": 636252244,\n \"name\": \"test\",\n \"value\": \"myvalue\"\n }\n ],\n \"all_puppetclasses\": [],\n \"permissions\": {\n \"view_hosts\": true,\n \"create_hosts\": true,\n \"edit_hosts\": true,\n \"destroy_hosts\": true,\n \"build_hosts\": true,\n \"power_hosts\": true,\n \"console_hosts\": true,\n \"ipmi_boot\": true,\n \"puppetrun_hosts\": true\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/power","name":"power","apis":[{"api_url":"/api/hosts/:id/power","http_method":"PUT","short_description":"Run a power operation on host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"power_action","full_name":"power_action","description":"\n\u003cp\u003epower action, valid actions are (on/start), (off/stop), (soft/reboot), (cycle/reset), (state/status)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/hosts/host99.example10.com/power\n{\n \"power_action\": \"status\",\n \"host\": {}\n}\n200\n{\n \"power\": \"on\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/boot","name":"boot","apis":[{"api_url":"/api/hosts/:id/boot","http_method":"PUT","short_description":"Boot host from specified device","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"device","full_name":"device","description":"\n\u003cp\u003eboot device, valid devices are disk, cdrom, pxe, bios\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/hosts/host149.example14.com/boot\n{\n \"device\": \"bios\",\n \"host\": {}\n}\n200\n{\n \"boot\": \"{\\\"action\\\":\\\"bios\\\",\\\"result\\\":true}\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/facts","name":"facts","apis":[{"api_url":"/api/hosts/facts","http_method":"POST","short_description":"Upload facts for a host, creating the host if required","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"\n\u003cp\u003ehostname of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"facts","full_name":"facts","description":"\n\u003cp\u003ehash containing the facts for the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"certname","full_name":"certname","description":"\n\u003cp\u003eoptional: certname of the host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"type","description":"\n\u003cp\u003eoptional: the STI type of host to create\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/hosts/facts\n{\n \"name\": \"brslc022.brs.infineon.com\",\n \"facts\": {\n \"is_virtual\": \"true\",\n \"processorcount\": \"2\",\n \"serialnumber\": \"VMware-56 4d 15 06 72 86 a9 d3-8a 09 fc 27 5a cf 00 45\",\n \"kernel\": \"Linux\",\n \"virtual\": \"vmware\",\n \"_timestamp\": \"2010-02-16 12:52:38.163833 +01:00\",\n \"network_eth0\": \"172.29.205.0\",\n \"operatingsystemrelease\": \"4\",\n \"uniqueid\": \"1dac16cd\",\n \"hardwaremodel\": \"i686\",\n \"rubysitedir\": \"/usr/lib/site_ruby/1.8\",\n \"platform\": \"Linux_2.6_i386_all\",\n \"uptime_seconds\": \"3756\",\n \"lsbrelease\": \":core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch\",\n \"memorysize\": \"1.45 GB\",\n \"gi\": \"4\",\n \"netmask_eth0\": \"255.255.255.128\",\n \"ipaddress\": \"172.29.205.22\",\n \"physicalprocessorcount\": \"0\",\n \"swapfree\": \"1.95 GB\",\n \"vmware\": \"virtual\",\n \"netmask\": \"255.255.255.128\",\n \"clientversion\": \"0.24.8\",\n \"fqdn\": \"brslc022.brs.infineon.com\",\n \"timezone\": \"GMT\",\n \"ps\": \"ps -ef\",\n \"kernelrelease\": \"2.6.9-89.0.16.ELsmp\",\n \"hardwareisa\": \"i686\",\n \"domain\": \"brs.infineon.com\",\n \"type\": \"Other\",\n \"kernelversion\": \"2.6.9\",\n \"id\": \"root\",\n \"lsbdistdescription\": \"Red Hat Enterprise Linux AS release 4 (Nahant Update 8)\",\n \"uptime_hours\": \"1\",\n \"lsbdistrelease\": \"4\",\n \"macaddress_eth0\": \"00:0C:29:CF:00:45\",\n \"manufacturer\": \"VMware, Inc.\",\n \"memoryfree\": \"1.39 GB\",\n \"selinux\": \"false\",\n \"gateway_if\": \"eth0\",\n \"lsbdistcodename\": \"NahantUpdate8\",\n \"sshrsakey\": \"AAAAB3NzaC1yc2EAAAABIwAAAIEAyj0XAKzx4WlNE8Vzj0ABBEHxqHr2H4AZZnabnQkYTOfz5kObXL+BvYqPONg2EqeUYCTNaFtQQPpJ4H+TM+GCJDNvFEKJTRd+cFoOuramf9LunWN/+ETreQ5V8KhKvdYTNw5blPBKiQz/XxSxcm7beo5QiBVr/lOM0u8YhGTLawk=\",\n \"uptime_days\": \"0\",\n \"interfaces\": \"eth0\",\n \"hostname\": \"brslc022\",\n \"graphcard\": \"VMware\",\n \"uptime\": \"1:02 hours\",\n \"processor0\": \"Intel(R) Xeon(R) CPU X5460 @ 3.16GHz\",\n \"puppetversion\": \"0.24.8\",\n \"productname\": \"VMware Virtual Platform\",\n \"architecture\": \"i386\",\n \"gateway\": \"172.29.205.1\",\n \"rubyversion\": \"1.8.1\",\n \"environment\": \"brs_test\",\n \"path\": \"/usr/bin:/sbin:/bin:/usr/sbin:/opt/csw/bin\",\n \"swapsize\": \"1.95 GB\",\n \"ipaddress_eth0\": \"172.29.205.22\",\n \"facterversion\": \"1.5.7\",\n \"kernelmajversion\": \"2.6\",\n \"operatingsystem\": \"RedHat\",\n \"macaddress\": \"00:0C:29:CF:00:45\",\n \"processor1\": \"Intel(R) Xeon(R) CPU X5460 @ 3.16GHz\",\n \"lsbmajdistrelease\": \"4\",\n \"sshdsakey\": \"AAAAB3NzaC1kc3MAAACBAIUasO2eEvlRHfcO8wMPfbo98YfgVsJj0qhUDSSoSa6xmYI8QWBDMoxf1h8INiDfrNQ5e4VreLQjt4/2Ex7OXoeB7C9Cg18/TlfZU+RTNMdsL85W5hQrrKoBm+ksMnxidkDC66ROq+pmxBTGDwwxg3ugF8eZnVSzCZ1FE605AsStAAAAFQCrr3s1cLQFRc6oZJAx3EZDxDraCQAAAIBqIqIvY7KtRsI+8y8E5MSZXpRRZxf0zqbraDxASwzImUr6ysEmpJsHbHyi6UePnF55tG/iZNM4bSNg/3qExK8So040byV71qN4HNT48nIh3cCS0z8oKLqvlCRJ+dOY1QMkE8ZLfOyF4A6ZOTuE8TTsGpvUIR0HyXkpoiIR9XcgzgAAAIA4nkedBQi+VA01NvWx27GGz5P3TTQ36yDODZdLmXoepQM1rPfKWvPFFd5MxgJumSU5BKhYUiQTOImcRlQcY5DA3dGbog1dOAKlWyeJn4WRHbYr+VNgR/HwBzHLMW4TXLt38ThmPv9TiLS1RvTdHuDm2oRTadNZOrmQz619kZejmw==\",\n \"lsbdistid\": \"RedHatEnterpriseAS\"\n },\n \"host\": {\n \"name\": \"brslc022.brs.infineon.com\"\n }\n}\n403\n{\n \"error\": {\n \"message\": \"Access denied\",\n \"details\": \"Missing one of the required permissions: upload_facts\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/rebuild_config","name":"rebuild_config","apis":[{"api_url":"/api/hosts/:id/rebuild_config","http_method":"PUT","short_description":"Rebuild orchestration config","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/hosts/host109/rebuild_config\n{\n \"host\": {}\n}\n200\n{\n \"message\": \"Configuration successfully rebuilt.\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/template","name":"template","apis":[{"api_url":"/api/hosts/:id/template/:kind","http_method":"GET","short_description":"Preview rendered provisioning template content","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"kind","full_name":"kind","description":"\n\u003cp\u003eTemplate kinds, available values: PXELinux, PXEGrub, iPXE, provision, finish, script, user_data, ZTP, POAP\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host116.example11.com/template/provision\n200\n{\n \"template\": \"template content 1\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts/host_collections","name":"host_collections","apis":[{"api_url":"/api/hosts/:host_id/host_collections","http_method":"PUT","short_description":"Alter a hosts host collections","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eThe id of the host to alter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_collection_ids","full_name":"host_collection_ids","description":"\n\u003cp\u003eList of host collection ids to update\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"interfaces":{"doc_url":"../apidoc/v2/interfaces","api_url":"/api","name":"Interfaces","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/interfaces/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/interfaces","http_method":"GET","short_description":"List all interfaces for host","deprecated":null},{"api_url":"/api/domains/:domain_id/interfaces","http_method":"GET","short_description":"List all interfaces for domain","deprecated":null},{"api_url":"/api/subnets/:subnet_id/interfaces","http_method":"GET","short_description":"List all interfaces for subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID or name of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID or name of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID or name of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host167/interfaces\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"created_at\": \"2016-06-28 17:38:30 UTC\",\n \"updated_at\": \"2016-06-28 17:38:30 UTC\",\n \"managed\": true,\n \"identifier\": \"eth18\",\n \"id\": 206,\n \"name\": null,\n \"ip\": \"0.0.0.1\",\n \"mac\": \"01:23:45:ab:00:01\",\n \"primary\": false,\n \"provision\": false,\n \"type\": \"interface\",\n \"virtual\": false\n },\n {\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"created_at\": \"2016-06-28 17:38:30 UTC\",\n \"updated_at\": \"2016-06-28 17:38:30 UTC\",\n \"managed\": true,\n \"identifier\": null,\n \"id\": 205,\n \"name\": \"host167\",\n \"ip\": null,\n \"mac\": null,\n \"primary\": true,\n \"provision\": true,\n \"type\": \"interface\",\n \"virtual\": false\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/interfaces/show","name":"show","apis":[{"api_url":"/api/hosts/:host_id/interfaces/:id","http_method":"GET","short_description":"Show an interface for host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID or name of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID or name of interface\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host171/interfaces/215\n200\n{\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"created_at\": \"2016-06-28 17:38:30 UTC\",\n \"updated_at\": \"2016-06-28 17:38:30 UTC\",\n \"managed\": true,\n \"identifier\": \"eth22\",\n \"id\": 215,\n \"name\": null,\n \"ip\": \"0.0.0.5\",\n \"mac\": \"01:23:45:ab:00:05\",\n \"primary\": false,\n \"provision\": false,\n \"type\": \"interface\",\n \"virtual\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/interfaces/create","name":"create","apis":[{"api_url":"/api/hosts/:host_id/interfaces","http_method":"POST","short_description":"Create an interface on a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID or name of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interface","full_name":"interface","description":"\n\u003cp\u003einterface information\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"mac","full_name":"interface[mac]","description":"\n\u003cp\u003eMAC address of interface. Required for managed interfaces on bare metal.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip","full_name":"interface[ip]","description":"\n\u003cp\u003eIPv4 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip6","full_name":"interface[ip6]","description":"\n\u003cp\u003eIPv6 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"interface[type]","description":"\n\u003cp\u003eInterface type, e.g. bmc. Default is interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003einterface\u003c/code\u003e, \u003ccode\u003ebmc\u003c/code\u003e, \u003ccode\u003ebond\u003c/code\u003e, \u003ccode\u003ebridge\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"interface[name]","description":"\n\u003cp\u003eInterface’s DNS name\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"interface[subnet_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv4 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"subnet6_id","full_name":"interface[subnet6_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv6 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"interface[domain_id]","description":"\n\u003cp\u003eForeman domain ID of interface. Required for primary interfaces on managed hosts.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"identifier","full_name":"interface[identifier]","description":"\n\u003cp\u003eDevice identifier, e.g. eth0 or eth1.1\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"managed","full_name":"interface[managed]","description":"\n\u003cp\u003eShould this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning?\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"primary","full_name":"interface[primary]","description":"\n\u003cp\u003eShould this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provision","full_name":"interface[provision]","description":"\n\u003cp\u003eShould this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"interface[username]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"interface[password]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provider","full_name":"interface[provider]","description":"\n\u003cp\u003eInterface provider, e.g. IPMI. Only for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eIPMI\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"virtual","full_name":"interface[virtual]","description":"\n\u003cp\u003eAlias or VLAN device\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"interface[tag]","description":"\n\u003cp\u003eVLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_to","full_name":"interface[attached_to]","description":"\n\u003cp\u003eIdentifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mode","full_name":"interface[mode]","description":"\n\u003cp\u003eBond mode of the interface, e.g. balance-rr. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003ebalance-rr\u003c/code\u003e, \u003ccode\u003eactive-backup\u003c/code\u003e, \u003ccode\u003ebalance-xor\u003c/code\u003e, \u003ccode\u003ebroadcast\u003c/code\u003e, \u003ccode\u003e802.3ad\u003c/code\u003e, \u003ccode\u003ebalance-tlb\u003c/code\u003e, \u003ccode\u003ebalance-alb\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_devices","full_name":"interface[attached_devices]","description":"\n\u003cp\u003eIdentifiers of attached interfaces, e.g. \u003ccode\u003e[\u0026#39;eth1\u0026#39;, \u0026#39;eth2\u0026#39;]\u003c/code\u003e. For bond interfaces those are the slaves. Only for bond and bridges interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"bond_options","full_name":"interface[bond_options]","description":"\n\u003cp\u003eSpace separated options, e.g. miimon=100. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_attributes","full_name":"interface[compute_attributes]","description":"\n\u003cp\u003eAdditional compute resource specific attributes for the interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/hosts/host169/interfaces\n{\n \"interface\": {\n \"name\": \"test.foreman.com\",\n \"ip\": \"10.0.1.1\",\n \"mac\": \"AA:AA:AA:AA:AA:AA\",\n \"username\": \"foo\",\n \"password\": \"bar\",\n \"provider\": \"IPMI\",\n \"type\": \"bmc\",\n \"ip6\": \"2001:db8::1\"\n }\n}\n201\n{\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"created_at\": \"2016-06-28 17:38:30 UTC\",\n \"updated_at\": \"2016-06-28 17:38:30 UTC\",\n \"managed\": true,\n \"identifier\": null,\n \"id\": 211,\n \"name\": \"test.foreman.com\",\n \"ip\": \"10.0.1.1\",\n \"mac\": \"aa:aa:aa:aa:aa:aa\",\n \"primary\": false,\n \"provision\": false,\n \"type\": \"bmc\",\n \"username\": \"foo\",\n \"password\": \"bar\",\n \"provider\": \"IPMI\",\n \"virtual\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/interfaces/update","name":"update","apis":[{"api_url":"/api/hosts/:host_id/interfaces/:id","http_method":"PUT","short_description":"Update a host's interface","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID or name of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of interface\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interface","full_name":"interface","description":"\n\u003cp\u003einterface information\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"mac","full_name":"interface[mac]","description":"\n\u003cp\u003eMAC address of interface. Required for managed interfaces on bare metal.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip","full_name":"interface[ip]","description":"\n\u003cp\u003eIPv4 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip6","full_name":"interface[ip6]","description":"\n\u003cp\u003eIPv6 address of interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"interface[type]","description":"\n\u003cp\u003eInterface type, e.g. bmc. Default is interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003einterface\u003c/code\u003e, \u003ccode\u003ebmc\u003c/code\u003e, \u003ccode\u003ebond\u003c/code\u003e, \u003ccode\u003ebridge\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"interface[name]","description":"\n\u003cp\u003eInterface’s DNS name\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"interface[subnet_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv4 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"subnet6_id","full_name":"interface[subnet6_id]","description":"\n\u003cp\u003eForeman subnet ID of IPv6 interface\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"interface[domain_id]","description":"\n\u003cp\u003eForeman domain ID of interface. Required for primary interfaces on managed hosts.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"identifier","full_name":"interface[identifier]","description":"\n\u003cp\u003eDevice identifier, e.g. eth0 or eth1.1\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"managed","full_name":"interface[managed]","description":"\n\u003cp\u003eShould this interface be managed via DHCP and DNS smart proxy and should it be configured during provisioning?\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"primary","full_name":"interface[primary]","description":"\n\u003cp\u003eShould this interface be used for constructing the FQDN of the host? Each managed hosts needs to have one primary interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provision","full_name":"interface[provision]","description":"\n\u003cp\u003eShould this interface be used for TFTP of PXELinux (or SSH for image-based hosts)? Each managed hosts needs to have one provision interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"interface[username]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"interface[password]","description":"\n\u003cp\u003eOnly for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provider","full_name":"interface[provider]","description":"\n\u003cp\u003eInterface provider, e.g. IPMI. Only for BMC interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eIPMI\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"virtual","full_name":"interface[virtual]","description":"\n\u003cp\u003eAlias or VLAN device\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"interface[tag]","description":"\n\u003cp\u003eVLAN tag, this attribute has precedence over the subnet VLAN ID. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_to","full_name":"interface[attached_to]","description":"\n\u003cp\u003eIdentifier of the interface to which this interface belongs, e.g. eth1. Only for virtual interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mode","full_name":"interface[mode]","description":"\n\u003cp\u003eBond mode of the interface, e.g. balance-rr. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003ebalance-rr\u003c/code\u003e, \u003ccode\u003eactive-backup\u003c/code\u003e, \u003ccode\u003ebalance-xor\u003c/code\u003e, \u003ccode\u003ebroadcast\u003c/code\u003e, \u003ccode\u003e802.3ad\u003c/code\u003e, \u003ccode\u003ebalance-tlb\u003c/code\u003e, \u003ccode\u003ebalance-alb\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attached_devices","full_name":"interface[attached_devices]","description":"\n\u003cp\u003eIdentifiers of attached interfaces, e.g. \u003ccode\u003e[\u0026#39;eth1\u0026#39;, \u0026#39;eth2\u0026#39;]\u003c/code\u003e. For bond interfaces those are the slaves. Only for bond and bridges interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"bond_options","full_name":"interface[bond_options]","description":"\n\u003cp\u003eSpace separated options, e.g. miimon=100. Only for bond interfaces.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_attributes","full_name":"interface[compute_attributes]","description":"\n\u003cp\u003eAdditional compute resource specific attributes for the interface.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/hosts/host174/interfaces/223\n{\n \"interface\": {\n \"name\": \"test.foreman.com\",\n \"ip\": \"10.0.1.1\",\n \"mac\": \"AA:AA:AA:AA:AA:AA\",\n \"username\": \"foo\",\n \"password\": \"bar\",\n \"provider\": \"IPMI\",\n \"type\": \"bmc\",\n \"ip6\": \"2001:db8::1\",\n \"host_id\": \"980191163\"\n }\n}\n200\n{\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"created_at\": \"2016-06-28 17:38:31 UTC\",\n \"updated_at\": \"2016-06-28 17:38:31 UTC\",\n \"managed\": true,\n \"identifier\": \"eth25\",\n \"id\": 223,\n \"name\": \"test.foreman.com\",\n \"ip\": \"10.0.1.1\",\n \"mac\": \"aa:aa:aa:aa:aa:aa\",\n \"primary\": false,\n \"provision\": false,\n \"type\": \"interface\",\n \"username\": \"foo\",\n \"password\": \"bar\",\n \"provider\": \"IPMI\",\n \"virtual\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/interfaces/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/interfaces/:id","http_method":"DELETE","short_description":"Delete a host's interface","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID or name of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of interface\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/hosts/host168/interfaces/208\n200\n{\n \"id\": 208,\n \"mac\": \"01:23:45:ab:00:02\",\n \"ip\": \"0.0.0.2\",\n \"name\": null,\n \"host_id\": 980191157,\n \"subnet_id\": null,\n \"domain_id\": null,\n \"attrs\": {},\n \"created_at\": \"2016-06-28T17:38:30.564Z\",\n \"updated_at\": \"2016-06-28T17:38:30.564Z\",\n \"provider\": null,\n \"username\": null,\n \"password\": null,\n \"virtual\": false,\n \"link\": true,\n \"identifier\": \"eth19\",\n \"tag\": \"\",\n \"attached_to\": \"\",\n \"managed\": true,\n \"mode\": \"balance-rr\",\n \"attached_devices\": \"\",\n \"bond_options\": \"\",\n \"primary\": false,\n \"provision\": false,\n \"compute_attributes\": {},\n \"ip6\": null,\n \"subnet6_id\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"hostgroups":{"doc_url":"../apidoc/v2/hostgroups","api_url":"/api","name":"Hostgroups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hostgroups/index","name":"index","apis":[{"api_url":"/api/hostgroups","http_method":"GET","short_description":"List all host groups","deprecated":null},{"api_url":"/api/puppetclasses/:puppetclass_id/hostgroups","http_method":"GET","short_description":"List all host groups for a Puppet class","deprecated":null},{"api_url":"/api/locations/:location_id/hostgroups","http_method":"GET","short_description":"List all host groups per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/hostgroups","http_method":"GET","short_description":"List all host groups per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"puppetclass_id","full_name":"puppetclass_id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hostgroups\n200\n{\n \"total\": 5,\n \"subtotal\": 5,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"domain_id\": 22495316,\n \"domain_name\": \"mydomain.net\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"1-Small\",\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"puppet_proxy_id\": 182953976,\n \"puppet_ca_proxy_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": 980190962,\n \"medium_name\": \"CentOS 5.4\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 636252244,\n \"name\": \"Common\",\n \"title\": \"Common\"\n },\n {\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"domain_id\": null,\n \"domain_name\": null,\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"puppet_proxy_id\": 182953976,\n \"puppet_ca_proxy_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": 980190962,\n \"medium_name\": \"CentOS 5.4\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 603241515,\n \"name\": \"db\",\n \"title\": \"db\"\n },\n {\n \"subnet_id\": 113629430,\n \"subnet_name\": \"three\",\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"domain_id\": 22495316,\n \"domain_name\": \"mydomain.net\",\n \"environment_id\": 153855663,\n \"environment_name\": \"global_puppetmaster\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"1-Small\",\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"puppet_proxy_id\": 182953976,\n \"puppet_ca_proxy_id\": 182953976,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": 980190962,\n \"medium_name\": \"CentOS 5.4\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 1,\n \"name\": \"Parent\",\n \"title\": \"Parent\"\n },\n {\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"ancestry\": \"1\",\n \"parent_id\": 1,\n \"parent_name\": \"Parent\",\n \"puppet_proxy_id\": null,\n \"puppet_ca_proxy_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 928644285,\n \"name\": \"inherited\",\n \"title\": \"Parent/inherited\"\n },\n {\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"puppet_proxy_id\": 182953976,\n \"puppet_ca_proxy_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 866317115,\n \"name\": \"Unusual\",\n \"title\": \"Unusual\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroups/show","name":"show","apis":[{"api_url":"/api/hostgroups/:id","http_method":"GET","short_description":"Show a host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hostgroups/636252244-Common\n200\n{\n \"content_source_id\": null,\n \"content_source_name\": null,\n \"content_view_id\": null,\n \"content_view_name\": null,\n \"lifecycle_environment_id\": null,\n \"lifecycle_environment_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"domain_id\": 22495316,\n \"domain_name\": \"mydomain.net\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"1-Small\",\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"puppet_proxy_id\": 182953976,\n \"puppet_ca_proxy_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": 980190962,\n \"medium_name\": \"CentOS 5.4\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 636252244,\n \"name\": \"Common\",\n \"title\": \"Common\",\n \"parameters\": [\n {\n \"id\": 767575238,\n \"name\": \"group1\",\n \"value\": \"group1\"\n }\n ],\n \"template_combinations\": [\n {\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n },\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n }\n ],\n \"puppetclasses\": [\n {\n \"id\": 980190962,\n \"name\": \"base\",\n \"module_name\": \"base\"\n }\n ],\n \"config_groups\": [\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 980190962,\n \"name\": \"Monitoring\",\n \"puppetclasses\": [\n {\n \"id\": 51848956,\n \"name\": \"chkmk\",\n \"module_name\": \"chkmk\"\n },\n {\n \"id\": 1018350795,\n \"name\": \"nagios\",\n \"module_name\": \"nagios\"\n }\n ]\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 113629430,\n \"name\": \"Tools\",\n \"puppetclasses\": [\n {\n \"id\": 113629430,\n \"name\": \"git\",\n \"module_name\": \"git\"\n },\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"module_name\": \"vim\"\n }\n ]\n }\n ],\n \"all_puppetclasses\": [\n {\n \"id\": 980190962,\n \"name\": \"base\",\n \"module_name\": \"base\"\n },\n {\n \"id\": 51848956,\n \"name\": \"chkmk\",\n \"module_name\": \"chkmk\"\n },\n {\n \"id\": 1018350795,\n \"name\": \"nagios\",\n \"module_name\": \"nagios\"\n },\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"module_name\": \"vim\"\n }\n ],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroups/create","name":"create","apis":[{"api_url":"/api/hostgroups","http_method":"POST","short_description":"Create a host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup","full_name":"hostgroup","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"hostgroup[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"parent_id","full_name":"hostgroup[parent_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"hostgroup[environment_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"hostgroup[operatingsystem_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"hostgroup[architecture_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium_id","full_name":"hostgroup[medium_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable_id","full_name":"hostgroup[ptable_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_ca_proxy_id","full_name":"hostgroup[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"hostgroup[subnet_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"hostgroup[domain_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_id","full_name":"hostgroup[realm_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_proxy_id","full_name":"hostgroup[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_source_id","full_name":"hostgroup[content_source_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"hostgroup[content_view_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"lifecycle_environment_id","full_name":"hostgroup[lifecycle_environment_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"hostgroup[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"hostgroup[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/hostgroups\n{\n \"hostgroup\": {\n \"name\": \"TestHostgroup\"\n }\n}\n201\n{\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"puppet_proxy_id\": null,\n \"puppet_ca_proxy_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:38:06 UTC\",\n \"updated_at\": \"2016-06-28 17:38:06 UTC\",\n \"id\": 928644292,\n \"name\": \"TestHostgroup\",\n \"title\": \"TestHostgroup\",\n \"parameters\": [],\n \"template_combinations\": [],\n \"puppetclasses\": [],\n \"config_groups\": [],\n \"all_puppetclasses\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroups/update","name":"update","apis":[{"api_url":"/api/hostgroups/:id","http_method":"PUT","short_description":"Update a host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup","full_name":"hostgroup","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"hostgroup[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"parent_id","full_name":"hostgroup[parent_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"hostgroup[environment_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"hostgroup[operatingsystem_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"hostgroup[architecture_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium_id","full_name":"hostgroup[medium_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable_id","full_name":"hostgroup[ptable_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_ca_proxy_id","full_name":"hostgroup[puppet_ca_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"hostgroup[subnet_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"hostgroup[domain_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_id","full_name":"hostgroup[realm_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_proxy_id","full_name":"hostgroup[puppet_proxy_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_source_id","full_name":"hostgroup[content_source_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"hostgroup[content_view_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"lifecycle_environment_id","full_name":"hostgroup[lifecycle_environment_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"hostgroup[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"hostgroup[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/hostgroups/603241515-db\n{\n \"hostgroup\": {\n \"parent_id\": \"636252244\"\n }\n}\n200\n{\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"domain_id\": null,\n \"domain_name\": null,\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"ancestry\": \"636252244\",\n \"parent_id\": 636252244,\n \"parent_name\": \"Common\",\n \"puppet_proxy_id\": 182953976,\n \"puppet_ca_proxy_id\": 182953976,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": 980190962,\n \"medium_name\": \"CentOS 5.4\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"realm_id\": null,\n \"realm_name\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:38:06 UTC\",\n \"id\": 603241515,\n \"name\": \"db\",\n \"title\": \"Common/db\",\n \"parameters\": [],\n \"template_combinations\": [],\n \"puppetclasses\": [\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"module_name\": \"vim\"\n }\n ],\n \"config_groups\": [],\n \"all_puppetclasses\": [\n {\n \"id\": 980190962,\n \"name\": \"base\",\n \"module_name\": \"base\"\n },\n {\n \"id\": 51848956,\n \"name\": \"chkmk\",\n \"module_name\": \"chkmk\"\n },\n {\n \"id\": 1018350795,\n \"name\": \"nagios\",\n \"module_name\": \"nagios\"\n },\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"module_name\": \"vim\"\n }\n ],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroups/destroy","name":"destroy","apis":[{"api_url":"/api/hostgroups/:id","http_method":"DELETE","short_description":"Delete a host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/hostgroups/866317115-Unusual\n200\n{\n \"id\": 866317115,\n \"name\": \"Unusual\",\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"environment_id\": null,\n \"operatingsystem_id\": null,\n \"architecture_id\": null,\n \"medium_id\": null,\n \"ptable_id\": null,\n \"root_pass\": null,\n \"puppet_ca_proxy_id\": null,\n \"use_image\": null,\n \"image_file\": \"\",\n \"ancestry\": null,\n \"vm_defaults\": null,\n \"subnet_id\": null,\n \"domain_id\": null,\n \"puppet_proxy_id\": 182953976,\n \"title\": \"Unusual\",\n \"realm_id\": null,\n \"compute_profile_id\": null,\n \"content_source_id\": null,\n \"grub_pass\": \"\",\n \"content_view_id\": null,\n \"lifecycle_environment_id\": null,\n \"lookup_value_matcher\": \"hostgroup=Unusual\",\n \"hosts_count\": 0,\n \"kickstart_repository_id\": null,\n \"subnet6_id\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroups/clone","name":"clone","apis":[{"api_url":"/api/hostgroups/:id/clone","http_method":"POST","short_description":"Clone a host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/hostgroups/636252244-Common/clone\n{\n \"name\": \"2016-06-28 17:38:05 UTC\",\n \"hostgroup\": {\n \"name\": \"2016-06-28 17:38:05 UTC\"\n }\n}\n201\n{\n \"id\": 928644291,\n \"name\": \"2016-06-28 17:38:05 UTC\",\n \"created_at\": \"2016-06-28T17:38:05.916Z\",\n \"updated_at\": \"2016-06-28T17:38:05.916Z\",\n \"environment_id\": 334344675,\n \"operatingsystem_id\": 309172073,\n \"architecture_id\": 501905019,\n \"medium_id\": 980190962,\n \"ptable_id\": null,\n \"root_pass\": \"$1$foreman$NW1XVtbk4/XkJqmKNrFWV0\",\n \"puppet_ca_proxy_id\": 182953976,\n \"use_image\": null,\n \"image_file\": \"\",\n \"ancestry\": null,\n \"vm_defaults\": null,\n \"subnet_id\": null,\n \"domain_id\": 22495316,\n \"puppet_proxy_id\": 182953976,\n \"title\": \"2016-06-28 17:38:05 UTC\",\n \"realm_id\": null,\n \"compute_profile_id\": 980190962,\n \"content_source_id\": null,\n \"grub_pass\": \"$1$foreman$NW1XVtbk4/XkJqmKNrFWV0\",\n \"content_view_id\": null,\n \"lifecycle_environment_id\": null,\n \"lookup_value_matcher\": \"hostgroup=2016-06-28 17:38:05 UTC\",\n \"hosts_count\": 0,\n \"kickstart_repository_id\": null,\n \"subnet6_id\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"external_usergroups":{"doc_url":"../apidoc/v2/external_usergroups","api_url":"/api","name":"External usergroups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/external_usergroups/index","name":"index","apis":[{"api_url":"/api/usergroups/:usergroup_id/external_usergroups","http_method":"GET","short_description":"List all external user groups for user group","deprecated":null},{"api_url":"/api/auth_source_ldaps/:auth_source_ldap_id/external_usergroups","http_method":"GET","short_description":"List all external user groups for LDAP authentication source","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID or name of user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/usergroups/9/external_usergroups\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"id\": 3,\n \"name\": \"external_usergroup3\",\n \"auth_source_ldap\": {\n \"id\": 980190967,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"auth_source_ldap_3\"\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/external_usergroups/show","name":"show","apis":[{"api_url":"/api/usergroups/:usergroup_id/external_usergroups/:id","http_method":"GET","short_description":"Show an external user group for user group","deprecated":null},{"api_url":"/api/auth_source_ldaps/:auth_source_ldap_id/external_usergroups/:id","http_method":"GET","short_description":"Show an external user group for LDAP authentication source","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID or name of user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID or name of external user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/usergroups/11/external_usergroups/5\n200\n{\n \"id\": 5,\n \"name\": \"external_usergroup5\",\n \"auth_source_ldap\": {\n \"id\": 980190969,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"auth_source_ldap_5\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/external_usergroups/create","name":"create","apis":[{"api_url":"/api/usergroups/:usergroup_id/external_usergroups","http_method":"POST","short_description":"Create an external user group linked to a user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID or name of user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"external_usergroup","full_name":"external_usergroup","description":"\n\u003cp\u003eExternal user group information\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"external_usergroup[name]","description":"\n\u003cp\u003eExternal user group name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"auth_source_id","full_name":"external_usergroup[auth_source_id]","description":"\n\u003cp\u003eID of linked authentication source\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/usergroups/13-usergroup12/external_usergroups\n{\n \"external_usergroup\": {\n \"name\": \"foremanusergroup\",\n \"auth_source_id\": \"980190971\"\n }\n}\n201\n{\n \"id\": 7,\n \"name\": \"foremanusergroup\",\n \"auth_source_ldap\": {\n \"id\": 980190971,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"auth_source_ldap_7\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/external_usergroups/update","name":"update","apis":[{"api_url":"/api/usergroups/:usergroup_id/external_usergroups/:id","http_method":"PUT","short_description":"Update external user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID or name of user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID or name of external user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"external_usergroup","full_name":"external_usergroup","description":"\n\u003cp\u003eExternal user group information\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"external_usergroup[name]","description":"\n\u003cp\u003eExternal user group name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"auth_source_id","full_name":"external_usergroup[auth_source_id]","description":"\n\u003cp\u003eID of linked authentication source\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/usergroups/8/external_usergroups/2\n{\n \"external_usergroup\": {\n \"name\": \"foremanusergroup\"\n }\n}\n200\n{\n \"id\": 2,\n \"name\": \"foremanusergroup\",\n \"auth_source_ldap\": {\n \"id\": 980190966,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"auth_source_ldap_2\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/external_usergroups/refresh","name":"refresh","apis":[{"api_url":"/api/usergroups/:usergroup_id/external_usergroups/:id/refresh","http_method":"PUT","short_description":"Refresh external user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID or name of user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID or name of external user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/usergroups/7/external_usergroups/1/refresh\n{\n \"external_usergroup\": {}\n}\n200\n{\n \"id\": 1,\n \"name\": \"external_usergroup1\",\n \"auth_source_id\": 980190965,\n \"usergroup_id\": 7\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/external_usergroups/destroy","name":"destroy","apis":[{"api_url":"/api/usergroups/:usergroup_id/external_usergroups/:id","http_method":"DELETE","short_description":"Delete an external user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID or name of user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID or name external user group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/usergroups/10/external_usergroups/4\n200\n{\n \"id\": 4,\n \"name\": \"external_usergroup4\",\n \"auth_source_id\": 980190968,\n \"usergroup_id\": 10\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"filters":{"doc_url":"../apidoc/v2/filters","api_url":"/api","name":"Filters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/filters/index","name":"index","apis":[{"api_url":"/api/filters","http_method":"GET","short_description":"List all filters","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/filters\n200\n{\n \"total\": 55,\n \"subtotal\": 55,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"search\": null,\n \"resource_type\": \"Ptable\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 139728896,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_ptables\",\n \"id\": 769440046,\n \"resource_type\": \"Ptable\"\n },\n {\n \"name\": \"create_ptables\",\n \"id\": 649673681,\n \"resource_type\": \"Ptable\"\n },\n {\n \"name\": \"edit_ptables\",\n \"id\": 1048516464,\n \"resource_type\": \"Ptable\"\n },\n {\n \"name\": \"destroy_ptables\",\n \"id\": 953432930,\n \"resource_type\": \"Ptable\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"AuthSourceLdap\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 170801529,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_authenticators\",\n \"id\": 687843582,\n \"resource_type\": \"AuthSourceLdap\"\n },\n {\n \"name\": \"create_authenticators\",\n \"id\": 956119309,\n \"resource_type\": \"AuthSourceLdap\"\n },\n {\n \"name\": \"edit_authenticators\",\n \"id\": 395314704,\n \"resource_type\": \"AuthSourceLdap\"\n },\n {\n \"name\": \"destroy_authenticators\",\n \"id\": 1067518973,\n \"resource_type\": \"AuthSourceLdap\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"CommonParameter\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 222559602,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_globals\",\n \"id\": 101322209,\n \"resource_type\": \"CommonParameter\"\n },\n {\n \"name\": \"create_globals\",\n \"id\": 225414942,\n \"resource_type\": \"CommonParameter\"\n },\n {\n \"name\": \"edit_globals\",\n \"id\": 363439011,\n \"resource_type\": \"CommonParameter\"\n },\n {\n \"name\": \"destroy_globals\",\n \"id\": 318934959,\n \"resource_type\": \"CommonParameter\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Location\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 225912082,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_locations\",\n \"id\": 342396477,\n \"resource_type\": \"Location\"\n },\n {\n \"name\": \"create_locations\",\n \"id\": 919402658,\n \"resource_type\": \"Location\"\n },\n {\n \"name\": \"edit_locations\",\n \"id\": 360701043,\n \"resource_type\": \"Location\"\n },\n {\n \"name\": \"destroy_locations\",\n \"id\": 302614650,\n \"resource_type\": \"Location\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": null,\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 255448041,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"access_dashboard\",\n \"id\": 220719619,\n \"resource_type\": null\n },\n {\n \"name\": \"access_settings\",\n \"id\": 139485686,\n \"resource_type\": null\n },\n {\n \"name\": \"view_statistics\",\n \"id\": 955233873,\n \"resource_type\": null\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Operatingsystem\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 291325508,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_operatingsystems\",\n \"id\": 940057595,\n \"resource_type\": \"Operatingsystem\"\n },\n {\n \"name\": \"create_operatingsystems\",\n \"id\": 1038489107,\n \"resource_type\": \"Operatingsystem\"\n },\n {\n \"name\": \"edit_operatingsystems\",\n \"id\": 887912542,\n \"resource_type\": \"Operatingsystem\"\n },\n {\n \"name\": \"destroy_operatingsystems\",\n \"id\": 936871672,\n \"resource_type\": \"Operatingsystem\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Architecture\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 321349837,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_architectures\",\n \"id\": 350275019,\n \"resource_type\": \"Architecture\"\n },\n {\n \"name\": \"create_architectures\",\n \"id\": 912770095,\n \"resource_type\": \"Architecture\"\n },\n {\n \"name\": \"edit_architectures\",\n \"id\": 874798611,\n \"resource_type\": \"Architecture\"\n },\n {\n \"name\": \"destroy_architectures\",\n \"id\": 586604735,\n \"resource_type\": \"Architecture\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Domain\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 340438230,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_domains\",\n \"id\": 623290985,\n \"resource_type\": \"Domain\"\n },\n {\n \"name\": \"create_domains\",\n \"id\": 776153244,\n \"resource_type\": \"Domain\"\n },\n {\n \"name\": \"edit_domains\",\n \"id\": 914687015,\n \"resource_type\": \"Domain\"\n },\n {\n \"name\": \"destroy_domains\",\n \"id\": 808331307,\n \"resource_type\": \"Domain\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Realm\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 343831726,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_realms\",\n \"id\": 959316070,\n \"resource_type\": \"Realm\"\n },\n {\n \"name\": \"create_realms\",\n \"id\": 125033645,\n \"resource_type\": \"Realm\"\n },\n {\n \"name\": \"edit_realms\",\n \"id\": 327146991,\n \"resource_type\": \"Realm\"\n },\n {\n \"name\": \"destroy_realms\",\n \"id\": 300788035,\n \"resource_type\": \"Realm\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"User\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 372277853,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_users\",\n \"id\": 916456187,\n \"resource_type\": \"User\"\n },\n {\n \"name\": \"create_users\",\n \"id\": 544005512,\n \"resource_type\": \"User\"\n },\n {\n \"name\": \"edit_users\",\n \"id\": 758239380,\n \"resource_type\": \"User\"\n },\n {\n \"name\": \"destroy_users\",\n \"id\": 683333673,\n \"resource_type\": \"User\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Medium\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 503111935,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_media\",\n \"id\": 135202335,\n \"resource_type\": \"Medium\"\n },\n {\n \"name\": \"create_media\",\n \"id\": 516151662,\n \"resource_type\": \"Medium\"\n },\n {\n \"name\": \"edit_media\",\n \"id\": 329176178,\n \"resource_type\": \"Medium\"\n },\n {\n \"name\": \"destroy_media\",\n \"id\": 370531533,\n \"resource_type\": \"Medium\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Audit\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 528928374,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_audit_logs\",\n \"id\": 202577195,\n \"resource_type\": \"Audit\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Usergroup\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 557298380,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_usergroups\",\n \"id\": 44766150,\n \"resource_type\": \"Usergroup\"\n },\n {\n \"name\": \"create_usergroups\",\n \"id\": 198876242,\n \"resource_type\": \"Usergroup\"\n },\n {\n \"name\": \"edit_usergroups\",\n \"id\": 225115552,\n \"resource_type\": \"Usergroup\"\n },\n {\n \"name\": \"destroy_usergroups\",\n \"id\": 1032290172,\n \"resource_type\": \"Usergroup\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"VariableLookupKey\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 592288835,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_external_variables\",\n \"id\": 593459230,\n \"resource_type\": \"VariableLookupKey\"\n },\n {\n \"name\": \"create_external_variables\",\n \"id\": 140923897,\n \"resource_type\": \"VariableLookupKey\"\n },\n {\n \"name\": \"edit_external_variables\",\n \"id\": 1050695340,\n \"resource_type\": \"VariableLookupKey\"\n },\n {\n \"name\": \"destroy_external_variables\",\n \"id\": 693514154,\n \"resource_type\": \"VariableLookupKey\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"HostClass\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 595149887,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"edit_classes\",\n \"id\": 940819841,\n \"resource_type\": \"HostClass\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Model\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 643462867,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_models\",\n \"id\": 537547377,\n \"resource_type\": \"Model\"\n },\n {\n \"name\": \"create_models\",\n \"id\": 509054658,\n \"resource_type\": \"Model\"\n },\n {\n \"name\": \"edit_models\",\n \"id\": 173772800,\n \"resource_type\": \"Model\"\n },\n {\n \"name\": \"destroy_models\",\n \"id\": 147454802,\n \"resource_type\": \"Model\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"FactValue\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 679608033,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_facts\",\n \"id\": 958901131,\n \"resource_type\": \"FactValue\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Host\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 721145960,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_hosts\",\n \"id\": 988725676,\n \"resource_type\": \"Host\"\n },\n {\n \"name\": \"create_hosts\",\n \"id\": 740433627,\n \"resource_type\": \"Host\"\n },\n {\n \"name\": \"edit_hosts\",\n \"id\": 561976263,\n \"resource_type\": \"Host\"\n },\n {\n \"name\": \"destroy_hosts\",\n \"id\": 619977594,\n \"resource_type\": \"Host\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Report\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 943645556,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_reports\",\n \"id\": 407024322,\n \"resource_type\": \"Report\"\n },\n {\n \"name\": \"destroy_reports\",\n \"id\": 222966002,\n \"resource_type\": \"Report\"\n }\n ]\n },\n {\n \"search\": null,\n \"resource_type\": \"Hostgroup\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 977587707,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_hostgroups\",\n \"id\": 51094894,\n \"resource_type\": \"Hostgroup\"\n },\n {\n \"name\": \"create_hostgroups\",\n \"id\": 175778558,\n \"resource_type\": \"Hostgroup\"\n },\n {\n \"name\": \"edit_hostgroups\",\n \"id\": 214584076,\n \"resource_type\": \"Hostgroup\"\n },\n {\n \"name\": \"destroy_hostgroups\",\n \"id\": 1009240528,\n \"resource_type\": \"Hostgroup\"\n }\n ]\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/filters/show","name":"show","apis":[{"api_url":"/api/filters/:id","http_method":"GET","short_description":"Show a filter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/filters/321349837\n200\n{\n \"search\": null,\n \"resource_type\": \"Architecture\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 321349837,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_architectures\",\n \"id\": 350275019,\n \"resource_type\": \"Architecture\"\n },\n {\n \"name\": \"create_architectures\",\n \"id\": 912770095,\n \"resource_type\": \"Architecture\"\n },\n {\n \"name\": \"edit_architectures\",\n \"id\": 874798611,\n \"resource_type\": \"Architecture\"\n },\n {\n \"name\": \"destroy_architectures\",\n \"id\": 586604735,\n \"resource_type\": \"Architecture\"\n }\n ],\n \"organizations\": [],\n \"locations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/filters/create","name":"create","apis":[{"api_url":"/api/filters","http_method":"POST","short_description":"Create a filter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"filter","full_name":"filter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"role_id","full_name":"filter[role_id]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"filter[search]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"permission_ids","full_name":"filter[permission_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"filter[organization_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"filter[location_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/filters\n{\n \"filter\": {\n \"role_id\": \"1\",\n \"permission_ids\": [\n \"350275019\"\n ]\n }\n}\n201\n{\n \"search\": null,\n \"resource_type\": \"Architecture\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:38:04 UTC\",\n \"updated_at\": \"2016-06-28 17:38:04 UTC\",\n \"id\": 1062414221,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_architectures\",\n \"id\": 350275019,\n \"resource_type\": \"Architecture\"\n }\n ],\n \"organizations\": [],\n \"locations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/filters/update","name":"update","apis":[{"api_url":"/api/filters/:id","http_method":"PUT","short_description":"Update a filter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"filter","full_name":"filter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"role_id","full_name":"filter[role_id]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"filter[search]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"permission_ids","full_name":"filter[permission_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"filter[organization_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"filter[location_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/filters/321349837\n{\n \"filter\": {\n \"role_id\": \"1\",\n \"permission_ids\": [\n \"350275019\"\n ]\n }\n}\n200\n{\n \"search\": null,\n \"resource_type\": \"Architecture\",\n \"unlimited?\": true,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 321349837,\n \"role\": {\n \"name\": \"Manager\",\n \"id\": 1\n },\n \"permissions\": [\n {\n \"name\": \"view_architectures\",\n \"id\": 350275019,\n \"resource_type\": \"Architecture\"\n }\n ],\n \"organizations\": [],\n \"locations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/filters/destroy","name":"destroy","apis":[{"api_url":"/api/filters/:id","http_method":"DELETE","short_description":"Delete a filter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/filters/1042311626\n200\n{\n \"id\": 1042311626,\n \"search\": null,\n \"role_id\": 12,\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"taxonomy_search\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"settings":{"doc_url":"../apidoc/v2/settings","api_url":"/api","name":"Settings","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/settings/index","name":"index","apis":[{"api_url":"/api/settings","http_method":"GET","short_description":"List all settings","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/settings\n200\n{\n \"total\": 57,\n \"subtotal\": 57,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"value\": \"root@some.host.fqdn\",\n \"description\": \"The Default administrator email address\",\n \"category\": \"Setting::General\",\n \"settings_type\": \"string\",\n \"default\": \"root@some.host.fqdn\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 333972760,\n \"name\": \"administrator\"\n },\n {\n \"value\": false,\n \"description\": \"All hosts will show a configuration status even when a Puppet smart proxy is not assigned\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": false,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 73772657,\n \"name\": \"always_show_configuration_status\"\n },\n {\n \"value\": false,\n \"description\": \"Setting::Authorize login delegation with REMOTE_USER environment variable\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": false,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 737268150,\n \"name\": \"authorize_login_delegation\"\n },\n {\n \"value\": false,\n \"description\": \"Setting::Authorize login delegation with REMOTE_USER environment variable for API calls\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": false,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 898974743,\n \"name\": \"authorize_login_delegation_api\"\n },\n {\n \"value\": true,\n \"description\": \"Foreman will delete virtual machine if provisioning script ends with non zero exit code\",\n \"category\": \"Setting::Provisioning\",\n \"settings_type\": null,\n \"default\": true,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 601719657,\n \"name\": \"clean_up_failed_deployment\"\n },\n {\n \"value\": true,\n \"description\": \"Foreman will create the host when new facts are received\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": true,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 183693096,\n \"name\": \"create_new_host_when_facts_are_uploaded\"\n },\n {\n \"value\": true,\n \"description\": \"Foreman will create the host when a report is received\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": true,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 903449968,\n \"name\": \"create_new_host_when_report_is_uploaded\"\n },\n {\n \"value\": \"Location 1\",\n \"description\": \"Default location when importing hosts\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": \"Location 1\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 348705543,\n \"name\": \"default_location\"\n },\n {\n \"value\": \"production\",\n \"description\": \"The Setting::Puppet environment foreman would default to in case it can't auto detect it\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": \"production\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 489917738,\n \"name\": \"default_puppet_environment\"\n },\n {\n \"value\": [\n \"fqdn\",\n \"hostgroup\",\n \"os\",\n \"domain\"\n ],\n \"description\": \"The Default path in which foreman resolves host specific variables\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": [\n \"fqdn\",\n \"hostgroup\",\n \"os\",\n \"domain\"\n ],\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 515381208,\n \"name\": \"Default_variables_Lookup_Path\"\n },\n {\n \"value\": \"/home/olevy/git/foreman/public/puppet/rdoc\",\n \"description\": \"Document root where puppetdoc files should be created\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": \"/home/olevy/git/foreman/public/puppet/rdoc\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 785572700,\n \"name\": \"document_root\"\n },\n {\n \"value\": \"Foreman-noreply@#{SETTINGS[:domain]}\",\n \"description\": \"Email reply address for emails that Foreman is sending\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": \"Foreman-noreply@#{SETTINGS[:domain]}\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 349877246,\n \"name\": \"email_reply_address\"\n },\n {\n \"value\": [\n \"foreman\"\n ],\n \"description\": \"Prefix to add to all outgoing email\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": [\n \"foreman\"\n ],\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 987026133,\n \"name\": \"email_subject_prefix\"\n },\n {\n \"value\": true,\n \"description\": \"Foreman smart variables will be exposed via the ENC yaml output\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": true,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 712617915,\n \"name\": \"Enable_Smart_Variables_in_ENC\"\n },\n {\n \"value\": true,\n \"description\": \"Should Foreman provide puppet environment in ENC yaml output? (this avoids the mismatch error between puppet.conf and ENC environment)\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": true,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 537488238,\n \"name\": \"enc_environment\"\n },\n {\n \"value\": 20,\n \"description\": \"The amount of records shown per page in foreman\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": 20,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 817264379,\n \"name\": \"entries_per_page\"\n },\n {\n \"value\": false,\n \"description\": \"Enable Email Alerts per each failed puppet report\",\n \"category\": \"Setting::Puppet\",\n \"settings_type\": null,\n \"default\": false,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 14451317,\n \"name\": \"failed_report_email_notification\"\n },\n {\n \"value\": \"http://foreman.some.host.fqdn\",\n \"description\": \"The URL Foreman should point to in emails etc\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": \"http://foreman.some.host.fqdn\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 182539440,\n \"name\": \"foreman_url\"\n },\n {\n \"value\": 5,\n \"description\": \"idle timeout\",\n \"category\": \"Setting::General\",\n \"settings_type\": null,\n \"default\": 5,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 386817023,\n \"name\": \"idle_timeout\"\n },\n {\n \"value\": [\n \"lo\",\n \"usb*\",\n \"vnet*\",\n \"macvtap*\"\n ],\n \"description\": \"Ignore interfaces that match these values during facts importing, you can use * wildcard to match names with indexes e.g. macvtap*\",\n \"category\": \"Setting::Provisioning\",\n \"settings_type\": null,\n \"default\": [\n \"lo\",\n \"usb*\",\n \"vnet*\",\n \"macvtap*\"\n ],\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 862101244,\n \"name\": \"ignored_interface_identifiers\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/settings/show","name":"show","apis":[{"api_url":"/api/settings/:id","http_method":"GET","short_description":"Show a setting","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/settings/administrator\n200\n{\n \"value\": \"root@some.host.fqdn\",\n \"description\": \"The Default administrator email address\",\n \"category\": \"Setting::General\",\n \"settings_type\": \"string\",\n \"default\": \"root@some.host.fqdn\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 333972760,\n \"name\": \"administrator\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/settings/update","name":"update","apis":[{"api_url":"/api/settings/:id","http_method":"PUT","short_description":"Update a setting","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"setting","full_name":"setting","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"value","full_name":"setting[value]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/settings/administrator\n{\n \"setting\": {}\n}\n422\n{\n \"error\": {\n \"message\": \"No setting value provided.\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"dashboard":{"doc_url":"../apidoc/v2/dashboard","api_url":"/api","name":"Dashboard","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/dashboard/index","name":"index","apis":[{"api_url":"/api/dashboard","http_method":"GET","short_description":"Get dashboard details","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/dashboard\n200\n{\n \"total_hosts\": 2,\n \"bad_hosts\": 0,\n \"bad_hosts_enabled\": 0,\n \"active_hosts\": 0,\n \"active_hosts_ok\": 0,\n \"active_hosts_ok_enabled\": 0,\n \"ok_hosts\": 0,\n \"ok_hosts_enabled\": 0,\n \"out_of_sync_hosts\": 0,\n \"out_of_sync_hosts_enabled\": 0,\n \"disabled_hosts\": 0,\n \"pending_hosts\": 0,\n \"pending_hosts_enabled\": 0,\n \"good_hosts\": 0,\n \"good_hosts_enabled\": 0,\n \"percentage\": 0,\n \"reports_missing\": 2,\n \"glossary\": {\n \"total_hosts\": \"Total hosts count\",\n \"bad_hosts\": \"Hosts with error state\",\n \"bad_hosts_enabled\": \"Hosts with error state and alerts enabled\",\n \"active_hosts\": \"Hosts which recently applied changes\",\n \"active_hosts_ok\": \"Hosts which recently applied changes successfully\",\n \"active_hosts_ok_enabled\": \"Hosts which recently applied changes successfully with alerts enabled\",\n \"ok_hosts\": \"Hosts without changes or errors\",\n \"ok_hosts_enabled\": \"Hosts without changes or errors, with alerts enabled\",\n \"out_of_sync_hosts\": \"Out of sync hosts\",\n \"out_of_sync_hosts_enabled\": \"Out of sync hosts with alerts enabled\",\n \"disabled_hosts\": \"Hosts with alerts disabled\",\n \"pending_hosts\": \"Hosts that had pending changes\",\n \"pending_hosts_enabled\": \"Hosts that had pending changes with alerts enabled\",\n \"good_hosts\": \"Hosts without errors\",\n \"good_hosts_enabled\": \"Hosts without errors, with alerts enabled\",\n \"percentage\": \"Hosts without errors percent\",\n \"reports_missing\": \"Hosts which are not reporting\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"config_reports":{"doc_url":"../apidoc/v2/config_reports","api_url":"/api","name":"Config reports","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/config_reports/index","name":"index","apis":[{"api_url":"/api/config_reports","http_method":"GET","short_description":"List all reports","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host58/config_reports\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": \" host = host58\",\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"metrics\": {\n \"time\": {\n \"schedule\": 0.00083,\n \"service\": 0.149739,\n \"mailalias\": 0.000283,\n \"cron\": 0.000419,\n \"config_retrieval\": 16.3637869358063,\n \"package\": 0.003989,\n \"filebucket\": 0.000171,\n \"file\": 0.007025,\n \"exec\": 0.000299\n },\n \"resources\": {\n \"total\": 33\n },\n \"changes\": {},\n \"events\": {\n \"total\": 0\n }\n },\n \"created_at\": \"2016-06-28 17:37:56 UTC\",\n \"updated_at\": \"2016-06-28 17:37:56 UTC\",\n \"id\": 21,\n \"host_id\": 980191025,\n \"host_name\": \"host58\",\n \"reported_at\": \"2016-06-28 17:16:56 UTC\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_reports/show","name":"show","apis":[{"api_url":"/api/config_reports/:id","http_method":"GET","short_description":"Show a report","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/config_reports/19\n200\n{\n \"metrics\": {\n \"time\": {\n \"schedule\": 0.00083,\n \"service\": 0.149739,\n \"mailalias\": 0.000283,\n \"cron\": 0.000419,\n \"config_retrieval\": 16.3637869358063,\n \"package\": 0.003989,\n \"filebucket\": 0.000171,\n \"file\": 0.007025,\n \"exec\": 0.000299\n },\n \"resources\": {\n \"total\": 33\n },\n \"changes\": {},\n \"events\": {\n \"total\": 0\n }\n },\n \"created_at\": \"2016-06-28 17:37:56 UTC\",\n \"updated_at\": \"2016-06-28 17:37:56 UTC\",\n \"id\": 19,\n \"host_id\": 980191023,\n \"host_name\": \"host56\",\n \"reported_at\": \"2016-06-28 17:18:56 UTC\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n },\n \"logs\": [],\n \"summary\": \"Success\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_reports/create","name":"create","apis":[{"api_url":"/api/config_reports","http_method":"POST","short_description":"Create a report","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_report","full_name":"config_report","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"host","full_name":"config_report[host]","description":"\n\u003cp\u003eHostname or certname\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"reported_at","full_name":"config_report[reported_at]","description":"\n\u003cp\u003eUTC time of report\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"status","full_name":"config_report[status]","description":"\n\u003cp\u003eHash of status type totals\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"metrics","full_name":"config_report[metrics]","description":"\n\u003cp\u003eHash of report metrics, can be just {}\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"logs","full_name":"config_report[logs]","description":"\n\u003cp\u003eOptional array of log hashes\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/config_reports\n{\n \"config_report\": {\n \"host\": \"rhel6n01.corp.com\",\n \"reported_at\": \"2010-11-19 02:39:04 UTC\",\n \"metrics\": {},\n \"status\": {\n \"applied\": \"0\",\n \"failed\": \"0\",\n \"failed_restarts\": \"0\",\n \"pending\": \"0\",\n \"restarted\": \"0\",\n \"skipped\": \"0\"\n },\n \"logs\": [\n {\n \"log\": {\n \"sources\": {\n \"source\": \"Puppet\"\n },\n \"messages\": {\n \"message\": \"Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find node 'rhel6n01.corp.com'; cannot compile\"\n },\n \"level\": \"err\"\n }\n },\n {\n \"log\": {\n \"sources\": {\n \"source\": \"Puppet\"\n },\n \"messages\": {\n \"message\": \"Using cached catalog\"\n },\n \"level\": \"notice\"\n }\n },\n {\n \"log\": {\n \"sources\": {\n \"source\": \"Puppet\"\n },\n \"messages\": {\n \"message\": \"Could not retrieve catalog; skipping run\"\n },\n \"level\": \"err\"\n }\n }\n ]\n }\n}\n201\n{\n \"metrics\": {},\n \"created_at\": \"2016-06-28 17:37:58 UTC\",\n \"updated_at\": \"2016-06-28 17:37:58 UTC\",\n \"id\": 37,\n \"host_id\": 980191043,\n \"host_name\": \"rhel6n01.corp.com\",\n \"reported_at\": \"2010-11-19 02:39:04 UTC\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n },\n \"logs\": [\n {\n \"level\": \"err\",\n \"source\": {\n \"source\": \"Puppet\"\n },\n \"message\": {\n \"message\": \"Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find node 'rhel6n01.corp.com'; cannot compile\"\n }\n },\n {\n \"level\": \"notice\",\n \"source\": {\n \"source\": \"Puppet\"\n },\n \"message\": {\n \"message\": \"Using cached catalog\"\n }\n },\n {\n \"level\": \"err\",\n \"source\": {\n \"source\": \"Puppet\"\n },\n \"message\": {\n \"message\": \"Could not retrieve catalog; skipping run\"\n }\n }\n ],\n \"summary\": \"Success\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_reports/destroy","name":"destroy","apis":[{"api_url":"/api/config_reports/:id","http_method":"DELETE","short_description":"Delete a report","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/config_reports/22\n200\n{\n \"id\": 22,\n \"host_id\": 980191027,\n \"reported_at\": \"2016-06-28T17:15:57.063Z\",\n \"created_at\": \"2016-06-28T17:37:57.066Z\",\n \"updated_at\": \"2016-06-28T17:37:57.066Z\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n },\n \"metrics\": {\n \"time\": {\n \"schedule\": 0.00083,\n \"service\": 0.149739,\n \"mailalias\": 0.000283,\n \"cron\": 0.000419,\n \"config_retrieval\": 16.3637869358063,\n \"package\": 0.003989,\n \"filebucket\": 0.000171,\n \"file\": 0.007025,\n \"exec\": 0.000299\n },\n \"resources\": {\n \"total\": 33\n },\n \"changes\": {},\n \"events\": {\n \"total\": 0\n }\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_reports/last","name":"last","apis":[{"api_url":"/api/hosts/:host_id/config_reports/last","http_method":"GET","short_description":"Show the last report for a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/980191024/config_reports/last\n404\n{\n \"error\": {\n \"message\": \"Resource config_report not found by id ''\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"users":{"doc_url":"../apidoc/v2/users","api_url":"/api","name":"Users","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/users/index","name":"index","apis":[{"api_url":"/api/users","http_method":"GET","short_description":"List all users","deprecated":null},{"api_url":"/api/auth_source_ldaps/:auth_source_ldap_id/users","http_method":"GET","short_description":"List all users for LDAP authentication source","deprecated":null},{"api_url":"/api/usergroups/:usergroup_id/users","http_method":"GET","short_description":"List all users for user group","deprecated":null},{"api_url":"/api/roles/:role_id/users","http_method":"GET","short_description":"List all users for role","deprecated":null},{"api_url":"/api/locations/:location_id/users","http_method":"GET","short_description":"List all users for location","deprecated":null},{"api_url":"/api/organizations/:organization_id/users","http_method":"GET","short_description":"List all users for organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"auth_source_ldap_id","full_name":"auth_source_ldap_id","description":"\n\u003cp\u003eID of LDAP authentication source\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"usergroup_id","full_name":"usergroup_id","description":"\n\u003cp\u003eID of user group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"role_id","full_name":"role_id","description":"\n\u003cp\u003eID of role\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/locations/255093256/organizations/missing/users\n404\n{\n \"message\": \"Organization with id missing not found\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/users/show","name":"show","apis":[{"api_url":"/api/users/:id","http_method":"GET","short_description":"Show a user","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/users/one\n200\n{\n \"firstname\": \"One\",\n \"lastname\": \"User\",\n \"mail\": \"userone@someware.com\",\n \"admin\": false,\n \"auth_source_id\": 980190962,\n \"auth_source_name\": \"ldap-server\",\n \"timezone\": null,\n \"locale\": null,\n \"last_login_on\": \"2009-10-12 21:50:04 UTC\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"login\": \"one\",\n \"default_location\": null,\n \"locations\": [],\n \"default_organization\": null,\n \"organizations\": [],\n \"effective_admin\": false,\n \"auth_source_ldap\": {\n \"id\": 980190962,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap-server\"\n },\n \"mail_notifications\": [],\n \"roles\": [\n {\n \"name\": \"Viewer\",\n \"id\": 5\n },\n {\n \"name\": \"Default role\",\n \"id\": 7\n }\n ],\n \"usergroups\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/users/create","name":"create","apis":[{"api_url":"/api/users","http_method":"POST","short_description":"Create a user","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eAdds role ‘Default role’ to the user by default\u003c/p\u003e\n","errors":[],"params":[{"name":"user","full_name":"user","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"login","full_name":"user[login]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"firstname","full_name":"user[firstname]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"lastname","full_name":"user[lastname]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mail","full_name":"user[mail]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"admin","full_name":"user[admin]","description":"\n\u003cp\u003eis an admin account\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"user[password]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"default_location_id","full_name":"user[default_location_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"default_organization_id","full_name":"user[default_organization_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"auth_source_id","full_name":"user[auth_source_id]","description":"","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"timezone","full_name":"user[timezone]","description":"\n\u003cp\u003eUser’s timezone\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eUTC\u003c/code\u003e, \u003ccode\u003eInternational Date Line West\u003c/code\u003e, \u003ccode\u003eMidway Island\u003c/code\u003e, \u003ccode\u003eAmerican Samoa\u003c/code\u003e, \u003ccode\u003eHawaii\u003c/code\u003e, \u003ccode\u003eAlaska\u003c/code\u003e, \u003ccode\u003ePacific Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eTijuana\u003c/code\u003e, \u003ccode\u003eMountain Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eArizona\u003c/code\u003e, \u003ccode\u003eChihuahua\u003c/code\u003e, \u003ccode\u003eMazatlan\u003c/code\u003e, \u003ccode\u003eCentral Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eSaskatchewan\u003c/code\u003e, \u003ccode\u003eGuadalajara\u003c/code\u003e, \u003ccode\u003eMexico City\u003c/code\u003e, \u003ccode\u003eMonterrey\u003c/code\u003e, \u003ccode\u003eCentral America\u003c/code\u003e, \u003ccode\u003eEastern Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eIndiana (East)\u003c/code\u003e, \u003ccode\u003eBogota\u003c/code\u003e, \u003ccode\u003eLima\u003c/code\u003e, \u003ccode\u003eQuito\u003c/code\u003e, \u003ccode\u003eAtlantic Time (Canada)\u003c/code\u003e, \u003ccode\u003eCaracas\u003c/code\u003e, \u003ccode\u003eLa Paz\u003c/code\u003e, \u003ccode\u003eSantiago\u003c/code\u003e, \u003ccode\u003eNewfoundland\u003c/code\u003e, \u003ccode\u003eBrasilia\u003c/code\u003e, \u003ccode\u003eBuenos Aires\u003c/code\u003e, \u003ccode\u003eMontevideo\u003c/code\u003e, \u003ccode\u003eGeorgetown\u003c/code\u003e, \u003ccode\u003eGreenland\u003c/code\u003e, \u003ccode\u003eMid-Atlantic\u003c/code\u003e, \u003ccode\u003eAzores\u003c/code\u003e, \u003ccode\u003eCape Verde Is.\u003c/code\u003e, \u003ccode\u003eDublin\u003c/code\u003e, \u003ccode\u003eEdinburgh\u003c/code\u003e, \u003ccode\u003eLisbon\u003c/code\u003e, \u003ccode\u003eLondon\u003c/code\u003e, \u003ccode\u003eCasablanca\u003c/code\u003e, \u003ccode\u003eMonrovia\u003c/code\u003e, \u003ccode\u003eBelgrade\u003c/code\u003e, \u003ccode\u003eBratislava\u003c/code\u003e, \u003ccode\u003eBudapest\u003c/code\u003e, \u003ccode\u003eLjubljana\u003c/code\u003e, \u003ccode\u003ePrague\u003c/code\u003e, \u003ccode\u003eSarajevo\u003c/code\u003e, \u003ccode\u003eSkopje\u003c/code\u003e, \u003ccode\u003eWarsaw\u003c/code\u003e, \u003ccode\u003eZagreb\u003c/code\u003e, \u003ccode\u003eBrussels\u003c/code\u003e, \u003ccode\u003eCopenhagen\u003c/code\u003e, \u003ccode\u003eMadrid\u003c/code\u003e, \u003ccode\u003eParis\u003c/code\u003e, \u003ccode\u003eAmsterdam\u003c/code\u003e, \u003ccode\u003eBerlin\u003c/code\u003e, \u003ccode\u003eBern\u003c/code\u003e, \u003ccode\u003eRome\u003c/code\u003e, \u003ccode\u003eStockholm\u003c/code\u003e, \u003ccode\u003eVienna\u003c/code\u003e, \u003ccode\u003eWest Central Africa\u003c/code\u003e, \u003ccode\u003eBucharest\u003c/code\u003e, \u003ccode\u003eCairo\u003c/code\u003e, \u003ccode\u003eHelsinki\u003c/code\u003e, \u003ccode\u003eKyiv\u003c/code\u003e, \u003ccode\u003eRiga\u003c/code\u003e, \u003ccode\u003eSofia\u003c/code\u003e, \u003ccode\u003eTallinn\u003c/code\u003e, \u003ccode\u003eVilnius\u003c/code\u003e, \u003ccode\u003eAthens\u003c/code\u003e, \u003ccode\u003eIstanbul\u003c/code\u003e, \u003ccode\u003eMinsk\u003c/code\u003e, \u003ccode\u003eJerusalem\u003c/code\u003e, \u003ccode\u003eHarare\u003c/code\u003e, \u003ccode\u003ePretoria\u003c/code\u003e, \u003ccode\u003eKaliningrad\u003c/code\u003e, \u003ccode\u003eMoscow\u003c/code\u003e, \u003ccode\u003eSt. Petersburg\u003c/code\u003e, \u003ccode\u003eVolgograd\u003c/code\u003e, \u003ccode\u003eSamara\u003c/code\u003e, \u003ccode\u003eKuwait\u003c/code\u003e, \u003ccode\u003eRiyadh\u003c/code\u003e, \u003ccode\u003eNairobi\u003c/code\u003e, \u003ccode\u003eBaghdad\u003c/code\u003e, \u003ccode\u003eTehran\u003c/code\u003e, \u003ccode\u003eAbu Dhabi\u003c/code\u003e, \u003ccode\u003eMuscat\u003c/code\u003e, \u003ccode\u003eBaku\u003c/code\u003e, \u003ccode\u003eTbilisi\u003c/code\u003e, \u003ccode\u003eYerevan\u003c/code\u003e, \u003ccode\u003eKabul\u003c/code\u003e, \u003ccode\u003eEkaterinburg\u003c/code\u003e, \u003ccode\u003eIslamabad\u003c/code\u003e, \u003ccode\u003eKarachi\u003c/code\u003e, \u003ccode\u003eTashkent\u003c/code\u003e, \u003ccode\u003eChennai\u003c/code\u003e, \u003ccode\u003eKolkata\u003c/code\u003e, \u003ccode\u003eMumbai\u003c/code\u003e, \u003ccode\u003eNew Delhi\u003c/code\u003e, \u003ccode\u003eKathmandu\u003c/code\u003e, \u003ccode\u003eAstana\u003c/code\u003e, \u003ccode\u003eDhaka\u003c/code\u003e, \u003ccode\u003eSri Jayawardenepura\u003c/code\u003e, \u003ccode\u003eAlmaty\u003c/code\u003e, \u003ccode\u003eNovosibirsk\u003c/code\u003e, \u003ccode\u003eRangoon\u003c/code\u003e, \u003ccode\u003eBangkok\u003c/code\u003e, \u003ccode\u003eHanoi\u003c/code\u003e, \u003ccode\u003eJakarta\u003c/code\u003e, \u003ccode\u003eKrasnoyarsk\u003c/code\u003e, \u003ccode\u003eBeijing\u003c/code\u003e, \u003ccode\u003eChongqing\u003c/code\u003e, \u003ccode\u003eHong Kong\u003c/code\u003e, \u003ccode\u003eUrumqi\u003c/code\u003e, \u003ccode\u003eKuala Lumpur\u003c/code\u003e, \u003ccode\u003eSingapore\u003c/code\u003e, \u003ccode\u003eTaipei\u003c/code\u003e, \u003ccode\u003ePerth\u003c/code\u003e, \u003ccode\u003eIrkutsk\u003c/code\u003e, \u003ccode\u003eUlaanbaatar\u003c/code\u003e, \u003ccode\u003eSeoul\u003c/code\u003e, \u003ccode\u003eOsaka\u003c/code\u003e, \u003ccode\u003eSapporo\u003c/code\u003e, \u003ccode\u003eTokyo\u003c/code\u003e, \u003ccode\u003eYakutsk\u003c/code\u003e, \u003ccode\u003eDarwin\u003c/code\u003e, \u003ccode\u003eAdelaide\u003c/code\u003e, \u003ccode\u003eCanberra\u003c/code\u003e, \u003ccode\u003eMelbourne\u003c/code\u003e, \u003ccode\u003eSydney\u003c/code\u003e, \u003ccode\u003eBrisbane\u003c/code\u003e, \u003ccode\u003eHobart\u003c/code\u003e, \u003ccode\u003eVladivostok\u003c/code\u003e, \u003ccode\u003eGuam\u003c/code\u003e, \u003ccode\u003ePort Moresby\u003c/code\u003e, \u003ccode\u003eMagadan\u003c/code\u003e, \u003ccode\u003eSrednekolymsk\u003c/code\u003e, \u003ccode\u003eSolomon Is.\u003c/code\u003e, \u003ccode\u003eNew Caledonia\u003c/code\u003e, \u003ccode\u003eFiji\u003c/code\u003e, \u003ccode\u003eKamchatka\u003c/code\u003e, \u003ccode\u003eMarshall Is.\u003c/code\u003e, \u003ccode\u003eAuckland\u003c/code\u003e, \u003ccode\u003eWellington\u003c/code\u003e, \u003ccode\u003eNuku'alofa\u003c/code\u003e, \u003ccode\u003eTokelau Is.\u003c/code\u003e, \u003ccode\u003eChatham Is.\u003c/code\u003e, \u003ccode\u003eSamoa\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"locale","full_name":"user[locale]","description":"\n\u003cp\u003eUser’s preferred locale\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eca\u003c/code\u003e, \u003ccode\u003epl\u003c/code\u003e, \u003ccode\u003esv_SE\u003c/code\u003e, \u003ccode\u003ezh_CN\u003c/code\u003e, \u003ccode\u003egl\u003c/code\u003e, \u003ccode\u003eit\u003c/code\u003e, \u003ccode\u003ept_BR\u003c/code\u003e, \u003ccode\u003ees\u003c/code\u003e, \u003ccode\u003eja\u003c/code\u003e, \u003ccode\u003een_GB\u003c/code\u003e, \u003ccode\u003eru\u003c/code\u003e, \u003ccode\u003efr\u003c/code\u003e, \u003ccode\u003een\u003c/code\u003e, \u003ccode\u003eko\u003c/code\u003e, \u003ccode\u003ede\u003c/code\u003e, \u003ccode\u003ezh_TW\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"user[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"user[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/users\n{\n \"user\": {\n \"admin\": true,\n \"login\": \"new_admin\",\n \"auth_source_id\": \"980190962\"\n }\n}\n201\n{\n \"firstname\": null,\n \"lastname\": null,\n \"mail\": null,\n \"admin\": true,\n \"auth_source_id\": 980190962,\n \"auth_source_name\": \"ldap-server\",\n \"timezone\": null,\n \"locale\": null,\n \"last_login_on\": null,\n \"created_at\": \"2016-06-28 17:39:09 UTC\",\n \"updated_at\": \"2016-06-28 17:39:09 UTC\",\n \"id\": 980190968,\n \"login\": \"new_admin\",\n \"default_location\": null,\n \"locations\": [],\n \"default_organization\": null,\n \"organizations\": [],\n \"effective_admin\": true,\n \"auth_source_ldap\": {\n \"id\": 980190962,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap-server\"\n },\n \"mail_notifications\": [],\n \"roles\": [\n {\n \"name\": \"Default role\",\n \"id\": 7\n }\n ],\n \"usergroups\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/users/update","name":"update","apis":[{"api_url":"/api/users/:id","http_method":"PUT","short_description":"Update a user","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eAdds role ‘Default role’ to the user if it is not already present. Only another admin can change the admin account attribute.\u003c/p\u003e\n","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user","full_name":"user","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"login","full_name":"user[login]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"firstname","full_name":"user[firstname]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"lastname","full_name":"user[lastname]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mail","full_name":"user[mail]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"admin","full_name":"user[admin]","description":"\n\u003cp\u003eis an admin account\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"user[password]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"default_location_id","full_name":"user[default_location_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"default_organization_id","full_name":"user[default_organization_id]","description":"","required":false,"allow_nil":true,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"auth_source_id","full_name":"user[auth_source_id]","description":"","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"timezone","full_name":"user[timezone]","description":"\n\u003cp\u003eUser’s timezone\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eUTC\u003c/code\u003e, \u003ccode\u003eInternational Date Line West\u003c/code\u003e, \u003ccode\u003eMidway Island\u003c/code\u003e, \u003ccode\u003eAmerican Samoa\u003c/code\u003e, \u003ccode\u003eHawaii\u003c/code\u003e, \u003ccode\u003eAlaska\u003c/code\u003e, \u003ccode\u003ePacific Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eTijuana\u003c/code\u003e, \u003ccode\u003eMountain Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eArizona\u003c/code\u003e, \u003ccode\u003eChihuahua\u003c/code\u003e, \u003ccode\u003eMazatlan\u003c/code\u003e, \u003ccode\u003eCentral Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eSaskatchewan\u003c/code\u003e, \u003ccode\u003eGuadalajara\u003c/code\u003e, \u003ccode\u003eMexico City\u003c/code\u003e, \u003ccode\u003eMonterrey\u003c/code\u003e, \u003ccode\u003eCentral America\u003c/code\u003e, \u003ccode\u003eEastern Time (US \u0026 Canada)\u003c/code\u003e, \u003ccode\u003eIndiana (East)\u003c/code\u003e, \u003ccode\u003eBogota\u003c/code\u003e, \u003ccode\u003eLima\u003c/code\u003e, \u003ccode\u003eQuito\u003c/code\u003e, \u003ccode\u003eAtlantic Time (Canada)\u003c/code\u003e, \u003ccode\u003eCaracas\u003c/code\u003e, \u003ccode\u003eLa Paz\u003c/code\u003e, \u003ccode\u003eSantiago\u003c/code\u003e, \u003ccode\u003eNewfoundland\u003c/code\u003e, \u003ccode\u003eBrasilia\u003c/code\u003e, \u003ccode\u003eBuenos Aires\u003c/code\u003e, \u003ccode\u003eMontevideo\u003c/code\u003e, \u003ccode\u003eGeorgetown\u003c/code\u003e, \u003ccode\u003eGreenland\u003c/code\u003e, \u003ccode\u003eMid-Atlantic\u003c/code\u003e, \u003ccode\u003eAzores\u003c/code\u003e, \u003ccode\u003eCape Verde Is.\u003c/code\u003e, \u003ccode\u003eDublin\u003c/code\u003e, \u003ccode\u003eEdinburgh\u003c/code\u003e, \u003ccode\u003eLisbon\u003c/code\u003e, \u003ccode\u003eLondon\u003c/code\u003e, \u003ccode\u003eCasablanca\u003c/code\u003e, \u003ccode\u003eMonrovia\u003c/code\u003e, \u003ccode\u003eBelgrade\u003c/code\u003e, \u003ccode\u003eBratislava\u003c/code\u003e, \u003ccode\u003eBudapest\u003c/code\u003e, \u003ccode\u003eLjubljana\u003c/code\u003e, \u003ccode\u003ePrague\u003c/code\u003e, \u003ccode\u003eSarajevo\u003c/code\u003e, \u003ccode\u003eSkopje\u003c/code\u003e, \u003ccode\u003eWarsaw\u003c/code\u003e, \u003ccode\u003eZagreb\u003c/code\u003e, \u003ccode\u003eBrussels\u003c/code\u003e, \u003ccode\u003eCopenhagen\u003c/code\u003e, \u003ccode\u003eMadrid\u003c/code\u003e, \u003ccode\u003eParis\u003c/code\u003e, \u003ccode\u003eAmsterdam\u003c/code\u003e, \u003ccode\u003eBerlin\u003c/code\u003e, \u003ccode\u003eBern\u003c/code\u003e, \u003ccode\u003eRome\u003c/code\u003e, \u003ccode\u003eStockholm\u003c/code\u003e, \u003ccode\u003eVienna\u003c/code\u003e, \u003ccode\u003eWest Central Africa\u003c/code\u003e, \u003ccode\u003eBucharest\u003c/code\u003e, \u003ccode\u003eCairo\u003c/code\u003e, \u003ccode\u003eHelsinki\u003c/code\u003e, \u003ccode\u003eKyiv\u003c/code\u003e, \u003ccode\u003eRiga\u003c/code\u003e, \u003ccode\u003eSofia\u003c/code\u003e, \u003ccode\u003eTallinn\u003c/code\u003e, \u003ccode\u003eVilnius\u003c/code\u003e, \u003ccode\u003eAthens\u003c/code\u003e, \u003ccode\u003eIstanbul\u003c/code\u003e, \u003ccode\u003eMinsk\u003c/code\u003e, \u003ccode\u003eJerusalem\u003c/code\u003e, \u003ccode\u003eHarare\u003c/code\u003e, \u003ccode\u003ePretoria\u003c/code\u003e, \u003ccode\u003eKaliningrad\u003c/code\u003e, \u003ccode\u003eMoscow\u003c/code\u003e, \u003ccode\u003eSt. Petersburg\u003c/code\u003e, \u003ccode\u003eVolgograd\u003c/code\u003e, \u003ccode\u003eSamara\u003c/code\u003e, \u003ccode\u003eKuwait\u003c/code\u003e, \u003ccode\u003eRiyadh\u003c/code\u003e, \u003ccode\u003eNairobi\u003c/code\u003e, \u003ccode\u003eBaghdad\u003c/code\u003e, \u003ccode\u003eTehran\u003c/code\u003e, \u003ccode\u003eAbu Dhabi\u003c/code\u003e, \u003ccode\u003eMuscat\u003c/code\u003e, \u003ccode\u003eBaku\u003c/code\u003e, \u003ccode\u003eTbilisi\u003c/code\u003e, \u003ccode\u003eYerevan\u003c/code\u003e, \u003ccode\u003eKabul\u003c/code\u003e, \u003ccode\u003eEkaterinburg\u003c/code\u003e, \u003ccode\u003eIslamabad\u003c/code\u003e, \u003ccode\u003eKarachi\u003c/code\u003e, \u003ccode\u003eTashkent\u003c/code\u003e, \u003ccode\u003eChennai\u003c/code\u003e, \u003ccode\u003eKolkata\u003c/code\u003e, \u003ccode\u003eMumbai\u003c/code\u003e, \u003ccode\u003eNew Delhi\u003c/code\u003e, \u003ccode\u003eKathmandu\u003c/code\u003e, \u003ccode\u003eAstana\u003c/code\u003e, \u003ccode\u003eDhaka\u003c/code\u003e, \u003ccode\u003eSri Jayawardenepura\u003c/code\u003e, \u003ccode\u003eAlmaty\u003c/code\u003e, \u003ccode\u003eNovosibirsk\u003c/code\u003e, \u003ccode\u003eRangoon\u003c/code\u003e, \u003ccode\u003eBangkok\u003c/code\u003e, \u003ccode\u003eHanoi\u003c/code\u003e, \u003ccode\u003eJakarta\u003c/code\u003e, \u003ccode\u003eKrasnoyarsk\u003c/code\u003e, \u003ccode\u003eBeijing\u003c/code\u003e, \u003ccode\u003eChongqing\u003c/code\u003e, \u003ccode\u003eHong Kong\u003c/code\u003e, \u003ccode\u003eUrumqi\u003c/code\u003e, \u003ccode\u003eKuala Lumpur\u003c/code\u003e, \u003ccode\u003eSingapore\u003c/code\u003e, \u003ccode\u003eTaipei\u003c/code\u003e, \u003ccode\u003ePerth\u003c/code\u003e, \u003ccode\u003eIrkutsk\u003c/code\u003e, \u003ccode\u003eUlaanbaatar\u003c/code\u003e, \u003ccode\u003eSeoul\u003c/code\u003e, \u003ccode\u003eOsaka\u003c/code\u003e, \u003ccode\u003eSapporo\u003c/code\u003e, \u003ccode\u003eTokyo\u003c/code\u003e, \u003ccode\u003eYakutsk\u003c/code\u003e, \u003ccode\u003eDarwin\u003c/code\u003e, \u003ccode\u003eAdelaide\u003c/code\u003e, \u003ccode\u003eCanberra\u003c/code\u003e, \u003ccode\u003eMelbourne\u003c/code\u003e, \u003ccode\u003eSydney\u003c/code\u003e, \u003ccode\u003eBrisbane\u003c/code\u003e, \u003ccode\u003eHobart\u003c/code\u003e, \u003ccode\u003eVladivostok\u003c/code\u003e, \u003ccode\u003eGuam\u003c/code\u003e, \u003ccode\u003ePort Moresby\u003c/code\u003e, \u003ccode\u003eMagadan\u003c/code\u003e, \u003ccode\u003eSrednekolymsk\u003c/code\u003e, \u003ccode\u003eSolomon Is.\u003c/code\u003e, \u003ccode\u003eNew Caledonia\u003c/code\u003e, \u003ccode\u003eFiji\u003c/code\u003e, \u003ccode\u003eKamchatka\u003c/code\u003e, \u003ccode\u003eMarshall Is.\u003c/code\u003e, \u003ccode\u003eAuckland\u003c/code\u003e, \u003ccode\u003eWellington\u003c/code\u003e, \u003ccode\u003eNuku'alofa\u003c/code\u003e, \u003ccode\u003eTokelau Is.\u003c/code\u003e, \u003ccode\u003eChatham Is.\u003c/code\u003e, \u003ccode\u003eSamoa\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"locale","full_name":"user[locale]","description":"\n\u003cp\u003eUser’s preferred locale\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eca\u003c/code\u003e, \u003ccode\u003epl\u003c/code\u003e, \u003ccode\u003esv_SE\u003c/code\u003e, \u003ccode\u003ezh_CN\u003c/code\u003e, \u003ccode\u003egl\u003c/code\u003e, \u003ccode\u003eit\u003c/code\u003e, \u003ccode\u003ept_BR\u003c/code\u003e, \u003ccode\u003ees\u003c/code\u003e, \u003ccode\u003eja\u003c/code\u003e, \u003ccode\u003een_GB\u003c/code\u003e, \u003ccode\u003eru\u003c/code\u003e, \u003ccode\u003efr\u003c/code\u003e, \u003ccode\u003een\u003c/code\u003e, \u003ccode\u003eko\u003c/code\u003e, \u003ccode\u003ede\u003c/code\u003e, \u003ccode\u003ezh_TW\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"user[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"user[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/users/980190965\n{\n \"user\": {\n \"login\": \"johnsmith\"\n }\n}\n403\n{\n \"error\": {\n \"message\": \"Access denied\",\n \"details\": \"Missing one of the required permissions: edit_users\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/users/destroy","name":"destroy","apis":[{"api_url":"/api/users/:id","http_method":"DELETE","short_description":"Delete a user","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/users/980190962\n403\n{\n \"error\": {\n \"message\": \"Access denied\",\n \"details\": \"You are trying to delete your own account\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"realms":{"doc_url":"../apidoc/v2/realms","api_url":"/api","name":"Realms","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/realms/index","name":"index","apis":[{"api_url":"/api/realms","http_method":"GET","short_description":"List of realms","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/locations/255093256/realms\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"myrealm.net\",\n \"realm_proxy_id\": 982965213,\n \"realm_type\": \"FreeIPA\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 664044182\n },\n {\n \"name\": \"yourrealm.net\",\n \"realm_proxy_id\": 982965213,\n \"realm_type\": \"FreeIPA\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 936160439\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/realms/show","name":"show","apis":[{"api_url":"/api/realms/:id","http_method":"GET","short_description":"Show a realm","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eNumerical ID or realm name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/realms/myrealm.net\n200\n{\n \"name\": \"myrealm.net\",\n \"realm_proxy_id\": 982965213,\n \"realm_type\": \"FreeIPA\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 664044182,\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/realms/create","name":"create","apis":[{"api_url":"/api/realms","http_method":"POST","short_description":"Create a realm","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eThe \u003cb\u003ename\u003c/b\u003e field is used for the name of the realm.\u003c/p\u003e\n","errors":[],"params":[{"name":"realm","full_name":"realm","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"realm[name]","description":"\n\u003cp\u003eThe realm name, e.g. EXAMPLE.COM\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_proxy_id","full_name":"realm[realm_proxy_id]","description":"\n\u003cp\u003eProxy to use for this realm\u003c/p\u003e\n","required":true,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_type","full_name":"realm[realm_type]","description":"\n\u003cp\u003eRealm type, e.g. FreeIPA or Active Directory\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"realm[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"realm[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/realms\n{\n \"realm\": {\n \"name\": \"realm.net\",\n \"realm_proxy_id\": \"982965213-Realm Proxy\",\n \"realm_type\": \"FreeIPA\"\n }\n}\n201\n{\n \"name\": \"realm.net\",\n \"realm_proxy_id\": 982965213,\n \"realm_type\": \"FreeIPA\",\n \"created_at\": \"2016-06-28 17:38:51 UTC\",\n \"updated_at\": \"2016-06-28 17:38:51 UTC\",\n \"id\": 936160440,\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/realms/update","name":"update","apis":[{"api_url":"/api/realms/:id","http_method":"PUT","short_description":"Update a realm","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm","full_name":"realm","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"realm[name]","description":"\n\u003cp\u003eThe realm name, e.g. EXAMPLE.COM\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_proxy_id","full_name":"realm[realm_proxy_id]","description":"\n\u003cp\u003eProxy to use for this realm\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"realm_type","full_name":"realm[realm_type]","description":"\n\u003cp\u003eRealm type, e.g. FreeIPA or Active Directory\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"realm[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"realm[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/realms/myrealm.net\n{\n \"realm\": {\n \"name\": \"realm.new\"\n }\n}\n200\n{\n \"name\": \"realm.new\",\n \"realm_proxy_id\": 982965213,\n \"realm_type\": \"FreeIPA\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:52 UTC\",\n \"id\": 664044182,\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/realms/destroy","name":"destroy","apis":[{"api_url":"/api/realms/:id","http_method":"DELETE","short_description":"Delete a realm","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/realms/myrealm.net\n200\n{\n \"id\": 664044182,\n \"name\": \"myrealm.net\",\n \"realm_type\": \"FreeIPA\",\n \"realm_proxy_id\": 982965213,\n \"hosts_count\": 0,\n \"hostgroups_count\": 0,\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"template_combinations":{"doc_url":"../apidoc/v2/template_combinations","api_url":"/api","name":"Template combinations","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/template_combinations/index","name":"index","apis":[{"api_url":"/api/config_templates/:config_template_id/template_combinations","http_method":"GET","short_description":"List template combination","deprecated":true},{"api_url":"/api/provisioning_templates/:provisioning_template_id/template_combinations","http_method":"GET","short_description":"List template combination","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/template_combinations","http_method":"GET","short_description":"List template combination","deprecated":null},{"api_url":"/api/environments/:environment_id/template_combinations","http_method":"GET","short_description":"List template combination","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template_id","full_name":"config_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"provisioning_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/provisioning_templates/269958254/template_combinations\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 0,\n \"hostgroup_name\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n },\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 281110143,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/template_combinations/create","name":"create","apis":[{"api_url":"/api/config_templates/:config_template_id/template_combinations","http_method":"POST","short_description":"Add a template combination","deprecated":true},{"api_url":"/api/provisioning_templates/:provisioning_template_id/template_combinations","http_method":"POST","short_description":"Add a template combination","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/template_combinations","http_method":"POST","short_description":"Add a template combination","deprecated":null},{"api_url":"/api/environments/:environment_id/template_combinations","http_method":"POST","short_description":"Add a template combination","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template_id","full_name":"config_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"provisioning_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_combination","full_name":"template_combination","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"environment_id","full_name":"template_combination[environment_id]","description":"\n\u003cp\u003eenvironment id\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"template_combination[hostgroup_id]","description":"\n\u003cp\u003ehost group id\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/provisioning_templates/269958254/template_combinations\n{\n \"template_combination\": {\n \"environment_id\": \"334344675\",\n \"hostgroup_id\": \"866317115\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:39:07 UTC\",\n \"updated_at\": \"2016-06-28 17:39:07 UTC\",\n \"id\": 980190963,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 866317115,\n \"hostgroup_name\": \"Unusual\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/template_combinations/show","name":"show","apis":[{"api_url":"/api/template_combinations/:id","http_method":"GET","short_description":"Show template combination","deprecated":null},{"api_url":"/api/config_templates/:config_template_id/template_combinations/:id","http_method":"GET","short_description":"Show template combination","deprecated":true},{"api_url":"/api/provisioning_templates/:provisioning_template_id/template_combinations/:id","http_method":"GET","short_description":"Show template combination","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/template_combinations/:id","http_method":"GET","short_description":"Show template combination","deprecated":null},{"api_url":"/api/environments/:environment_id/template_combinations/:id","http_method":"GET","short_description":"Show template combination","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template_id","full_name":"config_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"provisioning_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/provisioning_templates/269958254-MyString2/template_combinations/298486374\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 0,\n \"hostgroup_name\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/template_combinations/update","name":"update","apis":[{"api_url":"/api/provisioning_templates/:provisioning_template_id/template_combinations/:id","http_method":"PUT","short_description":"Update template combination","deprecated":null},{"api_url":"/api/config_templates/:config_template_id/template_combinations/:id","http_method":"PUT","short_description":"Update template combination","deprecated":true},{"api_url":"/api/hostgroups/:hostgroup_id/template_combinations/:id","http_method":"PUT","short_description":"Update template combination","deprecated":null},{"api_url":"/api/environments/:environment_id/template_combinations/:id","http_method":"PUT","short_description":"Update template combination","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template_id","full_name":"config_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"provisioning_template_id","description":"\n\u003cp\u003eID of config template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_combination","full_name":"template_combination","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"environment_id","full_name":"template_combination[environment_id]","description":"\n\u003cp\u003eenvironment id\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"template_combination[hostgroup_id]","description":"\n\u003cp\u003ehost group id\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/provisioning_templates/269958254/template_combinations/298486374\n{\n \"template_combination\": {\n \"environment_id\": \"687036937\",\n \"hostgroup_id\": \"636252244\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:39:07 UTC\",\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 687036937,\n \"environment_name\": \"testing\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/template_combinations/destroy","name":"destroy","apis":[{"api_url":"/api/template_combinations/:id","http_method":"DELETE","short_description":"Delete a template combination","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/template_combinations/298486374?provisioning_template_id=269958254\n200\n{\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"hostgroup_id\": 0,\n \"environment_id\": null,\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"audits":{"doc_url":"../apidoc/v2/audits","api_url":"/api","name":"Audits","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/audits/index","name":"index","apis":[{"api_url":"/api/audits","http_method":"GET","short_description":"List all audits","deprecated":null},{"api_url":"/api/hosts/:host_id/audits","http_method":"GET","short_description":"List all audits for a given host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/audits\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"user_id\": null,\n \"user_type\": null,\n \"user_name\": null,\n \"version\": 1,\n \"comment\": null,\n \"associated_id\": 272,\n \"associated_type\": \"Host\",\n \"remote_address\": null,\n \"associated_name\": null,\n \"created_at\": \"2009-12-14 08:01:17 UTC\",\n \"id\": 980190962,\n \"auditable_id\": 980190962,\n \"auditable_name\": null,\n \"auditable_type\": \"Host\",\n \"action\": \"update\",\n \"audited_changes\": {\n \"architecture_id\": [\n 10463,\n 10466\n ]\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/audits/show","name":"show","apis":[{"api_url":"/api/audits/:id","http_method":"GET","short_description":"Show an audit","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/audits/980190962\n200\n{\n \"user_id\": null,\n \"user_type\": null,\n \"user_name\": null,\n \"version\": 1,\n \"comment\": null,\n \"associated_id\": 272,\n \"associated_type\": \"Host\",\n \"remote_address\": null,\n \"associated_name\": null,\n \"created_at\": \"2009-12-14 08:01:17 UTC\",\n \"id\": 980190962,\n \"auditable_id\": 980190962,\n \"auditable_name\": null,\n \"auditable_type\": \"Host\",\n \"action\": \"update\",\n \"audited_changes\": {\n \"architecture_id\": [\n 10463,\n 10466\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"config_templates":{"doc_url":"../apidoc/v2/config_templates","api_url":"/api","name":"Config templates","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/config_templates/index","name":"index","apis":[{"api_url":"/api/config_templates","http_method":"GET","short_description":"List provisioning templates","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/config_templates","http_method":"GET","short_description":"List provisioning templates per operating system","deprecated":null},{"api_url":"/api/locations/:location_id/config_templates","http_method":"GET","short_description":"List provisioning templates per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/config_templates","http_method":"GET","short_description":"List provisioning templates per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/operatingsystems/centos%205.3/config_templates\n200\n{\n \"total\": 11,\n \"subtotal\": 11,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 698706415,\n \"name\": \"iPXE Dummy Menu\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 718456980,\n \"name\": \"Locked Template\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 104314179,\n \"name\": \"MyFinish\",\n \"template_kind_id\": 550103832,\n \"template_kind_name\": \"finish\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 981457253,\n \"name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 943779058,\n \"name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 684651467,\n \"name\": \"PXE Default Menu\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 131565194,\n \"name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 821548108,\n \"name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 352050261,\n \"name\": \"PXELinux global default\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/show","name":"show","apis":[{"api_url":"/api/config_templates/:id","http_method":"GET","short_description":"Show provisioning template details","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/config_templates/1007981701-centos5_3_pxelinux\n200\n{\n \"template\": \"default linux~label linux~kernel \u003c%= @kernel %\u003e~append initrd=\u003c%= @initrd %\u003e ks=\u003c%= foreman_url(\\\"kickstart\\\")%\u003e ksdevice=bootif network kssendmac\",\n \"locked\": false,\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\",\n \"template_combinations\": [],\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n }\n ],\n \"os_default_templates\": [\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 638205575,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 331303656,\n \"operatingsystem_name\": \"Ubuntu 10.10\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n }\n ],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/create","name":"create","apis":[{"api_url":"/api/config_templates","http_method":"POST","short_description":"Create a provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_template","full_name":"config_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"config_template[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template","full_name":"config_template[template]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"snippet","full_name":"config_template[snippet]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"audit_comment","full_name":"config_template[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_kind_id","full_name":"config_template[template_kind_id]","description":"\n\u003cp\u003enot relevant for snippet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_combinations_attributes","full_name":"config_template[template_combinations_attributes]","description":"\n\u003cp\u003eArray of template combinations (hostgroup_id, environment_id)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"config_template[operatingsystem_ids]","description":"\n\u003cp\u003eArray of operating system IDs to associate with the template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"locked","full_name":"config_template[locked]","description":"\n\u003cp\u003eWhether or not the template is locked for editing\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"config_template[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"config_template[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/config_templates\n{\n \"config_template\": {}\n}\n422\n{\n \"error\": {\n \"id\": null,\n \"errors\": {\n \"name\": [\n \"can't be blank\"\n ],\n \"template\": [\n \"can't be blank\"\n ],\n \"template_kind_id\": [\n \"can't be blank\"\n ]\n },\n \"full_messages\": [\n \"Name can't be blank\",\n \"Template can't be blank\",\n \"Template kind can't be blank\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/update","name":"update","apis":[{"api_url":"/api/config_templates/:id","http_method":"PUT","short_description":"Update a provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template","full_name":"config_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"config_template[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template","full_name":"config_template[template]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"snippet","full_name":"config_template[snippet]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"audit_comment","full_name":"config_template[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_kind_id","full_name":"config_template[template_kind_id]","description":"\n\u003cp\u003enot relevant for snippet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_combinations_attributes","full_name":"config_template[template_combinations_attributes]","description":"\n\u003cp\u003eArray of template combinations (hostgroup_id, environment_id)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"config_template[operatingsystem_ids]","description":"\n\u003cp\u003eArray of operating system IDs to associate with the template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"locked","full_name":"config_template[locked]","description":"\n\u003cp\u003eWhether or not the template is locked for editing\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"config_template[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"config_template[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/config_templates/1007981701-centos5_3_pxelinux\n{\n \"config_template\": {\n \"audit_comment\": \"aha\",\n \"template\": \"tmp\"\n }\n}\n200\n{\n \"template\": \"tmp\",\n \"locked\": false,\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:38:00 UTC\",\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\",\n \"template_combinations\": [],\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n }\n ],\n \"os_default_templates\": [\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 638205575,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 331303656,\n \"operatingsystem_name\": \"Ubuntu 10.10\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n }\n ],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/revision","name":"revision","apis":[{"api_url":"/api/config_templates/revision","http_method":"GET","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"version","full_name":"version","description":"\n\u003cp\u003etemplate version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/destroy","name":"destroy","apis":[{"api_url":"/api/config_templates/:id","http_method":"DELETE","short_description":"Delete a provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/config_templates/1007981701-centos5_3_pxelinux\n200\n{\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template\": \"default linux~label linux~kernel \u003c%= @kernel %\u003e~append initrd=\u003c%= @initrd %\u003e ks=\u003c%= foreman_url(\\\"kickstart\\\")%\u003e ksdevice=bootif network kssendmac\",\n \"snippet\": false,\n \"template_kind_id\": 452984334,\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"locked\": false,\n \"default\": false,\n \"vendor\": null,\n \"os_family\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/build_pxe_default","name":"build_pxe_default","apis":[{"api_url":"/api/config_templates/build_pxe_default","http_method":"POST","short_description":"Update the default PXE menu on all configured TFTP servers","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["POST /api/config_templates/build_pxe_default\n{\n \"config_template\": {}\n}\n200\n{\n \"message\": \"PXE Default file has been deployed to all Smart Proxies\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_templates/clone","name":"clone","apis":[{"api_url":"/api/config_templates/:id/clone","http_method":"POST","short_description":"Clone a provision template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template","full_name":"config_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"config_template[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/config_templates/1007981701-centos5_3_pxelinux/clone\n{\n \"config_template\": {\n \"name\": \"MyClone\"\n }\n}\n201\n{\n \"id\": 1007981731,\n \"name\": \"MyClone\",\n \"template\": \"default linux~label linux~kernel \u003c%= @kernel %\u003e~append initrd=\u003c%= @initrd %\u003e ks=\u003c%= foreman_url(\\\"kickstart\\\")%\u003e ksdevice=bootif network kssendmac\",\n \"snippet\": false,\n \"template_kind_id\": 452984334,\n \"created_at\": \"2016-06-28T17:38:00.429Z\",\n \"updated_at\": \"2016-06-28T17:38:00.429Z\",\n \"locked\": false,\n \"default\": false,\n \"vendor\": null,\n \"os_family\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"bookmarks":{"doc_url":"../apidoc/v2/bookmarks","api_url":"/api","name":"Bookmarks","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/bookmarks/index","name":"index","apis":[{"api_url":"/api/bookmarks","http_method":"GET","short_description":"List all bookmarks","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/bookmarks\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"foo\",\n \"controller\": \"hosts\",\n \"query\": \"foo=boo\",\n \"public\": true,\n \"id\": 980190962,\n \"owner_id\": null,\n \"owner_type\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/bookmarks/show","name":"show","apis":[{"api_url":"/api/bookmarks/:id","http_method":"GET","short_description":"Show a bookmark","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/bookmarks/980190962-foo\n200\n{\n \"name\": \"foo\",\n \"controller\": \"hosts\",\n \"query\": \"foo=boo\",\n \"public\": true,\n \"id\": 980190962,\n \"owner_id\": null,\n \"owner_type\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/bookmarks/create","name":"create","apis":[{"api_url":"/api/bookmarks","http_method":"POST","short_description":"Create a bookmark","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"bookmark","full_name":"bookmark","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"bookmark[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"controller","full_name":"bookmark[controller]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"query","full_name":"bookmark[query]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"public","full_name":"bookmark[public]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/bookmarks\n{\n \"bookmark\": {\n \"public\": false,\n \"controller\": \"hosts\",\n \"name\": \"foo-bar\",\n \"query\": \"bar\"\n }\n}\n201\n{\n \"name\": \"foo-bar\",\n \"controller\": \"hosts\",\n \"query\": \"bar\",\n \"public\": false,\n \"id\": 980190965,\n \"owner_id\": 886836129,\n \"owner_type\": \"User\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/bookmarks/update","name":"update","apis":[{"api_url":"/api/bookmarks/:id","http_method":"PUT","short_description":"Update a bookmark","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"bookmark","full_name":"bookmark","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"bookmark[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"controller","full_name":"bookmark[controller]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"query","full_name":"bookmark[query]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"public","full_name":"bookmark[public]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/bookmarks/980190962-foo\n{\n \"bookmark\": {\n \"public\": false,\n \"controller\": \"hosts\",\n \"name\": \"facts.architecture\",\n \"query\": \" facts.architecture = x86_64\"\n }\n}\n200\n{\n \"name\": \"facts.architecture\",\n \"controller\": \"hosts\",\n \"query\": \"facts.architecture = x86_64\",\n \"public\": false,\n \"id\": 980190962,\n \"owner_id\": 886836129,\n \"owner_type\": \"User\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/bookmarks/destroy","name":"destroy","apis":[{"api_url":"/api/bookmarks/:id","http_method":"DELETE","short_description":"Delete a bookmark","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/bookmarks/980190962-foo\n200\n{\n \"id\": 980190962,\n \"name\": \"foo\",\n \"query\": \"foo=boo\",\n \"controller\": \"hosts\",\n \"public\": true,\n \"owner_id\": null,\n \"owner_type\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"override_values":{"doc_url":"../apidoc/v2/override_values","api_url":"/api","name":"Override values","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/override_values/index","name":"index","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values","http_method":"GET","short_description":"List of override values for a specific smart variable","deprecated":null},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values","http_method":"GET","short_description":"List of override values for a specific smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/smart_variables/298486374-ssl_port/override_values\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 281110143,\n \"match\": \"hostgroup=Common\",\n \"value\": \"8443\",\n \"use_puppet_default\": false\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/override_values/show","name":"show","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values/:id","http_method":"GET","short_description":"Show an override value for a specific smart variable","deprecated":null},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id","http_method":"GET","short_description":"Show an override value for a specific smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/smart_class_parameters/328495940-cluster/override_values/874520030\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 874520030,\n \"match\": \"hostgroup=Common\",\n \"value\": \"8080\",\n \"use_puppet_default\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/override_values/create","name":"create","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values","http_method":"POST","short_description":"Create an override value for a specific smart variable","deprecated":null},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values","http_method":"POST","short_description":"Create an override value for a specific smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"override_value","full_name":"override_value","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"match","full_name":"override_value[match]","description":"\n\u003cp\u003eOverride match\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"override_value[value]","description":"\n\u003cp\u003eOverride value, required if use_puppet_default is false\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"use_puppet_default","full_name":"override_value[use_puppet_default]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/smart_variables/1018350796/override_values\n{\n \"override_value\": {\n \"match\": \"xyz=10\",\n \"value\": \"string\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:38:40 UTC\",\n \"updated_at\": \"2016-06-28 17:38:40 UTC\",\n \"id\": 1018350796,\n \"match\": \"xyz=10\",\n \"value\": \"string\",\n \"use_puppet_default\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/override_values/update","name":"update","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values/:id","http_method":"PUT","short_description":"Update an override value for a specific smart variable","deprecated":null},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id","http_method":"PUT","short_description":"Update an override value for a specific smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"override_value","full_name":"override_value","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"match","full_name":"override_value[match]","description":"\n\u003cp\u003eOverride match\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"override_value[value]","description":"\n\u003cp\u003eOverride value, required if use_puppet_default is false\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"use_puppet_default","full_name":"override_value[use_puppet_default]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/smart_class_parameters/328495940-cluster/override_values/874520030\n{\n \"override_value\": {\n \"match\": \"host=abc.com\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:41 UTC\",\n \"id\": 874520030,\n \"match\": \"host=abc.com\",\n \"value\": \"8080\",\n \"use_puppet_default\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/override_values/destroy","name":"destroy","apis":[{"api_url":"/api/smart_variables/:smart_variable_id/override_values/:id","http_method":"DELETE","short_description":"Delete an override value for a specific smart variable","deprecated":null},{"api_url":"/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id","http_method":"DELETE","short_description":"Delete an override value for a specific smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable_id","full_name":"smart_variable_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_class_parameter_id","full_name":"smart_class_parameter_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/smart_class_parameters/328495940-cluster/override_values/874520030?override_value%5Bmatch%5D=host%3Dabc.com\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 874520030,\n \"match\": \"hostgroup=Common\",\n \"value\": \"8080\",\n \"use_puppet_default\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"auth_source_ldaps":{"doc_url":"../apidoc/v2/auth_source_ldaps","api_url":"/api","name":"Auth source ldaps","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/auth_source_ldaps/index","name":"index","apis":[{"api_url":"/api/auth_source_ldaps","http_method":"GET","short_description":"List all LDAP authentication sources","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/auth_source_ldaps\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"host\": \"ldap\",\n \"port\": 123,\n \"account\": null,\n \"base_dn\": \"dn=x,dn=y\",\n \"ldap_filter\": null,\n \"attr_login\": \"uid\",\n \"attr_firstname\": \"givenName\",\n \"attr_lastname\": \"sn\",\n \"attr_mail\": \"mail\",\n \"attr_photo\": null,\n \"onthefly_register\": true,\n \"usergroup_sync\": true,\n \"tls\": true,\n \"server_type\": \"posix\",\n \"groups_base\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 980190962,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap-server\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/auth_source_ldaps/show","name":"show","apis":[{"api_url":"/api/auth_source_ldaps/:id","http_method":"GET","short_description":"Show an LDAP authentication source","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/auth_source_ldaps/980190962-ldap-server\n200\n{\n \"host\": \"ldap\",\n \"port\": 123,\n \"account\": null,\n \"base_dn\": \"dn=x,dn=y\",\n \"ldap_filter\": null,\n \"attr_login\": \"uid\",\n \"attr_firstname\": \"givenName\",\n \"attr_lastname\": \"sn\",\n \"attr_mail\": \"mail\",\n \"attr_photo\": null,\n \"onthefly_register\": true,\n \"usergroup_sync\": true,\n \"tls\": true,\n \"server_type\": \"posix\",\n \"groups_base\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 980190962,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap-server\",\n \"external_usergroups\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/auth_source_ldaps/create","name":"create","apis":[{"api_url":"/api/auth_source_ldaps","http_method":"POST","short_description":"Create an LDAP authentication source","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"auth_source_ldap","full_name":"auth_source_ldap","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"auth_source_ldap[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host","full_name":"auth_source_ldap[host]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"port","full_name":"auth_source_ldap[port]","description":"\n\u003cp\u003edefaults to 389\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"account","full_name":"auth_source_ldap[account]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"base_dn","full_name":"auth_source_ldap[base_dn]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"account_password","full_name":"auth_source_ldap[account_password]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_login","full_name":"auth_source_ldap[attr_login]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_firstname","full_name":"auth_source_ldap[attr_firstname]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_lastname","full_name":"auth_source_ldap[attr_lastname]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_mail","full_name":"auth_source_ldap[attr_mail]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_photo","full_name":"auth_source_ldap[attr_photo]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"onthefly_register","full_name":"auth_source_ldap[onthefly_register]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"usergroup_sync","full_name":"auth_source_ldap[usergroup_sync]","description":"\n\u003cp\u003esync external user groups on login\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tls","full_name":"auth_source_ldap[tls]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"groups_base","full_name":"auth_source_ldap[groups_base]","description":"\n\u003cp\u003egroups base DN\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"server_type","full_name":"auth_source_ldap[server_type]","description":"\n\u003cp\u003etype of the LDAP server\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003efree_ipa\u003c/code\u003e, \u003ccode\u003eactive_directory\u003c/code\u003e, \u003ccode\u003eposix\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ldap_filter","full_name":"auth_source_ldap[ldap_filter]","description":"\n\u003cp\u003eLDAP filter\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/auth_source_ldaps\n{\n \"auth_source_ldap\": {\n \"name\": \"ldap2\",\n \"host\": \"ldap2\",\n \"server_type\": \"posix\"\n }\n}\n201\n{\n \"host\": \"ldap2\",\n \"port\": 389,\n \"account\": null,\n \"base_dn\": null,\n \"ldap_filter\": null,\n \"attr_login\": null,\n \"attr_firstname\": null,\n \"attr_lastname\": null,\n \"attr_mail\": null,\n \"attr_photo\": null,\n \"onthefly_register\": false,\n \"usergroup_sync\": true,\n \"tls\": false,\n \"server_type\": \"posix\",\n \"groups_base\": null,\n \"created_at\": \"2016-06-28 17:37:51 UTC\",\n \"updated_at\": \"2016-06-28 17:37:51 UTC\",\n \"id\": 980190964,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap2\",\n \"external_usergroups\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/auth_source_ldaps/update","name":"update","apis":[{"api_url":"/api/auth_source_ldaps/:id","http_method":"PUT","short_description":"Update an LDAP authentication source","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"auth_source_ldap","full_name":"auth_source_ldap","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"auth_source_ldap[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host","full_name":"auth_source_ldap[host]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"port","full_name":"auth_source_ldap[port]","description":"\n\u003cp\u003edefaults to 389\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"account","full_name":"auth_source_ldap[account]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"base_dn","full_name":"auth_source_ldap[base_dn]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"account_password","full_name":"auth_source_ldap[account_password]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_login","full_name":"auth_source_ldap[attr_login]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_firstname","full_name":"auth_source_ldap[attr_firstname]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_lastname","full_name":"auth_source_ldap[attr_lastname]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_mail","full_name":"auth_source_ldap[attr_mail]","description":"\n\u003cp\u003erequired if onthefly_register is true\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attr_photo","full_name":"auth_source_ldap[attr_photo]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"onthefly_register","full_name":"auth_source_ldap[onthefly_register]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"usergroup_sync","full_name":"auth_source_ldap[usergroup_sync]","description":"\n\u003cp\u003esync external user groups on login\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tls","full_name":"auth_source_ldap[tls]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"groups_base","full_name":"auth_source_ldap[groups_base]","description":"\n\u003cp\u003egroups base DN\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"server_type","full_name":"auth_source_ldap[server_type]","description":"\n\u003cp\u003etype of the LDAP server\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003efree_ipa\u003c/code\u003e, \u003ccode\u003eactive_directory\u003c/code\u003e, \u003ccode\u003eposix\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ldap_filter","full_name":"auth_source_ldap[ldap_filter]","description":"\n\u003cp\u003eLDAP filter\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/auth_source_ldaps/980190962-ldap-server\n{\n \"auth_source_ldap\": {\n \"name\": \"ldap2\",\n \"host\": \"ldap2\",\n \"server_type\": \"posix\"\n }\n}\n200\n{\n \"host\": \"ldap2\",\n \"port\": 123,\n \"account\": null,\n \"base_dn\": \"dn=x,dn=y\",\n \"ldap_filter\": null,\n \"attr_login\": \"uid\",\n \"attr_firstname\": \"givenName\",\n \"attr_lastname\": \"sn\",\n \"attr_mail\": \"mail\",\n \"attr_photo\": null,\n \"onthefly_register\": true,\n \"usergroup_sync\": true,\n \"tls\": true,\n \"server_type\": \"posix\",\n \"groups_base\": null,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:37:51 UTC\",\n \"id\": 980190962,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap2\",\n \"external_usergroups\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/auth_source_ldaps/test","name":"test","apis":[{"api_url":"/api/auth_source_ldaps/:id/test","http_method":"PUT","short_description":"Test LDAP connection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/auth_source_ldaps/980190962-ldap-server/test\n{\n \"auth_source_ldap\": {}\n}\n200\n{\n \"id\": 980190962,\n \"type\": \"AuthSourceLdap\",\n \"name\": \"ldap-server\",\n \"success\": true,\n \"message\": \"success\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/auth_source_ldaps/destroy","name":"destroy","apis":[{"api_url":"/api/auth_source_ldaps/:id","http_method":"DELETE","short_description":"Delete an LDAP authentication source","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/auth_source_ldaps/980190962\n200\n{\n \"id\": 980190962,\n \"name\": \"ldap-server\",\n \"host\": \"ldap\",\n \"port\": 123,\n \"account\": null,\n \"account_password\": null,\n \"base_dn\": \"dn=x,dn=y\",\n \"attr_login\": \"uid\",\n \"attr_firstname\": \"givenName\",\n \"attr_lastname\": \"sn\",\n \"attr_mail\": \"mail\",\n \"onthefly_register\": true,\n \"tls\": true,\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"ldap_filter\": null,\n \"attr_photo\": null,\n \"server_type\": \"posix\",\n \"groups_base\": null,\n \"usergroup_sync\": true\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"operatingsystems":{"doc_url":"../apidoc/v2/operatingsystems","api_url":"/api","name":"Operating systems","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/operatingsystems/index","name":"index","apis":[{"api_url":"/api/operatingsystems","http_method":"GET","short_description":"List all operating systems","deprecated":null},{"api_url":"/api/architectures/:architecture_id/operatingsystems","http_method":"GET","short_description":"List all operating systems for nested architecture","deprecated":null},{"api_url":"/api/media/:medium_id/operatingsystems","http_method":"GET","short_description":"List all operating systems for nested medium","deprecated":null},{"api_url":"/api/ptables/:ptable_id/operatingsystems","http_method":"GET","short_description":"List all operating systems for nested partition table","deprecated":null},{"api_url":"/api/config_templates/:config_template_id/operatingsystems","http_method":"GET","short_description":"List all operating systems for nested provisioning template","deprecated":null},{"api_url":"/api/provisioning_templates/:provisioning_template_id/operatingsystems","http_method":"GET","short_description":"List all operating systems for nested provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"architecture_id","full_name":"architecture_id","description":"\n\u003cp\u003eID of architecture\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium_id","full_name":"medium_id","description":"\n\u003cp\u003eID of medium\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable_id","full_name":"ptable_id","description":"\n\u003cp\u003eID of partition table\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template_id","full_name":"config_template_id","description":"\n\u003cp\u003eID of template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"provisioning_template_id","description":"\n\u003cp\u003eID of template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/operatingsystems\n200\n{\n \"total\": 6,\n \"subtotal\": 6,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"description\": null,\n \"major\": \"5\",\n \"minor\": \"3\",\n \"family\": \"Redhat\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"description\": null,\n \"major\": \"1\",\n \"minor\": \"1\",\n \"family\": \"Redhat\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 775246587,\n \"name\": \"NoHosts\",\n \"title\": \"NoHosts 1.1\"\n },\n {\n \"description\": \"RHEL 6.1\",\n \"major\": \"6\",\n \"minor\": \"1\",\n \"family\": \"Redhat\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"description\": null,\n \"major\": \"5\",\n \"minor\": \"10\",\n \"family\": \"Solaris\",\n \"release_name\": \"hw0910\",\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 442321401,\n \"name\": \"Solaris\",\n \"title\": \"Solaris 5.10\"\n },\n {\n \"description\": null,\n \"major\": \"10\",\n \"minor\": \"10\",\n \"family\": \"Debian\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n },\n {\n \"description\": null,\n \"major\": \"12\",\n \"minor\": \"10\",\n \"family\": \"Debian\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 272342666,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 12.10\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/operatingsystems/show","name":"show","apis":[{"api_url":"/api/operatingsystems/:id","http_method":"GET","short_description":"Show an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/operatingsystems/1073012828-RHEL%206-1\n200\n{\n \"description\": \"RHEL 6.1\",\n \"major\": \"6\",\n \"minor\": \"1\",\n \"family\": \"Redhat\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\",\n \"parameters\": [\n {\n \"id\": 716195090,\n \"name\": \"os1\",\n \"value\": \"os1\"\n }\n ],\n \"media\": [\n {\n \"id\": 980190962,\n \"name\": \"CentOS 5.4\"\n }\n ],\n \"architectures\": [\n {\n \"name\": \"x86_64\",\n \"id\": 501905019\n }\n ],\n \"ptables\": [],\n \"config_templates\": [\n {\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 104314179,\n \"name\": \"MyFinish\",\n \"template_kind_id\": 550103832,\n \"template_kind_name\": \"finish\"\n },\n {\n \"id\": 981457253,\n \"name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\"\n },\n {\n \"id\": 943779058,\n \"name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"id\": 131565194,\n \"name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\"\n },\n {\n \"id\": 821548108,\n \"name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 352050261,\n \"name\": \"PXELinux global default\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n }\n ],\n \"provisioning_templates\": [\n {\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 104314179,\n \"name\": \"MyFinish\",\n \"template_kind_id\": 550103832,\n \"template_kind_name\": \"finish\"\n },\n {\n \"id\": 981457253,\n \"name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\"\n },\n {\n \"id\": 943779058,\n \"name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"id\": 131565194,\n \"name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\"\n },\n {\n \"id\": 821548108,\n \"name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 352050261,\n \"name\": \"PXELinux global default\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n }\n ],\n \"os_default_templates\": [\n {\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n },\n {\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n },\n {\n \"id\": 113629430,\n \"provisioning_template_id\": 981457253,\n \"provisioning_template_name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 981457253,\n \"config_template_name\": \"MyScript\"\n },\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 1018350795,\n \"provisioning_template_id\": 131565194,\n \"provisioning_template_name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 131565194,\n \"config_template_name\": \"PXEGrub Dummy Menu\"\n },\n {\n \"id\": 51848956,\n \"provisioning_template_id\": 698706415,\n \"provisioning_template_name\": \"iPXE Dummy Menu\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 698706415,\n \"config_template_name\": \"iPXE Dummy Menu\"\n }\n ],\n \"images\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/operatingsystems/create","name":"create","apis":[{"api_url":"/api/operatingsystems","http_method":"POST","short_description":"Create an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem","full_name":"operatingsystem","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"operatingsystem[name]","description":"","required":true,"allow_nil":false,"validator":"Must match regular expression \u003ccode\u003e/\\A(\\S+)\\Z/\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"major","full_name":"operatingsystem[major]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"minor","full_name":"operatingsystem[minor]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"operatingsystem[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"family","full_name":"operatingsystem[family]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"release_name","full_name":"operatingsystem[release_name]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_parameters_attributes","full_name":"operatingsystem[os_parameters_attributes]","description":"\n\u003cp\u003eOS’ parameters (array or indexed hash)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"operatingsystem[os_parameters_attributes][name]","description":"\n\u003cp\u003eName of the parameter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"operatingsystem[os_parameters_attributes][value]","description":"\n\u003cp\u003eParameter value\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"password_hash","full_name":"operatingsystem[password_hash]","description":"\n\u003cp\u003eRoot password hash function to use, one of MD5, SHA256, SHA512, Base64\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_ids","full_name":"operatingsystem[architecture_ids]","description":"\n\u003cp\u003eIDs of associated architectures\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"config_template_ids","full_name":"operatingsystem[config_template_ids]","description":"\n\u003cp\u003eIDs of associated provisioning templates\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_ids","full_name":"operatingsystem[provisioning_template_ids]","description":"\n\u003cp\u003eIDs of associated provisioning templates\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"medium_ids","full_name":"operatingsystem[medium_ids]","description":"\n\u003cp\u003eIDs of associated media\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"ptable_ids","full_name":"operatingsystem[ptable_ids]","description":"\n\u003cp\u003eIDs of associated partition tables\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/operatingsystems\n{\n \"operatingsystem\": {\n \"name\": \"awsome_os\",\n \"minor\": \"2\"\n }\n}\n422\n{\n \"error\": {\n \"id\": null,\n \"errors\": {\n \"major\": [\n \"is not a number\",\n \"Operating System version is required\"\n ]\n },\n \"full_messages\": [\n \"Major is not a number\",\n \"Major Operating System version is required\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/operatingsystems/update","name":"update","apis":[{"api_url":"/api/operatingsystems/:id","http_method":"PUT","short_description":"Update an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem","full_name":"operatingsystem","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"operatingsystem[name]","description":"","required":false,"allow_nil":false,"validator":"Must match regular expression \u003ccode\u003e/\\A(\\S+)\\Z/\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"major","full_name":"operatingsystem[major]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"minor","full_name":"operatingsystem[minor]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"operatingsystem[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"family","full_name":"operatingsystem[family]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"release_name","full_name":"operatingsystem[release_name]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_parameters_attributes","full_name":"operatingsystem[os_parameters_attributes]","description":"\n\u003cp\u003eOS’ parameters (array or indexed hash)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"operatingsystem[os_parameters_attributes][name]","description":"\n\u003cp\u003eName of the parameter\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"operatingsystem[os_parameters_attributes][value]","description":"\n\u003cp\u003eParameter value\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"password_hash","full_name":"operatingsystem[password_hash]","description":"\n\u003cp\u003eRoot password hash function to use, one of MD5, SHA256, SHA512, Base64\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_ids","full_name":"operatingsystem[architecture_ids]","description":"\n\u003cp\u003eIDs of associated architectures\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"config_template_ids","full_name":"operatingsystem[config_template_ids]","description":"\n\u003cp\u003eIDs of associated provisioning templates\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_ids","full_name":"operatingsystem[provisioning_template_ids]","description":"\n\u003cp\u003eIDs of associated provisioning templates\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"medium_ids","full_name":"operatingsystem[medium_ids]","description":"\n\u003cp\u003eIDs of associated media\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"ptable_ids","full_name":"operatingsystem[ptable_ids]","description":"\n\u003cp\u003eIDs of associated partition tables\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/operatingsystems/1073012828-RHEL%206-1\n{\n \"operatingsystem\": {},\n \"architectures\": [\n {\n \"id\": \"501905019\"\n },\n {\n \"id\": \"331892513\"\n }\n ]\n}\n200\n{\n \"description\": \"RHEL 6.1\",\n \"major\": \"6\",\n \"minor\": \"1\",\n \"family\": \"Redhat\",\n \"release_name\": null,\n \"password_hash\": \"SHA256\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\",\n \"parameters\": [\n {\n \"id\": 716195090,\n \"name\": \"os1\",\n \"value\": \"os1\"\n }\n ],\n \"media\": [\n {\n \"id\": 980190962,\n \"name\": \"CentOS 5.4\"\n }\n ],\n \"architectures\": [\n {\n \"name\": \"x86_64\",\n \"id\": 501905019\n },\n {\n \"name\": \"sparc\",\n \"id\": 331892513\n }\n ],\n \"ptables\": [],\n \"config_templates\": [\n {\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 104314179,\n \"name\": \"MyFinish\",\n \"template_kind_id\": 550103832,\n \"template_kind_name\": \"finish\"\n },\n {\n \"id\": 981457253,\n \"name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\"\n },\n {\n \"id\": 943779058,\n \"name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"id\": 131565194,\n \"name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\"\n },\n {\n \"id\": 821548108,\n \"name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 352050261,\n \"name\": \"PXELinux global default\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n }\n ],\n \"provisioning_templates\": [\n {\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 104314179,\n \"name\": \"MyFinish\",\n \"template_kind_id\": 550103832,\n \"template_kind_name\": \"finish\"\n },\n {\n \"id\": 981457253,\n \"name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\"\n },\n {\n \"id\": 943779058,\n \"name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"id\": 131565194,\n \"name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\"\n },\n {\n \"id\": 821548108,\n \"name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"id\": 352050261,\n \"name\": \"PXELinux global default\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n }\n ],\n \"os_default_templates\": [\n {\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n },\n {\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n },\n {\n \"id\": 113629430,\n \"provisioning_template_id\": 981457253,\n \"provisioning_template_name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 981457253,\n \"config_template_name\": \"MyScript\"\n },\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 1018350795,\n \"provisioning_template_id\": 131565194,\n \"provisioning_template_name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 131565194,\n \"config_template_name\": \"PXEGrub Dummy Menu\"\n },\n {\n \"id\": 51848956,\n \"provisioning_template_id\": 698706415,\n \"provisioning_template_name\": \"iPXE Dummy Menu\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 698706415,\n \"config_template_name\": \"iPXE Dummy Menu\"\n }\n ],\n \"images\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/operatingsystems/destroy","name":"destroy","apis":[{"api_url":"/api/operatingsystems/:id","http_method":"DELETE","short_description":"Delete an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/operatingsystems/775246587-NoHosts%201-1\n200\n{\n \"id\": 775246587,\n \"major\": \"1\",\n \"name\": \"NoHosts\",\n \"minor\": \"1\",\n \"nameindicator\": null,\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"release_name\": null,\n \"description\": null,\n \"hosts_count\": 0,\n \"hostgroups_count\": 0,\n \"password_hash\": \"SHA256\",\n \"title\": \"NoHosts 1.1\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/operatingsystems/bootfiles","name":"bootfiles","apis":[{"api_url":"/api/operatingsystems/:id/bootfiles","http_method":"GET","short_description":"List boot files for an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium","full_name":"medium","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture","full_name":"architecture","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"host_classes":{"doc_url":"../apidoc/v2/host_classes","api_url":"/api","name":"Host classes","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/host_classes/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/puppetclass_ids","http_method":"GET","short_description":"List all Puppet class IDs for host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/hosts/host81/puppetclass_ids\n200\n{\n \"results\": [\n 1018350800\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_classes/create","name":"create","apis":[{"api_url":"/api/hosts/:host_id/puppetclass_ids","http_method":"POST","short_description":"Add a Puppet class to host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/hosts/host82/puppetclass_ids\n{\n \"puppetclass_id\": \"281110143\",\n \"host_class\": {\n \"puppetclass_id\": \"281110143\"\n }\n}\n200\n{\n \"host_id\": 980191055,\n \"puppetclass_id\": 281110143\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_classes/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/puppetclass_ids/:id","http_method":"DELETE","short_description":"Remove a Puppet class from host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/hosts/host80/puppetclass_ids/1018350799\n200\n[\n\n]"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"provisioning_templates":{"doc_url":"../apidoc/v2/provisioning_templates","api_url":"/api","name":"Provisioning templates","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/provisioning_templates/index","name":"index","apis":[{"api_url":"/api/provisioning_templates","http_method":"GET","short_description":"List provisioning templates","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/provisioning_templates","http_method":"GET","short_description":"List provisioning templates per operating system","deprecated":null},{"api_url":"/api/locations/:location_id/provisioning_templates","http_method":"GET","short_description":"List provisioning templates per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/provisioning_templates","http_method":"GET","short_description":"List provisioning templates per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/provisioning_templates\n200\n{\n \"total\": 11,\n \"subtotal\": 11,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 698706415,\n \"name\": \"iPXE Dummy Menu\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 718456980,\n \"name\": \"Locked Template\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 104314179,\n \"name\": \"MyFinish\",\n \"template_kind_id\": 550103832,\n \"template_kind_name\": \"finish\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 981457253,\n \"name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 943779058,\n \"name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 684651467,\n \"name\": \"PXE Default Menu\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 131565194,\n \"name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 821548108,\n \"name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n },\n {\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 352050261,\n \"name\": \"PXELinux global default\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/show","name":"show","apis":[{"api_url":"/api/provisioning_templates/:id","http_method":"GET","short_description":"Show provisioning template details","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/provisioning_templates/1007981701-centos5_3_pxelinux\n200\n{\n \"template\": \"default linux~label linux~kernel \u003c%= @kernel %\u003e~append initrd=\u003c%= @initrd %\u003e ks=\u003c%= foreman_url(\\\"kickstart\\\")%\u003e ksdevice=bootif network kssendmac\",\n \"locked\": false,\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\",\n \"template_combinations\": [],\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n }\n ],\n \"os_default_templates\": [\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 638205575,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 331303656,\n \"operatingsystem_name\": \"Ubuntu 10.10\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n }\n ],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/create","name":"create","apis":[{"api_url":"/api/provisioning_templates","http_method":"POST","short_description":"Create a provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"provisioning_template","full_name":"provisioning_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"provisioning_template[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template","full_name":"provisioning_template[template]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"snippet","full_name":"provisioning_template[snippet]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"audit_comment","full_name":"provisioning_template[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_kind_id","full_name":"provisioning_template[template_kind_id]","description":"\n\u003cp\u003enot relevant for snippet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_combinations_attributes","full_name":"provisioning_template[template_combinations_attributes]","description":"\n\u003cp\u003eArray of template combinations (hostgroup_id, environment_id)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"provisioning_template[operatingsystem_ids]","description":"\n\u003cp\u003eArray of operating system IDs to associate with the template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"locked","full_name":"provisioning_template[locked]","description":"\n\u003cp\u003eWhether or not the template is locked for editing\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"provisioning_template[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"provisioning_template[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/provisioning_templates\n{\n \"provisioning_template\": {\n \"template\": \"This is a test template\",\n \"template_kind_id\": \"698706415\",\n \"name\": \"RandomName\",\n \"locked\": true\n }\n}\n201\n{\n \"template\": \"This is a test template\",\n \"locked\": true,\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:48 UTC\",\n \"updated_at\": \"2016-06-28 17:38:48 UTC\",\n \"id\": 1007981714,\n \"name\": \"RandomName\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"template_combinations\": [],\n \"operatingsystems\": [],\n \"os_default_templates\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/update","name":"update","apis":[{"api_url":"/api/provisioning_templates/:id","http_method":"PUT","short_description":"Update a provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template","full_name":"provisioning_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"provisioning_template[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template","full_name":"provisioning_template[template]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"snippet","full_name":"provisioning_template[snippet]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"audit_comment","full_name":"provisioning_template[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_kind_id","full_name":"provisioning_template[template_kind_id]","description":"\n\u003cp\u003enot relevant for snippet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"template_combinations_attributes","full_name":"provisioning_template[template_combinations_attributes]","description":"\n\u003cp\u003eArray of template combinations (hostgroup_id, environment_id)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"provisioning_template[operatingsystem_ids]","description":"\n\u003cp\u003eArray of operating system IDs to associate with the template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"locked","full_name":"provisioning_template[locked]","description":"\n\u003cp\u003eWhether or not the template is locked for editing\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"provisioning_template[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"provisioning_template[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/provisioning_templates/1007981701-centos5_3_pxelinux\n{\n \"provisioning_template\": {\n \"template\": \"blah\"\n }\n}\n200\n{\n \"template\": \"blah\",\n \"locked\": false,\n \"snippet\": false,\n \"audit_comment\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:48 UTC\",\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\",\n \"template_combinations\": [],\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n }\n ],\n \"os_default_templates\": [\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 638205575,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 331303656,\n \"operatingsystem_name\": \"Ubuntu 10.10\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n }\n ],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/revision","name":"revision","apis":[{"api_url":"/api/provisioning_templates/revision","http_method":"GET","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"version","full_name":"version","description":"\n\u003cp\u003etemplate version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/destroy","name":"destroy","apis":[{"api_url":"/api/provisioning_templates/:id","http_method":"DELETE","short_description":"Delete a provisioning template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/provisioning_templates/1007981701-centos5_3_pxelinux\n200\n{\n \"id\": 1007981701,\n \"name\": \"centos5_3_pxelinux\",\n \"template\": \"default linux~label linux~kernel \u003c%= @kernel %\u003e~append initrd=\u003c%= @initrd %\u003e ks=\u003c%= foreman_url(\\\"kickstart\\\")%\u003e ksdevice=bootif network kssendmac\",\n \"snippet\": false,\n \"template_kind_id\": 452984334,\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"locked\": false,\n \"default\": false,\n \"vendor\": null,\n \"os_family\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/build_pxe_default","name":"build_pxe_default","apis":[{"api_url":"/api/provisioning_templates/build_pxe_default","http_method":"POST","short_description":"Update the default PXE menu on all configured TFTP servers","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["POST /api/provisioning_templates/build_pxe_default\n{\n \"provisioning_template\": {}\n}\n200\n{\n \"message\": \"PXE Default file has been deployed to all Smart Proxies\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/provisioning_templates/clone","name":"clone","apis":[{"api_url":"/api/provisioning_templates/:id/clone","http_method":"POST","short_description":"Clone a provision template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template","full_name":"provisioning_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"provisioning_template[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/provisioning_templates/1007981701-centos5_3_pxelinux/clone\n{\n \"provisioning_template\": {\n \"name\": \"\"\n }\n}\n422\n{\n \"error\": {\n \"id\": null,\n \"errors\": {\n \"name\": [\n \"can't be blank\"\n ],\n \"operatingsystems\": [\n \"is invalid\"\n ]\n },\n \"full_messages\": [\n \"Name can't be blank\",\n \"Operatingsystems is invalid\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"config_groups":{"doc_url":"../apidoc/v2/config_groups","api_url":"/api","name":"Config groups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/config_groups/index","name":"index","apis":[{"api_url":"/api/config_groups","http_method":"GET","short_description":"List of config groups","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_groups/show","name":"show","apis":[{"api_url":"/api/config_groups/:id","http_method":"GET","short_description":"Show a config group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_groups/create","name":"create","apis":[{"api_url":"/api/config_groups","http_method":"POST","short_description":"Create a config group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"config_group","full_name":"config_group","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"config_group[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_groups/update","name":"update","apis":[{"api_url":"/api/config_groups/:id","http_method":"PUT","short_description":"Update a config group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_group","full_name":"config_group","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"config_group[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/config_groups/destroy","name":"destroy","apis":[{"api_url":"/api/config_groups/:id","http_method":"DELETE","short_description":"Delete a config group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"models":{"doc_url":"../apidoc/v2/models","api_url":"/api","name":"Models","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/models/index","name":"index","apis":[{"api_url":"/api/models","http_method":"GET","short_description":"List all hardware models","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/models\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"info\": \"Virtual Machine\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"vendor_class\": null,\n \"hardware_model\": null,\n \"id\": 980190962,\n \"name\": \"KVM\"\n },\n {\n \"info\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"vendor_class\": \"Sun-Fire-V210\",\n \"hardware_model\": \"SUN4U\",\n \"id\": 139037058,\n \"name\": \"SUN V210\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/models/show","name":"show","apis":[{"api_url":"/api/models/:id","http_method":"GET","short_description":"Show a hardware model","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/models/KVM\n200\n{\n \"info\": \"Virtual Machine\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"vendor_class\": null,\n \"hardware_model\": null,\n \"id\": 980190962,\n \"name\": \"KVM\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/models/create","name":"create","apis":[{"api_url":"/api/models","http_method":"POST","short_description":"Create a hardware model","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"model","full_name":"model","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"model[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"info","full_name":"model[info]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"vendor_class","full_name":"model[vendor_class]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hardware_model","full_name":"model[hardware_model]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/models\n{\n \"model\": {\n \"name\": \"new model\"\n }\n}\n201\n{\n \"info\": null,\n \"created_at\": \"2016-06-28 17:38:38 UTC\",\n \"updated_at\": \"2016-06-28 17:38:38 UTC\",\n \"vendor_class\": null,\n \"hardware_model\": null,\n \"id\": 980190963,\n \"name\": \"new model\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/models/update","name":"update","apis":[{"api_url":"/api/models/:id","http_method":"PUT","short_description":"Update a hardware model","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"model","full_name":"model","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"model[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"info","full_name":"model[info]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"vendor_class","full_name":"model[vendor_class]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hardware_model","full_name":"model[hardware_model]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/models/KVM\n{\n \"name\": \"KVM\",\n \"model\": {\n \"name\": \"KVM\"\n }\n}\n200\n{\n \"info\": \"Virtual Machine\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"vendor_class\": null,\n \"hardware_model\": null,\n \"id\": 980190962,\n \"name\": \"KVM\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/models/destroy","name":"destroy","apis":[{"api_url":"/api/models/:id","http_method":"DELETE","short_description":"Delete a hardware model","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/models/KVM\n200\n{\n \"id\": 980190962,\n \"name\": \"KVM\",\n \"info\": \"Virtual Machine\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"vendor_class\": null,\n \"hardware_model\": null,\n \"hosts_count\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"permissions":{"doc_url":"../apidoc/v2/permissions","api_url":"/api","name":"Permissions","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/permissions/index","name":"index","apis":[{"api_url":"/api/permissions","http_method":"GET","short_description":"List all permissions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"resource_type","full_name":"resource_type","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/permissions\n200\n{\n \"total\": 143,\n \"subtotal\": 143,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"destroy_smart_proxies_autosign\",\n \"id\": 232378135,\n \"resource_type\": \"SmartProxy\"\n },\n {\n \"name\": \"view_smart_proxies_puppetca\",\n \"id\": 457371583,\n \"resource_type\": \"SmartProxy\"\n },\n {\n \"name\": \"edit_smart_proxies_puppetca\",\n \"id\": 564790459,\n \"resource_type\": \"SmartProxy\"\n },\n {\n \"name\": \"destroy_smart_proxies_puppetca\",\n \"id\": 297163795,\n \"resource_type\": \"SmartProxy\"\n },\n {\n \"name\": \"view_statistics\",\n \"id\": 955233873,\n \"resource_type\": null\n },\n {\n \"name\": \"view_subnets\",\n \"id\": 102149605,\n \"resource_type\": \"Subnet\"\n },\n {\n \"name\": \"create_subnets\",\n \"id\": 225652514,\n \"resource_type\": \"Subnet\"\n },\n {\n \"name\": \"edit_subnets\",\n \"id\": 364184483,\n \"resource_type\": \"Subnet\"\n },\n {\n \"name\": \"destroy_subnets\",\n \"id\": 320745391,\n \"resource_type\": \"Subnet\"\n },\n {\n \"name\": \"import_subnets\",\n \"id\": 1012601335,\n \"resource_type\": \"Subnet\"\n },\n {\n \"name\": \"view_tasks\",\n \"id\": 846971524,\n \"resource_type\": null\n },\n {\n \"name\": \"view_trends\",\n \"id\": 546525342,\n \"resource_type\": \"Trend\"\n },\n {\n \"name\": \"create_trends\",\n \"id\": 516852819,\n \"resource_type\": \"Trend\"\n },\n {\n \"name\": \"edit_trends\",\n \"id\": 180522257,\n \"resource_type\": \"Trend\"\n },\n {\n \"name\": \"destroy_trends\",\n \"id\": 139524545,\n \"resource_type\": \"Trend\"\n },\n {\n \"name\": \"update_trends\",\n \"id\": 664384523,\n \"resource_type\": \"Trend\"\n },\n {\n \"name\": \"view_usergroups\",\n \"id\": 44766150,\n \"resource_type\": \"Usergroup\"\n },\n {\n \"name\": \"create_usergroups\",\n \"id\": 198876242,\n \"resource_type\": \"Usergroup\"\n },\n {\n \"name\": \"edit_usergroups\",\n \"id\": 225115552,\n \"resource_type\": \"Usergroup\"\n },\n {\n \"name\": \"destroy_usergroups\",\n \"id\": 1032290172,\n \"resource_type\": \"Usergroup\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/permissions/show","name":"show","apis":[{"api_url":"/api/permissions/:id","http_method":"GET","short_description":"Show a permission","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/permissions/350275019\n200\n{\n \"name\": \"view_architectures\",\n \"id\": 350275019,\n \"resource_type\": \"Architecture\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/permissions/resource_types","name":"resource_types","apis":[{"api_url":"/api/permissions/resource_types","http_method":"GET","short_description":"List available resource types.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/permissions/resource_types\n200\n{\n \"total\": 33,\n \"subtotal\": 33,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"Architecture\"\n },\n {\n \"name\": \"Audit\"\n },\n {\n \"name\": \"AuthSourceLdap\"\n },\n {\n \"name\": \"Bookmark\"\n },\n {\n \"name\": \"CommonParameter\"\n },\n {\n \"name\": \"ComputeResource\"\n },\n {\n \"name\": \"ConfigReport\"\n },\n {\n \"name\": \"Domain\"\n },\n {\n \"name\": \"Environment\"\n },\n {\n \"name\": \"FactValue\"\n },\n {\n \"name\": \"Host\"\n },\n {\n \"name\": \"HostClass\"\n },\n {\n \"name\": \"Hostgroup\"\n },\n {\n \"name\": \"Image\"\n },\n {\n \"name\": \"Location\"\n },\n {\n \"name\": \"Medium\"\n },\n {\n \"name\": \"Model\"\n },\n {\n \"name\": \"Operatingsystem\"\n },\n {\n \"name\": \"Organization\"\n },\n {\n \"name\": \"Parameter\"\n },\n {\n \"name\": \"ProvisioningTemplate\"\n },\n {\n \"name\": \"Ptable\"\n },\n {\n \"name\": \"Puppetclass\"\n },\n {\n \"name\": \"PuppetclassLookupKey\"\n },\n {\n \"name\": \"Realm\"\n },\n {\n \"name\": \"Report\"\n },\n {\n \"name\": \"Role\"\n },\n {\n \"name\": \"SmartProxy\"\n },\n {\n \"name\": \"Subnet\"\n },\n {\n \"name\": \"Trend\"\n },\n {\n \"name\": \"User\"\n },\n {\n \"name\": \"Usergroup\"\n },\n {\n \"name\": \"VariableLookupKey\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"organizations":{"doc_url":"../apidoc/v2/organizations","api_url":"/api","name":"Organizations","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/organizations/index","name":"index","apis":[{"api_url":"/katello/api/organizations","http_method":"GET","short_description":"List all organizations","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["GET /api/organizations\n200\n{\n \"total\": 3,\n \"subtotal\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 114267492,\n \"name\": \"Empty Organization\",\n \"title\": \"Empty Organization\",\n \"description\": null\n },\n {\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n },\n {\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 61304186,\n \"name\": \"Organization 2\",\n \"title\": \"Organization 2\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/show","name":"show","apis":[{"api_url":"/katello/api/organizations/:id","http_method":"GET","short_description":"Show organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eorganization ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/create","name":"create","apis":[{"api_url":"/katello/api/organizations","http_method":"POST","short_description":"Create organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"\n\u003cp\u003ename\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"label","full_name":"label","description":"\n\u003cp\u003eunique label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003edescription\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization","full_name":"organization","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"organization[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"organization[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_ids","full_name":"organization[user_ids]","description":"\n\u003cp\u003eUser IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy_ids","full_name":"organization[smart_proxy_ids]","description":"\n\u003cp\u003eSmart proxy IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_ids","full_name":"organization[compute_resource_ids]","description":"\n\u003cp\u003eCompute resource IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"media_ids","full_name":"organization[media_ids]","description":"\n\u003cp\u003eMedia IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"config_template_ids","full_name":"organization[config_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"ptable_ids","full_name":"organization[ptable_ids]","description":"\n\u003cp\u003ePartition template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_ids","full_name":"organization[provisioning_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"organization[domain_ids]","description":"\n\u003cp\u003eDomain IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"realm_ids","full_name":"organization[realm_ids]","description":"\n\u003cp\u003eRealm IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_ids","full_name":"organization[hostgroup_ids]","description":"\n\u003cp\u003eHost group IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"environment_ids","full_name":"organization[environment_ids]","description":"\n\u003cp\u003eEnvironment IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"subnet_ids","full_name":"organization[subnet_ids]","description":"\n\u003cp\u003eSubnet IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"label","full_name":"organization[label]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/update","name":"update","apis":[{"api_url":"/katello/api/organizations/:id","http_method":"PUT","short_description":"Update organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eorganization ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"redhat_repository_url","full_name":"redhat_repository_url","description":"\n\u003cp\u003eRed Hat CDN URL\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization","full_name":"organization","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"organization[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"organization[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_ids","full_name":"organization[user_ids]","description":"\n\u003cp\u003eUser IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy_ids","full_name":"organization[smart_proxy_ids]","description":"\n\u003cp\u003eSmart proxy IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_ids","full_name":"organization[compute_resource_ids]","description":"\n\u003cp\u003eCompute resource IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"media_ids","full_name":"organization[media_ids]","description":"\n\u003cp\u003eMedia IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"config_template_ids","full_name":"organization[config_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"ptable_ids","full_name":"organization[ptable_ids]","description":"\n\u003cp\u003ePartition template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_ids","full_name":"organization[provisioning_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"organization[domain_ids]","description":"\n\u003cp\u003eDomain IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"realm_ids","full_name":"organization[realm_ids]","description":"\n\u003cp\u003eRealm IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_ids","full_name":"organization[hostgroup_ids]","description":"\n\u003cp\u003eHost group IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"environment_ids","full_name":"organization[environment_ids]","description":"\n\u003cp\u003eEnvironment IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"subnet_ids","full_name":"organization[subnet_ids]","description":"\n\u003cp\u003eSubnet IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"parent_id","full_name":"organization[parent_id]","description":"\n\u003cp\u003eParent ID\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/destroy","name":"destroy","apis":[{"api_url":"/katello/api/organizations/:id","http_method":"DELETE","short_description":"Delete an organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eOrganization ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/repo_discover","name":"repo_discover","apis":[{"api_url":"/katello/api/organizations/:id/repo_discover","http_method":"PUT","short_description":"Discover Repositories","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eOrganization ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"url","description":"\n\u003cp\u003ebase url to perform repo discovery on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/cancel_repo_discover","name":"cancel_repo_discover","apis":[{"api_url":"/katello/api/organizations/:label/cancel_repo_discover","http_method":"PUT","short_description":"Cancel repository discovery","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"label","full_name":"label","description":"\n\u003cp\u003eOrganization label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"url","description":"\n\u003cp\u003ebase url to perform repo discovery on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/download_debug_certificate","name":"download_debug_certificate","apis":[{"api_url":"/katello/api/organizations/:label/download_debug_certificate","http_method":"GET","short_description":"Download a debug certificate","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"label","full_name":"label","description":"\n\u003cp\u003eOrganization label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/autoattach_subscriptions","name":"autoattach_subscriptions","apis":[{"api_url":"/katello/api/organizations/:id/autoattach_subscriptions","http_method":"POST","short_description":"Auto-attach available subscriptions to all systems within an organization. Asynchronous operation.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/organizations/redhat_provider","name":"redhat_provider","apis":[{"api_url":"/katello/api/organizations/:id/redhat_provider","http_method":"GET","short_description":"List all :resource_id","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"roles":{"doc_url":"../apidoc/v2/roles","api_url":"/api","name":"Roles","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/roles/index","name":"index","apis":[{"api_url":"/api/roles","http_method":"GET","short_description":"List all roles","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/roles\n200\n{\n \"total\": 11,\n \"subtotal\": 11,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": \"name\",\n \"order\": \"ASC\"\n },\n \"results\": [\n {\n \"builtin\": 0,\n \"name\": \"Create hosts\",\n \"id\": 9\n },\n {\n \"builtin\": 0,\n \"name\": \"CRUD hosts\",\n \"id\": 12\n },\n {\n \"builtin\": 2,\n \"name\": \"Default role\",\n \"id\": 7\n },\n {\n \"builtin\": 0,\n \"name\": \"Destroy hosts\",\n \"id\": 8\n },\n {\n \"builtin\": 0,\n \"name\": \"Edit hosts\",\n \"id\": 4\n },\n {\n \"builtin\": 0,\n \"name\": \"Edit partition tables\",\n \"id\": 2\n },\n {\n \"builtin\": 0,\n \"name\": \"Manager\",\n \"id\": 1\n },\n {\n \"builtin\": 0,\n \"name\": \"No rights\",\n \"id\": 10\n },\n {\n \"builtin\": 0,\n \"name\": \"View compute resources\",\n \"id\": 11\n },\n {\n \"builtin\": 0,\n \"name\": \"Viewer\",\n \"id\": 5\n },\n {\n \"builtin\": 0,\n \"name\": \"View hosts\",\n \"id\": 3\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/roles/show","name":"show","apis":[{"api_url":"/api/roles/:id","http_method":"GET","short_description":"Show a role","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/roles/1-Manager\n200\n{\n \"builtin\": 0,\n \"name\": \"Manager\",\n \"id\": 1,\n \"filters\": [\n {\n \"id\": 139728896\n },\n {\n \"id\": 170801529\n },\n {\n \"id\": 222559602\n },\n {\n \"id\": 225912082\n },\n {\n \"id\": 255448041\n },\n {\n \"id\": 291325508\n },\n {\n \"id\": 321349837\n },\n {\n \"id\": 340438230\n },\n {\n \"id\": 343831726\n },\n {\n \"id\": 372277853\n },\n {\n \"id\": 503111935\n },\n {\n \"id\": 528928374\n },\n {\n \"id\": 557298380\n },\n {\n \"id\": 592288835\n },\n {\n \"id\": 595149887\n },\n {\n \"id\": 643462867\n },\n {\n \"id\": 679608033\n },\n {\n \"id\": 721145960\n },\n {\n \"id\": 943645556\n },\n {\n \"id\": 977587707\n },\n {\n \"id\": 980424071\n },\n {\n \"id\": 1026099682\n },\n {\n \"id\": 1062414187\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/roles/create","name":"create","apis":[{"api_url":"/api/roles","http_method":"POST","short_description":"Create a role","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"role","full_name":"role","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"role[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/roles\n{\n \"role\": {\n \"name\": \"staff\"\n }\n}\n201\n{\n \"builtin\": 0,\n \"name\": \"staff\",\n \"id\": 23,\n \"filters\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/roles/update","name":"update","apis":[{"api_url":"/api/roles/:id","http_method":"PUT","short_description":"Update a role","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"role","full_name":"role","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"role[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/roles/1-Manager\n{\n \"role\": {\n \"name\": \"staff\"\n }\n}\n200\n{\n \"builtin\": 0,\n \"name\": \"staff\",\n \"id\": 1,\n \"filters\": [\n {\n \"id\": 139728896\n },\n {\n \"id\": 170801529\n },\n {\n \"id\": 222559602\n },\n {\n \"id\": 225912082\n },\n {\n \"id\": 255448041\n },\n {\n \"id\": 291325508\n },\n {\n \"id\": 321349837\n },\n {\n \"id\": 340438230\n },\n {\n \"id\": 343831726\n },\n {\n \"id\": 372277853\n },\n {\n \"id\": 503111935\n },\n {\n \"id\": 528928374\n },\n {\n \"id\": 557298380\n },\n {\n \"id\": 592288835\n },\n {\n \"id\": 595149887\n },\n {\n \"id\": 643462867\n },\n {\n \"id\": 679608033\n },\n {\n \"id\": 721145960\n },\n {\n \"id\": 943645556\n },\n {\n \"id\": 977587707\n },\n {\n \"id\": 980424071\n },\n {\n \"id\": 1026099682\n },\n {\n \"id\": 1062414187\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/roles/destroy","name":"destroy","apis":[{"api_url":"/api/roles/:id","http_method":"DELETE","short_description":"Delete a role","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/roles/1-Manager\n200\n{\n \"id\": 1,\n \"name\": \"Manager\",\n \"builtin\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"smart_variables":{"doc_url":"../apidoc/v2/smart_variables","api_url":"/api","name":"Smart variables","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/smart_variables/index","name":"index","apis":[{"api_url":"/api/smart_variables","http_method":"GET","short_description":"List all smart variables","deprecated":null},{"api_url":"/api/hosts/:host_id/smart_variables","http_method":"GET","short_description":"List of smart variables for a specific host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/smart_variables","http_method":"GET","short_description":"List of smart variables for a specific host group","deprecated":null},{"api_url":"/api/puppetclasses/:puppetclass_id/smart_variables","http_method":"GET","short_description":"List of smart variables for a specific Puppet class","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/smart_variables\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"description\": null,\n \"parameter_type\": \"string\",\n \"default_value\": \"secret\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"validator_type\": null,\n \"validator_rule\": null,\n \"override_value_order\": \"organization,location\",\n \"override_values_count\": 0,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"puppetclass_id\": 298486374,\n \"puppetclass_name\": \"apache\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"variable\": \"special_info\",\n \"id\": 281110143\n },\n {\n \"description\": null,\n \"parameter_type\": \"string\",\n \"default_value\": \"443\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"validator_type\": \"list\",\n \"validator_rule\": \"443,8443\",\n \"override_value_order\": \"fqdn\\nhostgroup\\nos\\ndomain\",\n \"override_values_count\": 0,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"puppetclass_id\": 980190962,\n \"puppetclass_name\": \"base\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"variable\": \"ssl_port\",\n \"id\": 298486374\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_variables/show","name":"show","apis":[{"api_url":"/api/smart_variables/:id","http_method":"GET","short_description":"Show a smart variable","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/puppetclasses/980190962/smart_variables/298486374-ssl_port\n200\n{\n \"description\": null,\n \"parameter_type\": \"string\",\n \"default_value\": \"443\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"validator_type\": \"list\",\n \"validator_rule\": \"443,8443\",\n \"override_value_order\": \"fqdn\\nhostgroup\\nos\\ndomain\",\n \"override_values_count\": 0,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"puppetclass_id\": 980190962,\n \"puppetclass_name\": \"base\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"variable\": \"ssl_port\",\n \"id\": 298486374,\n \"override_values\": [\n {\n \"id\": 281110143,\n \"match\": \"hostgroup=Common\",\n \"value\": \"8443\",\n \"use_puppet_default\": false\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_variables/create","name":"create","apis":[{"api_url":"/api/smart_variables","http_method":"POST","short_description":"Create a smart variable","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_variable","full_name":"smart_variable","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"variable","full_name":"smart_variable[variable]","description":"\n\u003cp\u003eName of variable\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_id","full_name":"smart_variable[puppetclass_id]","description":"\n\u003cp\u003ePuppet class ID\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"default_value","full_name":"smart_variable[default_value]","description":"\n\u003cp\u003eDefault value of variable\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hidden_value","full_name":"smart_variable[hidden_value]","description":"\n\u003cp\u003eWhen enabled the parameter is hidden in the UI\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"override_value_order","full_name":"smart_variable[override_value_order]","description":"\n\u003cp\u003eThe order in which values are resolved\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"smart_variable[description]","description":"\n\u003cp\u003eDescription of variable\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"validator_type","full_name":"smart_variable[validator_type]","description":"\n\u003cp\u003eTypes of validation values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eregexp\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"validator_rule","full_name":"smart_variable[validator_rule]","description":"\n\u003cp\u003eUsed to enforce certain values for the parameter values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"variable_type","full_name":"smart_variable[variable_type]","description":"\n\u003cp\u003eTypes of variable values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003estring\u003c/code\u003e, \u003ccode\u003eboolean\u003c/code\u003e, \u003ccode\u003einteger\u003c/code\u003e, \u003ccode\u003ereal\u003c/code\u003e, \u003ccode\u003earray\u003c/code\u003e, \u003ccode\u003ehash\u003c/code\u003e, \u003ccode\u003eyaml\u003c/code\u003e, \u003ccode\u003ejson\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"merge_overrides","full_name":"smart_variable[merge_overrides]","description":"\n\u003cp\u003eMerge all matching values (only array/hash type)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"merge_default","full_name":"smart_variable[merge_default]","description":"\n\u003cp\u003eInclude default value when merging all matching values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"avoid_duplicates","full_name":"smart_variable[avoid_duplicates]","description":"\n\u003cp\u003eRemove duplicate values (only array type)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/smart_variables\n{\n \"smart_variable\": {\n \"variable\": \"test_smart_variable\",\n \"puppetclass_id\": \"980190962\"\n }\n}\n201\n{\n \"description\": null,\n \"parameter_type\": null,\n \"default_value\": null,\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"validator_type\": null,\n \"validator_rule\": null,\n \"override_value_order\": \"fqdn\\nhostgroup\\nos\\ndomain\",\n \"override_values_count\": 0,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"puppetclass_id\": 980190962,\n \"puppetclass_name\": \"base\",\n \"created_at\": \"2016-06-28 17:39:06 UTC\",\n \"updated_at\": \"2016-06-28 17:39:06 UTC\",\n \"variable\": \"test_smart_variable\",\n \"id\": 1018350803,\n \"override_values\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_variables/update","name":"update","apis":[{"api_url":"/api/smart_variables/:id","http_method":"PUT","short_description":"Update a smart variable","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_variable","full_name":"smart_variable","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"variable","full_name":"smart_variable[variable]","description":"\n\u003cp\u003eName of variable\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_id","full_name":"smart_variable[puppetclass_id]","description":"\n\u003cp\u003ePuppet class ID\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"default_value","full_name":"smart_variable[default_value]","description":"\n\u003cp\u003eDefault value of variable\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hidden_value","full_name":"smart_variable[hidden_value]","description":"\n\u003cp\u003eWhen enabled the parameter is hidden in the UI\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"override_value_order","full_name":"smart_variable[override_value_order]","description":"\n\u003cp\u003eThe order in which values are resolved\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"smart_variable[description]","description":"\n\u003cp\u003eDescription of variable\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"validator_type","full_name":"smart_variable[validator_type]","description":"\n\u003cp\u003eTypes of validation values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eregexp\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"validator_rule","full_name":"smart_variable[validator_rule]","description":"\n\u003cp\u003eUsed to enforce certain values for the parameter values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"variable_type","full_name":"smart_variable[variable_type]","description":"\n\u003cp\u003eTypes of variable values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003estring\u003c/code\u003e, \u003ccode\u003eboolean\u003c/code\u003e, \u003ccode\u003einteger\u003c/code\u003e, \u003ccode\u003ereal\u003c/code\u003e, \u003ccode\u003earray\u003c/code\u003e, \u003ccode\u003ehash\u003c/code\u003e, \u003ccode\u003eyaml\u003c/code\u003e, \u003ccode\u003ejson\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"merge_overrides","full_name":"smart_variable[merge_overrides]","description":"\n\u003cp\u003eMerge all matching values (only array/hash type)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"merge_default","full_name":"smart_variable[merge_default]","description":"\n\u003cp\u003eInclude default value when merging all matching values\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"avoid_duplicates","full_name":"smart_variable[avoid_duplicates]","description":"\n\u003cp\u003eRemove duplicate values (only array type)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/smart_variables/281110143-special_info\n{\n \"smart_variable\": {\n \"default_value\": \"newstring\"\n }\n}\n200\n{\n \"description\": null,\n \"parameter_type\": \"string\",\n \"default_value\": \"newstring\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"validator_type\": null,\n \"validator_rule\": null,\n \"override_value_order\": \"organization,location\",\n \"override_values_count\": 0,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"puppetclass_id\": 298486374,\n \"puppetclass_name\": \"apache\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:39:05 UTC\",\n \"variable\": \"special_info\",\n \"id\": 281110143,\n \"override_values\": [\n {\n \"id\": 1018350795,\n \"match\": \"hostgroup=Parent\",\n \"value\": \"8443\",\n \"use_puppet_default\": false\n },\n {\n \"id\": 51848956,\n \"match\": \"hostgroup=Parent/inherited\",\n \"value\": \"8443\",\n \"use_puppet_default\": false\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_variables/destroy","name":"destroy","apis":[{"api_url":"/api/smart_variables/:id","http_method":"DELETE","short_description":"Delete a smart variable","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/smart_variables/281110143-special_info\n200\n{\n \"description\": null,\n \"parameter_type\": \"string\",\n \"default_value\": \"secret\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"validator_type\": null,\n \"validator_rule\": null,\n \"override_value_order\": \"organization,location\",\n \"override_values_count\": 0,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"puppetclass_id\": 298486374,\n \"puppetclass_name\": \"apache\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"variable\": \"special_info\",\n \"id\": 281110143,\n \"override_values\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"architectures":{"doc_url":"../apidoc/v2/architectures","api_url":"/api","name":"Architectures","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/architectures/index","name":"index","apis":[{"api_url":"/api/architectures","http_method":"GET","short_description":"List all architectures","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/architectures","http_method":"GET","short_description":"List all architectures for operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/architectures\n200\n{\n \"total\": 3,\n \"subtotal\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"x86_64\",\n \"id\": 501905019\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"sparc\",\n \"id\": 331892513\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"s390\",\n \"id\": 381564594\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/architectures/show","name":"show","apis":[{"api_url":"/api/architectures/:id","http_method":"GET","short_description":"Show an architecture","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/architectures/501905019-x86_64\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"x86_64\",\n \"id\": 501905019,\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n },\n {\n \"id\": 272342666,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 12.10\"\n }\n ],\n \"images\": [\n {\n \"id\": 980190962,\n \"name\": \"centos-1\"\n },\n {\n \"id\": 298486374,\n \"name\": \"centos-2\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/architectures/create","name":"create","apis":[{"api_url":"/api/architectures","http_method":"POST","short_description":"Create an architecture","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"architecture","full_name":"architecture","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"architecture[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"architecture[operatingsystem_ids]","description":"\n\u003cp\u003eOperating system IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/architectures\n{\n \"architecture\": {\n \"name\": \"i386\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:37:50 UTC\",\n \"updated_at\": \"2016-06-28 17:37:50 UTC\",\n \"name\": \"i386\",\n \"id\": 501905021,\n \"operatingsystems\": [],\n \"images\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/architectures/update","name":"update","apis":[{"api_url":"/api/architectures/:id","http_method":"PUT","short_description":"Update an architecture","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture","full_name":"architecture","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"architecture[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"architecture[operatingsystem_ids]","description":"\n\u003cp\u003eOperating system IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/architectures/501905019-x86_64\n{\n \"architecture\": {\n \"name\": \"newx86_64\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:37:50 UTC\",\n \"name\": \"newx86_64\",\n \"id\": 501905019,\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n },\n {\n \"id\": 331303656,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 10.10\"\n },\n {\n \"id\": 272342666,\n \"name\": \"Ubuntu\",\n \"title\": \"Ubuntu 12.10\"\n }\n ],\n \"images\": [\n {\n \"id\": 980190962,\n \"name\": \"centos-1\"\n },\n {\n \"id\": 298486374,\n \"name\": \"centos-2\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/architectures/destroy","name":"destroy","apis":[{"api_url":"/api/architectures/:id","http_method":"DELETE","short_description":"Delete an architecture","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/architectures/381564594-s390\n200\n{\n \"id\": 381564594,\n \"name\": \"s390\",\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"hosts_count\": 0,\n \"hostgroups_count\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"mail_notifications":{"doc_url":"../apidoc/v2/mail_notifications","api_url":"/api","name":"Mail notifications","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/mail_notifications/index","name":"index","apis":[{"api_url":"/api/mail_notifications","http_method":"GET","short_description":"List of email notifications","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/mail_notifications/show","name":"show","apis":[{"api_url":"/api/mail_notifications/:id","http_method":"GET","short_description":"Show an email notification","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eNumerical ID or email notification name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"statistics":{"doc_url":"../apidoc/v2/statistics","api_url":"/api","name":"Statistics","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/statistics/index","name":"index","apis":[{"api_url":"/api/statistics","http_method":"GET","short_description":"Get statistics","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/statistics\n200\n{\n \"os_count\": [],\n \"arch_count\": [],\n \"swap_size\": 0,\n \"env_count\": [],\n \"klass_count\": [\n {\n \"label\": \"base\",\n \"data\": 1\n }\n ],\n \"cpu_count\": [],\n \"model_count\": [],\n \"mem_size\": 0,\n \"mem_free\": 0,\n \"swap_free\": 0,\n \"mem_totsize\": 0.0,\n \"mem_totfree\": 0.0\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"locations":{"doc_url":"../apidoc/v2/locations","api_url":"/api","name":"Locations","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/locations/index","name":"index","apis":[{"api_url":"/api/locations","http_method":"GET","short_description":"List all locations","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/locations\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n },\n {\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 373111740,\n \"name\": \"Location 2\",\n \"title\": \"Location 2\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/locations/show","name":"show","apis":[{"api_url":"/api/locations/:id","http_method":"GET","short_description":"Show a location","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/locations/255093256?root_name=false\n200\n{\n \"select_all_types\": [],\n \"description\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ancestry\": null,\n \"parent_id\": null,\n \"parent_name\": null,\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"users\": [],\n \"smart_proxies\": [\n {\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\"\n },\n {\n \"name\": \"DNS Proxy\",\n \"id\": 113629430,\n \"url\": \"http://else.where:45671\"\n },\n {\n \"name\": \"Puppetmaster Proxy\",\n \"id\": 182953976,\n \"url\": \"http://else.where:4567\"\n },\n {\n \"name\": \"Realm Proxy\",\n \"id\": 982965213,\n \"url\": \"http://else.where:1337\"\n },\n {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n }\n ],\n \"subnets\": [\n {\n \"id\": 980190962,\n \"name\": \"one\",\n \"network_address\": \"2.3.4.0/24\"\n }\n ],\n \"compute_resources\": [\n {\n \"id\": 980190962,\n \"name\": \"bigcompute\",\n \"provider\": \"Libvirt\",\n \"provider_friendly_name\": \"Libvirt\"\n }\n ],\n \"media\": [\n {\n \"id\": 980190962,\n \"name\": \"CentOS 5.4\"\n }\n ],\n \"config_templates\": [\n {\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n }\n ],\n \"ptables\": [],\n \"provisioning_templates\": [\n {\n \"id\": 269958254,\n \"name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\"\n }\n ],\n \"domains\": [\n {\n \"id\": 22495316,\n \"name\": \"mydomain.net\"\n },\n {\n \"id\": 589326610,\n \"name\": \"yourdomain.net\"\n }\n ],\n \"realms\": [\n {\n \"id\": 664044182,\n \"name\": \"myrealm.net\",\n \"realm_proxy_id\": 982965213,\n \"realm_type\": \"FreeIPA\"\n }\n ],\n \"environments\": [\n {\n \"name\": \"production\",\n \"id\": 334344675\n }\n ],\n \"hostgroups\": [],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ],\n \"parameters\": [\n {\n \"id\": 513706444,\n \"name\": \"loc_param\",\n \"value\": \"abc\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/locations/create","name":"create","apis":[{"api_url":"/api/locations","http_method":"POST","short_description":"Create a location","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location","full_name":"location","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"location[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"location[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_ids","full_name":"location[user_ids]","description":"\n\u003cp\u003eUser IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy_ids","full_name":"location[smart_proxy_ids]","description":"\n\u003cp\u003eSmart proxy IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_ids","full_name":"location[compute_resource_ids]","description":"\n\u003cp\u003eCompute resource IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"media_ids","full_name":"location[media_ids]","description":"\n\u003cp\u003eMedia IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"config_template_ids","full_name":"location[config_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"ptable_ids","full_name":"location[ptable_ids]","description":"\n\u003cp\u003ePartition template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_ids","full_name":"location[provisioning_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"location[domain_ids]","description":"\n\u003cp\u003eDomain IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"realm_ids","full_name":"location[realm_ids]","description":"\n\u003cp\u003eRealm IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_ids","full_name":"location[hostgroup_ids]","description":"\n\u003cp\u003eHost group IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"environment_ids","full_name":"location[environment_ids]","description":"\n\u003cp\u003eEnvironment IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"subnet_ids","full_name":"location[subnet_ids]","description":"\n\u003cp\u003eSubnet IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"parent_id","full_name":"location[parent_id]","description":"\n\u003cp\u003eParent ID\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/locations\n{\n \"location\": {\n \"name\": \"\"\n }\n}\n422\n{\n \"error\": {\n \"id\": null,\n \"errors\": {\n \"name\": [\n \"can't be blank\"\n ],\n \"title\": [\n \"can't be blank\"\n ]\n },\n \"full_messages\": [\n \"Name can't be blank\",\n \"Title can't be blank\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/locations/update","name":"update","apis":[{"api_url":"/api/locations/:id","http_method":"PUT","short_description":"Update a location","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location","full_name":"location","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"location[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"location[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_ids","full_name":"location[user_ids]","description":"\n\u003cp\u003eUser IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy_ids","full_name":"location[smart_proxy_ids]","description":"\n\u003cp\u003eSmart proxy IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_ids","full_name":"location[compute_resource_ids]","description":"\n\u003cp\u003eCompute resource IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"media_ids","full_name":"location[media_ids]","description":"\n\u003cp\u003eMedia IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"config_template_ids","full_name":"location[config_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"ptable_ids","full_name":"location[ptable_ids]","description":"\n\u003cp\u003ePartition template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_ids","full_name":"location[provisioning_template_ids]","description":"\n\u003cp\u003eProvisioning template IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"location[domain_ids]","description":"\n\u003cp\u003eDomain IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"realm_ids","full_name":"location[realm_ids]","description":"\n\u003cp\u003eRealm IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_ids","full_name":"location[hostgroup_ids]","description":"\n\u003cp\u003eHost group IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"environment_ids","full_name":"location[environment_ids]","description":"\n\u003cp\u003eEnvironment IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"subnet_ids","full_name":"location[subnet_ids]","description":"\n\u003cp\u003eSubnet IDs\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"parent_id","full_name":"location[parent_id]","description":"\n\u003cp\u003eParent ID\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/locations/255093256-Location%201\n{\n \"location\": {\n \"name\": \"\"\n }\n}\n422\n{\n \"error\": {\n \"id\": 255093256,\n \"errors\": {\n \"name\": [\n \"can't be blank\"\n ],\n \"title\": [\n \"can't be blank\"\n ]\n },\n \"full_messages\": [\n \"Name can't be blank\",\n \"Title can't be blank\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/locations/destroy","name":"destroy","apis":[{"api_url":"/api/locations/:id","http_method":"DELETE","short_description":"Delete a location","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["DELETE /api/locations/255093256-Location%201\n422\n{\n \"error\": {\n \"id\": 255093256,\n \"errors\": {\n \"base\": [\n \"Location 1 is used by host175\"\n ]\n },\n \"full_messages\": [\n \"Location 1 is used by host175\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"compute_resources":{"doc_url":"../apidoc/v2/compute_resources","api_url":"/api","name":"Compute resources","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/compute_resources/index","name":"index","apis":[{"api_url":"/api/compute_resources","http_method":"GET","short_description":"List all compute resources","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"description\": \"mycompute\",\n \"url\": \"test:///default\",\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 367690737,\n \"name\": \"mycompute\",\n \"provider\": \"Libvirt\",\n \"provider_friendly_name\": \"Libvirt\",\n \"display_type\": \"vnc\",\n \"set_console_password\": true\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/show","name":"show","apis":[{"api_url":"/api/compute_resources/:id","http_method":"GET","short_description":"Show a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/367690737-mycompute\n200\n{\n \"description\": \"mycompute\",\n \"url\": \"test:///default\",\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 367690737,\n \"name\": \"mycompute\",\n \"provider\": \"Libvirt\",\n \"provider_friendly_name\": \"Libvirt\",\n \"display_type\": \"vnc\",\n \"set_console_password\": true,\n \"images\": [],\n \"compute_attributes\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/create","name":"create","apis":[{"api_url":"/api/compute_resources","http_method":"POST","short_description":"Create a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource","full_name":"compute_resource","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"compute_resource[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provider","full_name":"compute_resource[provider]","description":"\n\u003cp\u003eProviders include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE, Docker\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"compute_resource[url]","description":"\n\u003cp\u003eURL for Libvirt, oVirt, and OpenStack\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"compute_resource[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user","full_name":"compute_resource[user]","description":"\n\u003cp\u003eUsername for oVirt, EC2, VMware, OpenStack. Access Key for EC2.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"compute_resource[password]","description":"\n\u003cp\u003ePassword for oVirt, EC2, VMware, OpenStack. Secret key for EC2\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"compute_resource[uuid]","description":"\n\u003cp\u003efor oVirt, VMware Datacenter\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"region","full_name":"compute_resource[region]","description":"\n\u003cp\u003efor EC2 only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tenant","full_name":"compute_resource[tenant]","description":"\n\u003cp\u003efor OpenStack only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"server","full_name":"compute_resource[server]","description":"\n\u003cp\u003efor VMware\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"set_console_password","full_name":"compute_resource[set_console_password]","description":"\n\u003cp\u003efor Libvirt and VMware only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"display_type","full_name":"compute_resource[display_type]","description":"\n\u003cp\u003efor Libvirt only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eVNC\u003c/code\u003e, \u003ccode\u003eSPICE\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"compute_resource[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"compute_resource[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/compute_resources\n{\n \"compute_resource\": {\n \"name\": \"special_compute\",\n \"provider\": \"EC2\",\n \"region\": \"eu-west-1\",\n \"user\": \"user@example.com\",\n \"password\": \"secret\"\n }\n}\n201\n{\n \"description\": null,\n \"url\": \"eu-west-1\",\n \"created_at\": \"2016-06-28 17:37:53 UTC\",\n \"updated_at\": \"2016-06-28 17:37:53 UTC\",\n \"id\": 980190965,\n \"name\": \"special_compute\",\n \"provider\": \"EC2\",\n \"provider_friendly_name\": \"EC2\",\n \"access_key\": \"user@example.com\",\n \"region\": \"eu-west-1\",\n \"images\": [],\n \"compute_attributes\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/update","name":"update","apis":[{"api_url":"/api/compute_resources/:id","http_method":"PUT","short_description":"Update a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource","full_name":"compute_resource","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"compute_resource[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provider","full_name":"compute_resource[provider]","description":"\n\u003cp\u003eProviders include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE, Docker\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"compute_resource[url]","description":"\n\u003cp\u003eURL for Libvirt, oVirt, and OpenStack\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"compute_resource[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user","full_name":"compute_resource[user]","description":"\n\u003cp\u003eUsername for oVirt, EC2, VMware, OpenStack. Access Key for EC2.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"compute_resource[password]","description":"\n\u003cp\u003ePassword for oVirt, EC2, VMware, OpenStack. Secret key for EC2\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"compute_resource[uuid]","description":"\n\u003cp\u003efor oVirt, VMware Datacenter\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"region","full_name":"compute_resource[region]","description":"\n\u003cp\u003efor EC2 only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tenant","full_name":"compute_resource[tenant]","description":"\n\u003cp\u003efor OpenStack only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"server","full_name":"compute_resource[server]","description":"\n\u003cp\u003efor VMware\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"set_console_password","full_name":"compute_resource[set_console_password]","description":"\n\u003cp\u003efor Libvirt and VMware only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"display_type","full_name":"compute_resource[display_type]","description":"\n\u003cp\u003efor Libvirt only\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eVNC\u003c/code\u003e, \u003ccode\u003eSPICE\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"compute_resource[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"compute_resource[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/compute_resources/305613588\n{\n \"compute_resource\": {\n \"set_console_password\": true\n }\n}\n200\n{\n \"description\": \"vmware resource\",\n \"url\": \"https://myvmware/api\",\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:37:54 UTC\",\n \"id\": 305613588,\n \"name\": \"Vmware\",\n \"provider\": \"Vmware\",\n \"provider_friendly_name\": \"VMware\",\n \"user\": \"MyString\",\n \"datacenter\": \"1234567891011\",\n \"server\": \"https://myvmware/api\",\n \"set_console_password\": true,\n \"images\": [],\n \"compute_attributes\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/destroy","name":"destroy","apis":[{"api_url":"/api/compute_resources/:id","http_method":"DELETE","short_description":"Delete a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/compute_resources/932571420\n200\n{\n \"id\": 932571420,\n \"name\": \"yourcompute\",\n \"description\": \"yourcompute\",\n \"url\": \"test:///default\",\n \"user\": \"MyString\",\n \"password\": \"1234567\",\n \"uuid\": \"yourcompute\",\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"attrs\": {},\n \"email\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_images","name":"available_images","apis":[{"api_url":"/api/compute_resources/:id/available_images","http_method":"GET","short_description":"List available images for a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/928692541-amazon123/available_images\n200\n[\n {\n \"name\": \"some_image\",\n \"uuid\": \"123\"\n }\n]"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_clusters","name":"available_clusters","apis":[{"api_url":"/api/compute_resources/:id/available_clusters","http_method":"GET","short_description":"List available clusters for a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/510899777-Ovirt/available_clusters\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_cluster\",\n \"id\": \"my11-test35-uuid99\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_flavors","name":"available_flavors","apis":[{"api_url":"/api/compute_resources/:id/available_flavors","http_method":"GET","short_description":"List available flavors for a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/928692541-amazon123/available_flavors\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_ec2_object\",\n \"id\": \"123\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_folders","name":"available_folders","apis":[{"api_url":"/api/compute_resources/:id/available_folders","http_method":"GET","short_description":"List available folders for a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/305613588-Vmware/available_folders?cluster_id=123-456-789\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_vmware_object\",\n \"id\": \"my11-test35-uuid99\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_zones","name":"available_zones","apis":[{"api_url":"/api/compute_resources/:id/available_zones","http_method":"GET","short_description":"List available zone for a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/928692541-amazon123/available_zones\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_ec2_object\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_networks","name":"available_networks","apis":[{"api_url":"/api/compute_resources/:id/available_networks","http_method":"GET","short_description":"List available networks for a compute resource","deprecated":null},{"api_url":"/api/compute_resources/:id/available_clusters/:cluster_id/available_networks","http_method":"GET","short_description":"List available networks for a compute resource cluster","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"cluster_id","full_name":"cluster_id","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/510899777-Ovirt/available_clusters/123-456-789/available_networks\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_network\",\n \"id\": \"my11-test35-uuid99\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_resource_pools","name":"available_resource_pools","apis":[{"api_url":"/api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools","http_method":"GET","short_description":"List resource pools for a compute resource cluster","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"cluster_id","full_name":"cluster_id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/305613588-Vmware/available_clusters/123-456-789/available_resource_pools\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_vmware_object\",\n \"id\": \"my11-test35-uuid99\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_storage_domains","name":"available_storage_domains","apis":[{"api_url":"/api/compute_resources/:id/available_storage_domains","http_method":"GET","short_description":"List storage domains for a compute resource","deprecated":null},{"api_url":"/api/compute_resources/:id/available_storage_domains/:storage_domain","http_method":"GET","short_description":"List attributes for a given storage domain","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"storage_domain","full_name":"storage_domain","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/305613588-Vmware/available_storage_domains/test_vmware_cluster\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_vmware_cluster\",\n \"id\": \"my11-test35-uuid99\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_storage_pods","name":"available_storage_pods","apis":[{"api_url":"/api/compute_resources/:id/available_storage_pods","http_method":"GET","short_description":"List storage pods for a compute resource","deprecated":null},{"api_url":"/api/compute_resources/:id/available_storage_pods/:storage_pod","http_method":"GET","short_description":"List attributes for a given storage pod","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"storage_pod","full_name":"storage_pod","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/305613588-Vmware/available_storage_pods/test_vmware_pod\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_vmware_pod\",\n \"id\": \"group-p123456\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/available_security_groups","name":"available_security_groups","apis":[{"api_url":"/api/compute_resources/:id/available_security_groups","http_method":"GET","short_description":"List available security groups for a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/928692541-amazon123/available_security_groups\n200\n{\n \"total\": 9,\n \"subtotal\": 9,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"name\": \"test_ec2_object\",\n \"group_id\": \"123\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_resources/associate","name":"associate","apis":[{"api_url":"/api/compute_resources/:id/associate","http_method":"PUT","short_description":"Associate VMs to Hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["PUT /api/compute_resources/980190964-compute_resource1/associate\n{\n \"compute_resource\": {}\n}\n200\n{\n \"total\": 10,\n \"subtotal\": 10,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"ip\": null,\n \"ip6\": null,\n \"environment_id\": null,\n \"environment_name\": null,\n \"last_report\": null,\n \"mac\": null,\n \"realm_id\": null,\n \"realm_name\": null,\n \"sp_mac\": null,\n \"sp_ip\": null,\n \"sp_name\": null,\n \"domain_id\": null,\n \"domain_name\": null,\n \"architecture_id\": null,\n \"architecture_name\": null,\n \"operatingsystem_id\": null,\n \"operatingsystem_name\": null,\n \"subnet_id\": null,\n \"subnet_name\": null,\n \"subnet6_id\": null,\n \"subnet6_name\": null,\n \"sp_subnet_id\": null,\n \"ptable_id\": null,\n \"ptable_name\": null,\n \"medium_id\": null,\n \"medium_name\": null,\n \"build\": false,\n \"comment\": null,\n \"disk\": null,\n \"installed_at\": null,\n \"model_id\": null,\n \"hostgroup_id\": null,\n \"owner_id\": null,\n \"owner_type\": null,\n \"enabled\": true,\n \"puppet_ca_proxy_id\": null,\n \"managed\": false,\n \"use_image\": null,\n \"image_file\": \"\",\n \"uuid\": \"226cdc87-2655-407a-852c-b24063bb17c0\",\n \"compute_resource_id\": 980190964,\n \"compute_resource_name\": \"compute_resource1\",\n \"compute_profile_id\": null,\n \"compute_profile_name\": null,\n \"capabilities\": [\n \"image\"\n ],\n \"provision_method\": \"image\",\n \"puppet_proxy_id\": null,\n \"certname\": \"host55\",\n \"image_id\": null,\n \"image_name\": null,\n \"created_at\": \"2016-06-28 17:37:53 UTC\",\n \"updated_at\": \"2016-06-28 17:37:53 UTC\",\n \"last_compile\": null,\n \"global_status\": 0,\n \"global_status_label\": \"OK\",\n \"organization_id\": null,\n \"organization_name\": null,\n \"location_id\": null,\n \"location_name\": null,\n \"puppet_status\": 0,\n \"model_name\": null,\n \"name\": \"host55\",\n \"id\": 980191022,\n \"hostgroup_name\": null,\n \"hostgroup_title\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"usergroups":{"doc_url":"../apidoc/v2/usergroups","api_url":"/api","name":"Usergroups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/usergroups/index","name":"index","apis":[{"api_url":"/api/usergroups","http_method":"GET","short_description":"List all user groups","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/usergroups\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"admin\": false,\n \"created_at\": \"2016-06-28 17:39:08 UTC\",\n \"updated_at\": \"2016-06-28 17:39:08 UTC\",\n \"name\": \"usergroup14\",\n \"id\": 15\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/usergroups/show","name":"show","apis":[{"api_url":"/api/usergroups/:id","http_method":"GET","short_description":"Show a user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/usergroups/16-usergroup15\n200\n{\n \"admin\": false,\n \"created_at\": \"2016-06-28 17:39:08 UTC\",\n \"updated_at\": \"2016-06-28 17:39:08 UTC\",\n \"name\": \"usergroup15\",\n \"id\": 16,\n \"external_usergroups\": [],\n \"usergroups\": [],\n \"users\": [],\n \"roles\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/usergroups/create","name":"create","apis":[{"api_url":"/api/usergroups","http_method":"POST","short_description":"Create a user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"usergroup","full_name":"usergroup","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"usergroup[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_ids","full_name":"usergroup[user_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"usergroup_ids","full_name":"usergroup[usergroup_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"role_ids","full_name":"usergroup[role_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/usergroups\n{\n \"usergroup\": {\n \"name\": \"test_usergroup\"\n }\n}\n201\n{\n \"admin\": false,\n \"created_at\": \"2016-06-28 17:39:08 UTC\",\n \"updated_at\": \"2016-06-28 17:39:08 UTC\",\n \"name\": \"test_usergroup\",\n \"id\": 19,\n \"external_usergroups\": [],\n \"usergroups\": [],\n \"users\": [],\n \"roles\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/usergroups/update","name":"update","apis":[{"api_url":"/api/usergroups/:id","http_method":"PUT","short_description":"Update a user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"usergroup","full_name":"usergroup","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"usergroup[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_ids","full_name":"usergroup[user_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"usergroup_ids","full_name":"usergroup[usergroup_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"role_ids","full_name":"usergroup[role_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/usergroups/17-usergroup16\n{\n \"usergroup\": {\n \"name\": \"test_usergroup\"\n }\n}\n200\n{\n \"admin\": false,\n \"created_at\": \"2016-06-28 17:39:08 UTC\",\n \"updated_at\": \"2016-06-28 17:39:08 UTC\",\n \"name\": \"test_usergroup\",\n \"id\": 17,\n \"external_usergroups\": [],\n \"usergroups\": [],\n \"users\": [],\n \"roles\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/usergroups/destroy","name":"destroy","apis":[{"api_url":"/api/usergroups/:id","http_method":"DELETE","short_description":"Delete a user group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/usergroups/14-usergroup13\n200\n{\n \"id\": 14,\n \"name\": \"usergroup13\",\n \"created_at\": \"2016-06-28T17:39:07.990Z\",\n \"updated_at\": \"2016-06-28T17:39:07.990Z\",\n \"admin\": false\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"smart_class_parameters":{"doc_url":"../apidoc/v2/smart_class_parameters","api_url":"/api","name":"Smart class parameters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/smart_class_parameters/index","name":"index","apis":[{"api_url":"/api/smart_class_parameters","http_method":"GET","short_description":"List all smart class parameters","deprecated":null},{"api_url":"/api/hosts/:host_id/smart_class_parameters","http_method":"GET","short_description":"List of smart class parameters for a specific host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/smart_class_parameters","http_method":"GET","short_description":"List of smart class parameters for a specific host group","deprecated":null},{"api_url":"/api/puppetclasses/:puppetclass_id/smart_class_parameters","http_method":"GET","short_description":"List of smart class parameters for a specific Puppet class","deprecated":null},{"api_url":"/api/environments/:environment_id/smart_class_parameters","http_method":"GET","short_description":"List of smart class parameters for a specific environment","deprecated":null},{"api_url":"/api/environments/:environment_id/puppetclasses/:puppetclass_id/smart_class_parameters","http_method":"GET","short_description":"List of smart class parameters for a specific environment/Puppet class combination","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hostgroups/636252244-Common/smart_class_parameters\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"description\": null,\n \"override\": true,\n \"parameter_type\": \"string\",\n \"default_value\": \"secret\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"use_puppet_default\": null,\n \"required\": false,\n \"validator_type\": null,\n \"validator_rule\": null,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"override_value_order\": \"organization,location\",\n \"override_values_count\": 0,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"puppetclass_name\": \"base\",\n \"parameter\": \"cluster\",\n \"id\": 328495940,\n \"puppetclass_id\": 980190962\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_class_parameters/show","name":"show","apis":[{"api_url":"/api/smart_class_parameters/:id","http_method":"GET","short_description":"Show a smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/smart_class_parameters/1018350795\n200\n{\n \"description\": null,\n \"override\": true,\n \"parameter_type\": \"string\",\n \"default_value\": \"abcdef\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"use_puppet_default\": null,\n \"required\": false,\n \"validator_type\": null,\n \"validator_rule\": null,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"override_value_order\": \"organization,location\",\n \"override_values_count\": 0,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"puppetclass_name\": \"apache\",\n \"parameter\": \"custom_class_param\",\n \"id\": 1018350795,\n \"puppetclass_id\": 298486374,\n \"environments\": [\n {\n \"id\": 334344675,\n \"name\": \"production\"\n }\n ],\n \"puppetclass\": {\n \"id\": 298486374,\n \"name\": \"apache\",\n \"module_name\": \"apache\"\n },\n \"override_values\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_class_parameters/update","name":"update","apis":[{"api_url":"/api/smart_class_parameters/:id","http_method":"PUT","short_description":"Update a smart class parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_class_parameter","full_name":"smart_class_parameter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"override","full_name":"smart_class_parameter[override]","description":"\n\u003cp\u003eWhether the smart class parameter value is managed by Foreman\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"smart_class_parameter[description]","description":"\n\u003cp\u003eDescription of smart class\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"default_value","full_name":"smart_class_parameter[default_value]","description":"\n\u003cp\u003eValue to use when there is no match\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hidden_value","full_name":"smart_class_parameter[hidden_value]","description":"\n\u003cp\u003eWhen enabled the parameter is hidden in the UI\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"use_puppet_default","full_name":"smart_class_parameter[use_puppet_default]","description":"\n\u003cp\u003eDo not send this parameter via the ENC. Puppet will use the value defined in the Puppet manifest for this parameter\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"path","full_name":"smart_class_parameter[path]","description":"\n\u003cp\u003eThe order in which values are resolved\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"validator_type","full_name":"smart_class_parameter[validator_type]","description":"\n\u003cp\u003eTypes of validation values\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003eregexp\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"validator_rule","full_name":"smart_class_parameter[validator_rule]","description":"\n\u003cp\u003eUsed to enforce certain values for the parameter values\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"override_value_order","full_name":"smart_class_parameter[override_value_order]","description":"\n\u003cp\u003eThe order in which values are resolved\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"parameter_type","full_name":"smart_class_parameter[parameter_type]","description":"\n\u003cp\u003eTypes of variable values\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003estring\u003c/code\u003e, \u003ccode\u003eboolean\u003c/code\u003e, \u003ccode\u003einteger\u003c/code\u003e, \u003ccode\u003ereal\u003c/code\u003e, \u003ccode\u003earray\u003c/code\u003e, \u003ccode\u003ehash\u003c/code\u003e, \u003ccode\u003eyaml\u003c/code\u003e, \u003ccode\u003ejson\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"required","full_name":"smart_class_parameter[required]","description":"\n\u003cp\u003eIf true, will raise an error if there is no default value and no matcher provide a value\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"merge_overrides","full_name":"smart_class_parameter[merge_overrides]","description":"\n\u003cp\u003eMerge all matching values (only array/hash type)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"merge_default","full_name":"smart_class_parameter[merge_default]","description":"\n\u003cp\u003eInclude default value when merging all matching values\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"avoid_duplicates","full_name":"smart_class_parameter[avoid_duplicates]","description":"\n\u003cp\u003eRemove duplicate values (only array type)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/smart_class_parameters/1018350795-custom_class_param\n{\n \"smart_class_parameter\": {\n \"default_value\": \"33333\"\n }\n}\n200\n{\n \"description\": null,\n \"override\": true,\n \"parameter_type\": \"string\",\n \"default_value\": \"33333\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"use_puppet_default\": null,\n \"required\": false,\n \"validator_type\": null,\n \"validator_rule\": null,\n \"merge_overrides\": null,\n \"merge_default\": false,\n \"avoid_duplicates\": null,\n \"override_value_order\": \"organization,location\",\n \"override_values_count\": 0,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:58 UTC\",\n \"puppetclass_name\": \"apache\",\n \"parameter\": \"custom_class_param\",\n \"id\": 1018350795,\n \"puppetclass_id\": 298486374,\n \"environments\": [\n {\n \"id\": 334344675,\n \"name\": \"production\"\n }\n ],\n \"puppetclass\": {\n \"id\": 298486374,\n \"name\": \"apache\",\n \"module_name\": \"apache\"\n },\n \"override_values\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"domains":{"doc_url":"../apidoc/v2/domains","api_url":"/api","name":"Domains","short_description":null,"full_description":"\n\u003cp\u003eForeman considers a domain and a DNS zone as the same thing. That is, if you are planning to manage a site where all the machines are or the form \u003ci\u003ehostname\u003c/i\u003e.\u003cb\u003esomewhere.com\u003c/b\u003e then the domain is \u003cb\u003esomewhere.com\u003c/b\u003e. This allows Foreman to associate a puppet variable with a domain/site and automatically append this variable to all external node requests made by machines at that site.\u003c/p\u003e\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/domains/index","name":"index","apis":[{"api_url":"/api/domains","http_method":"GET","short_description":"List of domains","deprecated":null},{"api_url":"/api/subnets/:subnet_id/domains","http_method":"GET","short_description":"List of domains per subnet","deprecated":null},{"api_url":"/api/locations/:location_id/domains","http_method":"GET","short_description":"List of domains per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/domains","http_method":"GET","short_description":"List of domains per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/organizations/447626438/domains\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"fullname\": null,\n \"dns_id\": 113629430,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 22495316,\n \"name\": \"mydomain.net\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/domains/show","name":"show","apis":[{"api_url":"/api/domains/:id","http_method":"GET","short_description":"Show a domain","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eNumerical ID or domain name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/domains/22495316-mydomain-net\n200\n{\n \"fullname\": null,\n \"dns_id\": 113629430,\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 22495316,\n \"name\": \"mydomain.net\",\n \"subnets\": [\n {\n \"id\": 980190962,\n \"name\": \"one\",\n \"network_address\": \"2.3.4.0/24\"\n }\n ],\n \"parameters\": [\n {\n \"id\": 665394701,\n \"name\": \"parameter\",\n \"value\": \"value1\"\n }\n ],\n \"interfaces\": [],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/domains/create","name":"create","apis":[{"api_url":"/api/domains","http_method":"POST","short_description":"Create a domain","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eThe \u003cb\u003efullname\u003c/b\u003e field is used for human readability in reports and other pages that refer to domains, and also available as an external node parameter\u003c/p\u003e\n","errors":[],"params":[{"name":"domain","full_name":"domain","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"domain[name]","description":"\n\u003cp\u003eThe full DNS domain name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"fullname","full_name":"domain[fullname]","description":"\n\u003cp\u003eDescription of the domain\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_id","full_name":"domain[dns_id]","description":"\n\u003cp\u003eDNS proxy to use within this domain\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_parameters_attributes","full_name":"domain[domain_parameters_attributes]","description":"\n\u003cp\u003eArray of parameters (name, value)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"domain[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"domain[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/domains\n{\n \"domain\": {\n \"name\": \"domain.net\"\n }\n}\n201\n{\n \"fullname\": null,\n \"dns_id\": null,\n \"created_at\": \"2016-06-28 17:38:01 UTC\",\n \"updated_at\": \"2016-06-28 17:38:01 UTC\",\n \"id\": 759776766,\n \"name\": \"domain.net\",\n \"subnets\": [],\n \"parameters\": [],\n \"interfaces\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/domains/update","name":"update","apis":[{"api_url":"/api/domains/:id","http_method":"PUT","short_description":"Update a domain","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain","full_name":"domain","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"domain[name]","description":"\n\u003cp\u003eThe full DNS domain name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"fullname","full_name":"domain[fullname]","description":"\n\u003cp\u003eDescription of the domain\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_id","full_name":"domain[dns_id]","description":"\n\u003cp\u003eDNS proxy to use within this domain\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_parameters_attributes","full_name":"domain[domain_parameters_attributes]","description":"\n\u003cp\u003eArray of parameters (name, value)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"domain[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"domain[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/domains/22495316-mydomain-net\n{\n \"domain\": {\n \"name\": \"\"\n }\n}\n422\n{\n \"error\": {\n \"id\": 22495316,\n \"errors\": {\n \"name\": [\n \"can't be blank\"\n ]\n },\n \"full_messages\": [\n \"Name can't be blank\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/domains/destroy","name":"destroy","apis":[{"api_url":"/api/domains/:id","http_method":"DELETE","short_description":"Delete a domain","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/domains/22495316-mydomain-net\n200\n{\n \"id\": 22495316,\n \"name\": \"mydomain.net\",\n \"fullname\": null,\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"dns_id\": 113629430,\n \"total_hosts\": 0,\n \"hostgroups_count\": -2\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"tasks":{"doc_url":"../apidoc/v2/tasks","api_url":"/api","name":"Tasks","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/tasks/index","name":"index","apis":[{"api_url":"/api/orchestration/:id/tasks","http_method":"GET","short_description":"List all tasks for a given orchestration event","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/orchestration/76a8d87d-c6b4-4003-ac22-3a21c2944ed9/tasks\n200\n{\n \"results\": [\n {\n \"name\": \"create something\",\n \"timestamp\": \"2016-06-28T17:39:07.386Z\",\n \"status\": \"pending\",\n \"priority\": 10\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"subnets":{"doc_url":"../apidoc/v2/subnets","api_url":"/api","name":"Subnets","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/subnets/index","name":"index","apis":[{"api_url":"/api/subnets","http_method":"GET","short_description":"List of subnets","deprecated":null},{"api_url":"/api/domains/:domain_id/subnets","http_method":"GET","short_description":"List of subnets for a domain","deprecated":null},{"api_url":"/api/locations/:location_id/subnets","http_method":"GET","short_description":"List of subnets per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/subnets","http_method":"GET","short_description":"List of subnets per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/subnets\n200\n{\n \"total\": 6,\n \"subtotal\": 6,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"network\": \"2.3.4.0\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": \"41\",\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 980190962,\n \"name\": \"one\",\n \"network_address\": \"2.3.4.0/24\",\n \"dhcp\": {\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\"\n },\n \"tftp\": {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n },\n \"dns\": {\n \"name\": \"DNS Proxy\",\n \"id\": 113629430,\n \"url\": \"http://else.where:45671\"\n }\n },\n {\n \"network\": \"3.3.4.0\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": \"42\",\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 298486374,\n \"name\": \"two\",\n \"network_address\": \"3.3.4.0/24\",\n \"dhcp\": {\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\"\n },\n \"tftp\": {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n },\n \"dns\": null\n },\n {\n \"network\": \"3.3.4.3\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": \"43\",\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 113629430,\n \"name\": \"three\",\n \"network_address\": \"3.3.4.3/24\",\n \"dhcp\": {\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\"\n },\n \"tftp\": {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n },\n \"dns\": null\n },\n {\n \"network\": \"3.3.5.0\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": \"44\",\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 281110143,\n \"name\": \"four\",\n \"network_address\": \"3.3.5.0/24\",\n \"dhcp\": null,\n \"tftp\": {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n },\n \"dns\": null\n },\n {\n \"network\": \"10.0.0.0\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": null,\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 1018350795,\n \"name\": \"five\",\n \"network_address\": \"10.0.0.0/24\",\n \"dhcp\": {\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\"\n },\n \"tftp\": {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n },\n \"dns\": {\n \"name\": \"DNS Proxy\",\n \"id\": 113629430,\n \"url\": \"http://else.where:45671\"\n }\n },\n {\n \"network\": \"2001:db10::\",\n \"network_type\": \"IPv6\",\n \"cidr\": 64,\n \"mask\": \"ffff:ffff:ffff:ffff::\",\n \"priority\": null,\n \"vlanid\": null,\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 51848956,\n \"name\": \"six\",\n \"network_address\": \"2001:db10::/64\",\n \"dhcp\": null,\n \"tftp\": null,\n \"dns\": {\n \"name\": \"DNS Proxy\",\n \"id\": 113629430,\n \"url\": \"http://else.where:45671\"\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subnets/show","name":"show","apis":[{"api_url":"/api/subnets/:id","http_method":"GET","short_description":"Show a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/subnets/980190962-one\n200\n{\n \"network\": \"2.3.4.0\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": \"41\",\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 980190962,\n \"name\": \"one\",\n \"network_address\": \"2.3.4.0/24\",\n \"dhcp\": {\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\"\n },\n \"tftp\": {\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\"\n },\n \"dns\": {\n \"name\": \"DNS Proxy\",\n \"id\": 113629430,\n \"url\": \"http://else.where:45671\"\n },\n \"domains\": [\n {\n \"id\": 22495316,\n \"name\": \"mydomain.net\"\n }\n ],\n \"parameters\": [],\n \"interfaces\": [],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subnets/create","name":"create","apis":[{"api_url":"/api/subnets","http_method":"POST","short_description":"Create a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"subnet","full_name":"subnet","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"subnet[name]","description":"\n\u003cp\u003eSubnet name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"network_type","full_name":"subnet[network_type]","description":"\n\u003cp\u003eType or protocol, IPv4 or IPv6, defaults to IPv4\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eIPv4\u003c/code\u003e, \u003ccode\u003eIPv6\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"network","full_name":"subnet[network]","description":"\n\u003cp\u003eSubnet network\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mask","full_name":"subnet[mask]","description":"\n\u003cp\u003eNetmask for this subnet\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"gateway","full_name":"subnet[gateway]","description":"\n\u003cp\u003ePrimary DNS for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_primary","full_name":"subnet[dns_primary]","description":"\n\u003cp\u003ePrimary DNS for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_secondary","full_name":"subnet[dns_secondary]","description":"\n\u003cp\u003eSecondary DNS for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ipam","full_name":"subnet[ipam]","description":"\n\u003cp\u003eIP Address auto suggestion mode for this subnet, valid values are “DHCP”, “Internal DB”, “None”\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"from","full_name":"subnet[from]","description":"\n\u003cp\u003eStarting IP Address for IP auto suggestion\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"to","full_name":"subnet[to]","description":"\n\u003cp\u003eEnding IP Address for IP auto suggestion\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"vlanid","full_name":"subnet[vlanid]","description":"\n\u003cp\u003eVLAN ID for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"subnet[domain_ids]","description":"\n\u003cp\u003eDomains in which this subnet is part\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"dhcp_id","full_name":"subnet[dhcp_id]","description":"\n\u003cp\u003eDHCP Proxy to use within this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tftp_id","full_name":"subnet[tftp_id]","description":"\n\u003cp\u003eTFTP Proxy to use within this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_id","full_name":"subnet[dns_id]","description":"\n\u003cp\u003eDNS Proxy to use within this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"boot_mode","full_name":"subnet[boot_mode]","description":"\n\u003cp\u003eDefault boot mode for interfaces assigned to this subnet, valid values are “Static”, “DHCP”\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_parameters_attributes","full_name":"subnet[subnet_parameters_attributes]","description":"\n\u003cp\u003eArray of parameters (name, value)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"subnet[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"subnet[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/subnets\n{\n \"subnet\": {\n \"name\": \"QA2\",\n \"network_type\": \"IPv4\",\n \"network\": \"10.35.2.27\",\n \"mask\": \"255.255.255.0\"\n }\n}\n201\n{\n \"network\": \"10.35.2.27\",\n \"network_type\": \"IPv4\",\n \"cidr\": 24,\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"vlanid\": null,\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"created_at\": \"2016-06-28 17:39:06 UTC\",\n \"updated_at\": \"2016-06-28 17:39:06 UTC\",\n \"ipam\": \"None\",\n \"boot_mode\": \"DHCP\",\n \"id\": 1018350796,\n \"name\": \"QA2\",\n \"network_address\": \"10.35.2.27/24\",\n \"dhcp\": null,\n \"tftp\": null,\n \"dns\": null,\n \"domains\": [],\n \"parameters\": [],\n \"interfaces\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subnets/update","name":"update","apis":[{"api_url":"/api/subnets/:id","http_method":"PUT","short_description":"Update a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eSubnet numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet","full_name":"subnet","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"subnet[name]","description":"\n\u003cp\u003eSubnet name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"network_type","full_name":"subnet[network_type]","description":"\n\u003cp\u003eType or protocol, IPv4 or IPv6, defaults to IPv4\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003eIPv4\u003c/code\u003e, \u003ccode\u003eIPv6\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"network","full_name":"subnet[network]","description":"\n\u003cp\u003eSubnet network\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mask","full_name":"subnet[mask]","description":"\n\u003cp\u003eNetmask for this subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"gateway","full_name":"subnet[gateway]","description":"\n\u003cp\u003ePrimary DNS for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_primary","full_name":"subnet[dns_primary]","description":"\n\u003cp\u003ePrimary DNS for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_secondary","full_name":"subnet[dns_secondary]","description":"\n\u003cp\u003eSecondary DNS for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ipam","full_name":"subnet[ipam]","description":"\n\u003cp\u003eIP Address auto suggestion mode for this subnet, valid values are “DHCP”, “Internal DB”, “None”\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"from","full_name":"subnet[from]","description":"\n\u003cp\u003eStarting IP Address for IP auto suggestion\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"to","full_name":"subnet[to]","description":"\n\u003cp\u003eEnding IP Address for IP auto suggestion\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"vlanid","full_name":"subnet[vlanid]","description":"\n\u003cp\u003eVLAN ID for this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"subnet[domain_ids]","description":"\n\u003cp\u003eDomains in which this subnet is part\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"dhcp_id","full_name":"subnet[dhcp_id]","description":"\n\u003cp\u003eDHCP Proxy to use within this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tftp_id","full_name":"subnet[tftp_id]","description":"\n\u003cp\u003eTFTP Proxy to use within this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dns_id","full_name":"subnet[dns_id]","description":"\n\u003cp\u003eDNS Proxy to use within this subnet\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"boot_mode","full_name":"subnet[boot_mode]","description":"\n\u003cp\u003eDefault boot mode for interfaces assigned to this subnet, valid values are “Static”, “DHCP”\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_parameters_attributes","full_name":"subnet[subnet_parameters_attributes]","description":"\n\u003cp\u003eArray of parameters (name, value)\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"subnet[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"subnet[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/subnets/980190962-one\n{\n \"subnet\": {\n \"name\": \"QA2\",\n \"network_type\": \"IPv6\",\n \"network\": \"2001:db8::\",\n \"mask\": \"ffff:ffff:ffff:ffff::\",\n \"ipam\": \"None\"\n }\n}\n422\n{\n \"error\": {\n \"id\": 980190962,\n \"errors\": {\n \"network\": [\n \"is invalid\"\n ],\n \"mask\": [\n \"is invalid\",\n \"is invalid\"\n ],\n \"type\": [\n \"can't be updated after subnet is saved\"\n ]\n },\n \"full_messages\": [\n \"Network is invalid\",\n \"Mask is invalid\",\n \"Mask is invalid\",\n \"Type can't be updated after subnet is saved\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subnets/destroy","name":"destroy","apis":[{"api_url":"/api/subnets/:id","http_method":"DELETE","short_description":"Delete a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eSubnet numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/subnets/281110143-four\n200\n{\n \"id\": 281110143,\n \"network\": \"3.3.5.0\",\n \"mask\": \"255.255.255.0\",\n \"priority\": null,\n \"name\": \"four\",\n \"vlanid\": \"44\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"dhcp_id\": null,\n \"tftp_id\": 298486374,\n \"gateway\": null,\n \"dns_primary\": null,\n \"dns_secondary\": null,\n \"from\": null,\n \"to\": null,\n \"dns_id\": null,\n \"boot_mode\": \"DHCP\",\n \"ipam\": \"None\",\n \"to_label\": \"four (3.3.5.0/24)\",\n \"type\": \"Subnet::Ipv4\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subnets/freeip","name":"freeip","apis":[{"api_url":"/api/subnets/:id/freeip","http_method":"GET","short_description":"Provides an unused IP address in this subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mac","full_name":"mac","description":"\n\u003cp\u003eMAC address to reuse the IP for this host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"excluded_ips","full_name":"excluded_ips","description":"\n\u003cp\u003eIP addresses that should be excluded from suggestion\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/subnets/1018350799-subnet1/freeip\n200\n{\n \"freeip\": \"192.168.2.10\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"parameters":{"doc_url":"../apidoc/v2/parameters","api_url":"/api","name":"Parameters","short_description":null,"full_description":"\n\u003cp\u003eThese API calls are related to \u003cb\u003enested parameters for a host, domain, subnet, host group, operating system\u003c/b\u003e. If you are looking for \u003ca href='common_parameters.html'\u003eglobal parameters\u003c/a\u003e, go to \u003ca href='common_parameters.html'\u003ethis link\u003c/a\u003e.\u003c/p\u003e\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/parameters/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/parameters","http_method":"GET","short_description":"List all parameters for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/parameters","http_method":"GET","short_description":"List all parameters for a host group","deprecated":null},{"api_url":"/api/domains/:domain_id/parameters","http_method":"GET","short_description":"List all parameters for a domain","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters","http_method":"GET","short_description":"List all parameters for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/parameters","http_method":"GET","short_description":"List all parameters for a location","deprecated":null},{"api_url":"/api/organizations/:organization_id/parameters","http_method":"GET","short_description":"List all parameters for an organization","deprecated":null},{"api_url":"/api/subnets/:subnet_id/parameters","http_method":"GET","short_description":"List all parameters for a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hostgroups/636252244-Common/parameters\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"priority\": 4,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 767575238,\n \"name\": \"group1\",\n \"value\": \"group1\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/parameters/show","name":"show","apis":[{"api_url":"/api/hosts/:host_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for a host group","deprecated":null},{"api_url":"/api/domains/:domain_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for a domain","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for a location","deprecated":null},{"api_url":"/api/organizations/:organization_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for an organization","deprecated":null},{"api_url":"/api/subnets/:subnet_id/parameters/:id","http_method":"GET","short_description":"Show a nested parameter for a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of parameter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/locations/255093256-Location%201/parameters/513706444-loc_param\n200\n{\n \"priority\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 513706444,\n \"name\": \"loc_param\",\n \"value\": \"abc\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/parameters/create","name":"create","apis":[{"api_url":"/api/hosts/:host_id/parameters","http_method":"POST","short_description":"Create a nested parameter for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/parameters","http_method":"POST","short_description":"Create a nested parameter for a host group","deprecated":null},{"api_url":"/api/domains/:domain_id/parameters","http_method":"POST","short_description":"Create a nested parameter for a domain","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters","http_method":"POST","short_description":"Create a nested parameter for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/parameters","http_method":"POST","short_description":"Create a nested parameter for a location","deprecated":null},{"api_url":"/api/organizations/:organization_id/parameters","http_method":"POST","short_description":"Create a nested parameter for an organization","deprecated":null},{"api_url":"/api/subnets/:subnet_id/parameters","http_method":"POST","short_description":"Create a nested parameter for a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"parameter","full_name":"parameter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"parameter[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"parameter[value]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/subnets/1018350795-five/parameters\n{\n \"parameter\": {\n \"name\": \"special_key\",\n \"value\": \"123\"\n }\n}\n201\n{\n \"priority\": 2,\n \"created_at\": \"2016-06-28 17:38:42 UTC\",\n \"updated_at\": \"2016-06-28 17:38:42 UTC\",\n \"id\": 840284804,\n \"name\": \"special_key\",\n \"value\": \"123\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/parameters/update","name":"update","apis":[{"api_url":"/api/hosts/:host_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for a host group","deprecated":null},{"api_url":"/api/domains/:domain_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for a domain","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for a location","deprecated":null},{"api_url":"/api/organizations/:organization_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for an organization","deprecated":null},{"api_url":"/api/subnets/:subnet_id/parameters/:id","http_method":"PUT","short_description":"Update a nested parameter for a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of parameter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"parameter","full_name":"parameter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"parameter[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"parameter[value]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/subnets/1018350795-five/parameters/297943576-parameter\n{\n \"parameter\": {\n \"name\": \"special_key\",\n \"value\": \"123\"\n }\n}\n200\n{\n \"priority\": 2,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:42 UTC\",\n \"id\": 297943576,\n \"name\": \"special_key\",\n \"value\": \"123\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/parameters/destroy","name":"destroy","apis":[{"api_url":"/api/hosts/:host_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for a host group","deprecated":null},{"api_url":"/api/domains/:domain_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for a domain","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for a location","deprecated":null},{"api_url":"/api/organizations/:organization_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for an organization","deprecated":null},{"api_url":"/api/subnets/:subnet_id/parameters/:id","http_method":"DELETE","short_description":"Delete a nested parameter for a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of parameter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/operatingsystems/1073012828-RHEL%206-1/parameters/716195090-os1\n200\n{\n \"id\": 716195090,\n \"name\": \"os1\",\n \"value\": \"os1\",\n \"reference_id\": 1073012828,\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"priority\": 3,\n \"hidden_value\": \"*****\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/parameters/reset","name":"reset","apis":[{"api_url":"/api/hosts/:host_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameters for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameters for a host group","deprecated":null},{"api_url":"/api/domains/:domain_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameters for a domain","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameters for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameter for a location","deprecated":null},{"api_url":"/api/organizations/:organization_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameter for an organization","deprecated":null},{"api_url":"/api/subnets/:subnet_id/parameters","http_method":"DELETE","short_description":"Delete all nested parameters for a subnet","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_id","full_name":"domain_id","description":"\n\u003cp\u003eID of domain\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eID of location\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subnet_id","full_name":"subnet_id","description":"\n\u003cp\u003eID of subnet\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/operatingsystems/1073012828/parameters\n200\n[\n\n]"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"common_parameters":{"doc_url":"../apidoc/v2/common_parameters","api_url":"/api","name":"Common parameters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/common_parameters/index","name":"index","apis":[{"api_url":"/api/common_parameters","http_method":"GET","short_description":"List all global parameters.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/common_parameters\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"id\": 636252244,\n \"name\": \"test\",\n \"value\": \"myvalue\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/common_parameters/show","name":"show","apis":[{"api_url":"/api/common_parameters/:id","http_method":"GET","short_description":"Show a global parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/common_parameters/636252244-test\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"id\": 636252244,\n \"name\": \"test\",\n \"value\": \"myvalue\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/common_parameters/create","name":"create","apis":[{"api_url":"/api/common_parameters","http_method":"POST","short_description":"Create a global parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"common_parameter","full_name":"common_parameter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"common_parameter[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"common_parameter[value]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hidden_value","full_name":"common_parameter[hidden_value]","description":"","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/common_parameters\n{\n \"common_parameter\": {\n \"name\": \"special_key\",\n \"value\": \"123\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:37:52 UTC\",\n \"updated_at\": \"2016-06-28 17:37:52 UTC\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"id\": 840284805,\n \"name\": \"special_key\",\n \"value\": \"123\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/common_parameters/update","name":"update","apis":[{"api_url":"/api/common_parameters/:id","http_method":"PUT","short_description":"Update a global parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"common_parameter","full_name":"common_parameter","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"common_parameter[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"common_parameter[value]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hidden_value","full_name":"common_parameter[hidden_value]","description":"","required":false,"allow_nil":true,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/common_parameters/636252244-test\n{\n \"common_parameter\": {\n \"name\": \"special_key\",\n \"value\": \"123\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:37:52 UTC\",\n \"hidden_value?\": false,\n \"hidden_value\": \"*****\",\n \"id\": 636252244,\n \"name\": \"special_key\",\n \"value\": \"123\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/common_parameters/destroy","name":"destroy","apis":[{"api_url":"/api/common_parameters/:id","http_method":"DELETE","short_description":"Delete a global parameter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/common_parameters/636252244-test\n200\n{\n \"id\": 636252244,\n \"name\": \"test\",\n \"value\": \"myvalue\",\n \"reference_id\": null,\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"priority\": 0,\n \"hidden_value\": \"*****\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"hostgroup_classes":{"doc_url":"../apidoc/v2/hostgroup_classes","api_url":"/api","name":"Hostgroup classes","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hostgroup_classes/index","name":"index","apis":[{"api_url":"/api/hostgroups/:hostgroup_id/puppetclass_ids","http_method":"GET","short_description":"List all Puppet class IDs for host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/hostgroups/636252244/puppetclass_ids\n200\n{\n \"results\": [\n 980190962\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroup_classes/create","name":"create","apis":[{"api_url":"/api/hostgroups/:hostgroup_id/puppetclass_ids","http_method":"POST","short_description":"Add a Puppet class to host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass_id","full_name":"puppetclass_id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/hostgroups/636252244/puppetclass_ids\n{\n \"puppetclass_id\": \"281110143\",\n \"hostgroup_class\": {\n \"puppetclass_id\": \"281110143\"\n }\n}\n200\n{\n \"hostgroup_id\": 636252244,\n \"puppetclass_id\": 281110143\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hostgroup_classes/destroy","name":"destroy","apis":[{"api_url":"/api/hostgroups/:hostgroup_id/puppetclass_ids/:id","http_method":"DELETE","short_description":"Remove a Puppet class from host group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/hostgroups/636252244/puppetclass_ids/980190962\n200\n[\n\n]"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"template_kinds":{"doc_url":"../apidoc/v2/template_kinds","api_url":"/api","name":"Template kinds","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/template_kinds/index","name":"index","apis":[{"api_url":"/api/template_kinds","http_method":"GET","short_description":"List all template kinds","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/template_kinds\n200\n{\n \"total\": 6,\n \"subtotal\": 6,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"iPXE\",\n \"id\": 698706415\n },\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"provision\",\n \"id\": 983253650\n },\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"PXELinux\",\n \"id\": 452984334\n },\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"script\",\n \"id\": 478250810\n },\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"finish\",\n \"id\": 550103832\n },\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"PXEGrub\",\n \"id\": 131565194\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"autosign":{"doc_url":"../apidoc/v2/autosign","api_url":"/api","name":"Autosign","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/autosign/index","name":"index","apis":[{"api_url":"/api/smart_proxies/smart_proxy_id/autosign","http_method":"GET","short_description":"List all autosign entries","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/smart_proxies/182953976/autosign\n200\n{\n \"results\": [\n \"a5809524-82fe-a8a4f3d6ebf4\",\n \"5eed0cb7-9aa-00b7b9780f20\"\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"media":{"doc_url":"../apidoc/v2/media","api_url":"/api","name":"Media","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/media/index","name":"index","apis":[{"api_url":"/api/media","http_method":"GET","short_description":"List all installation media","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/media","http_method":"GET","short_description":"List all media for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/media","http_method":"GET","short_description":"List all media per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/media","http_method":"GET","short_description":"List all media per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/media\n200\n{\n \"total\": 4,\n \"subtotal\": 4,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"path\": \"http://mirror.centos.org/centos/6.0/os/$arch\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"CentOS 5.4\"\n },\n {\n \"path\": \"http://brsla01/vol/solgi_5.10/sol$minor_$release_$arch\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 442321401,\n \"name\": \"Solaris 10\"\n },\n {\n \"path\": \"http://sg.archive.ubuntu.com\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 1011586618,\n \"name\": \"Ubuntu Mirror\"\n },\n {\n \"path\": \"http://nothing.intersting.com\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 338446587,\n \"name\": \"unused\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/media/show","name":"show","apis":[{"api_url":"/api/media/:id","http_method":"GET","short_description":"Show a medium","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/media/980190962-CentOS%205-4\n200\n{\n \"path\": \"http://mirror.centos.org/centos/6.0/os/$arch\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"CentOS 5.4\",\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n }\n ],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/media/create","name":"create","apis":[{"api_url":"/api/media","http_method":"POST","short_description":"Create a medium","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"medium","full_name":"medium","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"medium[name]","description":"\n\u003cp\u003eName of media\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"path","full_name":"medium[path]","description":"\n\u003cp\u003eThe path to the medium, can be a URL or a valid NFS server (exclusive of the architecture).\u003c/p\u003e\n\n\u003cp\u003efor example http://mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host’s actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system.\u003c/p\u003e\n\n\u003cp\u003eSolaris and Debian media may also use $release.\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_family","full_name":"medium[os_family]","description":"\n\u003cp\u003eOperating system family, available values: AIX, Altlinux, Archlinux, Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Redhat, Solaris, Suse, Windows, Xenserver\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"medium[operatingsystem_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"medium[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"medium[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/media\n{\n \"medium\": {\n \"name\": \"new medium\",\n \"path\": \"http://www.newmedium.com/\"\n }\n}\n201\n{\n \"path\": \"http://www.newmedium.com/\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:38 UTC\",\n \"updated_at\": \"2016-06-28 17:38:38 UTC\",\n \"id\": 1011586626,\n \"name\": \"new medium\",\n \"operatingsystems\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/media/update","name":"update","apis":[{"api_url":"/api/media/:id","http_method":"PUT","short_description":"Update a medium","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"medium","full_name":"medium","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"medium[name]","description":"\n\u003cp\u003eName of media\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"path","full_name":"medium[path]","description":"\n\u003cp\u003eThe path to the medium, can be a URL or a valid NFS server (exclusive of the architecture).\u003c/p\u003e\n\n\u003cp\u003efor example http://mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host’s actual OS architecture and $version, $major and $minor will be substituted for the version of the operating system.\u003c/p\u003e\n\n\u003cp\u003eSolaris and Debian media may also use $release.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_family","full_name":"medium[os_family]","description":"\n\u003cp\u003eOperating system family, available values: AIX, Altlinux, Archlinux, Coreos, Debian, Freebsd, Gentoo, Junos, NXOS, Redhat, Solaris, Suse, Windows, Xenserver\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"medium[operatingsystem_ids]","description":"","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"medium[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"medium[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/media/980190962\n{\n \"name\": \"CentOS 5.4\",\n \"medium\": {\n \"name\": \"CentOS 5.4\"\n }\n}\n200\n{\n \"path\": \"http://mirror.centos.org/centos/6.0/os/$arch\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"CentOS 5.4\",\n \"operatingsystems\": [\n {\n \"id\": 309172073,\n \"name\": \"centos\",\n \"title\": \"centos 5.3\"\n },\n {\n \"id\": 1073012828,\n \"name\": \"Redhat\",\n \"title\": \"RHEL 6.1\"\n }\n ],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/media/destroy","name":"destroy","apis":[{"api_url":"/api/media/:id","http_method":"DELETE","short_description":"Delete a medium","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/media/338446587\n200\n{\n \"id\": 338446587,\n \"name\": \"unused\",\n \"path\": \"http://nothing.intersting.com\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"media_path\": null,\n \"config_path\": null,\n \"image_path\": null,\n \"os_family\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"puppetclasses":{"doc_url":"../apidoc/v2/puppetclasses","api_url":"/api","name":"Puppetclasses","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/puppetclasses/index","name":"index","apis":[{"api_url":"/api/puppetclasses","http_method":"GET","short_description":"List all Puppet classes","deprecated":null},{"api_url":"/api/hosts/:host_id/puppetclasses","http_method":"GET","short_description":"List all Puppet classes for a host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/puppetclasses","http_method":"GET","short_description":"List all Puppet classes for a host group","deprecated":null},{"api_url":"/api/environments/:environment_id/puppetclasses","http_method":"GET","short_description":"List all Puppet classes for an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hostgroups/636252244-Common/puppetclasses\n200\n{\n \"total\": 4,\n \"subtotal\": 4,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": {\n \"base\": [\n {\n \"id\": 980190962,\n \"name\": \"base\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n }\n ],\n \"chkmk\": [\n {\n \"id\": 51848956,\n \"name\": \"chkmk\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n }\n ],\n \"nagios\": [\n {\n \"id\": 1018350795,\n \"name\": \"nagios\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n }\n ],\n \"vim\": [\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n }\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/puppetclasses/show","name":"show","apis":[{"api_url":"/api/puppetclasses/:id","http_method":"GET","short_description":"Show a Puppet class","deprecated":null},{"api_url":"/api/hosts/:host_id/puppetclasses/:id","http_method":"GET","short_description":"Show a Puppet class for host","deprecated":null},{"api_url":"/api/hostgroups/:hostgroup_id/puppetclasses/:id","http_method":"GET","short_description":"Show a Puppet class for a host group","deprecated":null},{"api_url":"/api/environments/:environment_id/puppetclasses/:id","http_method":"GET","short_description":"Show a Puppet class for an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_id","full_name":"hostgroup_id","description":"\n\u003cp\u003eID of host group\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/puppetclasses/980190962-base\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"base\",\n \"module_name\": \"base\",\n \"environments\": [\n {\n \"name\": \"production\",\n \"id\": 334344675\n }\n ],\n \"hostgroups\": [\n {\n \"id\": 636252244,\n \"name\": \"Common\",\n \"title\": \"Common\"\n }\n ],\n \"smart_variables\": [\n {\n \"variable\": \"ssl_port\",\n \"id\": 298486374\n }\n ],\n \"smart_class_parameters\": [\n {\n \"parameter\": \"cluster\",\n \"id\": 328495940\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/puppetclasses/create","name":"create","apis":[{"api_url":"/api/puppetclasses","http_method":"POST","short_description":"Create a Puppet class","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"puppetclass","full_name":"puppetclass","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"puppetclass[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/puppetclasses\n{\n \"puppetclass\": {\n \"name\": \"test_puppetclass\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:38:50 UTC\",\n \"updated_at\": \"2016-06-28 17:38:50 UTC\",\n \"id\": 1018350796,\n \"name\": \"test_puppetclass\",\n \"module_name\": \"test_puppetclass\",\n \"environments\": [],\n \"hostgroups\": [],\n \"smart_variables\": [],\n \"smart_class_parameters\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/puppetclasses/update","name":"update","apis":[{"api_url":"/api/puppetclasses/:id","http_method":"PUT","short_description":"Update a Puppet class","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppetclass","full_name":"puppetclass","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"puppetclass[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/puppetclasses/1018350798\n{\n \"smart_class_parameter_ids\": [],\n \"puppetclass\": {\n \"smart_class_parameter_ids\": []\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:38:51 UTC\",\n \"updated_at\": \"2016-06-28 17:38:51 UTC\",\n \"id\": 1018350798,\n \"name\": \"class7\",\n \"module_name\": \"class7\",\n \"environments\": [\n {\n \"name\": \"environment8\",\n \"id\": 687036939\n }\n ],\n \"hostgroups\": [],\n \"smart_variables\": [],\n \"smart_class_parameters\": [\n {\n \"parameter\": \"param7\",\n \"id\": 1018350802\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/puppetclasses/destroy","name":"destroy","apis":[{"api_url":"/api/puppetclasses/:id","http_method":"DELETE","short_description":"Delete a Puppet class","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/puppetclasses/980190962-base\n200\n{\n \"id\": 980190962,\n \"name\": \"base\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"total_hosts\": 0,\n \"global_class_params_count\": 0,\n \"variable_lookup_keys_count\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"fact_values":{"doc_url":"../apidoc/v2/fact_values","api_url":"/api","name":"Fact values","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/fact_values/index","name":"index","apis":[{"api_url":"/api/fact_values","http_method":"GET","short_description":"List all fact values","deprecated":null},{"api_url":"/api/hosts/:host_id/facts","http_method":"GET","short_description":"List all fact values of a given host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/980191049/facts\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": \" host = 980191049\",\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": {\n \"host76\": {\n \"kernelversion\": \"2.6.9\"\n }\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"smart_proxies":{"doc_url":"../apidoc/v2/smart_proxies","api_url":"/api","name":"Smart proxies","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/smart_proxies/import_puppetclasses","name":"import_puppetclasses","apis":[{"api_url":"/api/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import puppet classes from puppet proxy.","deprecated":null},{"api_url":"/api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses","http_method":"POST","short_description":"Import puppet classes from puppet proxy for an environment","deprecated":null},{"api_url":"/api/environments/:environment_id/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import puppet classes from puppet proxy for an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy_id","full_name":"smart_proxy_id","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dryrun","full_name":"dryrun","description":"","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"except","full_name":"except","description":"\n\u003cp\u003eOptional comma-delimited string containing either ‘new’, ‘updated’, or ‘obsolete’ that is used to limit the imported Puppet classes\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/environments/env1/smart_proxies/182953976/import_puppetclasses\n{\n \"smart_proxy\": {}\n}\n200\n{\n \"message\": \"Successfully updated environment and puppetclasses from the on-disk puppet installation\",\n \"results\": {\n \"name\": \"env1\",\n \"actions\": [\n \"new\"\n ],\n \"new_puppetclasses\": [\n \"a\"\n ]\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_proxies/index","name":"index","apis":[{"api_url":"/api/smart_proxies","http_method":"GET","short_description":"List all smart proxies","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/smart_proxies?search=feature%3DTFTP\n200\n{\n \"total\": 8,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": \"feature=TFTP\",\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"TFTP Proxy\",\n \"id\": 298486374,\n \"url\": \"http://somewhere.else\",\n \"features\": [\n {\n \"name\": \"TFTP\",\n \"id\": 303403661\n }\n ]\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_proxies/show","name":"show","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"GET","short_description":"Show a smart proxy","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/smart_proxies/980190962-DHCP%20Proxy\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"name\": \"DHCP Proxy\",\n \"id\": 980190962,\n \"url\": \"https://somewhere.net:8443\",\n \"features\": [\n {\n \"name\": \"DHCP\",\n \"id\": 219245707\n }\n ],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_proxies/create","name":"create","apis":[{"api_url":"/api/smart_proxies","http_method":"POST","short_description":"Create a smart proxy","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"smart_proxy","full_name":"smart_proxy","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"smart_proxy[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"smart_proxy[url]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"smart_proxy[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"smart_proxy[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/smart_proxies\n{\n \"smart_proxy\": {\n \"name\": \"master02\",\n \"url\": \"http://server:8443\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:39:03 UTC\",\n \"updated_at\": \"2016-06-28 17:39:03 UTC\",\n \"name\": \"master02\",\n \"id\": 982965214,\n \"url\": \"http://server:8443\",\n \"features\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_proxies/update","name":"update","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"PUT","short_description":"Update a smart proxy","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy","full_name":"smart_proxy","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"smart_proxy[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"smart_proxy[url]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"smart_proxy[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"smart_proxy[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/smart_proxies/980190962-DHCP%20Proxy\n{\n \"smart_proxy\": {\n \"name\": \"master02\",\n \"url\": \"http://server:8443\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:39:01 UTC\",\n \"name\": \"master02\",\n \"id\": 980190962,\n \"url\": \"http://server:8443\",\n \"features\": [\n {\n \"name\": \"DHCP\",\n \"id\": 219245707\n }\n ],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_proxies/destroy","name":"destroy","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"DELETE","short_description":"Delete a smart proxy","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/smart_proxies/281110143-Unused%20Proxy\n200\n{\n \"id\": 281110143,\n \"name\": \"Unused Proxy\",\n \"url\": \"http://else.where:45672\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"expired_logs\": \"0\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/smart_proxies/refresh","name":"refresh","apis":[{"api_url":"/api/smart_proxies/:id/refresh","http_method":"PUT","short_description":"Refresh smart proxy features","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["POST /api/smart_proxies/980190962-DHCP%20Proxy/refresh\n{\n \"smart_proxy\": {}\n}\n201\n{\n \"id\": 980190962,\n \"name\": \"DHCP Proxy\",\n \"url\": \"https://somewhere.net:8443\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"expired_logs\": \"0\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"compute_profiles":{"doc_url":"../apidoc/v2/compute_profiles","api_url":"/api","name":"Compute profiles","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/compute_profiles/index","name":"index","apis":[{"api_url":"/api/compute_profiles","http_method":"GET","short_description":"List of compute profiles","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_profiles\n200\n{\n \"total\": 4,\n \"subtotal\": 4,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 980190962,\n \"name\": \"1-Small\"\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 298486374,\n \"name\": \"2-Medium\"\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 113629430,\n \"name\": \"3-Large\"\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 281110143,\n \"name\": \"4-Networking\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_profiles/show","name":"show","apis":[{"api_url":"/api/compute_profiles/:id","http_method":"GET","short_description":"Show a compute profile","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_profiles/980190962-1-Small\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"id\": 980190962,\n \"name\": \"1-Small\",\n \"compute_attributes\": [\n {\n \"id\": 980190962,\n \"name\": null,\n \"compute_resource_id\": 928692541,\n \"compute_resource_name\": \"amazon123\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"1-Small\",\n \"vm_attrs\": {\n \"flavor_id\": \"m1.small\",\n \"availability_zone\": \"eu-west-1a\"\n }\n },\n {\n \"id\": 298486374,\n \"name\": null,\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"1-Small\",\n \"vm_attrs\": {\n \"cpus\": 2,\n \"memory\": 536870912\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_profiles/create","name":"create","apis":[{"api_url":"/api/compute_profiles","http_method":"POST","short_description":"Create a compute profile","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_profile","full_name":"compute_profile","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"compute_profile[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/compute_profiles\n{\n \"compute_profile\": {\n \"name\": \"4-Xlarge\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:37:53 UTC\",\n \"updated_at\": \"2016-06-28 17:37:53 UTC\",\n \"id\": 980190963,\n \"name\": \"4-Xlarge\",\n \"compute_attributes\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_profiles/update","name":"update","apis":[{"api_url":"/api/compute_profiles/:id","http_method":"PUT","short_description":"Update a compute profile","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_profile","full_name":"compute_profile","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"compute_profile[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/compute_profiles/980190962-1-Small\n{\n \"compute_profile\": {\n \"name\": \"new name\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:37:53 UTC\",\n \"id\": 980190962,\n \"name\": \"new name\",\n \"compute_attributes\": [\n {\n \"id\": 980190962,\n \"name\": null,\n \"compute_resource_id\": 928692541,\n \"compute_resource_name\": \"amazon123\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"new name\",\n \"vm_attrs\": {\n \"flavor_id\": \"m1.small\",\n \"availability_zone\": \"eu-west-1a\"\n }\n },\n {\n \"id\": 298486374,\n \"name\": null,\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"new name\",\n \"vm_attrs\": {\n \"cpus\": 2,\n \"memory\": 536870912\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_profiles/destroy","name":"destroy","apis":[{"api_url":"/api/compute_profiles/:id","http_method":"DELETE","short_description":"Delete a compute profile","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/compute_profiles/113629430-3-Large\n200\n{\n \"id\": 113629430,\n \"name\": \"3-Large\",\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"ptables":{"doc_url":"../apidoc/v2/ptables","api_url":"/api","name":"Ptables","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/ptables/index","name":"index","apis":[{"api_url":"/api/ptables","http_method":"GET","short_description":"List all partition tables","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/ptables","http_method":"GET","short_description":"List all partition tables for an operating system","deprecated":null},{"api_url":"/api/locations/:location_id/ptables","http_method":"GET","short_description":"List all partition tables per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/ptables","http_method":"GET","short_description":"List all partition tables per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/ptables\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"os_family\": \"Redhat\",\n \"created_at\": \"2016-06-28 17:38:50 UTC\",\n \"updated_at\": \"2016-06-28 17:38:50 UTC\",\n \"name\": \"ptable101\",\n \"id\": 1007981724\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ptables/show","name":"show","apis":[{"api_url":"/api/ptables/:id","http_method":"GET","short_description":"Show a partition table","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/ptables/1007981716-ptable94\n200\n{\n \"layout\": \"zerombr\\\\nclearpart --all --initlabel\\\\npart /boot --fstype ext3 --size=\u003c%= 10 * 10 %\u003e --asprimary\\\\npart / --f stype ext3 --size=1024 --grow\\\\npart swap --recommended\",\n \"os_family\": \"Redhat\",\n \"created_at\": \"2016-06-28 17:38:49 UTC\",\n \"updated_at\": \"2016-06-28 17:38:49 UTC\",\n \"name\": \"ptable94\",\n \"id\": 1007981716,\n \"operatingsystems\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ptables/create","name":"create","apis":[{"api_url":"/api/ptables","http_method":"POST","short_description":"Create a partition table","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ptable","full_name":"ptable","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"ptable[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"layout","full_name":"ptable[layout]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"snippet","full_name":"ptable[snippet]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"audit_comment","full_name":"ptable[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"locked","full_name":"ptable[locked]","description":"\n\u003cp\u003eWhether or not the template is locked for editing\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_family","full_name":"ptable[os_family]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"ptable[operatingsystem_ids]","description":"\n\u003cp\u003eArray of operating system IDs to associate with the partition table\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"host_ids","full_name":"ptable[host_ids]","description":"\n\u003cp\u003eArray of host IDs to associate with the partition table\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_ids","full_name":"ptable[hostgroup_ids]","description":"\n\u003cp\u003eArray of host group IDs to associate with the partition table\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"ptable[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"ptable[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/ptables\n{\n \"ptable\": {\n \"name\": \"ptable_test\",\n \"layout\": \"d-i partman-auto/disk\"\n }\n}\n201\n{\n \"layout\": \"d-i partman-auto/disk\",\n \"os_family\": null,\n \"created_at\": \"2016-06-28 17:38:49 UTC\",\n \"updated_at\": \"2016-06-28 17:38:49 UTC\",\n \"name\": \"ptable_test\",\n \"id\": 1007981722,\n \"operatingsystems\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ptables/revision","name":"revision","apis":[{"api_url":"/api/ptables/revision","http_method":"GET","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"version","full_name":"version","description":"\n\u003cp\u003etemplate version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ptables/update","name":"update","apis":[{"api_url":"/api/ptables/:id","http_method":"PUT","short_description":"Update a partition table","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable","full_name":"ptable","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"ptable[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"layout","full_name":"ptable[layout]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"snippet","full_name":"ptable[snippet]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"audit_comment","full_name":"ptable[audit_comment]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"locked","full_name":"ptable[locked]","description":"\n\u003cp\u003eWhether or not the template is locked for editing\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_family","full_name":"ptable[os_family]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_ids","full_name":"ptable[operatingsystem_ids]","description":"\n\u003cp\u003eArray of operating system IDs to associate with the partition table\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"host_ids","full_name":"ptable[host_ids]","description":"\n\u003cp\u003eArray of host IDs to associate with the partition table\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"hostgroup_ids","full_name":"ptable[hostgroup_ids]","description":"\n\u003cp\u003eArray of host group IDs to associate with the partition table\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"ptable[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"ptable[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/ptables/1007981720-ptable98\n{\n \"ptable\": {\n \"audit_comment\": \"aha\",\n \"template\": \"tmp\"\n }\n}\n200\n{\n \"layout\": \"tmp\",\n \"os_family\": \"Redhat\",\n \"created_at\": \"2016-06-28 17:38:49 UTC\",\n \"updated_at\": \"2016-06-28 17:38:49 UTC\",\n \"name\": \"ptable98\",\n \"id\": 1007981720,\n \"operatingsystems\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ptables/destroy","name":"destroy","apis":[{"api_url":"/api/ptables/:id","http_method":"DELETE","short_description":"Delete a partition table","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/ptables/1007981726-ptable103\n200\n{\n \"id\": 1007981726,\n \"name\": \"ptable103\",\n \"template\": \"zerombr\\\\nclearpart --all --initlabel\\\\npart /boot --fstype ext3 --size=\u003c%= 10 * 10 %\u003e --asprimary\\\\npart / --f stype ext3 --size=1024 --grow\\\\npart swap --recommended\",\n \"snippet\": false,\n \"template_kind_id\": null,\n \"created_at\": \"2016-06-28T17:38:50.211Z\",\n \"updated_at\": \"2016-06-28T17:38:50.211Z\",\n \"locked\": false,\n \"default\": false,\n \"vendor\": null,\n \"os_family\": \"Redhat\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ptables/clone","name":"clone","apis":[{"api_url":"/api/ptables/:id/clone","http_method":"POST","short_description":"Clone a template","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ptable","full_name":"ptable","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"ptable[name]","description":"\n\u003cp\u003etemplate name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/ptables/1007981718-ptable96/clone\n{\n \"ptable\": {\n \"name\": \"MyClone\"\n }\n}\n201\n{\n \"id\": 1007981718,\n \"name\": \"MyClone\",\n \"template\": \"zerombr\\\\nclearpart --all --initlabel\\\\npart /boot --fstype ext3 --size=\u003c%= 10 * 10 %\u003e --asprimary\\\\npart / --f stype ext3 --size=1024 --grow\\\\npart swap --recommended\",\n \"snippet\": false,\n \"template_kind_id\": null,\n \"created_at\": \"2016-06-28T17:38:49.812Z\",\n \"updated_at\": \"2016-06-28T17:38:49.855Z\",\n \"locked\": false,\n \"default\": false,\n \"vendor\": null,\n \"os_family\": \"Redhat\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"compute_attributes":{"doc_url":"../apidoc/v2/compute_attributes","api_url":"/api","name":"Compute attributes","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/compute_attributes/create","name":"create","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/compute_profiles/:compute_profile_id/compute_attributes","http_method":"POST","short_description":"Create a compute attributes set","deprecated":null},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_resources/:compute_resource_id/compute_attributes","http_method":"POST","short_description":"Create a compute attributes set","deprecated":null},{"api_url":"/api/compute_resources/:compute_resource_id/compute_attributes","http_method":"POST","short_description":"Create a compute attributes set","deprecated":null},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_attributes","http_method":"POST","short_description":"Create a compute attributes set","deprecated":null},{"api_url":"/api/compute_attributes","http_method":"POST","short_description":"Create a compute attributes set","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_profile_id","full_name":"compute_profile_id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_attribute","full_name":"compute_attribute","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"vm_attrs","full_name":"compute_attribute[vm_attrs]","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/compute_profiles/113629430/compute_resources/980190962/compute_attributes\n{\n \"compute_attribute\": {\n \"vm_attrs\": {\n \"cpus\": \"2\",\n \"memory\": \"2147483648\"\n }\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:37:53 UTC\",\n \"updated_at\": \"2016-06-28 17:37:53 UTC\",\n \"id\": 980190963,\n \"name\": null,\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"compute_profile_id\": 113629430,\n \"compute_profile_name\": \"3-Large\",\n \"vm_attrs\": {\n \"cpus\": \"2\",\n \"memory\": \"2147483648\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/compute_attributes/update","name":"update","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/compute_profiles/:compute_profile_id/compute_attributes/:id","http_method":"PUT","short_description":"Update a compute attributes set","deprecated":null},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_resources/:compute_resource_id/compute_attributes/:id","http_method":"PUT","short_description":"Update a compute attributes set","deprecated":null},{"api_url":"/api/compute_resources/:compute_resource_id/compute_attributes/:id","http_method":"PUT","short_description":"Update a compute attributes set","deprecated":null},{"api_url":"/api/compute_profiles/:compute_profile_id/compute_attributes/:id","http_method":"PUT","short_description":"Update a compute attributes set","deprecated":null},{"api_url":"/api/compute_attributes/:id","http_method":"PUT","short_description":"Update a compute attributes set","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_profile_id","full_name":"compute_profile_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_attribute","full_name":"compute_attribute","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"vm_attrs","full_name":"compute_attribute[vm_attrs]","description":"","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/compute_profiles/980190962/compute_resources/980190962/compute_attributes/298486374\n{\n \"compute_attribute\": {\n \"vm_attrs\": {\n \"cpus\": \"4\"\n }\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:37:53 UTC\",\n \"id\": 298486374,\n \"name\": null,\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"compute_profile_id\": 980190962,\n \"compute_profile_name\": \"1-Small\",\n \"vm_attrs\": {\n \"cpus\": \"4\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"plugins":{"doc_url":"../apidoc/v2/plugins","api_url":"/api","name":"Plugins","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/plugins/index","name":"index","apis":[{"api_url":"/api/plugins","http_method":"GET","short_description":"List installed plugins","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api/plugins\n200\n{\n \"total\": 4,\n \"subtotal\": 4,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"id\": \"foreman-tasks\",\n \"name\": \"foreman-tasks\",\n \"author\": \"Ivan Nečas\",\n \"description\": \"The goal of this plugin is to unify the way of showing task statuses across the Foreman instance.\\nIt defines Task model for keeping the information about the tasks and Lock for assigning the tasks\\nto resources. The locking allows dealing with preventing multiple colliding tasks to be run on the\\nsame resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks.\\n\",\n \"url\": \"https://github.com/theforeman/foreman-tasks\",\n \"version\": \"0.7.18\"\n },\n {\n \"id\": \"foreman_docker\",\n \"name\": \"foreman_docker\",\n \"author\": \"Daniel Lobato, Amos Benari\",\n \"description\": \"Provision and manage Docker containers and images from Foreman.\",\n \"url\": \"http://github.com/theforeman/foreman-docker\",\n \"version\": \"2.1.1\"\n },\n {\n \"id\": \"katello\",\n \"name\": \"katello\",\n \"author\": \"N/A\",\n \"description\": \"Content and Subscription Management plugin for Foreman\",\n \"url\": \"http://www.katello.org\",\n \"version\": \"3.2.0\"\n },\n {\n \"id\": \"skip_test\",\n \"name\": null,\n \"author\": null,\n \"description\": null,\n \"url\": null,\n \"version\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"images":{"doc_url":"../apidoc/v2/images","api_url":"/api","name":"Images","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/images/index","name":"index","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images","http_method":"GET","short_description":"List all images for a compute resource","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/images","http_method":"GET","short_description":"List all images for operating system","deprecated":null},{"api_url":"/api/architectures/:architecture_id/images","http_method":"GET","short_description":"List all images for architecture","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"\n\u003cp\u003eID of compute resource\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"architecture_id","description":"\n\u003cp\u003eID of architecture\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/980190962/images\n200\n{\n \"total\": 2,\n \"subtotal\": 2,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"uuid\": \"string-of-uuid\",\n \"username\": \"root\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"centos-1\"\n },\n {\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"uuid\": \"MyString2\",\n \"username\": \"MyString\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 298486374,\n \"name\": \"centos-2\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/images/show","name":"show","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images/:id","http_method":"GET","short_description":"Show an image","deprecated":null},{"api_url":"/api/operatingsystems/:operatingsystem_id/images/:id","http_method":"GET","short_description":"Show an image","deprecated":null},{"api_url":"/api/architectures/:architecture_id/images/:id","http_method":"GET","short_description":"Show an image","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"\n\u003cp\u003eID of compute resource\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"architecture_id","description":"\n\u003cp\u003eID of architecture\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/compute_resources/980190962/images/980190962\n200\n{\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"uuid\": \"string-of-uuid\",\n \"username\": \"root\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"centos-1\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/images/create","name":"create","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images","http_method":"POST","short_description":"Create an image","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"image","full_name":"image","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"image[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"image[username]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"image[uuid]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"image[password]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"image[compute_resource_id]","description":"\n\u003cp\u003eID of compute resource\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"image[architecture_id]","description":"\n\u003cp\u003eID of architecture\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"image[operatingsystem_id]","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_data","full_name":"image[user_data]","description":"\n\u003cp\u003eWhether or not the image supports user data\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/compute_resources/980190962/images\n{\n \"image\": {\n \"name\": \"TestImage\",\n \"username\": \"ec2-user\",\n \"uuid\": \"abcdef\",\n \"password\": \"password\",\n \"operatingsystem_id\": \"309172073\",\n \"compute_resource_id\": \"928692541\",\n \"architecture_id\": \"331892513\",\n \"user_data\": true\n }\n}\n201\n{\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"architecture_id\": 331892513,\n \"architecture_name\": \"sparc\",\n \"uuid\": \"abcdef\",\n \"username\": \"ec2-user\",\n \"created_at\": \"2016-06-28 17:38:30 UTC\",\n \"updated_at\": \"2016-06-28 17:38:30 UTC\",\n \"id\": 980190963,\n \"name\": \"TestImage\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/images/update","name":"update","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images/:id","http_method":"PUT","short_description":"Update an image","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"image","full_name":"image","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"image[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"image[username]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"image[uuid]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"image[password]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"image[compute_resource_id]","description":"\n\u003cp\u003eID of compute resource\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"architecture_id","full_name":"image[architecture_id]","description":"\n\u003cp\u003eID of architecture\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"operatingsystem_id","full_name":"image[operatingsystem_id]","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_data","full_name":"image[user_data]","description":"\n\u003cp\u003eWhether or not the image supports user data\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/compute_resources/980190962/images/980190962\n{\n \"image\": {}\n}\n200\n{\n \"operatingsystem_id\": 309172073,\n \"operatingsystem_name\": \"centos 5.3\",\n \"compute_resource_id\": 980190962,\n \"compute_resource_name\": \"bigcompute\",\n \"architecture_id\": 501905019,\n \"architecture_name\": \"x86_64\",\n \"uuid\": \"string-of-uuid\",\n \"username\": \"root\",\n \"created_at\": \"2016-06-28 17:38:26 UTC\",\n \"updated_at\": \"2016-06-28 17:38:26 UTC\",\n \"id\": 980190962,\n \"name\": \"centos-1\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/images/destroy","name":"destroy","apis":[{"api_url":"/api/compute_resources/:compute_resource_id/images/:id","http_method":"DELETE","short_description":"Delete an image","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/compute_resources/980190962/images/980190962\n200\n{\n \"id\": 980190962,\n \"operatingsystem_id\": 309172073,\n \"compute_resource_id\": 980190962,\n \"architecture_id\": 501905019,\n \"uuid\": \"string-of-uuid\",\n \"username\": \"root\",\n \"name\": \"centos-1\",\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\",\n \"iam_role\": null,\n \"user_data\": false,\n \"password\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"reports":{"doc_url":"../apidoc/v2/reports","api_url":"/api","name":"Reports","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/reports/index","name":"index","apis":[{"api_url":"/api/reports","http_method":"GET","short_description":"List all reports","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/reports\n200\n{\n \"total\": 1,\n \"subtotal\": 1,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": \"\",\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"metrics\": {\n \"time\": {\n \"schedule\": 0.00083,\n \"service\": 0.149739,\n \"mailalias\": 0.000283,\n \"cron\": 0.000419,\n \"config_retrieval\": 16.3637869358063,\n \"package\": 0.003989,\n \"filebucket\": 0.000171,\n \"file\": 0.007025,\n \"exec\": 0.000299\n },\n \"resources\": {\n \"total\": 33\n },\n \"changes\": {},\n \"events\": {\n \"total\": 0\n }\n },\n \"created_at\": \"2016-06-28 17:38:53 UTC\",\n \"updated_at\": \"2016-06-28 17:38:53 UTC\",\n \"id\": 43,\n \"host_id\": 980191208,\n \"host_name\": \"host219\",\n \"reported_at\": \"2016-06-28 17:01:53 UTC\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n }\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/reports/show","name":"show","apis":[{"api_url":"/api/reports/:id","http_method":"GET","short_description":"Show a report","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/reports/49\n200\n{\n \"metrics\": {\n \"time\": {\n \"schedule\": 0.00083,\n \"service\": 0.149739,\n \"mailalias\": 0.000283,\n \"cron\": 0.000419,\n \"config_retrieval\": 16.3637869358063,\n \"package\": 0.003989,\n \"filebucket\": 0.000171,\n \"file\": 0.007025,\n \"exec\": 0.000299\n },\n \"resources\": {\n \"total\": 33\n },\n \"changes\": {},\n \"events\": {\n \"total\": 0\n }\n },\n \"created_at\": \"2016-06-28 17:38:53 UTC\",\n \"updated_at\": \"2016-06-28 17:38:53 UTC\",\n \"id\": 49,\n \"host_id\": 980191215,\n \"host_name\": \"host226\",\n \"reported_at\": \"2016-06-28 16:55:53 UTC\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n },\n \"logs\": [],\n \"summary\": \"Success\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/reports/create","name":"create","apis":[{"api_url":"/api/reports","http_method":"POST","short_description":"Create a report","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"report","full_name":"report","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"host","full_name":"report[host]","description":"\n\u003cp\u003eHostname or certname\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"reported_at","full_name":"report[reported_at]","description":"\n\u003cp\u003eUTC time of report\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"status","full_name":"report[status]","description":"\n\u003cp\u003eHash of status type totals\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"metrics","full_name":"report[metrics]","description":"\n\u003cp\u003eHash of report metrics, can be just {}\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"logs","full_name":"report[logs]","description":"\n\u003cp\u003eOptional array of log hashes\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/reports\n{\n \"report\": [\n \"not a hash\",\n \"throw an error\"\n ]\n}\n422\n{\n \"message\": \"ERF42-2399 [Foreman::Exception]: Invalid report\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/reports/destroy","name":"destroy","apis":[{"api_url":"/api/reports/:id","http_method":"DELETE","short_description":"Delete a report","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/reports/58\n200\n{\n \"id\": 58,\n \"host_id\": 980191225,\n \"reported_at\": \"2016-06-28T16:46:54.637Z\",\n \"created_at\": \"2016-06-28T17:38:54.639Z\",\n \"updated_at\": \"2016-06-28T17:38:54.639Z\",\n \"status\": {\n \"applied\": 0,\n \"restarted\": 0,\n \"failed\": 0,\n \"failed_restarts\": 0,\n \"skipped\": 0,\n \"pending\": 0\n },\n \"metrics\": {\n \"time\": {\n \"schedule\": 0.00083,\n \"service\": 0.149739,\n \"mailalias\": 0.000283,\n \"cron\": 0.000419,\n \"config_retrieval\": 16.3637869358063,\n \"package\": 0.003989,\n \"filebucket\": 0.000171,\n \"file\": 0.007025,\n \"exec\": 0.000299\n },\n \"resources\": {\n \"total\": 33\n },\n \"changes\": {},\n \"events\": {\n \"total\": 0\n }\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/reports/last","name":"last","apis":[{"api_url":"/api/hosts/:host_id/reports/last","http_method":"GET","short_description":"Show the last report for a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/hosts/host220/reports/last\n404\n{\n \"error\": {\n \"message\": \"Resource report not found by id ''\"\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"home":{"doc_url":"../apidoc/v2/home","api_url":"/api","name":"Home","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/home/index","name":"index","apis":[{"api_url":"/api","http_method":"GET","short_description":"Show available API links","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":["GET /api\n200\n{\n \"links\": {\n \"base\": {},\n \"api\": {},\n \"host_subscriptions\": {\n \"List a host's subscriptions\": \"/api/hosts/:host_id/subscriptions\",\n \"Trigger an auto-attach of subscriptions\": \"/api/hosts/:host_id/subscriptions/auto_attach\",\n \"List subscription events for the host\": \"/api/hosts/:host_id/subscriptions/events\",\n \"Unregister the host as a subscription consumer\": \"/api/hosts/:host_id/subscriptions\",\n \"Register a host with subscription and information\": \"/api/hosts/subscriptions\",\n \"Add a subscription to a host\": \"/api/hosts/:host_id/subscriptions/add_subscriptions\",\n \"Set content overrides for the host\": \"/api/hosts/:host_id/subscriptions/content_override\",\n \"Get content and overrides for the host\": \"/api/hosts/:host_id/subscriptions/product_content\",\n \"Show releases available for the content host\": \"/api/hosts/:host_id/subscriptions/available_release_versions\"\n },\n \"hosts\": {\n \"List all hosts\": \"/api/hosts\",\n \"Show a host\": \"/api/hosts/:id\",\n \"Create a host\": \"/api/hosts\",\n \"Update a host\": \"/api/hosts/:id\",\n \"Delete a host\": \"/api/hosts/:id\",\n \"Get configuration status of host\": \"/api/hosts/:id/status\",\n \"Get status of host\": \"/api/hosts/:id/status/:type\",\n \"Get vm attributes of host\": \"/api/hosts/:id/vm_compute_attributes\",\n \"Force a Puppet agent run on the host\": \"/api/hosts/:id/puppetrun\",\n \"Disassociate the host from a VM\": \"/api/hosts/:id/disassociate\",\n \"Run a power operation on host\": \"/api/hosts/:id/power\",\n \"Boot host from specified device\": \"/api/hosts/:id/boot\",\n \"Upload facts for a host, creating the host if required\": \"/api/hosts/facts\",\n \"Rebuild orchestration config\": \"/api/hosts/:id/rebuild_config\",\n \"Preview rendered provisioning template content\": \"/api/hosts/:id/template/:kind\",\n \"Alter a hosts host collections\": \"/api/hosts/:host_id/host_collections\"\n },\n \"interfaces\": {\n \"List all interfaces for host\": \"/api/hosts/:host_id/interfaces\",\n \"Show an interface for host\": \"/api/hosts/:host_id/interfaces/:id\",\n \"Create an interface on a host\": \"/api/hosts/:host_id/interfaces\",\n \"Update a host's interface\": \"/api/hosts/:host_id/interfaces/:id\",\n \"Delete a host's interface\": \"/api/hosts/:host_id/interfaces/:id\"\n },\n \"hostgroups\": {\n \"List all host groups\": \"/api/hostgroups\",\n \"Show a host group\": \"/api/hostgroups/:id\",\n \"Create a host group\": \"/api/hostgroups\",\n \"Update a host group\": \"/api/hostgroups/:id\",\n \"Delete a host group\": \"/api/hostgroups/:id\",\n \"Clone a host group\": \"/api/hostgroups/:id/clone\"\n },\n \"config_reports\": {\n \"List all reports\": \"/api/config_reports\",\n \"Show a report\": \"/api/config_reports/:id\",\n \"Create a report\": \"/api/config_reports\",\n \"Delete a report\": \"/api/config_reports/:id\",\n \"Show the last report for a host\": \"/api/hosts/:host_id/config_reports/last\"\n },\n \"architectures\": {\n \"List all architectures\": \"/api/architectures\",\n \"Show an architecture\": \"/api/architectures/:id\",\n \"Create an architecture\": \"/api/architectures\",\n \"Update an architecture\": \"/api/architectures/:id\",\n \"Delete an architecture\": \"/api/architectures/:id\"\n },\n \"audits\": {\n \"List all audits\": \"/api/audits\",\n \"Show an audit\": \"/api/audits/:id\"\n },\n \"auth_source_ldaps\": {\n \"List all LDAP authentication sources\": \"/api/auth_source_ldaps\",\n \"Show an LDAP authentication source\": \"/api/auth_source_ldaps/:id\",\n \"Create an LDAP authentication source\": \"/api/auth_source_ldaps\",\n \"Update an LDAP authentication source\": \"/api/auth_source_ldaps/:id\",\n \"Test LDAP connection\": \"/api/auth_source_ldaps/:id/test\",\n \"Delete an LDAP authentication source\": \"/api/auth_source_ldaps/:id\"\n },\n \"autosign\": {\n \"List all autosign entries\": \"/api/smart_proxies/smart_proxy_id/autosign\"\n },\n \"bookmarks\": {\n \"List all bookmarks\": \"/api/bookmarks\",\n \"Show a bookmark\": \"/api/bookmarks/:id\",\n \"Create a bookmark\": \"/api/bookmarks\",\n \"Update a bookmark\": \"/api/bookmarks/:id\",\n \"Delete a bookmark\": \"/api/bookmarks/:id\"\n },\n \"common_parameters\": {\n \"List all global parameters\": \"/api/common_parameters\",\n \"Show a global parameter\": \"/api/common_parameters/:id\",\n \"Create a global parameter\": \"/api/common_parameters\",\n \"Update a global parameter\": \"/api/common_parameters/:id\",\n \"Delete a global parameter\": \"/api/common_parameters/:id\"\n },\n \"compute_attributes\": {\n \"Create a compute attributes set\": \"/api/compute_resources/:compute_resource_id/compute_profiles/:compute_profile_id/compute_attributes\",\n \"Update a compute attributes set\": \"/api/compute_resources/:compute_resource_id/compute_profiles/:compute_profile_id/compute_attributes/:id\"\n },\n \"compute_profiles\": {\n \"List of compute profiles\": \"/api/compute_profiles\",\n \"Show a compute profile\": \"/api/compute_profiles/:id\",\n \"Create a compute profile\": \"/api/compute_profiles\",\n \"Update a compute profile\": \"/api/compute_profiles/:id\",\n \"Delete a compute profile\": \"/api/compute_profiles/:id\"\n },\n \"compute_resources\": {\n \"List all compute resources\": \"/api/compute_resources\",\n \"Show a compute resource\": \"/api/compute_resources/:id\",\n \"Create a compute resource\": \"/api/compute_resources\",\n \"Update a compute resource\": \"/api/compute_resources/:id\",\n \"Delete a compute resource\": \"/api/compute_resources/:id\",\n \"List available images for a compute resource\": \"/api/compute_resources/:id/available_images\",\n \"List available clusters for a compute resource\": \"/api/compute_resources/:id/available_clusters\",\n \"List available flavors for a compute resource\": \"/api/compute_resources/:id/available_flavors\",\n \"List available folders for a compute resource\": \"/api/compute_resources/:id/available_folders\",\n \"List available zone for a compute resource\": \"/api/compute_resources/:id/available_zones\",\n \"List available networks for a compute resource\": \"/api/compute_resources/:id/available_networks\",\n \"List resource pools for a compute resource cluster\": \"/api/compute_resources/:id/available_clusters/:cluster_id/available_resource_pools\",\n \"List storage domains for a compute resource\": \"/api/compute_resources/:id/available_storage_domains\",\n \"List storage pods for a compute resource\": \"/api/compute_resources/:id/available_storage_pods\",\n \"List available security groups for a compute resource\": \"/api/compute_resources/:id/available_security_groups\",\n \"Associate VMs to Hosts\": \"/api/compute_resources/:id/associate\"\n },\n \"config_templates\": {\n \"List provisioning templates\": \"/api/config_templates\",\n \"Show provisioning template details\": \"/api/config_templates/:id\",\n \"Create a provisioning template\": \"/api/config_templates\",\n \"Update a provisioning template\": \"/api/config_templates/:id\",\n \"Delete a provisioning template\": \"/api/config_templates/:id\",\n \"Update the default PXE menu on all configured TFTP servers\": \"/api/config_templates/build_pxe_default\",\n \"Clone a provision template\": \"/api/config_templates/:id/clone\"\n },\n \"dashboard\": {\n \"Get dashboard details\": \"/api/dashboard\"\n },\n \"domains\": {\n \"List of domains\": \"/api/domains\",\n \"Show a domain\": \"/api/domains/:id\",\n \"Create a domain\": \"/api/domains\",\n \"Update a domain\": \"/api/domains/:id\",\n \"Delete a domain\": \"/api/domains/:id\"\n },\n \"environments\": {\n \"Import puppet classes from puppet proxy\": \"/api/smart_proxies/:id/import_puppetclasses\",\n \"List all environments\": \"/api/environments\",\n \"Show an environment\": \"/api/environments/:id\",\n \"Create an environment\": \"/api/environments\",\n \"Update an environment\": \"/api/environments/:id\",\n \"Delete an environment\": \"/api/environments/:id\"\n },\n \"external_usergroups\": {\n \"List all external user groups for user group\": \"/api/usergroups/:usergroup_id/external_usergroups\",\n \"Show an external user group for user group\": \"/api/usergroups/:usergroup_id/external_usergroups/:id\",\n \"Create an external user group linked to a user group\": \"/api/usergroups/:usergroup_id/external_usergroups\",\n \"Update external user group\": \"/api/usergroups/:usergroup_id/external_usergroups/:id\",\n \"Refresh external user group\": \"/api/usergroups/:usergroup_id/external_usergroups/:id/refresh\",\n \"Delete an external user group\": \"/api/usergroups/:usergroup_id/external_usergroups/:id\"\n },\n \"fact_values\": {\n \"List all fact values\": \"/api/fact_values\"\n },\n \"filters\": {\n \"List all filters\": \"/api/filters\",\n \"Show a filter\": \"/api/filters/:id\",\n \"Create a filter\": \"/api/filters\",\n \"Update a filter\": \"/api/filters/:id\",\n \"Delete a filter\": \"/api/filters/:id\"\n },\n \"home\": {\n \"Show available API links\": \"/api\",\n \"Show status\": \"/api/status\"\n }\n }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/home/status","name":"status","apis":[{"api_url":"/api/status","http_method":"GET","short_description":"Show status","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"environments":{"doc_url":"../apidoc/v2/environments","api_url":"/api","name":"Environments","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/environments/import_puppetclasses","name":"import_puppetclasses","apis":[{"api_url":"/api/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import puppet classes from puppet proxy.","deprecated":null},{"api_url":"/api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses","http_method":"POST","short_description":"Import puppet classes from puppet proxy for an environment","deprecated":null},{"api_url":"/api/environments/:environment_id/smart_proxies/:id/import_puppetclasses","http_method":"POST","short_description":"Import puppet classes from puppet proxy for an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"smart_proxy_id","full_name":"smart_proxy_id","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dryrun","full_name":"dryrun","description":"","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"except","full_name":"except","description":"\n\u003cp\u003eOptional comma-delimited string containing either ‘new’, ‘updated’, or ‘obsolete’ that is used to limit the imported Puppet classes\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/environments/index","name":"index","apis":[{"api_url":"/api/environments","http_method":"GET","short_description":"List all environments","deprecated":null},{"api_url":"/api/puppetclasses/:puppetclass_id/environments","http_method":"GET","short_description":"List environments of Puppet class","deprecated":null},{"api_url":"/api/locations/:location_id/environments","http_method":"GET","short_description":"List environments per location","deprecated":null},{"api_url":"/api/organizations/:organization_id/environments","http_method":"GET","short_description":"List environments per organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"puppetclass_id","full_name":"puppetclass_id","description":"\n\u003cp\u003eID of Puppet class\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_id","full_name":"location_id","description":"\n\u003cp\u003eScope by locations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eScope by organizations\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/environments\n200\n{\n \"total\": 3,\n \"subtotal\": 3,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"global_puppetmaster\",\n \"id\": 153855663\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"production\",\n \"id\": 334344675\n },\n {\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"testing\",\n \"id\": 687036937\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/environments/show","name":"show","apis":[{"api_url":"/api/environments/:id","http_method":"GET","short_description":"Show an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/environments/334344675\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:36:57 UTC\",\n \"name\": \"production\",\n \"id\": 334344675,\n \"template_combinations\": [\n {\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n },\n {\n \"id\": 113629430,\n \"provisioning_template_id\": 104314179,\n \"provisioning_template_name\": \"MyFinish\",\n \"hostgroup_id\": null,\n \"hostgroup_name\": null,\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 104314179,\n \"config_template_name\": \"MyFinish\"\n },\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"production\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n }\n ],\n \"puppetclasses\": [\n {\n \"id\": 298486374,\n \"name\": \"apache\",\n \"module_name\": \"apache\"\n },\n {\n \"id\": 638205575,\n \"name\": \"auth\",\n \"module_name\": \"auth\"\n },\n {\n \"id\": 980190962,\n \"name\": \"base\",\n \"module_name\": \"base\"\n },\n {\n \"id\": 51848956,\n \"name\": \"chkmk\",\n \"module_name\": \"chkmk\"\n },\n {\n \"id\": 1018350795,\n \"name\": \"nagios\",\n \"module_name\": \"nagios\"\n },\n {\n \"id\": 374648174,\n \"name\": \"pam\",\n \"module_name\": \"pam\"\n },\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"module_name\": \"vim\"\n }\n ],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/environments/create","name":"create","apis":[{"api_url":"/api/environments","http_method":"POST","short_description":"Create an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"environment","full_name":"environment","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"environment[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"environment[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"environment[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/environments\n{\n \"environment\": {\n \"name\": \"Development\"\n }\n}\n201\n{\n \"created_at\": \"2016-06-28 17:38:02 UTC\",\n \"updated_at\": \"2016-06-28 17:38:02 UTC\",\n \"name\": \"Development\",\n \"id\": 687036941,\n \"template_combinations\": [],\n \"puppetclasses\": [],\n \"locations\": [],\n \"organizations\": []\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/environments/update","name":"update","apis":[{"api_url":"/api/environments/:id","http_method":"PUT","short_description":"Update an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment","full_name":"environment","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"environment[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"environment[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"environment[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/environments/production\n{\n \"environment\": {\n \"name\": \"Development\"\n }\n}\n200\n{\n \"created_at\": \"2016-06-28 17:36:57 UTC\",\n \"updated_at\": \"2016-06-28 17:38:02 UTC\",\n \"name\": \"Development\",\n \"id\": 334344675,\n \"template_combinations\": [\n {\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"Development\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n },\n {\n \"id\": 113629430,\n \"provisioning_template_id\": 104314179,\n \"provisioning_template_name\": \"MyFinish\",\n \"hostgroup_id\": null,\n \"hostgroup_name\": null,\n \"environment_id\": 334344675,\n \"environment_name\": \"Development\",\n \"config_template_id\": 104314179,\n \"config_template_name\": \"MyFinish\"\n },\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"hostgroup_id\": 636252244,\n \"hostgroup_name\": \"Common\",\n \"environment_id\": 334344675,\n \"environment_name\": \"Development\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n }\n ],\n \"puppetclasses\": [\n {\n \"id\": 298486374,\n \"name\": \"apache\",\n \"module_name\": \"apache\"\n },\n {\n \"id\": 638205575,\n \"name\": \"auth\",\n \"module_name\": \"auth\"\n },\n {\n \"id\": 980190962,\n \"name\": \"base\",\n \"module_name\": \"base\"\n },\n {\n \"id\": 51848956,\n \"name\": \"chkmk\",\n \"module_name\": \"chkmk\"\n },\n {\n \"id\": 1018350795,\n \"name\": \"nagios\",\n \"module_name\": \"nagios\"\n },\n {\n \"id\": 374648174,\n \"name\": \"pam\",\n \"module_name\": \"pam\"\n },\n {\n \"id\": 281110143,\n \"name\": \"vim\",\n \"module_name\": \"vim\"\n }\n ],\n \"locations\": [\n {\n \"id\": 255093256,\n \"name\": \"Location 1\",\n \"title\": \"Location 1\",\n \"description\": null\n }\n ],\n \"organizations\": [\n {\n \"id\": 447626438,\n \"name\": \"Organization 1\",\n \"title\": \"Organization 1\",\n \"description\": null\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/environments/destroy","name":"destroy","apis":[{"api_url":"/api/environments/:id","http_method":"DELETE","short_description":"Delete an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/environments/testing\n200\n{\n \"id\": 687036937,\n \"name\": \"testing\",\n \"created_at\": \"2016-06-28T17:36:57.000Z\",\n \"updated_at\": \"2016-06-28T17:36:57.000Z\",\n \"katello_id\": null,\n \"hosts_count\": 0,\n \"hostgroups_count\": 0\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"os_default_templates":{"doc_url":"../apidoc/v2/os_default_templates","api_url":"/api","name":"Os default templates","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/os_default_templates/index","name":"index","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates","http_method":"GET","short_description":"List default templates combinations for an operating system","deprecated":null},{"api_url":"/api/config_templates/:config_template_id/os_default_templates","http_method":"GET","short_description":"List operating systems where this template is set as a default","deprecated":null},{"api_url":"/api/provisioning_templates/:provisioning_template_id/os_default_templates","http_method":"GET","short_description":"List operating systems where this template is set as a default","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template_id","full_name":"config_template_id","description":"\n\u003cp\u003eID of provisioning template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"provisioning_template_id","description":"\n\u003cp\u003eID of provisioning template\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates\n200\n{\n \"total\": 6,\n \"subtotal\": 6,\n \"page\": 1,\n \"per_page\": 20,\n \"search\": null,\n \"sort\": {\n \"by\": null,\n \"order\": null\n },\n \"results\": [\n {\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n },\n {\n \"id\": 298486374,\n \"provisioning_template_id\": 269958254,\n \"provisioning_template_name\": \"MyString2\",\n \"template_kind_id\": 983253650,\n \"template_kind_name\": \"provision\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 269958254,\n \"config_template_name\": \"MyString2\"\n },\n {\n \"id\": 113629430,\n \"provisioning_template_id\": 981457253,\n \"provisioning_template_name\": \"MyScript\",\n \"template_kind_id\": 478250810,\n \"template_kind_name\": \"script\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 981457253,\n \"config_template_name\": \"MyScript\"\n },\n {\n \"id\": 281110143,\n \"provisioning_template_id\": 1007981701,\n \"provisioning_template_name\": \"centos5_3_pxelinux\",\n \"template_kind_id\": 710512633,\n \"template_kind_name\": null,\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 1007981701,\n \"config_template_name\": \"centos5_3_pxelinux\"\n },\n {\n \"id\": 1018350795,\n \"provisioning_template_id\": 131565194,\n \"provisioning_template_name\": \"PXEGrub Dummy Menu\",\n \"template_kind_id\": 131565194,\n \"template_kind_name\": \"PXEGrub\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 131565194,\n \"config_template_name\": \"PXEGrub Dummy Menu\"\n },\n {\n \"id\": 51848956,\n \"provisioning_template_id\": 698706415,\n \"provisioning_template_name\": \"iPXE Dummy Menu\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 698706415,\n \"config_template_name\": \"iPXE Dummy Menu\"\n }\n ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/os_default_templates/show","name":"show","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates/:id","http_method":"GET","short_description":"Show a default template combination for an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["GET /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates/980190962\n200\n{\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/os_default_templates/create","name":"create","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates","http_method":"POST","short_description":"Create a default template combination for an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_default_template","full_name":"os_default_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"template_kind_id","full_name":"os_default_template[template_kind_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template_id","full_name":"os_default_template[config_template_id]","description":"\n\u003cp\u003eID of provisioning template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"os_default_template[provisioning_template_id]","description":"\n\u003cp\u003eID of provisioning template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["POST /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates\n{\n \"os_default_template\": {\n \"provisioning_template_id\": \"943779058\",\n \"template_kind_id\": \"698706415\"\n }\n}\n201\n{\n \"id\": 1018350796,\n \"provisioning_template_id\": 943779058,\n \"provisioning_template_name\": \"MyString\",\n \"template_kind_id\": 698706415,\n \"template_kind_name\": \"iPXE\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 943779058,\n \"config_template_name\": \"MyString\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/os_default_templates/update","name":"update","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates/:id","http_method":"PUT","short_description":"Update a default template combination for an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"os_default_template","full_name":"os_default_template","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"template_kind_id","full_name":"os_default_template[template_kind_id]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"config_template_id","full_name":"os_default_template[config_template_id]","description":"\n\u003cp\u003eID of provisioning template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"provisioning_template_id","full_name":"os_default_template[provisioning_template_id]","description":"\n\u003cp\u003eID of provisioning template\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":["PUT /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates/980190962\n{\n \"os_default_template\": {\n \"provisioning_template_id\": \"821548108\",\n \"template_kind_id\": \"452984334\"\n }\n}\n200\n{\n \"id\": 980190962,\n \"provisioning_template_id\": 821548108,\n \"provisioning_template_name\": \"PXELinux default local boot\",\n \"template_kind_id\": 452984334,\n \"template_kind_name\": \"PXELinux\",\n \"operatingsystem_id\": 1073012828,\n \"operatingsystem_name\": \"RHEL 6.1\",\n \"config_template_id\": 821548108,\n \"config_template_name\": \"PXELinux default local boot\"\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/os_default_templates/destroy","name":"destroy","apis":[{"api_url":"/api/operatingsystems/:operatingsystem_id/os_default_templates/:id","http_method":"DELETE","short_description":"Delete a default template combination for an operating system","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"operatingsystem_id","full_name":"operatingsystem_id","description":"\n\u003cp\u003eID of operating system\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":["DELETE /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates/980190962\n200\n{\n \"id\": 980190962,\n \"provisioning_template_id\": 943779058,\n \"template_kind_id\": 698706415,\n \"operatingsystem_id\": 1073012828,\n \"created_at\": \"2016-06-28T17:38:26.000Z\",\n \"updated_at\": \"2016-06-28T17:38:26.000Z\"\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"recurring_logics":{"doc_url":"../apidoc/v2/recurring_logics","api_url":"/api","name":"Recurring logics","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/recurring_logics/index","name":"index","apis":[{"api_url":"/foreman_tasks/api/recurring_logics","http_method":"GET","short_description":"List recurring logics","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/recurring_logics/show","name":"show","apis":[{"api_url":"/foreman_tasks/api/recurring_logics/:id","http_method":"GET","short_description":"Show recurring logic details","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the recurring logic\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/recurring_logics/cancel","name":"cancel","apis":[{"api_url":"/foreman_tasks/api/recurring_logics/:id/cancel","http_method":"POST","short_description":"Cancel recurring logic","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the recurring logic\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"foreman_tasks":{"doc_url":"../apidoc/v2/foreman_tasks","api_url":"/api","name":"Foreman tasks","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/foreman_tasks/summary","name":"summary","apis":[{"api_url":"/foreman_tasks/api/tasks/summary","http_method":"GET","short_description":"Show task summary","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/foreman_tasks/show","name":"show","apis":[{"api_url":"/foreman_tasks/api/tasks/:id","http_method":"GET","short_description":"Show task details","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eUUID of the task\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/foreman_tasks/bulk_search","name":"bulk_search","apis":[{"api_url":"/foreman_tasks/api/tasks/bulk_search","http_method":"POST","short_description":"List dynflow tasks for uuids","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eFor every search it returns the list of tasks that satisfty the condition. The reason for supporting multiple searches is the UI that might be ending needing periodic updates on task status for various searches at the same time. This way, it is possible to get all the task statuses with one request.\u003c/p\u003e\n","errors":[],"params":[{"name":"searches","full_name":"searches","description":"\n\u003cp\u003eList of uuids to fetch info about\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"search_id","full_name":"searches[search_id]","description":"\n\u003cp\u003eArbitraty value for client to identify the the request parts with results. It’s passed in the results to be able to pair the requests and responses properly.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"searches[type]","description":"","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003euser\u003c/code\u003e, \u003ccode\u003eresource\u003c/code\u003e, \u003ccode\u003etask\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"task_id","full_name":"searches[task_id]","description":"\n\u003cp\u003eIn case :type = ‘task’, find the task by the uuid\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"user_id","full_name":"searches[user_id]","description":"\n\u003cp\u003eIn case :type = ‘user’, find tasks for the user\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"resource_type","full_name":"searches[resource_type]","description":"\n\u003cp\u003eIn case :type = ‘resource’, what resource type we’re searching the tasks for\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"resource_type","full_name":"searches[resource_type]","description":"\n\u003cp\u003eIn case :type = ‘resource’, what resource id we’re searching the tasks for\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"action_types","full_name":"searches[action_types]","description":"\n\u003cp\u003eReturn just tasks of given action type, e.g. [Actions::Katello::Repository::Synchronize]\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: String.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"active_only","full_name":"searches[active_only]","description":"","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"searches[page]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"searches[per_page]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/foreman_tasks/bulk_resume","name":"bulk_resume","apis":[{"api_url":"/foreman_tasks/api/tasks/bulk_resume","http_method":"POST","short_description":"Resume all paused error tasks","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eResume tasks matching search string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"task_ids","full_name":"task_ids","description":"\n\u003cp\u003eResume specific tasks by ID\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/foreman_tasks/index","name":"index","apis":[{"api_url":"/foreman_tasks/api/tasks","http_method":"GET","short_description":"List tasks","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, e.g. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/foreman_tasks/callback","name":"callback","apis":[{"api_url":"/foreman_tasks/api/tasks/callback","http_method":"POST","short_description":"Send data to the task from external executor (such as smart_proxy_dynflow)","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"callback","full_name":"callback","description":"","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"task_id","full_name":"callback[task_id]","description":"\n\u003cp\u003eUUID of the task\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"step_id","full_name":"callback[step_id]","description":"\n\u003cp\u003eThe ID of the step inside the execution plan to send the event to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"data","full_name":"data","description":"\n\u003cp\u003eData to be sent to the action\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"containers":{"doc_url":"../apidoc/v2/containers","api_url":"/api","name":"Containers","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/containers/index","name":"index","apis":[{"api_url":"/docker/api/v2/containers","http_method":"GET","short_description":"List all containers","deprecated":null},{"api_url":"/docker/api/v2/compute_resources/:compute_resource_id/containers","http_method":"GET","short_description":"List all containers on a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/containers/show","name":"show","apis":[{"api_url":"/docker/api/v2/containers/:id","http_method":"GET","short_description":"Show a container","deprecated":null},{"api_url":"/docker/api/v2/compute_resources/:compute_resource_id/containers/:id","http_method":"GET","short_description":"Show container on a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/containers/create","name":"create","apis":[{"api_url":"/docker/api/v2/containers","http_method":"POST","short_description":"Create a container","deprecated":null},{"api_url":"/docker/api/v2/compute_resources/:compute_resource_id/containers","http_method":"POST","short_description":"Create container on a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"container","full_name":"container","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"container[name]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"location_ids","full_name":"container[location_ids]","description":"\n\u003cp\u003eREPLACE locations with given ids\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"organization_ids","full_name":"container[organization_ids]","description":"\n\u003cp\u003eREPLACE organizations with given ids.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"container[compute_resource_id]","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"registry_id","full_name":"container[registry_id]","description":"\n\u003cp\u003eRegistry this container will have to use to get the image\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_name","full_name":"container[repository_name]","description":"\n\u003cp\u003eName of the repository to use to create the container. e.g. centos\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"container[tag]","description":"\n\u003cp\u003eTag to use to create the container. e.g. latest\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tty","full_name":"container[tty]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"entrypoint","full_name":"container[entrypoint]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"command","full_name":"container[command]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"memory","full_name":"container[memory]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"cpu_shares","full_name":"container[cpu_shares]","description":"","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"cpu_set","full_name":"container[cpu_set]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_variables","full_name":"container[environment_variables]","description":"","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"attach_stdout","full_name":"container[attach_stdout]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attach_stdin","full_name":"container[attach_stdin]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"attach_stderr","full_name":"container[attach_stderr]","description":"","required":false,"allow_nil":true,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"capsule_id","full_name":"container[capsule_id]","description":"\n\u003cp\u003eThe capsule this container will have to use to get the image. Relevant for images retrieved from katello registry.\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/containers/destroy","name":"destroy","apis":[{"api_url":"/docker/api/v2/containers/:id","http_method":"DELETE","short_description":"Delete a container","deprecated":null},{"api_url":"/docker/api/v2/compute_resources/:compute_resource_id/containers/:id","http_method":"DELETE","short_description":"Delete container on a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/containers/logs","name":"logs","apis":[{"api_url":"/docker/api/v2/containers/:id/logs","http_method":"GET","short_description":"Show container logs","deprecated":null},{"api_url":"/docker/api/v2/compute_resources/:compute_resource_id/containers/:id/logs","http_method":"GET","short_description":"Show logs from a container on a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"stdout","full_name":"stdout","description":"","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"stderr","full_name":"stderr","description":"","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"tail","full_name":"tail","description":"\n\u003cp\u003eNumber of lines to tail. Default: 100\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Fixnum","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/containers/power","name":"power","apis":[{"api_url":"/docker/api/v2/containers/:id/power","http_method":"PUT","short_description":"Run power operation on a container","deprecated":null},{"api_url":"/docker/api/v2/compute_resources/:compute_resource_id/containers/:id/power","http_method":"PUT","short_description":"Run power operation on a container on a compute resource","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"compute_resource_id","full_name":"compute_resource_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"power_action","full_name":"power_action","description":"\n\u003cp\u003epower action, valid actions are (start), (stop), (status)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"registries":{"doc_url":"../apidoc/v2/registries","api_url":"/api","name":"Registries","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/registries/index","name":"index","apis":[{"api_url":"/docker/api/v2/registries","http_method":"GET","short_description":"List all docker registries","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003efilter results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003esort results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003epaginate results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003enumber of entries per request\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/registries/show","name":"show","apis":[{"api_url":"/docker/api/v2/registries/:id","http_method":"GET","short_description":"Show a docker registry","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/registries/create","name":"create","apis":[{"api_url":"/docker/api/v2/registries","http_method":"POST","short_description":"Create a docker registry","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"registry","full_name":"registry","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"registry[name]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"registry[url]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"registry[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"registry[username]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"registry[password]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/registries/update","name":"update","apis":[{"api_url":"/docker/api/v2/registries/:id","http_method":"PUT","short_description":"Update a docker registry","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"registry","full_name":"registry","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"name","full_name":"registry[name]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"registry[url]","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"registry[description]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"username","full_name":"registry[username]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"password","full_name":"registry[password]","description":"","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/registries/destroy","name":"destroy","apis":[{"api_url":"/docker/api/v2/registries/:id","http_method":"DELETE","short_description":"Delete a docker registry","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"systems":{"doc_url":"../apidoc/v2/systems","api_url":"/api","name":"Systems","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/systems/index","name":"index","apis":[{"api_url":"/katello/api/systems","http_method":"GET","short_description":"List content hosts","deprecated":true},{"api_url":"/katello/api/systems/post_index","http_method":"POST","short_description":"List content hosts when you have a query string parameter that will cause a 414.","deprecated":true},{"api_url":"/katello/api/organizations/:organization_id/systems","http_method":"GET","short_description":"List content hosts in an organization","deprecated":true},{"api_url":"/katello/api/environments/:environment_id/systems","http_method":"GET","short_description":"List content hosts in environment","deprecated":true}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"\n\u003cp\u003eFilter content host by name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"pool_id","full_name":"pool_id","description":"\n\u003cp\u003eFilter content host by subscribed pool\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"uuid","description":"\n\u003cp\u003eFilter content host by uuid\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eSpecify the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eFilter by environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003eFilter by content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/systems/update","name":"update","apis":[{"api_url":"/katello/api/systems/:id","http_method":"PUT","short_description":"Update content host information","deprecated":true}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eUUID of the content host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"release_ver","full_name":"release_ver","description":"\n\u003cp\u003eRelease version of the content host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"service_level","full_name":"service_level","description":"\n\u003cp\u003eA service level for auto-healing process, e.g. SELF-SUPPORT\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eSpecify the environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003eSpecify the content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_collection_ids","full_name":"host_collection_ids","description":"\n\u003cp\u003eSpecify the host collections as an array\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/systems/show","name":"show","apis":[{"api_url":"/katello/api/systems/:id","http_method":"GET","short_description":"Show a content host","deprecated":true}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eUUID of the content host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"ping":{"doc_url":"../apidoc/v2/ping","api_url":"/api","name":"Ping","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/ping/index","name":"index","apis":[{"api_url":"/katello/api/ping","http_method":"GET","short_description":"Shows status of system and it's subcomponents","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eThis service is only available for authenticated users\u003c/p\u003e\n","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ping/server_status","name":"server_status","apis":[{"api_url":"/katello/api/status","http_method":"GET","short_description":"Shows version information","deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eThis service is available for unauthenticated users\u003c/p\u003e\n","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"sync_plans":{"doc_url":"../apidoc/v2/sync_plans","api_url":"/api","name":"Sync plans","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/sync_plans/index","name":"index","apis":[{"api_url":"/katello/api/sync_plans","http_method":"GET","short_description":"List sync plans","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/sync_plans","http_method":"GET","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eFilter sync plans by organization name or label\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003efilter by name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sync_date","full_name":"sync_date","description":"\n\u003cp\u003efilter by sync date\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interval","full_name":"interval","description":"\n\u003cp\u003efilter by interval\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003ehourly\u003c/code\u003e, \u003ccode\u003edaily\u003c/code\u003e, \u003ccode\u003eweekly\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/show","name":"show","apis":[{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:id","http_method":"GET","short_description":"Show a sync plan","deprecated":null},{"api_url":"/katello/api/sync_plans/:id","http_method":"GET","short_description":"Show a sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eFilter sync plans by organization name or label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003esync plan numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/create","name":"create","apis":[{"api_url":"/katello/api/organizations/:organization_id/sync_plans","http_method":"POST","short_description":"Create a sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eFilter sync plans by organization name or label\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003esync plan name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interval","full_name":"interval","description":"\n\u003cp\u003ehow often synchronization should run\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003ehourly\u003c/code\u003e, \u003ccode\u003edaily\u003c/code\u003e, \u003ccode\u003eweekly\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sync_date","full_name":"sync_date","description":"\n\u003cp\u003estart datetime of synchronization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003esync plan description\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"enabled","full_name":"enabled","description":"\n\u003cp\u003eenables or disables synchronization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/update","name":"update","apis":[{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:id","http_method":"PUT","short_description":"Update a sync plan","deprecated":null},{"api_url":"/katello/api/sync_plans/:id","http_method":"PUT","short_description":"Update a sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eFilter sync plans by organization name or label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003esync plan numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003esync plan name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"interval","full_name":"interval","description":"\n\u003cp\u003ehow often synchronization should run\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003ehourly\u003c/code\u003e, \u003ccode\u003edaily\u003c/code\u003e, \u003ccode\u003eweekly\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sync_date","full_name":"sync_date","description":"\n\u003cp\u003estart datetime of synchronization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003esync plan description\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"enabled","full_name":"enabled","description":"\n\u003cp\u003eenables or disables synchronization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/destroy","name":"destroy","apis":[{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:id","http_method":"DELETE","short_description":"Destroy a sync plan","deprecated":null},{"api_url":"/katello/api/sync_plans/:id","http_method":"DELETE","short_description":"Destroy a sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eFilter sync plans by organization name or label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003esync plan numeric identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/add_products","name":"add_products","apis":[{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:id/add_products","http_method":"PUT","short_description":"Add products to sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the sync plan\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_ids","full_name":"product_ids","description":"\n\u003cp\u003eList of product ids to add to the sync plan\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/remove_products","name":"remove_products","apis":[{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:id/remove_products","http_method":"PUT","short_description":"Remove products from sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the sync plan\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_ids","full_name":"product_ids","description":"\n\u003cp\u003eList of product ids to remove from the sync plan\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/sync_plans/sync","name":"sync","apis":[{"api_url":"/katello/api/sync_plans/:id/sync","http_method":"PUT","short_description":"Initiate a sync of the products attached to the sync plan","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:id/sync","http_method":"PUT","short_description":"Initiate a sync of the products attached to the sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the sync plan\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"repositories_bulk_actions":{"doc_url":"../apidoc/v2/repositories_bulk_actions","api_url":"/api","name":"Repositories bulk actions","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/repositories_bulk_actions/destroy_repositories","name":"destroy_repositories","apis":[{"api_url":"/katello/api/repositories/bulk/destroy","http_method":"PUT","short_description":"Destroy one or more repositories","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eList of repository ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories_bulk_actions/sync_repositories","name":"sync_repositories","apis":[{"api_url":"/katello/api/repositories/bulk/sync","http_method":"POST","short_description":"Synchronize repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eList of repository ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"content_view_filter_rules":{"doc_url":"../apidoc/v2/content_view_filter_rules","api_url":"/api","name":"Content view filter rules","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_view_filter_rules/index","name":"index","apis":[{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/rules","http_method":"GET","short_description":"List filter rules","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filter_rules/create","name":"create","apis":[{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/rules","http_method":"POST","short_description":"Create a filter rule. The parameters included should be based upon the filter type.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003epackage or package group: name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"names","full_name":"names","description":"\n\u003cp\u003epackages or package groups: names\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"version","full_name":"version","description":"\n\u003cp\u003epackage: version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"min_version","full_name":"min_version","description":"\n\u003cp\u003epackage: minimum version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"max_version","full_name":"max_version","description":"\n\u003cp\u003epackage: maximum version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"errata_id","full_name":"errata_id","description":"\n\u003cp\u003eerratum: id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"errata_ids","full_name":"errata_ids","description":"\n\u003cp\u003eerratum: IDs or a select all object\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"start_date","full_name":"start_date","description":"\n\u003cp\u003eerratum: start date (YYYY-MM-DD)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"end_date","description":"\n\u003cp\u003eerratum: end date (YYYY-MM-DD)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"types","full_name":"types","description":"\n\u003cp\u003eerratum: types (enhancement, bugfix, security)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"date_type","full_name":"date_type","description":"\n\u003cp\u003eerratum: search using the ‘Issued On’ or ‘Updated On’ column of the errata. Values are ‘issued’/‘updated’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filter_rules/show","name":"show","apis":[{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/rules/:id","http_method":"GET","short_description":"Show filter rule info","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003erule identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filter_rules/update","name":"update","apis":[{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/rules/:id","http_method":"PUT","short_description":"Update a filter rule. The parameters included should be based upon the filter type.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003erule identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003epackage or package group: name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"version","full_name":"version","description":"\n\u003cp\u003epackage: version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"min_version","full_name":"min_version","description":"\n\u003cp\u003epackage: minimum version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"max_version","full_name":"max_version","description":"\n\u003cp\u003epackage: maximum version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"errata_id","full_name":"errata_id","description":"\n\u003cp\u003eerratum: id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"start_date","full_name":"start_date","description":"\n\u003cp\u003eerratum: start date (YYYY-MM-DD)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"end_date","description":"\n\u003cp\u003eerratum: end date (YYYY-MM-DD)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"types","full_name":"types","description":"\n\u003cp\u003eerratum: types (enhancement, bugfix, security)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filter_rules/destroy","name":"destroy","apis":[{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/rules/:id","http_method":"DELETE","short_description":"Delete a filter rule","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003erule identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"docker_tags":{"doc_url":"../apidoc/v2/docker_tags","api_url":"/api","name":"Docker tags","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/docker_tags/index","name":"index","apis":[{"api_url":"/katello/api/docker_tags","http_method":"GET","short_description":"List docker_tags","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/filters/:filter_id/docker_tags","http_method":"GET","short_description":"List docker_tags","deprecated":null},{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/docker_tags","http_method":"GET","short_description":"List docker_tags","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/docker_tags","http_method":"GET","short_description":"List docker_tags","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eids to filter content by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/docker_tags/show","name":"show","apis":[{"api_url":"/katello/api/docker_tags/:id","http_method":"GET","short_description":"Show a docker tag","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/docker_tags/:id","http_method":"GET","short_description":"Show a docker tag","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ea docker tag identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/docker_tags/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List docker_tags","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"subscriptions":{"doc_url":"../apidoc/v2/subscriptions","api_url":"/api","name":"Subscriptions","short_description":null,"full_description":"\n\u003cp\u003eSubscriptions management.\u003c/p\u003e\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/subscriptions/index","name":"index","apis":[{"api_url":"/katello/api/organizations/:organization_id/subscriptions","http_method":"GET","short_description":"List organization subscriptions","deprecated":null},{"api_url":"/katello/api/subscriptions","http_method":"GET","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eid of a host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"activation_key_id","full_name":"activation_key_id","description":"\n\u003cp\u003eActivation key ID\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"available_for","full_name":"available_for","description":"\n\u003cp\u003eObject to show subscriptions available for, either ‘host’ or ‘activation_key’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"match_host","full_name":"match_host","description":"\n\u003cp\u003eIgnore subscriptions that are unavailable to the specified host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"match_installed","full_name":"match_installed","description":"\n\u003cp\u003eReturn subscriptions that match installed products of the specified host\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"no_overlap","full_name":"no_overlap","description":"\n\u003cp\u003eReturn subscriptions which do not overlap with a currently-attached subscription\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/show","name":"show","apis":[{"api_url":"/katello/api/organizations/:organization_id/subscriptions/:id","http_method":"GET","short_description":"Show a subscription","deprecated":null},{"api_url":"/katello/api/subscriptions/:id","http_method":"GET","short_description":"Show a subscription","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eSubscription identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/create","name":"create","apis":[{"api_url":"/katello/api/activation_keys/:activation_key_id/subscriptions","http_method":"POST","short_description":"Add a subscription to an activation key","deprecated":true}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eSubscription Pool uuid\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"activation_key_id","full_name":"activation_key_id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"quantity","full_name":"quantity","description":"\n\u003cp\u003eQuantity of this subscriptions to add\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subscriptions","full_name":"subscriptions","description":"\n\u003cp\u003eArray of subscriptions to add\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"id","full_name":"subscriptions[id]","description":"\n\u003cp\u003eSubscription Pool uuid\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"quantity","full_name":"subscriptions[quantity]","description":"\n\u003cp\u003eQuantity of this subscriptions to add\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/destroy","name":"destroy","apis":[{"api_url":"/katello/api/activation_keys/:activation_key_id/subscriptions/:id","http_method":"DELETE","short_description":"Unattach a subscription","deprecated":true}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eSubscription ID\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"activation_key_id","full_name":"activation_key_id","description":"\n\u003cp\u003eactivation key ID\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/upload","name":"upload","apis":[{"api_url":"/katello/api/organizations/:organization_id/subscriptions/upload","http_method":"POST","short_description":"Upload a subscription manifest","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003eSubscription manifest file\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"File","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_url","full_name":"repository_url","description":"\n\u003cp\u003erepository url\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/refresh_manifest","name":"refresh_manifest","apis":[{"api_url":"/katello/api/organizations/:organization_id/subscriptions/refresh_manifest","http_method":"PUT","short_description":"Refresh previously imported manifest for Red Hat provider","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/delete_manifest","name":"delete_manifest","apis":[{"api_url":"/katello/api/organizations/:organization_id/subscriptions/delete_manifest","http_method":"POST","short_description":"Delete manifest from Red Hat provider","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/subscriptions/manifest_history","name":"manifest_history","apis":[{"api_url":"/katello/api/organizations/:organization_id/subscriptions/manifest_history","http_method":"GET","short_description":"obtain manifest history for subscriptions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"sync":{"doc_url":"../apidoc/v2/sync","api_url":"/api","name":"Sync","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/sync/index","name":"index","apis":[{"api_url":"/katello/api/organizations/:organization_id/products/:product_id/sync","http_method":"GET","short_description":"Get status of repo synchronisation for given product","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/sync","http_method":"GET","short_description":"Get status of synchronisation for given repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"packages":{"doc_url":"../apidoc/v2/packages","api_url":"/api","name":"Packages","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/packages/index","name":"index","apis":[{"api_url":"/katello/api/packages","http_method":"GET","short_description":"List packages","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/filters/:filter_id/packages","http_method":"GET","short_description":"List packages","deprecated":null},{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/packages","http_method":"GET","short_description":"List packages","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/packages","http_method":"GET","short_description":"List packages","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eids to filter content by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/packages/show","name":"show","apis":[{"api_url":"/katello/api/packages/:id","http_method":"GET","short_description":"Show a package","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/packages/:id","http_method":"GET","short_description":"Show a package","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ea package identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/packages/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List packages","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"capsule_content":{"doc_url":"../apidoc/v2/capsule_content","api_url":"/api","name":"Capsule content","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/capsule_content/lifecycle_environments","name":"lifecycle_environments","apis":[{"api_url":"/katello/api/capsules/:id/content/lifecycle_environments","http_method":"GET","short_description":"List the lifecycle environments attached to the capsule","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eId of the organization to limit environments on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsule_content/available_lifecycle_environments","name":"available_lifecycle_environments","apis":[{"api_url":"/katello/api/capsules/:id/content/available_lifecycle_environments","http_method":"GET","short_description":"List the lifecycle environments not attached to the capsule","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eId of the organization to limit environments on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsule_content/add_lifecycle_environment","name":"add_lifecycle_environment","apis":[{"api_url":"/katello/api/capsules/:id/content/lifecycle_environments","http_method":"POST","short_description":"Add lifecycle environments to the capsule","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eId of the lifecycle environment\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsule_content/remove_lifecycle_environment","name":"remove_lifecycle_environment","apis":[{"api_url":"/katello/api/capsules/:id/content/lifecycle_environments/:environment_id","http_method":"DELETE","short_description":"Remove lifecycle environments from the capsule","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eId of the lifecycle environment\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsule_content/sync","name":"sync","apis":[{"api_url":"/katello/api/capsules/:id/content/sync","http_method":"POST","short_description":"Synchronize the content to the capsule","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eId of the environment to limit the synchronization on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsule_content/sync_status","name":"sync_status","apis":[{"api_url":"/katello/api/capsules/:id/content/sync","http_method":"GET","short_description":"Get current capsule synchronization status","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eId of the organization to get the status for\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsule_content/cancel_sync","name":"cancel_sync","apis":[{"api_url":"/katello/api/capsules/:id/content/sync","http_method":"DELETE","short_description":"Cancel running capsule synchronization.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"docker_manifests":{"doc_url":"../apidoc/v2/docker_manifests","api_url":"/api","name":"Docker manifests","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/docker_manifests/index","name":"index","apis":[{"api_url":"/katello/api/docker_manifests","http_method":"GET","short_description":"List docker_manifests","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/filters/:filter_id/docker_manifests","http_method":"GET","short_description":"List docker_manifests","deprecated":null},{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/docker_manifests","http_method":"GET","short_description":"List docker_manifests","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/docker_manifests","http_method":"GET","short_description":"List docker_manifests","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eids to filter content by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/docker_manifests/show","name":"show","apis":[{"api_url":"/katello/api/docker_manifests/:id","http_method":"GET","short_description":"Show a docker manifest","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/docker_manifests/:id","http_method":"GET","short_description":"Show a docker manifest","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ea docker manifest identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/docker_manifests/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List docker_manifests","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"ostree_branches":{"doc_url":"../apidoc/v2/ostree_branches","api_url":"/api","name":"Ostree branches","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/ostree_branches/index","name":"index","apis":[{"api_url":"/katello/api/ostree_branches","http_method":"GET","short_description":"List ostree_branches","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/filters/:filter_id/ostree_branches","http_method":"GET","short_description":"List ostree_branches","deprecated":null},{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/ostree_branches","http_method":"GET","short_description":"List ostree_branches","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/ostree_branches","http_method":"GET","short_description":"List ostree_branches","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eids to filter content by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ostree_branches/show","name":"show","apis":[{"api_url":"/katello/api/ostree_branches/:id","http_method":"GET","short_description":"Show an ostree branch","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/ostree_branches/:id","http_method":"GET","short_description":"Show an ostree branch","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ean ostree branch identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/ostree_branches/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List ostree_branches","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"repository_sets":{"doc_url":"../apidoc/v2/repository_sets","api_url":"/api","name":"Repository sets","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/repository_sets/index","name":"index","apis":[{"api_url":"/katello/api/products/:product_id/repository_sets","http_method":"GET","short_description":"List repository sets for a product.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eID of a product to list repository sets from\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eRepository set name to search on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repository_sets/show","name":"show","apis":[{"api_url":"/katello/api/products/:product_id/repository_sets/:id","http_method":"GET","short_description":"Get info about a repository set","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the repository set\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eID of a product to list repository sets from\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repository_sets/available_repositories","name":"available_repositories","apis":[{"api_url":"/katello/api/products/:product_id/repository_sets/:id/available_repositories","http_method":"GET","short_description":"Get list of available repositories for the repository set","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the repository set\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eID of a product to list repository sets from\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repository_sets/enable","name":"enable","apis":[{"api_url":"/katello/api/products/:product_id/repository_sets/:id/enable","http_method":"PUT","short_description":"Enable a repository from the set","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the repository set to enable\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eID of the product containing the repository set\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"basearch","full_name":"basearch","description":"\n\u003cp\u003eBasearch to enable\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"releasever","full_name":"releasever","description":"\n\u003cp\u003eReleasever to enable\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repository_sets/disable","name":"disable","apis":[{"api_url":"/katello/api/products/:product_id/repository_sets/:id/disable","http_method":"PUT","short_description":"Disable a repository from the set","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the repository set to disable\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eID of the product containing the repository set\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"basearch","full_name":"basearch","description":"\n\u003cp\u003eBasearch to disable\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"releasever","full_name":"releasever","description":"\n\u003cp\u003eReleasever to disable\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"repositories":{"doc_url":"../apidoc/v2/repositories","api_url":"/api","name":"Repositories","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/repositories/index","name":"index","apis":[{"api_url":"/katello/api/repositories","http_method":"GET","short_description":"List of enabled repositories","deprecated":null},{"api_url":"/katello/api/content_views/:id/repositories","http_method":"GET","short_description":"List of repositories for a content view","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/repositories","http_method":"GET","short_description":"List of repositories in an organization","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/environments/:environment_id/repositories","http_method":"GET","short_description":"List repositories in the environment","deprecated":null},{"api_url":"/katello/api/products/:product_id/repositories","http_method":"GET","short_description":"List of repositories for a product","deprecated":null},{"api_url":"/katello/api/environments/:environment_id/products/:product_id/repositories","http_method":"GET","short_description":"List of repositories belonging to a product in an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of an organization to show repositories in\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eID of a product to show repositories of\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eID of an environment to show repositories in\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003eID of a content view to show repositories in\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003eID of a content view version to show repositories in\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"erratum_id","full_name":"erratum_id","description":"\n\u003cp\u003eId of an erratum to find repositories that contain the erratum\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"rpm_id","full_name":"rpm_id","description":"\n\u003cp\u003eId of a package to find repositories that contain the rpm\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"library","full_name":"library","description":"\n\u003cp\u003eshow repositories in Library and the default content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_type","full_name":"content_type","description":"\n\u003cp\u003elimit to only repositories of this type\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003eostree\u003c/code\u003e, \u003ccode\u003edocker\u003c/code\u003e, \u003ccode\u003eyum\u003c/code\u003e, \u003ccode\u003epuppet\u003c/code\u003e, \u003ccode\u003efile\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"available_for","full_name":"available_for","description":"\n\u003cp\u003einterpret specified object to return only Repositories that can be associated with specified object. Only ‘content_view’ is supported.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/create","name":"create","apis":[{"api_url":"/katello/api/repositories","http_method":"POST","short_description":"Create a custom repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"label","full_name":"label","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"product_id","full_name":"product_id","description":"\n\u003cp\u003eProduct the repository belongs to\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"url","description":"\n\u003cp\u003erepository source url\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"gpg_key_id","full_name":"gpg_key_id","description":"\n\u003cp\u003eid of the gpg key that will be assigned to the new repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"unprotected","full_name":"unprotected","description":"\n\u003cp\u003etrue if this repository can be published via HTTP\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_type","full_name":"content_type","description":"\n\u003cp\u003etype of repo (either ‘yum’, ‘puppet’, ‘docker’, or ‘ostree’)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003eostree\u003c/code\u003e, \u003ccode\u003edocker\u003c/code\u003e, \u003ccode\u003eyum\u003c/code\u003e, \u003ccode\u003epuppet\u003c/code\u003e, \u003ccode\u003efile\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"checksum_type","full_name":"checksum_type","description":"\n\u003cp\u003echecksum of the repository, currently ‘sha1’ \u0026amp; ‘sha256’ are supported.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"docker_upstream_name","full_name":"docker_upstream_name","description":"\n\u003cp\u003ename of the upstream docker repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"download_policy","full_name":"download_policy","description":"\n\u003cp\u003edownload policy for yum repos (either ‘immediate’, ‘on_demand’, or ‘background’)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003eimmediate\u003c/code\u003e, \u003ccode\u003eon_demand\u003c/code\u003e, \u003ccode\u003ebackground\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mirror_on_sync","full_name":"mirror_on_sync","description":"\n\u003cp\u003etrue if this repository when synced has to be mirrored from the source and stale rpms removed.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/repository_types","name":"repository_types","apis":[{"api_url":"/katello/api/repositories/repository_types","http_method":"GET","short_description":"Show the available repository types","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"creatable","full_name":"creatable","description":"\n\u003cp\u003eWhen set to ‘True’ repository types that are creatable will be returned\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/show","name":"show","apis":[{"api_url":"/katello/api/repositories/:id","http_method":"GET","short_description":"Show a repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003erepository ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/sync","name":"sync","apis":[{"api_url":"/katello/api/repositories/:id/sync","http_method":"POST","short_description":"Sync a repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003erepository ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"source_url","full_name":"source_url","description":"\n\u003cp\u003etemporarily override feed URL for sync\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"incremental","full_name":"incremental","description":"\n\u003cp\u003eperform an incremental import\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/export","name":"export","apis":[{"api_url":"/katello/api/repositories/:id/export","http_method":"POST","short_description":"Export a repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eRepository identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"export_to_iso","full_name":"export_to_iso","description":"\n\u003cp\u003eExport to ISO format\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"iso_mb_size","full_name":"iso_mb_size","description":"\n\u003cp\u003emaximum size of each ISO in MB\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"since","full_name":"since","description":"\n\u003cp\u003eOptional date of last export (ex: 2010-01-01T12:00:00Z)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Date","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/update","name":"update","apis":[{"api_url":"/katello/api/repositories/:id","http_method":"PUT","short_description":"Update a repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"name","full_name":"name","description":"\n\u003cp\u003eNew name for the repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003erepository ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"gpg_key_id","full_name":"gpg_key_id","description":"\n\u003cp\u003eID of a gpg key that will be assigned to this repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"unprotected","full_name":"unprotected","description":"\n\u003cp\u003etrue if this repository can be published via HTTP\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"checksum_type","full_name":"checksum_type","description":"\n\u003cp\u003echecksum of the repository, currently ‘sha1’ \u0026amp; ‘sha256’ are supported.‘\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"url","full_name":"url","description":"\n\u003cp\u003ethe feed url of the original repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"docker_upstream_name","full_name":"docker_upstream_name","description":"\n\u003cp\u003ename of the upstream docker repository\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"download_policy","full_name":"download_policy","description":"\n\u003cp\u003edownload policy for yum repos (either ‘immediate’, ‘on_demand’, or ‘background’)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003eimmediate\u003c/code\u003e, \u003ccode\u003eon_demand\u003c/code\u003e, \u003ccode\u003ebackground\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mirror_on_sync","full_name":"mirror_on_sync","description":"\n\u003cp\u003etrue if this repository when synced has to be mirrored from the source and stale rpms removed.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/destroy","name":"destroy","apis":[{"api_url":"/katello/api/repositories/:id","http_method":"DELETE","short_description":"Destroy a custom repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/sync_complete","name":"sync_complete","apis":[{"api_url":"/katello/api/repositories/sync_complete","http_method":"POST","short_description":null,"deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eURL for post sync notification from pulp\u003c/p\u003e\n","errors":[],"params":[{"name":"token","full_name":"token","description":"\n\u003cp\u003eshared secret token\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"payload","full_name":"payload","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"repo_id","full_name":"payload[repo_id]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"call_report","full_name":"call_report","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"task_id","full_name":"call_report[task_id]","description":"","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/remove_content","name":"remove_content","apis":[{"api_url":"/katello/api/repositories/:id/remove_packages","http_method":"PUT","short_description":null,"deprecated":null},{"api_url":"/katello/api/repositories/:id/remove_docker_manifests","http_method":"PUT","short_description":null,"deprecated":null},{"api_url":"/katello/api/repositories/:id/remove_puppet_modules","http_method":"PUT","short_description":null,"deprecated":null},{"api_url":"/katello/api/repositories/:id/remove_content","http_method":"PUT","short_description":null,"deprecated":null}],"formats":null,"full_description":"\n\u003cp\u003eRemove content from a repository\u003c/p\u003e\n","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003erepository ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eArray of content ids to remove\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/upload_content","name":"upload_content","apis":[{"api_url":"/katello/api/repositories/:id/upload_content","http_method":"POST","short_description":"Upload content into the repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003erepository ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003eContent files to upload. Can be a single file or array of files.\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"File","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/import_uploads","name":"import_uploads","apis":[{"api_url":"/katello/api/repositories/:id/import_uploads","http_method":"PUT","short_description":"Import uploads into a repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eRepository id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"upload_ids","full_name":"upload_ids","description":"\n\u003cp\u003eArray of upload ids to import\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/repositories/gpg_key_content","name":"gpg_key_content","apis":[{"api_url":"/katello/api/repositories/:id/gpg_key_content","http_method":"GET","short_description":"Return the content of a repo gpg key, used directly by yum","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"host_errata":{"doc_url":"../apidoc/v2/host_errata","api_url":"/api","name":"Host errata","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/host_errata/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/errata","http_method":"GET","short_description":"List errata available for the content host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eUUID of the content host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003eCalculate Applicable Errata based on a particular Content View\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eCalculate Applicable Errata based on a particular Environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_errata/apply","name":"apply","apis":[{"api_url":"/api/hosts/:host_id/errata/apply","http_method":"PUT","short_description":"Schedule errata for installation","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eHost ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"errata_ids","full_name":"errata_ids","description":"\n\u003cp\u003eList of Errata ids to install\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_errata/show","name":"show","apis":[{"api_url":"/api/hosts/:host_id/errata/:id","http_method":"GET","short_description":"Retrieve a single errata for a host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eHost ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eErrata id of the erratum (RHSA-2012:108)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"content_views":{"doc_url":"../apidoc/v2/content_views","api_url":"/api","name":"Content views","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_views/index","name":"index","apis":[{"api_url":"/katello/api/organizations/:organization_id/content_views","http_method":"GET","short_description":"List content views","deprecated":null},{"api_url":"/katello/api/content_views","http_method":"GET","short_description":"List content views","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"nondefault","full_name":"nondefault","description":"\n\u003cp\u003eFilter out default content views\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"noncomposite","full_name":"noncomposite","description":"\n\u003cp\u003eFilter out composite content views\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"composite","full_name":"composite","description":"\n\u003cp\u003eFilter only composite content views\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"without","full_name":"without","description":"\n\u003cp\u003eDo not include this array of content views\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eName of the content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/create","name":"create","apis":[{"api_url":"/katello/api/organizations/:organization_id/content_views","http_method":"POST","short_description":"Create a content view","deprecated":null},{"api_url":"/katello/api/content_views","http_method":"POST","short_description":"Create a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eOrganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eName of the content view\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"label","full_name":"label","description":"\n\u003cp\u003eContent view label\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"composite","full_name":"composite","description":"\n\u003cp\u003eComposite content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003eDescription for the content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_ids","full_name":"repository_ids","description":"\n\u003cp\u003eList of repository ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"component_ids","full_name":"component_ids","description":"\n\u003cp\u003eList of component content view version ids for composite views\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/update","name":"update","apis":[{"api_url":"/katello/api/content_views/:id","http_method":"PUT","short_description":"Update a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eNew name for the content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003eDescription for the content view\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_ids","full_name":"repository_ids","description":"\n\u003cp\u003eList of repository ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"component_ids","full_name":"component_ids","description":"\n\u003cp\u003eList of component content view version ids for composite views\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/publish","name":"publish","apis":[{"api_url":"/katello/api/content_views/:id/publish","http_method":"POST","short_description":"Publish a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003eDescription for the new published content view version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/show","name":"show","apis":[{"api_url":"/katello/api/content_views/:id","http_method":"GET","short_description":"Show a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/available_puppet_modules","name":"available_puppet_modules","apis":[{"api_url":"/katello/api/content_views/:id/available_puppet_modules","http_method":"GET","short_description":"Get puppet modules that are available to be added to the content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003emodule name to restrict modules for\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/available_puppet_module_names","name":"available_puppet_module_names","apis":[{"api_url":"/katello/api/content_views/:id/available_puppet_module_names","http_method":"GET","short_description":"Get puppet modules names that are available to be added to the content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/remove_from_environment","name":"remove_from_environment","apis":[{"api_url":"/katello/api/content_views/:id/environments/:environment_id","http_method":"DELETE","short_description":"Remove a content view from an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/remove","name":"remove","apis":[{"api_url":"/katello/api/content_views/:id/remove","http_method":"PUT","short_description":"Remove versions and/or environments from a content view and reassign systems and keys","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_ids","full_name":"environment_ids","description":"\n\u003cp\u003eenvironment numeric identifiers to be removed\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view version identifiers to be deleted\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"system_content_view_id","full_name":"system_content_view_id","description":"\n\u003cp\u003econtent view to reassign orphaned systems to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"system_environment_id","full_name":"system_environment_id","description":"\n\u003cp\u003eenvironment to reassign orphaned systems to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"key_content_view_id","full_name":"key_content_view_id","description":"\n\u003cp\u003econtent view to reassign orphaned activation keys to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"key_environment_id","full_name":"key_environment_id","description":"\n\u003cp\u003eenvironment to reassign orphaned activation keys to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/destroy","name":"destroy","apis":[{"api_url":"/katello/api/content_views/:id","http_method":"DELETE","short_description":"Delete a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_views/copy","name":"copy","apis":[{"api_url":"/katello/api/content_views/:id/copy","http_method":"POST","short_description":"Make copy of a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eNew content view name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"puppet_modules":{"doc_url":"../apidoc/v2/puppet_modules","api_url":"/api","name":"Puppet modules","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/puppet_modules/index","name":"index","apis":[{"api_url":"/katello/api/puppet_modules","http_method":"GET","short_description":"List puppet_modules","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/filters/:filter_id/puppet_modules","http_method":"GET","short_description":"List puppet_modules","deprecated":null},{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/puppet_modules","http_method":"GET","short_description":"List puppet_modules","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/puppet_modules","http_method":"GET","short_description":"List puppet_modules","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eids to filter content by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/puppet_modules/show","name":"show","apis":[{"api_url":"/katello/api/puppet_modules/:id","http_method":"GET","short_description":"Show a puppet module","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/puppet_modules/:id","http_method":"GET","short_description":"Show a puppet module","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ea puppet module identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/puppet_modules/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List puppet_modules","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"activation_keys":{"doc_url":"../apidoc/v2/activation_keys","api_url":"/api","name":"Activation keys","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/activation_keys/index","name":"index","apis":[{"api_url":"/katello/api/activation_keys","http_method":"GET","short_description":"List activation keys","deprecated":null},{"api_url":"/katello/api/environments/:environment_id/activation_keys","http_method":"GET","short_description":null,"deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/activation_keys","http_method":"GET","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eactivation key name to filter by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/create","name":"create","apis":[{"api_url":"/katello/api/activation_keys","http_method":"POST","short_description":"Create an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003edescription\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment","full_name":"environment","description":"\n\u003cp\u003eenvironment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"max_hosts","full_name":"max_hosts","description":"\n\u003cp\u003emaximum number of registered content hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"unlimited_hosts","full_name":"unlimited_hosts","description":"\n\u003cp\u003ecan the activation key have unlimited hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/update","name":"update","apis":[{"api_url":"/katello/api/activation_keys/:id","http_method":"PUT","short_description":"Update an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003edescription\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"max_hosts","full_name":"max_hosts","description":"\n\u003cp\u003emaximum number of registered content hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"unlimited_hosts","full_name":"unlimited_hosts","description":"\n\u003cp\u003ecan the activation key have unlimited hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"release_version","full_name":"release_version","description":"\n\u003cp\u003econtent release version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"service_level","full_name":"service_level","description":"\n\u003cp\u003eservice level\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"auto_attach","full_name":"auto_attach","description":"\n\u003cp\u003eauto attach subscriptions upon registration\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/destroy","name":"destroy","apis":[{"api_url":"/katello/api/activation_keys/:id","http_method":"DELETE","short_description":"Destroy an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/show","name":"show","apis":[{"api_url":"/katello/api/activation_keys/:id","http_method":"GET","short_description":"Show an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/copy","name":"copy","apis":[{"api_url":"/katello/api/activation_keys/:id/copy","http_method":"POST","short_description":"Copy an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"new_name","full_name":"new_name","description":"\n\u003cp\u003eName of new activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/available_host_collections","name":"available_host_collections","apis":[{"api_url":"/katello/api/activation_keys/:id/host_collections/available","http_method":"GET","short_description":"List host collections the system does not belong to","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ehost collection name to filter by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/available_releases","name":"available_releases","apis":[{"api_url":"/katello/api/activation_keys/:id/releases","http_method":"GET","short_description":"Show release versions available for an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/product_content","name":"product_content","apis":[{"api_url":"/katello/api/activation_keys/:id/product_content","http_method":"GET","short_description":"Show content available for an activation key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/add_host_collections","name":"add_host_collections","apis":[{"api_url":"/katello/api/activation_keys/:id/host_collections","http_method":"POST","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_collection_ids","full_name":"host_collection_ids","description":"\n\u003cp\u003eList of host collection IDs to associate with activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/remove_host_collections","name":"remove_host_collections","apis":[{"api_url":"/katello/api/activation_keys/:id/host_collections","http_method":"PUT","short_description":null,"deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_collection_ids","full_name":"host_collection_ids","description":"\n\u003cp\u003eList of host collection IDs to disassociate from the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/add_subscriptions","name":"add_subscriptions","apis":[{"api_url":"/katello/api/activation_keys/:id/add_subscriptions","http_method":"PUT","short_description":"Attach a subscription","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subscription_id","full_name":"subscription_id","description":"\n\u003cp\u003eSubscription identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"quantity","full_name":"quantity","description":"\n\u003cp\u003eQuantity of this subscription to add\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subscriptions","full_name":"subscriptions","description":"\n\u003cp\u003eArray of subscriptions to add\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"id","full_name":"subscriptions[id]","description":"\n\u003cp\u003eSubscription Pool uuid\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"quantity","full_name":"subscriptions[quantity]","description":"\n\u003cp\u003eQuantity of this subscriptions to add\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/remove_subscriptions","name":"remove_subscriptions","apis":[{"api_url":"/katello/api/activation_keys/:id/remove_subscriptions","http_method":"PUT","short_description":"Unattach a subscription","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subscription_id","full_name":"subscription_id","description":"\n\u003cp\u003eSubscription ID\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subscriptions","full_name":"subscriptions","description":"\n\u003cp\u003eArray of subscriptions to add\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"id","full_name":"subscriptions[id]","description":"\n\u003cp\u003eSubscription Pool uuid\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/content_override","name":"content_override","apis":[{"api_url":"/katello/api/activation_keys/:id/content_override","http_method":"PUT","short_description":"Override content for activation_key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the activation key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_override","full_name":"content_override","description":"\n\u003cp\u003eContent override parameters\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"content_label","full_name":"content_override[content_label]","description":"\n\u003cp\u003eLabel of the content\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"value","full_name":"content_override[value]","description":"\n\u003cp\u003eOverride to 0/1, or ‘default’\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003e0\u003c/code\u003e, \u003ccode\u003e1\u003c/code\u003e, \u003ccode\u003edefault\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/activation_keys/subscriptions","name":"subscriptions","apis":[{"api_url":"/katello/api/activation_keys/:id/subscriptions","http_method":"GET","short_description":"List an activation key's subscriptions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"activation_key_id","full_name":"activation_key_id","description":"\n\u003cp\u003eActivation key ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"hosts_bulk_actions":{"doc_url":"../apidoc/v2/hosts_bulk_actions","api_url":"/api","name":"Hosts bulk actions","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/hosts_bulk_actions/bulk_add_host_collections","name":"bulk_add_host_collections","apis":[{"api_url":"/katello/api/hosts/bulk/add_host_collections","http_method":"PUT","short_description":"Add one or more host collections to one or more hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"host_collection_ids","full_name":"host_collection_ids","description":"\n\u003cp\u003eList of host collection ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/bulk_remove_host_collections","name":"bulk_remove_host_collections","apis":[{"api_url":"/katello/api/hosts/bulk/remove_host_collections","http_method":"PUT","short_description":"Remove one or more host collections from one or more hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"host_collection_ids","full_name":"host_collection_ids","description":"\n\u003cp\u003eList of host collection ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/installable_errata","name":"installable_errata","apis":[{"api_url":"/katello/api/hosts/bulk/applicable_errata","http_method":"POST","short_description":"Fetch applicable errata for a system.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/install_content","name":"install_content","apis":[{"api_url":"/katello/api/hosts/bulk/install_content","http_method":"PUT","short_description":"Install content on one or more hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"content_type","full_name":"content_type","description":"\n\u003cp\u003eThe type of content. The following types are supported: ‘package’, ‘package_group’ and ‘errata’.\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003eList of content (e.g. package names, package group names or errata ids)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/update_content","name":"update_content","apis":[{"api_url":"/katello/api/hosts/bulk/update_content","http_method":"PUT","short_description":"Update content on one or more hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"content_type","full_name":"content_type","description":"\n\u003cp\u003eThe type of content. The following types are supported: ‘package’ and ‘package_group.\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003eList of content (e.g. package or package group names)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"update_all","full_name":"update_all","description":"\n\u003cp\u003eUpdates all packages on the host(s)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/remove_content","name":"remove_content","apis":[{"api_url":"/katello/api/hosts/bulk/remove_content","http_method":"PUT","short_description":"Remove content on one or more hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"content_type","full_name":"content_type","description":"\n\u003cp\u003eThe type of content. The following types are supported: ‘package’ and ‘package_group.\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003eList of content (e.g. package or package group names)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/destroy_hosts","name":"destroy_hosts","apis":[{"api_url":"/katello/api/hosts/bulk/destroy","http_method":"PUT","short_description":"Destroy one or more hosts","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/environment_content_view","name":"environment_content_view","apis":[{"api_url":"/katello/api/hosts/bulk/environment_content_view","http_method":"PUT","short_description":"Assign the environment and content view to one or more systems","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"content_view_id","full_name":"content_view_id","description":"","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/hosts_bulk_actions/available_incremental_updates","name":"available_incremental_updates","apis":[{"api_url":"/katello/api/hosts/bulk/available_incremental_updates","http_method":"POST","short_description":"Given a set of hosts and errata, lists the content view versions and environments that need updating.","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"included","full_name":"included","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"included[search]","description":"\n\u003cp\u003eSearch string for systems to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"included[ids]","description":"\n\u003cp\u003eList of system ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"excluded","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"excluded[ids]","description":"\n\u003cp\u003eList of system ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"errata_ids","full_name":"errata_ids","description":"\n\u003cp\u003eList of Errata ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"content_uploads":{"doc_url":"../apidoc/v2/content_uploads","api_url":"/api","name":"Content uploads","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_uploads/create","name":"create","apis":[{"api_url":"/katello/api/repositories/:repository_id/content_uploads","http_method":"POST","short_description":"Create an upload request","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_uploads/update","name":"update","apis":[{"api_url":"/katello/api/repositories/:repository_id/content_uploads/:id","http_method":"PUT","short_description":"Upload a chunk of the file's content","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eRepository id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eUpload request id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"offset","full_name":"offset","description":"\n\u003cp\u003eThe offset in the file where the content starts\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003eThe actual file contents\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"File","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_uploads/destroy","name":"destroy","apis":[{"api_url":"/katello/api/repositories/:repository_id/content_uploads/:id","http_method":"DELETE","short_description":"Delete an upload request","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eRepository id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003eUpload request id\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"host_collections":{"doc_url":"../apidoc/v2/host_collections","api_url":"/api","name":"Host collections","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/host_collections/show","name":"show","apis":[{"api_url":"/katello/api/host_collections/:id","http_method":"GET","short_description":"Show a host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the host collection\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/index","name":"index","apis":[{"api_url":"/katello/api/host_collections","http_method":"GET","short_description":"List host collections","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/host_collections","http_method":"GET","short_description":"List host collections within an organization","deprecated":null},{"api_url":"/katello/api/activation_keys/:activation_key_id/host_collections","http_method":"GET","short_description":"List host collections in an activation key","deprecated":null},{"api_url":"/katello/api/hosts/:host_id/host_collections","http_method":"GET","short_description":"List host collections containing a content host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ehost collection name to filter by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"activation_key_id","full_name":"activation_key_id","description":"\n\u003cp\u003eactivation key identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eFilter products by host id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"available_for","full_name":"available_for","description":"\n\u003cp\u003eInterpret specified object to return only Host Collections that can be associated with specified object. The value ‘host’ is supported.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/create","name":"create","apis":[{"api_url":"/katello/api/host_collections","http_method":"POST","short_description":"Create a host collection","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/host_collections","http_method":"POST","short_description":"Create a host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eHost Collection name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_ids","full_name":"host_ids","description":"\n\u003cp\u003eList of host ids to replace the hosts in host collection\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"max_hosts","full_name":"max_hosts","description":"\n\u003cp\u003eMaximum number of hosts in the host collection\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"unlimited_hosts","full_name":"unlimited_hosts","description":"\n\u003cp\u003eWhether or not the host collection may have unlimited hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/update","name":"update","apis":[{"api_url":"/katello/api/host_collections/:id","http_method":"PUT","short_description":"Update a host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the host collection\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eHost Collection name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_ids","full_name":"host_ids","description":"\n\u003cp\u003eList of host ids to replace the hosts in host collection\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"max_hosts","full_name":"max_hosts","description":"\n\u003cp\u003eMaximum number of hosts in the host collection\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"unlimited_hosts","full_name":"unlimited_hosts","description":"\n\u003cp\u003eWhether or not the host collection may have unlimited hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/add_hosts","name":"add_hosts","apis":[{"api_url":"/katello/api/host_collections/:id/add_hosts","http_method":"PUT","short_description":"Add host to the host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the host collection\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_ids","full_name":"host_ids","description":"\n\u003cp\u003eArray of host ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/remove_hosts","name":"remove_hosts","apis":[{"api_url":"/katello/api/host_collections/:id/remove_hosts","http_method":"PUT","short_description":"Remove hosts from the host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the host collection\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"host_ids","full_name":"host_ids","description":"\n\u003cp\u003eArray of host ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/destroy","name":"destroy","apis":[{"api_url":"/katello/api/host_collections/:id","http_method":"DELETE","short_description":"Destroy a host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the host collection\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_collections/copy","name":"copy","apis":[{"api_url":"/katello/api/host_collections/:id/copy","http_method":"POST","short_description":"Make copy of a host collection","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the host collection\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eNew host collection name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"errata":{"doc_url":"../apidoc/v2/errata","api_url":"/api","name":"Errata","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/errata/index","name":"index","apis":[{"api_url":"/katello/api/errata","http_method":"GET","short_description":"List errata","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"cve","full_name":"cve","description":"\n\u003cp\u003eCVE identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"errata_restrict_applicable","full_name":"errata_restrict_applicable","description":"\n\u003cp\u003eshow only errata with one or more applicable hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"errata_restrict_installable","full_name":"errata_restrict_installable","description":"\n\u003cp\u003eshow only errata with one or more installable hosts\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/errata/show","name":"show","apis":[{"api_url":"/katello/api/errata/:id","http_method":"GET","short_description":"Show an erratum","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/errata/:id","http_method":"GET","short_description":"Show an erratum","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ean erratum identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/errata/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List errata","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"content_view_versions":{"doc_url":"../apidoc/v2/content_view_versions","api_url":"/api","name":"Content view versions","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_view_versions/index","name":"index","apis":[{"api_url":"/katello/api/content_view_versions","http_method":"GET","short_description":"List content view versions","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/content_view_versions","http_method":"GET","short_description":"List content view versions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003eContent view identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eFilter versions by environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"puppet_module_id","full_name":"puppet_module_id","description":"\n\u003cp\u003eFilter versions by puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"version","full_name":"version","description":"\n\u003cp\u003eFilter versions by version number\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"composite_version_id","full_name":"composite_version_id","description":"\n\u003cp\u003eFilter versions that are components in the specified composite version\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_versions/show","name":"show","apis":[{"api_url":"/katello/api/content_view_versions/:id","http_method":"GET","short_description":"Show content view version","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view version identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_versions/promote","name":"promote","apis":[{"api_url":"/katello/api/content_view_versions/:id/promote","http_method":"POST","short_description":"Promote a content view version","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view version identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"force","full_name":"force","description":"\n\u003cp\u003eforce content view promotion and bypass lifecycle environment restriction\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_versions/export","name":"export","apis":[{"api_url":"/katello/api/content_view_versions/:id/export","http_method":"POST","short_description":"Export a content view version","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view version identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"export_to_iso","full_name":"export_to_iso","description":"\n\u003cp\u003eExport to ISO format\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"iso_mb_size","full_name":"iso_mb_size","description":"\n\u003cp\u003emaximum size of each ISO in MB\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"since","full_name":"since","description":"\n\u003cp\u003eOptional date of last export (ex: 2010-01-01T12:00:00Z)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Date","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_versions/destroy","name":"destroy","apis":[{"api_url":"/katello/api/content_view_versions/:id","http_method":"DELETE","short_description":"Remove content view version","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eContent view version identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_versions/incremental_update","name":"incremental_update","apis":[{"api_url":"/katello/api/content_view_versions/incremental_update","http_method":"POST","short_description":"Perform an Incremental Update on one or more Content View Versions","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_environments","full_name":"content_view_version_environments","description":"","required":false,"allow_nil":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"params":[{"name":"content_view_version_id","full_name":"content_view_version_environments[content_view_version_id]","description":"\n\u003cp\u003eContent View Version Ids to perform an incremental update on. May contain composites as well as one or more components to update.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_ids","full_name":"content_view_version_environments[environment_ids]","description":"\n\u003cp\u003eThe list of environments to promote the specified Content View Version to (replacing the older version).\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"description","full_name":"description","description":"\n\u003cp\u003eThe description for the new generated Content View Versions\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"resolve_dependencies","full_name":"resolve_dependencies","description":"\n\u003cp\u003eIf true, when adding the specified errata or packages, any needed dependencies will be copied as well.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"propagate_all_composites","full_name":"propagate_all_composites","description":"\n\u003cp\u003eIf true, will publish a new composite version using any specified content_view_version_id that has been promoted to a lifecycle environment.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"add_content","full_name":"add_content","description":"","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"errata_ids","full_name":"add_content[errata_ids]","description":"\n\u003cp\u003eErrata ids or uuids to copy into the new versions.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"package_ids","full_name":"add_content[package_ids]","description":"\n\u003cp\u003ePackage ids or uuids to copy into the new versions.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"puppet_module_ids","full_name":"add_content[puppet_module_ids]","description":"\n\u003cp\u003ePuppet Module ids or uuids to copy into the new versions.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"update_hosts","full_name":"update_hosts","description":"\n\u003cp\u003eAfter generating the incremental update, apply the changes to the specified hosts. Only Errata are supported currently.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"included","full_name":"update_hosts[included]","description":"","required":true,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"search","full_name":"update_hosts[included][search]","description":"\n\u003cp\u003eSearch string for host to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"update_hosts[included][ids]","description":"\n\u003cp\u003eList of host ids to perform an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]},{"name":"excluded","full_name":"update_hosts[excluded]","description":"","required":false,"allow_nil":true,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"ids","full_name":"update_hosts[excluded][ids]","description":"\n\u003cp\u003eList of host ids to exclude and not run an action on\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"content_view_puppet_modules":{"doc_url":"../apidoc/v2/content_view_puppet_modules","api_url":"/api","name":"Content view puppet modules","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_view_puppet_modules/index","name":"index","apis":[{"api_url":"/katello/api/content_views/:content_view_id/content_view_puppet_modules","http_method":"GET","short_description":"List content view puppet modules","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"author","full_name":"author","description":"\n\u003cp\u003eauthor of the puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"uuid","description":"\n\u003cp\u003ethe uuid of the puppet module to associate\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_puppet_modules/create","name":"create","apis":[{"api_url":"/katello/api/content_views/:content_view_id/content_view_puppet_modules","http_method":"POST","short_description":"Add a puppet module to the content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"author","full_name":"author","description":"\n\u003cp\u003eauthor of the puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ethe id of the puppet module to associate\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"uuid","description":"\n\u003cp\u003ethe uuid of the puppet module to associate\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_puppet_modules/show","name":"show","apis":[{"api_url":"/katello/api/content_views/:content_view_id/content_view_puppet_modules/:id","http_method":"GET","short_description":"Show a content view puppet module","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003epuppet module ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_puppet_modules/update","name":"update","apis":[{"api_url":"/katello/api/content_views/:content_view_id/content_view_puppet_modules/:id","http_method":"PUT","short_description":"Update a puppet module associated with the content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003epuppet module ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"author","full_name":"author","description":"\n\u003cp\u003eauthor of the puppet module\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"uuid","full_name":"uuid","description":"\n\u003cp\u003ethe uuid of the puppet module to associate\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_puppet_modules/destroy","name":"destroy","apis":[{"api_url":"/katello/api/content_views/:content_view_id/content_view_puppet_modules/:id","http_method":"DELETE","short_description":"Remove a puppet module from the content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003epuppet module ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"products":{"doc_url":"../apidoc/v2/products","api_url":"/api","name":"Products","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/products/index","name":"index","apis":[{"api_url":"/katello/api/products","http_method":"GET","short_description":"List products","deprecated":null},{"api_url":"/katello/api/subscriptions/:subscription_id/products","http_method":"GET","short_description":"List of subscription products in a subscription","deprecated":null},{"api_url":"/katello/api/activation_keys/:activation_key_id/products","http_method":"GET","short_description":"List of subscription products in an activation key","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/products","http_method":"GET","short_description":"List of products in an organization","deprecated":null},{"api_url":"/katello/api/sync_plans/:sync_plan_id/products","http_method":"GET","short_description":"List of Products for sync plan","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/sync_plans/:sync_plan_id/products","http_method":"GET","short_description":"List of Products for sync plan","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eFilter products by organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subscription_id","full_name":"subscription_id","description":"\n\u003cp\u003eFilter products by subscription\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eFilter products by name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"enabled","full_name":"enabled","description":"\n\u003cp\u003eFilter products by enabled or disabled\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"custom","full_name":"custom","description":"\n\u003cp\u003eFilter products by custom\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"include_available_content","full_name":"include_available_content","description":"\n\u003cp\u003eWhether to include available content attribute in results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sync_plan_id","full_name":"sync_plan_id","description":"\n\u003cp\u003eFilter products by sync plan id\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"available_for","full_name":"available_for","description":"\n\u003cp\u003eInterpret specified object to return only Products that can be associated with specified object. Only ‘sync_plan’ is supported.\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products/create","name":"create","apis":[{"api_url":"/katello/api/products","http_method":"POST","short_description":"Create a product","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003eProduct description\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"gpg_key_id","full_name":"gpg_key_id","description":"\n\u003cp\u003eIdentifier of the GPG key\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sync_plan_id","full_name":"sync_plan_id","description":"\n\u003cp\u003ePlan numeric identifier\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eProduct name\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"label","full_name":"label","description":"","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products/show","name":"show","apis":[{"api_url":"/katello/api/products/:id","http_method":"GET","short_description":"Show a product","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eproduct numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products/update","name":"update","apis":[{"api_url":"/katello/api/products/:id","http_method":"PUT","short_description":"Updates a product","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eproduct numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003eProduct description\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"gpg_key_id","full_name":"gpg_key_id","description":"\n\u003cp\u003eIdentifier of the GPG key\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sync_plan_id","full_name":"sync_plan_id","description":"\n\u003cp\u003ePlan numeric identifier\u003c/p\u003e\n","required":false,"allow_nil":true,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eProduct name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products/destroy","name":"destroy","apis":[{"api_url":"/katello/api/products/:id","http_method":"DELETE","short_description":"Destroy a product","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eproduct numeric identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products/sync","name":"sync","apis":[{"api_url":"/katello/api/products/:id/sync","http_method":"POST","short_description":"Sync all repositories for a product","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eproduct ID\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"products_bulk_actions":{"doc_url":"../apidoc/v2/products_bulk_actions","api_url":"/api","name":"Products bulk actions","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/products_bulk_actions/destroy_products","name":"destroy_products","apis":[{"api_url":"/katello/api/products/bulk/destroy","http_method":"PUT","short_description":"Destroy one or more products","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eList of product ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products_bulk_actions/sync_products","name":"sync_products","apis":[{"api_url":"/katello/api/products/bulk/sync","http_method":"PUT","short_description":"Sync one or more products","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eList of product ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/products_bulk_actions/update_sync_plans","name":"update_sync_plans","apis":[{"api_url":"/katello/api/products/bulk/sync_plan","http_method":"PUT","short_description":"Sync one or more products","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eList of product ids\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"plan_id","full_name":"plan_id","description":"\n\u003cp\u003eSync plan identifier to attach\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"content_view_filters":{"doc_url":"../apidoc/v2/content_view_filters","api_url":"/api","name":"Content view filters","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_view_filters/index","name":"index","apis":[{"api_url":"/katello/api/content_views/:content_view_id/filters","http_method":"get","short_description":"list filters","deprecated":null},{"api_url":"/katello/api/content_view_filters","http_method":"get","short_description":"list filters","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003efilter content view filters by name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filters/create","name":"create","apis":[{"api_url":"/katello/api/content_views/:content_view_id/filters","http_method":"post","short_description":"create a filter for a content view","deprecated":null},{"api_url":"/katello/api/content_view_filters","http_method":"post","short_description":"create a filter for a content view","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the filter\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"type","full_name":"type","description":"\n\u003cp\u003etype of filter (e.g. rpm, package_group, erratum)\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"original_packages","full_name":"original_packages","description":"\n\u003cp\u003eadd all packages without errata to the included/excluded list. (package filter only)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"inclusion","full_name":"inclusion","description":"\n\u003cp\u003especifies if content should be included or excluded, default: inclusion=false\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_ids","full_name":"repository_ids","description":"\n\u003cp\u003elist of repository ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003edescription of the filter\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filters/show","name":"show","apis":[{"api_url":"/katello/api/content_views/:content_view_id/filters/:id","http_method":"get","short_description":"show filter info","deprecated":null},{"api_url":"/katello/api/content_view_filters/:id","http_method":"get","short_description":"show filter info","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filters/update","name":"update","apis":[{"api_url":"/katello/api/content_views/:content_view_id/filters/:id","http_method":"put","short_description":"update a filter","deprecated":null},{"api_url":"/katello/api/content_view_filters/:id","http_method":"put","short_description":"update a filter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003enew name for the filter\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"original_packages","full_name":"original_packages","description":"\n\u003cp\u003eadd all packages without errata to the included/excluded list. (package filter only)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"inclusion","full_name":"inclusion","description":"\n\u003cp\u003especifies if content should be included or excluded, default: inclusion=false\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_ids","full_name":"repository_ids","description":"\n\u003cp\u003elist of repository ids\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/content_view_filters/destroy","name":"destroy","apis":[{"api_url":"/katello/api/content_views/:content_view_id/filters/:id","http_method":"delete","short_description":"delete a filter","deprecated":null},{"api_url":"/katello/api/content_view_filters/:id","http_method":"delete","short_description":"delete a filter","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_id","full_name":"content_view_id","description":"\n\u003cp\u003econtent view identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003efilter identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"content_view_histories":{"doc_url":"../apidoc/v2/content_view_histories","api_url":"/api","name":"Content view histories","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/content_view_histories/index","name":"index","apis":[{"api_url":"/katello/api/content_views/:id/history","http_method":"GET","short_description":"Show a content view's history","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003econtent view numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"capsules":{"doc_url":"../apidoc/v2/capsules","api_url":"/api","name":"Capsules","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/capsules/index","name":"index","apis":[{"api_url":"/katello/api/capsules","http_method":"GET","short_description":"List all capsules","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/capsules/show","name":"show","apis":[{"api_url":"/katello/api/capsules/:id","http_method":"GET","short_description":"Show the capsule details","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eId of the capsule\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"gpg_keys":{"doc_url":"../apidoc/v2/gpg_keys","api_url":"/api","name":"Gpg keys","short_description":null,"full_description":"\n\u003ch1 id=\"description\"\u003eDescription\u003c/h1\u003e\n\n\u003cp\u003eDocuments the calls for the list, read, create, update and delete operations for GPG keys\u003c/p\u003e\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/gpg_keys/index","name":"index","apis":[{"api_url":"/katello/api/gpg_keys","http_method":"GET","short_description":"List gpg keys","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the GPG key\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/gpg_keys/create","name":"create","apis":[{"api_url":"/katello/api/gpg_keys","http_method":"POST","short_description":"Create a gpg key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eidentifier of the gpg key\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003epublic key block in DER encoding\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/gpg_keys/show","name":"show","apis":[{"api_url":"/katello/api/gpg_keys/:id","http_method":"GET","short_description":"Show a gpg key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003egpg key numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/gpg_keys/update","name":"update","apis":[{"api_url":"/katello/api/gpg_keys/:id","http_method":"PUT","short_description":"Update a repository","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003egpg key numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003eidentifier of the gpg key\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003epublic key block in DER encoding\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/gpg_keys/destroy","name":"destroy","apis":[{"api_url":"/katello/api/gpg_keys/:id","http_method":"DELETE","short_description":"Destroy a gpg key","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003egpg key numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/gpg_keys/content","name":"content","apis":[{"api_url":"/katello/api/gpg_keys/:id/content","http_method":"POST","short_description":"Upload gpg key contents","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003egpg key numeric identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content","full_name":"content","description":"\n\u003cp\u003efile contents\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"File","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"uebercerts":{"doc_url":"../apidoc/v2/uebercerts","api_url":"/api","name":"Uebercerts","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/uebercerts/show","name":"show","apis":[{"api_url":"/katello/api/organizations/:organization_id/uebercert","http_method":"GET","short_description":"Show an ueber certificate for an organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"regenerate","full_name":"regenerate","description":"\n\u003cp\u003eWhen set to ‘True’ certificate will be re-issued\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"package_groups":{"doc_url":"../apidoc/v2/package_groups","api_url":"/api","name":"Package groups","short_description":null,"full_description":null,"version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/package_groups/index","name":"index","apis":[{"api_url":"/katello/api/package_groups","http_method":"GET","short_description":"List package_groups","deprecated":null},{"api_url":"/katello/api/content_views/:content_view_id/filters/:filter_id/package_groups","http_method":"GET","short_description":"List package_groups","deprecated":null},{"api_url":"/katello/api/content_view_filters/:content_view_filter_id/package_groups","http_method":"GET","short_description":"List package_groups","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/package_groups","http_method":"GET","short_description":"List package_groups","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_version_id","full_name":"content_view_version_id","description":"\n\u003cp\u003econtent view version identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"content_view_filter_id","full_name":"content_view_filter_id","description":"\n\u003cp\u003econtent view filter identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"environment_id","full_name":"environment_id","description":"\n\u003cp\u003eenvironment identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ids","full_name":"ids","description":"\n\u003cp\u003eids to filter content by\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"search","full_name":"search","description":"\n\u003cp\u003eSearch string\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n\u003cp\u003ePage number, starting at 1\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per_page","full_name":"per_page","description":"\n\u003cp\u003eNumber of results per page to return\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"order","description":"\n\u003cp\u003eSort field and order, eg. ‘name DESC’\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"full_result","full_name":"full_result","description":"\n\u003cp\u003eWhether or not to show all results\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"boolean","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sort","full_name":"sort","description":"\n\u003cp\u003eHash version of ‘order’ param\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"by","full_name":"sort[by]","description":"\n\u003cp\u003eField to sort the results on\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"order","full_name":"sort[order]","description":"\n\u003cp\u003eHow to order the sorted results (e.g. ASC for ascending)\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/package_groups/show","name":"show","apis":[{"api_url":"/katello/api/package_groups/:id","http_method":"GET","short_description":"Show a package group","deprecated":null},{"api_url":"/katello/api/repositories/:repository_id/package_groups/:id","http_method":"GET","short_description":"Show a package group","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003erepository identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n\u003cp\u003ea package group identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/package_groups/compare","name":"compare","apis":[{"api_url":"/katello/api/compare","http_method":"GET","short_description":"List package_groups","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"content_view_version_ids","full_name":"content_view_version_ids","description":"\n\u003cp\u003econtent view versions to compare\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"repository_id","full_name":"repository_id","description":"\n\u003cp\u003eLibrary repository id to restrict comparisons to\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":null},"lifecycle_environments":{"doc_url":"../apidoc/v2/lifecycle_environments","api_url":"/api","name":"Lifecycle environments","short_description":null,"full_description":"\n\u003ch1 id=\"description\"\u003eDescription\u003c/h1\u003e\n\n\u003cp\u003eAn environment is a basic organization structure that groups systems, products, repositories, etc. Every system belongs to one environment and it’s isolated inside so that it can see only content that is in its environment.\u003c/p\u003e\n\n\u003ch2 id=\"chains\"\u003eChains\u003c/h2\u003e\n\n\u003cp\u003eEnvironments are ordered into chains and their content (propducts, repositories, tempaltes, packages) can be moved to an environment only from its prior environment. You can have for example chain like:\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003eLibrary -\u0026gt; Development -\u0026gt; Testing -\u0026gt; Production\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003eEach change in an environment is done through a changeset in an action called promotion.\u003c/p\u003e\n\n\u003ch2 id=\"library\"\u003eLibrary\u003c/h2\u003e\n\n\u003cp\u003eLibrary is a special environment that has no ascendant: All the content starts in this environment. More chains can start from the library environment but no further branching of a chain is enabled.\u003c/p\u003e\n","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/lifecycle_environments/index","name":"index","apis":[{"api_url":"/katello/api/environments","http_method":"GET","short_description":"List environments in an organization","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/environments","http_method":"GET","short_description":"List environments in an organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"library","full_name":"library","description":"\n\u003cp\u003eset true if you want to see only library environments\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be one of: \u003ccode\u003etrue\u003c/code\u003e, \u003ccode\u003efalse\u003c/code\u003e.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003efilter only environments containing this name\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/lifecycle_environments/show","name":"show","apis":[{"api_url":"/katello/api/environments/:id","http_method":"GET","short_description":"Show an environment","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/environments/:environment_id","http_method":"GET","short_description":"Show an environment","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the environment\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eID of the organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/lifecycle_environments/create","name":"create","apis":[{"api_url":"/katello/api/environments","http_method":"POST","short_description":"Create an environment","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/environments","http_method":"POST","short_description":"Create an environment in an organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003ename of organization\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"name","full_name":"name","description":"\n\u003cp\u003ename of the environment\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"label","full_name":"label","description":"\n\u003cp\u003elabel of the environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003edescription of the environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"prior_id","full_name":"prior_id","description":"\n\u003cp\u003eID of an environment that is prior to the new environment in the chain. It has to be either the ID of Library or the ID of an environment at the end of a chain.\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/lifecycle_environments/update","name":"update","apis":[{"api_url":"/katello/api/environments/:id","http_method":"PUT","short_description":"Update an environment","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/environments/:id","http_method":"PUT","short_description":"Update an environment in an organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the environment\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003ename of the organization\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"new_name","full_name":"new_name","description":"\n\u003cp\u003enew name to be given to the environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"description","full_name":"description","description":"\n\u003cp\u003edescription of the environment\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/lifecycle_environments/destroy","name":"destroy","apis":[{"api_url":"/katello/api/environments/:id","http_method":"DELETE","short_description":"Destroy an environment","deprecated":null},{"api_url":"/katello/api/organizations/:organization_id/environments/:id","http_method":"DELETE","short_description":"Destroy an environment in an organization","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"id","full_name":"id","description":"\n\u003cp\u003eID of the environment\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/lifecycle_environments/paths","name":"paths","apis":[{"api_url":"/katello/api/organizations/:organization_id/environments/paths","http_method":"GET","short_description":"List environment paths","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"organization_id","full_name":"organization_id","description":"\n\u003cp\u003eorganization identifier\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"number.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"permission_type","full_name":"permission_type","description":"\n\u003cp\u003eThe associated permission type. One of (readable | promotable) Default: readable\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]},"host_packages":{"doc_url":"../apidoc/v2/host_packages","api_url":"/api","name":"Host packages","short_description":null,"full_description":"","version":"v2","formats":null,"metadata":null,"methods":[{"doc_url":"../apidoc/v2/host_packages/index","name":"index","apis":[{"api_url":"/api/hosts/:host_id/packages","http_method":"GET","short_description":"List packages installed on the host","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_packages/install","name":"install","apis":[{"api_url":"/api/hosts/:host_id/packages/install","http_method":"PUT","short_description":"Install packages remotely","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"packages","full_name":"packages","description":"\n\u003cp\u003eList of package names\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"groups","full_name":"groups","description":"\n\u003cp\u003eList of package group names\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_packages/upgrade","name":"upgrade","apis":[{"api_url":"/api/hosts/:host_id/packages/upgrade","http_method":"PUT","short_description":"Update packages remotely","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"packages","full_name":"packages","description":"\n\u003cp\u003elist of packages names\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_packages/upgrade_all","name":"upgrade_all","apis":[{"api_url":"/api/hosts/:host_id/packages/upgrade_all","http_method":"PUT","short_description":"Update packages remotely","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"../apidoc/v2/host_packages/remove","name":"remove","apis":[{"api_url":"/api/hosts/:host_id/packages/remove","http_method":"PUT","short_description":"Uninstall packages remotely","deprecated":null}],"formats":null,"full_description":"","errors":[],"params":[{"name":"host_id","full_name":"host_id","description":"\n\u003cp\u003eID of the host\u003c/p\u003e\n","required":true,"allow_nil":false,"validator":"string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"packages","full_name":"packages","description":"\n\u003cp\u003eList of package names\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"groups","full_name":"groups","description":"\n\u003cp\u003eList of package group names\u003c/p\u003e\n","required":false,"allow_nil":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[]}},"link_extension":".en.html"}}