katello_api 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +2 -0
  3. data/README.rdoc +0 -4
  4. data/doc/KatelloApi/Base.html +831 -0
  5. data/doc/KatelloApi/Generator/Base.html +671 -0
  6. data/doc/KatelloApi/Generator.html +115 -0
  7. data/doc/KatelloApi/Resources/ActivationKey.html +1757 -0
  8. data/doc/KatelloApi/Resources/Architecture.html +1007 -0
  9. data/doc/KatelloApi/Resources/Changeset.html +1413 -0
  10. data/doc/KatelloApi/Resources/ChangesetsContent.html +2674 -0
  11. data/doc/KatelloApi/Resources/ComputeResource.html +1067 -0
  12. data/doc/KatelloApi/Resources/ConfigTemplate.html +1361 -0
  13. data/doc/KatelloApi/Resources/ContentView.html +938 -0
  14. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1629 -0
  15. data/doc/KatelloApi/Resources/Crl.html +367 -0
  16. data/doc/KatelloApi/Resources/Distribution.html +560 -0
  17. data/doc/KatelloApi/Resources/Distributor.html +1892 -0
  18. data/doc/KatelloApi/Resources/Domain.html +1066 -0
  19. data/doc/KatelloApi/Resources/Environment.html +1645 -0
  20. data/doc/KatelloApi/Resources/Erratum.html +632 -0
  21. data/doc/KatelloApi/Resources/GpgKey.html +1220 -0
  22. data/doc/KatelloApi/Resources/HardwareModel.html +1025 -0
  23. data/doc/KatelloApi/Resources/Organization.html +1062 -0
  24. data/doc/KatelloApi/Resources/Package.html +728 -0
  25. data/doc/KatelloApi/Resources/Permission.html +1021 -0
  26. data/doc/KatelloApi/Resources/Ping.html +625 -0
  27. data/doc/KatelloApi/Resources/Product.html +1845 -0
  28. data/doc/KatelloApi/Resources/Provider.html +2237 -0
  29. data/doc/KatelloApi/Resources/Repository.html +1976 -0
  30. data/doc/KatelloApi/Resources/RepositorySet.html +770 -0
  31. data/doc/KatelloApi/Resources/Role.html +1257 -0
  32. data/doc/KatelloApi/Resources/RoleLdapGroup.html +728 -0
  33. data/doc/KatelloApi/Resources/SmartProxy.html +1054 -0
  34. data/doc/KatelloApi/Resources/Statu.html +367 -0
  35. data/doc/KatelloApi/Resources/Subnet.html +1007 -0
  36. data/doc/KatelloApi/Resources/Subscription.html +1064 -0
  37. data/doc/KatelloApi/Resources/Sync.html +826 -0
  38. data/doc/KatelloApi/Resources/SyncPlan.html +1148 -0
  39. data/doc/KatelloApi/Resources/System.html +3576 -0
  40. data/doc/KatelloApi/Resources/SystemGroup.html +2006 -0
  41. data/doc/KatelloApi/Resources/SystemGroupErratum.html +602 -0
  42. data/doc/KatelloApi/Resources/SystemGroupPackage.html +826 -0
  43. data/doc/KatelloApi/Resources/SystemPackage.html +770 -0
  44. data/doc/KatelloApi/Resources/Task.html +546 -0
  45. data/doc/KatelloApi/Resources/Template.html +1573 -0
  46. data/doc/KatelloApi/Resources/TemplatesContent.html +2268 -0
  47. data/doc/KatelloApi/Resources/Uebercert.html +406 -0
  48. data/doc/KatelloApi/Resources/User.html +1846 -0
  49. data/doc/KatelloApi/Resources.html +117 -0
  50. data/doc/KatelloApi.html +365 -0
  51. data/doc/_index.html +539 -0
  52. data/doc/class_list.html +53 -0
  53. data/doc/css/common.css +1 -0
  54. data/doc/css/full_list.css +57 -0
  55. data/doc/css/style.css +338 -0
  56. data/doc/file.README.html +127 -0
  57. data/doc/file_list.html +55 -0
  58. data/doc/frames.html +28 -0
  59. data/doc/index.html +127 -0
  60. data/doc/js/app.js +214 -0
  61. data/doc/js/full_list.js +173 -0
  62. data/doc/js/jquery.js +4 -0
  63. data/doc/method_list.html +2548 -0
  64. data/doc/top-level-namespace.html +112 -0
  65. data/lib/katello_api/base.rb +61 -6
  66. data/lib/katello_api/documentation.json +1 -0
  67. data/lib/katello_api/resources/activation_key.rb +51 -48
  68. data/lib/katello_api/resources/architecture.rb +19 -24
  69. data/lib/katello_api/resources/changeset.rb +39 -37
  70. data/lib/katello_api/resources/changesets_content.rb +64 -57
  71. data/lib/katello_api/resources/compute_resource.rb +37 -42
  72. data/lib/katello_api/resources/config_template.rb +40 -44
  73. data/lib/katello_api/resources/content_view.rb +14 -17
  74. data/lib/katello_api/resources/content_view_definition.rb +34 -42
  75. data/lib/katello_api/resources/crl.rb +3 -4
  76. data/lib/katello_api/resources/distribution.rb +8 -8
  77. data/lib/katello_api/resources/distributor.rb +35 -37
  78. data/lib/katello_api/resources/domain.rb +28 -32
  79. data/lib/katello_api/resources/environment.rb +38 -44
  80. data/lib/katello_api/resources/erratum.rb +9 -8
  81. data/lib/katello_api/resources/gpg_key.rb +28 -33
  82. data/lib/katello_api/resources/hardware_model.rb +25 -30
  83. data/lib/katello_api/resources/organization.rb +24 -26
  84. data/lib/katello_api/resources/package.rb +9 -12
  85. data/lib/katello_api/resources/permission.rb +21 -19
  86. data/lib/katello_api/resources/ping.rb +9 -12
  87. data/lib/katello_api/resources/product.rb +34 -43
  88. data/lib/katello_api/resources/provider.rb +55 -66
  89. data/lib/katello_api/resources/repository.rb +44 -55
  90. data/lib/katello_api/resources/repository_set.rb +9 -12
  91. data/lib/katello_api/resources/role.rb +35 -33
  92. data/lib/katello_api/resources/role_ldap_group.rb +10 -12
  93. data/lib/katello_api/resources/smart_proxy.rb +24 -28
  94. data/lib/katello_api/resources/statu.rb +3 -4
  95. data/lib/katello_api/resources/subnet.rb +19 -24
  96. data/lib/katello_api/resources/subscription.rb +16 -21
  97. data/lib/katello_api/resources/sync.rb +9 -12
  98. data/lib/katello_api/resources/sync_plan.rb +28 -33
  99. data/lib/katello_api/resources/system.rb +81 -90
  100. data/lib/katello_api/resources/system_group.rb +47 -57
  101. data/lib/katello_api/resources/system_group_erratum.rb +6 -8
  102. data/lib/katello_api/resources/system_group_package.rb +15 -18
  103. data/lib/katello_api/resources/system_package.rb +12 -15
  104. data/lib/katello_api/resources/task.rb +6 -8
  105. data/lib/katello_api/resources/template.rb +39 -47
  106. data/lib/katello_api/resources/templates_content.rb +40 -52
  107. data/lib/katello_api/resources/uebercert.rb +4 -4
  108. data/lib/katello_api/resources/user.rb +47 -50
  109. data/lib/katello_api/version.rb +1 -1
  110. data/lib/katello_api.rb +0 -13
  111. metadata +68 -4
@@ -0,0 +1 @@
1
+ {"docs":{"name":"Katello","api_url":"/api","copyright":"Copyright \u00a9 2012 Red Hat, Inc.","resources":{"subnets":{"name":"Subnets","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/subnets","formats":null,"full_description":"\n<p>The Subnet API is available only if support for Foreman is installed.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subnets/index","full_description":"","apis":[{"api_url":"/api/subnets","http_method":"GET","short_description":"Get list of subnets available in Foreman"}],"errors":[],"params":[]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subnets/show","full_description":"","apis":[{"api_url":"/api/subnets/:id","http_method":"GET","short_description":"Show an subnet"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>subnet name</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subnets/create","full_description":"","apis":[{"api_url":"/api/subnet","http_method":"POST","short_description":"Create new subnet in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"subnet","name":"subnet","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"subnet[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>subnet name</p>\n"}],"description":"\n<p>subnet info</p>\n"}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subnets/update","full_description":"","apis":[{"api_url":"/api/subnets/:id","http_method":"PUT","short_description":"Update an subnet record in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>subnet name</p>\n"},{"allow_nil":false,"full_name":"subnet","name":"subnet","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"subnet[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>subnet name</p>\n"}],"description":"\n<p>subnet info</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subnets/destroy","full_description":"","apis":[{"api_url":"/api/subnets/:id","http_method":"DELETE","short_description":"Remove an subnet from Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>subnet name</p>\n"}]}]},"distributions":{"name":"Distributions","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/distributions","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/repositories/2/distributions\n200\n[\n {\n \"family\": \"Test Family\",\n \"url\": [\n \"http://katello.example.com/pulp/ks/org_227e003/Library/custom/fewups_product_227e003/repo_227e003/\",\n \"http://katello.example.com/pulp/ks/org_227e003/Library/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5/\",\n \"http://katello.example.com/pulp/ks/org_227e003/env_227e003/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5/\",\n \"http://katello.example.com/pulp/ks/org_227e003/env_227e003/custom/fewups_product_227e003/repo_227e003/\"\n ],\n \"files\": [\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test2.img\",\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test1.img\",\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/.treeinfo\",\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/empty.iso\"\n ],\n \"arch\": \"x86_64\",\n \"version\": \"16\",\n \"variant\": \"TestVariant\",\n \"id\": \"ks-Test Family-TestVariant-16-x86_64\",\n \"description\": \"ks-Test Family-TestVariant-16-x86_64\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributions/index","full_description":"","apis":[{"api_url":"/api/repositories/:repository_id/distributions","http_method":"GET","short_description":"List distributions"}],"errors":[],"params":[]},{"name":"show","examples":["GET /api/repositories/2/distributions/ks-Test%20Family-TestVariant-16-x86_64/\n200\n{\n \"family\": \"Test Family\",\n \"url\": [\n \"http://katello.example.com/pulp/ks/org_227e003/Library/custom/fewups_product_227e003/repo_227e003/\",\n \"http://katello.example.com/pulp/ks/org_227e003/Library/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5/\",\n \"http://katello.example.com/pulp/ks/org_227e003/env_227e003/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5/\",\n \"http://katello.example.com/pulp/ks/org_227e003/env_227e003/custom/fewups_product_227e003/repo_227e003/\"\n ],\n \"files\": [\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test2.img\",\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/test1.img\",\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/.treeinfo\",\n \"/var/lib/pulp/distributions/ks-Test Family-TestVariant-16-x86_64/empty.iso\"\n ],\n \"arch\": \"x86_64\",\n \"version\": \"16\",\n \"variant\": \"TestVariant\",\n \"id\": \"ks-Test Family-TestVariant-16-x86_64\",\n \"description\": \"ks-Test Family-TestVariant-16-x86_64\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributions/show","full_description":"","apis":[{"api_url":"/api/repositories/:repository_id/distributions/:id","http_method":"GET","short_description":"Show a distribution"}],"errors":[],"params":[{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>repository numeric id</p>\n"}]}]},"content_views":{"name":"Content views","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/content_views","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_views/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/content_views","http_method":"GET","short_description":"List content views"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"},{"allow_nil":false,"full_name":"label","name":"label","expected_type":"string","validator":"String","required":false,"description":"\n<p>content view label</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>content view name</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>content view id</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_views/show","full_description":"","apis":[{"api_url":"/api/content_views/:id","http_method":"GET","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>content view id</p>\n"},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment id</p>\n"}]},{"name":"promote","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_views/promote","full_description":"","apis":[{"api_url":"/api/content_views/:id/promote","http_method":"POST","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>content view id</p>\n"},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment promoting to</p>\n"}]},{"name":"refresh","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_views/refresh","full_description":"","apis":[{"api_url":"/api/content_views/:id/refresh","http_method":"POST","short_description":null}],"errors":[],"params":[]}]},"gpg_keys":{"name":"Gpg keys","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/gpg_keys","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/org_227e003/gpg_keys/\n200\n[\n {\n \"name\": \"Another-Dummy-Package-Generator\",\n \"id\": 2\n },\n {\n \"name\": \"Dummy-Package-Generator\",\n \"id\": 1\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/gpg_keys/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/gpg_keys","http_method":"GET","short_description":"List gpg keys"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>identifier of the gpg key</p>\n"}]},{"name":"show","examples":["GET /api/gpg_keys/1/\n200\n{\n \"created_at\": \"2012-08-10T13:45:52Z\",\n \"name\": \"Dummy-Package-Generator\",\n \"organization_id\": 2,\n \"repositories\": [],\n \"products\": [],\n \"content\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\nVersion: GnuPG v1.4.11 (GNU/Linux)\\n\\nmQENBE8NW6EBCAC/ht3UujFwxol44zilXcwI8v15gf6X4u3A5Oo2FCEweQfbZw8q\\nlPGjzRNHcNVO4NIZ+G1fHyWAgcs/xa4fTju4LOJU2OWfbkvGA7tlIIREkEQ9IgMI\\ni0LJzsHyqhWhJ0S5POCLFyH27R0Vh2wPMwZawoomRVDsghIE8TAJVKIHICVObvGE\\nVqBGSY1OHvGfZ0ZsnQv3hDmxnyywJkJ96HGVqStS2sW0YkQ77dRY0u6eSI55vwBQ\\niV9dCSMs43LpoBL9pFj0ESM76G0GSGF5G9PH2b//y8ehepdS30otiqgjag5Zw76b\\nqFMHFyq1o5hXJpIPiZaagU1X+wMixPOlqE5LABEBAAG0MER1bW15IFBhY2thZ2Vz\\nIEdlbmVyYXRvciA8YWRtaW5Aem9vLmV4YW1wbGUuY29tPokBOAQTAQIAIgUCTw1b\\noQIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQ74XM4/ePsZVeCgf+L+HW\\nf0K7/uzu3Q7G+aOu7qwu0iUK64SEAgtoMdjpjkq+YYxPS60zP7QS3pAzL4N31kT/\\nkHQ+OJAg5Z0oegXu9mdhIenks2DaEzN6P2jAhWoRa/az5F9AaJ01WSsspsBpcAyt\\n3NB2iGNtzs4v6saUz5mTp1bgmsXolzClHlTSUnjjCfuk7HgzJcCpRxb49tQ5Lo3b\\n9k0XPvhhgSdiTFM+CfPl3qgHPENZqyoDOnhvKbMHZg8NCf1NLf8edlk5nWDjHti8\\nVfkuCSgRzR15SgyEUU1MCQBPEYKy8U6LoOwX8Rl3+lCf9D7rReP74wSEdr9p9cFi\\nSCFpN6IUJ9pN0tDU3rkBDQRPDVuhAQgAmZB+DKbraTgeW1UOYS/HWzGOR21NR3nq\\nsxeG249W3OlsZbk/8BJP/DqFAhVbdxvISFkSKURoVXxUwoKx36KZHXIOgCt3vsj5\\nu2mxF2ajrHBwzM8jrrNy8xdd4DplOP2D0DbuswDi5pqmd/Cd0EdC88ZIPt3Ox/GH\\n4uCJOzkCRFcFRZhOT+YC+A3YaVg4UoR3AMup8K81Nm2y8q1pUy/gZvkWMONy5iDX\\nlyU6enBNv+vmhumyYJT8+rPRW/ztsaBzkvpuXkQTJdWDQbigeK1hBNV5PCjyQydj\\nP+sKrMxKjyyZ0rcGP1hcCqZuBHZlW0O2WJFKsZv+fY8UJfU08FeAqQARAQABiQEf\\nBBgBAgAJBQJPDVuhAhsMAAoJEO+FzOP3j7GVhlsH/0emlW/Nk0bSUG4jfAeJAB7H\\nKRYbr5P/YbbFLEOb4yi2DlPxUac0JoXCMLha9G9LBmQ4IL4qPHdycSlEs4cGBX6W\\nxn1ti6rJ3LWm5Hb7iUBfIeuKW31thTJK7SAruiBk7g1/I55HlFW0LEfgfVUQf6hJ\\n9Rnw6YVXyQAod1x/QmLWw5aQcoksHL/4eRpU74EjuKQdZMLuaherKtY6OTtEDTdm\\nbEdEINVqR5hYEHgDEPPrPb5MDbQsrMEAwdWPqC2/9cgacO33/VuvXDu74X+TwE/c\\nOGRCb385XPNS9KApQ4iRTZ6ccOnSJumZbeTTd9DBFwa+T1/xD96yabnaOdJqf6Y=\\n=RrIG\\n-----END PGP PUBLIC KEY BLOCK-----\\n\",\n \"updated_at\": \"2012-08-10T13:45:52Z\",\n \"id\": 1\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/gpg_keys/show","full_description":"","apis":[{"api_url":"/api/gpg_keys/:id","http_method":"GET","short_description":"Show a gpg key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>gpg key numeric identifier</p>\n"}]},{"name":"create","examples":["POST /api/organizations/org_227e003/gpg_keys\n{\n \"gpg_key\": {\n \"name\": \"Dummy-Package-Generator\",\n \"content\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\nVersion: GnuPG v1.4.11 (GNU/Linux)\\n\\nmQENBE8NW6EBCAC/ht3UujFwxol44zilXcwI8v15gf6X4u3A5Oo2FCEweQfbZw8q\\nlPGjzRNHcNVO4NIZ+G1fHyWAgcs/xa4fTju4LOJU2OWfbkvGA7tlIIREkEQ9IgMI\\ni0LJzsHyqhWhJ0S5POCLFyH27R0Vh2wPMwZawoomRVDsghIE8TAJVKIHICVObvGE\\nVqBGSY1OHvGfZ0ZsnQv3hDmxnyywJkJ96HGVqStS2sW0YkQ77dRY0u6eSI55vwBQ\\niV9dCSMs43LpoBL9pFj0ESM76G0GSGF5G9PH2b//y8ehepdS30otiqgjag5Zw76b\\nqFMHFyq1o5hXJpIPiZaagU1X+wMixPOlqE5LABEBAAG0MER1bW15IFBhY2thZ2Vz\\nIEdlbmVyYXRvciA8YWRtaW5Aem9vLmV4YW1wbGUuY29tPokBOAQTAQIAIgUCTw1b\\noQIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQ74XM4/ePsZVeCgf+L+HW\\nf0K7/uzu3Q7G+aOu7qwu0iUK64SEAgtoMdjpjkq+YYxPS60zP7QS3pAzL4N31kT/\\nkHQ+OJAg5Z0oegXu9mdhIenks2DaEzN6P2jAhWoRa/az5F9AaJ01WSsspsBpcAyt\\n3NB2iGNtzs4v6saUz5mTp1bgmsXolzClHlTSUnjjCfuk7HgzJcCpRxb49tQ5Lo3b\\n9k0XPvhhgSdiTFM+CfPl3qgHPENZqyoDOnhvKbMHZg8NCf1NLf8edlk5nWDjHti8\\nVfkuCSgRzR15SgyEUU1MCQBPEYKy8U6LoOwX8Rl3+lCf9D7rReP74wSEdr9p9cFi\\nSCFpN6IUJ9pN0tDU3rkBDQRPDVuhAQgAmZB+DKbraTgeW1UOYS/HWzGOR21NR3nq\\nsxeG249W3OlsZbk/8BJP/DqFAhVbdxvISFkSKURoVXxUwoKx36KZHXIOgCt3vsj5\\nu2mxF2ajrHBwzM8jrrNy8xdd4DplOP2D0DbuswDi5pqmd/Cd0EdC88ZIPt3Ox/GH\\n4uCJOzkCRFcFRZhOT+YC+A3YaVg4UoR3AMup8K81Nm2y8q1pUy/gZvkWMONy5iDX\\nlyU6enBNv+vmhumyYJT8+rPRW/ztsaBzkvpuXkQTJdWDQbigeK1hBNV5PCjyQydj\\nP+sKrMxKjyyZ0rcGP1hcCqZuBHZlW0O2WJFKsZv+fY8UJfU08FeAqQARAQABiQEf\\nBBgBAgAJBQJPDVuhAhsMAAoJEO+FzOP3j7GVhlsH/0emlW/Nk0bSUG4jfAeJAB7H\\nKRYbr5P/YbbFLEOb4yi2DlPxUac0JoXCMLha9G9LBmQ4IL4qPHdycSlEs4cGBX6W\\nxn1ti6rJ3LWm5Hb7iUBfIeuKW31thTJK7SAruiBk7g1/I55HlFW0LEfgfVUQf6hJ\\n9Rnw6YVXyQAod1x/QmLWw5aQcoksHL/4eRpU74EjuKQdZMLuaherKtY6OTtEDTdm\\nbEdEINVqR5hYEHgDEPPrPb5MDbQsrMEAwdWPqC2/9cgacO33/VuvXDu74X+TwE/c\\nOGRCb385XPNS9KApQ4iRTZ6ccOnSJumZbeTTd9DBFwa+T1/xD96yabnaOdJqf6Y=\\n=RrIG\\n-----END PGP PUBLIC KEY BLOCK-----\\n\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:45:52Z\",\n \"name\": \"Dummy-Package-Generator\",\n \"organization_id\": 2,\n \"content\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\nVersion: GnuPG v1.4.11 (GNU/Linux)\\n\\nmQENBE8NW6EBCAC/ht3UujFwxol44zilXcwI8v15gf6X4u3A5Oo2FCEweQfbZw8q\\nlPGjzRNHcNVO4NIZ+G1fHyWAgcs/xa4fTju4LOJU2OWfbkvGA7tlIIREkEQ9IgMI\\ni0LJzsHyqhWhJ0S5POCLFyH27R0Vh2wPMwZawoomRVDsghIE8TAJVKIHICVObvGE\\nVqBGSY1OHvGfZ0ZsnQv3hDmxnyywJkJ96HGVqStS2sW0YkQ77dRY0u6eSI55vwBQ\\niV9dCSMs43LpoBL9pFj0ESM76G0GSGF5G9PH2b//y8ehepdS30otiqgjag5Zw76b\\nqFMHFyq1o5hXJpIPiZaagU1X+wMixPOlqE5LABEBAAG0MER1bW15IFBhY2thZ2Vz\\nIEdlbmVyYXRvciA8YWRtaW5Aem9vLmV4YW1wbGUuY29tPokBOAQTAQIAIgUCTw1b\\noQIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQ74XM4/ePsZVeCgf+L+HW\\nf0K7/uzu3Q7G+aOu7qwu0iUK64SEAgtoMdjpjkq+YYxPS60zP7QS3pAzL4N31kT/\\nkHQ+OJAg5Z0oegXu9mdhIenks2DaEzN6P2jAhWoRa/az5F9AaJ01WSsspsBpcAyt\\n3NB2iGNtzs4v6saUz5mTp1bgmsXolzClHlTSUnjjCfuk7HgzJcCpRxb49tQ5Lo3b\\n9k0XPvhhgSdiTFM+CfPl3qgHPENZqyoDOnhvKbMHZg8NCf1NLf8edlk5nWDjHti8\\nVfkuCSgRzR15SgyEUU1MCQBPEYKy8U6LoOwX8Rl3+lCf9D7rReP74wSEdr9p9cFi\\nSCFpN6IUJ9pN0tDU3rkBDQRPDVuhAQgAmZB+DKbraTgeW1UOYS/HWzGOR21NR3nq\\nsxeG249W3OlsZbk/8BJP/DqFAhVbdxvISFkSKURoVXxUwoKx36KZHXIOgCt3vsj5\\nu2mxF2ajrHBwzM8jrrNy8xdd4DplOP2D0DbuswDi5pqmd/Cd0EdC88ZIPt3Ox/GH\\n4uCJOzkCRFcFRZhOT+YC+A3YaVg4UoR3AMup8K81Nm2y8q1pUy/gZvkWMONy5iDX\\nlyU6enBNv+vmhumyYJT8+rPRW/ztsaBzkvpuXkQTJdWDQbigeK1hBNV5PCjyQydj\\nP+sKrMxKjyyZ0rcGP1hcCqZuBHZlW0O2WJFKsZv+fY8UJfU08FeAqQARAQABiQEf\\nBBgBAgAJBQJPDVuhAhsMAAoJEO+FzOP3j7GVhlsH/0emlW/Nk0bSUG4jfAeJAB7H\\nKRYbr5P/YbbFLEOb4yi2DlPxUac0JoXCMLha9G9LBmQ4IL4qPHdycSlEs4cGBX6W\\nxn1ti6rJ3LWm5Hb7iUBfIeuKW31thTJK7SAruiBk7g1/I55HlFW0LEfgfVUQf6hJ\\n9Rnw6YVXyQAod1x/QmLWw5aQcoksHL/4eRpU74EjuKQdZMLuaherKtY6OTtEDTdm\\nbEdEINVqR5hYEHgDEPPrPb5MDbQsrMEAwdWPqC2/9cgacO33/VuvXDu74X+TwE/c\\nOGRCb385XPNS9KApQ4iRTZ6ccOnSJumZbeTTd9DBFwa+T1/xD96yabnaOdJqf6Y=\\n=RrIG\\n-----END PGP PUBLIC KEY BLOCK-----\\n\",\n \"updated_at\": \"2012-08-10T13:45:52Z\",\n \"id\": 1\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/gpg_keys/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/gpg_keys","http_method":"POST","short_description":"Create a gpg key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"gpg_key","name":"gpg_key","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"gpg_key[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>identifier of the gpg key</p>\n"},{"name":"content","full_name":"gpg_key[content]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>public key block in DER encoding</p>\n"}],"description":""}]},{"name":"update","examples":["PUT /api/gpg_keys/2/\n{\n \"gpg_key\": {\n \"name\": \"Renamed-Dummy-Package-Generator\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:45:53Z\",\n \"name\": \"Renamed-Dummy-Package-Generator\",\n \"organization_id\": 2,\n \"content\": \"gpg create from input [ \\u001b[32mOK\\u001b[m\\u000f ]\\n\",\n \"updated_at\": \"2012-08-10T13:45:54Z\",\n \"id\": 2\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/gpg_keys/update","full_description":"","apis":[{"api_url":"/api/gpg_keys/:id","http_method":"PUT","short_description":"Update a gpg key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"gpg_key","name":"gpg_key","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"gpg_key[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>identifier of the gpg key</p>\n"},{"name":"content","full_name":"gpg_key[content]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>public key block in DER encoding</p>\n"}],"description":""}]},{"name":"destroy","examples":["DELETE /api/gpg_keys/1/\n204"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/gpg_keys/destroy","full_description":"","apis":[{"api_url":"/api/gpg_keys/:id","http_method":"DELETE","short_description":"Destroy a gpg key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>gpg key numeric identifier</p>\n"}]},{"name":"content","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/gpg_keys/content","full_description":"\n<p>Returns the content of a repo gpg key, used directly by yum We\u2019ve amended\nREST best practices (e.g. not using the show action) as we don\u2019t want to\nauthenticate, authorize etc, trying to distinquse between a yum request and\nnormal api request might not always be 100% bullet proof, and its more\nimportant that yum can fetch the key.</p>\n","apis":[{"api_url":"/api/gpg_keys/:id/content","http_method":"GET","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>gpg key numeric identifier</p>\n"}]}]},"architectures":{"name":"Architectures","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/architectures","formats":null,"full_description":"\n<p>The Architectures API is available only if support for Foreman is\ninstalled.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/architectures/index","full_description":"","apis":[{"api_url":"/api/architectures","http_method":"GET","short_description":"Get list of architectures available in Foreman"}],"errors":[],"params":[]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/architectures/show","full_description":"","apis":[{"api_url":"/api/architectures/:id","http_method":"GET","short_description":"Show an architecture"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>architecture name</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/architectures/create","full_description":"","apis":[{"api_url":"/api/architecture","http_method":"POST","short_description":"Create new architecture in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"architecture","name":"architecture","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"architecture[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>architecture name</p>\n"}],"description":"\n<p>architecture info</p>\n"}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/architectures/update","full_description":"","apis":[{"api_url":"/api/architectures/:id","http_method":"PUT","short_description":"Update an architecture record in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>architecture name</p>\n"},{"allow_nil":false,"full_name":"architecture","name":"architecture","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"architecture[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>architecture name</p>\n"}],"description":"\n<p>architecture info</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/architectures/destroy","full_description":"","apis":[{"api_url":"/api/architectures/:id","http_method":"DELETE","short_description":"Remove an architecture from Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>architecture name</p>\n"}]}]},"hardware_models":{"name":"Hardware models","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/hardware_models","formats":null,"full_description":"\n<p>The HardwareModels API is available only if support for Foreman is\ninstalled.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/hardware_models/index","full_description":"","apis":[{"api_url":"/api/hardware_models","http_method":"GET","short_description":"Get list of hardware models available in Foreman"}],"errors":[],"params":[]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/hardware_models/show","full_description":"","apis":[{"api_url":"/api/hardware_models/:id","http_method":"GET","short_description":"Show an hardware model"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>hardware model name</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/hardware_models/create","full_description":"","apis":[{"api_url":"/api/hardware_models","http_method":"POST","short_description":"Create new hardware model in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"hardware_model","name":"hardware_model","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"hardware_model[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":""},{"name":"info","full_name":"hardware_model[info]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"vendor_class","full_name":"hardware_model[vendor_class]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"hardware_model","full_name":"hardware_model[hardware_model]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""}],"description":"\n<p>hardware model info</p>\n"}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/hardware_models/update","full_description":"","apis":[{"api_url":"/api/hardware_models/:id","http_method":"PUT","short_description":"Update an hardware model record in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>hardware model name</p>\n"},{"allow_nil":false,"full_name":"hardware_model","name":"hardware_model","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"hardware_model[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"info","full_name":"hardware_model[info]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"vendor_class","full_name":"hardware_model[vendor_class]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"hardware_model","full_name":"hardware_model[hardware_model]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""}],"description":"\n<p>hardware model info</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/hardware_models/destroy","full_description":"","apis":[{"api_url":"/api/hardware_models/:id","http_method":"DELETE","short_description":"Remove an hardware model from Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>hardware model name</p>\n"}]}]},"roles":{"name":"Roles","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/roles","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/roles/?name=tmp_permission_role_227e003\n200\n[\n {\n \"created_at\": \"2012-08-10T13:50:06Z\",\n \"name\": \"tmp_permission_role_227e003\",\n \"updated_at\": \"2012-08-10T13:50:06Z\",\n \"locked\": false,\n \"id\": 6,\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/roles/index","full_description":"","apis":[{"api_url":"/api/roles","http_method":"GET","short_description":"List roles"},{"api_url":"/api/users/:user_id/roles","http_method":"GET","short_description":"List roles assigned to a user"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":null,"required":false,"description":""}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/roles/show","full_description":"","apis":[{"api_url":"/api/roles/:id","http_method":"GET","short_description":"Show a role"},{"api_url":"/api/users/:user_id/roles/:id","http_method":"GET","short_description":"Show a role"}],"errors":[],"params":[]},{"name":"create","examples":["POST /api/roles/\n{\n \"role\": {\n \"name\": \"tmp_permission_role_227e003\",\n \"description\": null\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:50:06Z\",\n \"name\": \"tmp_permission_role_227e003\",\n \"updated_at\": \"2012-08-10T13:50:06Z\",\n \"locked\": false,\n \"id\": 6,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/roles/create","full_description":"","apis":[{"api_url":"/api/roles","http_method":"POST","short_description":"Create a role"},{"api_url":"/api/users/:user_id/roles","http_method":"POST","short_description":"Create a role"}],"errors":[],"params":[{"allow_nil":false,"full_name":"role","name":"role","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"role[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":""},{"name":"description","full_name":"role[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""}],"description":""}]},{"name":"update","examples":["PUT /api/roles/7\n{\n \"role\": {\n \"name\": \"role_\",\n \"description\": \"new description of the role\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:58:00Z\",\n \"name\": \"role_\",\n \"updated_at\": \"2012-08-10T13:58:02Z\",\n \"locked\": false,\n \"id\": 7,\n \"description\": \"new description of the role\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/roles/update","full_description":"","apis":[{"api_url":"/api/roles/:id","http_method":"PUT","short_description":"Update a role"},{"api_url":"/api/users/:user_id/roles/:id","http_method":"PUT","short_description":"Update a role"}],"errors":[],"params":[{"allow_nil":false,"full_name":"role","name":"role","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"role[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"description","full_name":"role[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""}],"description":""}]},{"name":"destroy","examples":["DELETE /api/roles/7\n200\nDeleted role '7'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/roles/destroy","full_description":"","apis":[{"api_url":"/api/roles/:id","http_method":"DELETE","short_description":"Destroy a role"},{"api_url":"/api/users/:user_id/roles/:id","http_method":"DELETE","short_description":"Destroy a role"}],"errors":[],"params":[]},{"name":"available_verbs","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/roles/available_verbs","full_description":"","apis":[{"api_url":"/api/roles/available_verbs","http_method":"GET","short_description":"List all available verbs that can be set to roles"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>With this option specified the listed tags are scoped to the organization.</p>\n"}]}]},"system_packages":{"name":"System packages","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/system_packages","formats":null,"full_description":"","short_description":null,"methods":[{"name":"create","examples":["POST /api/systems/3050eb45-0ec4-43ea-8913-83635f06a2b7/packages\n{\n \"packages\": [\n \"cheetah\"\n ]\n}\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:46:40Z\",\n \"organization_id\": 2,\n \"progress\": null,\n \"system_name\": \"katello.example.com_227e003\",\n \"task_owner_type\": \"System\",\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"d03b47f5-e2f1-11e1-b07c-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:46:40Z\",\n \"state\": \"waiting\",\n \"task_type\": \"package_install\",\n \"task_owner_id\": 1,\n \"result_description\": \"\",\n \"id\": 10,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n },\n \"description\": \"Package Install: cheetah\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_packages/create","full_description":"","apis":[{"api_url":"/api/systems/:system_id/packages","http_method":"POST","short_description":"Install packages remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system identifier</p>\n"},{"allow_nil":false,"full_name":"packages","name":"packages","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package names</p>\n"},{"allow_nil":false,"full_name":"groups","name":"groups","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package group names</p>\n"}]},{"name":"update","examples":["PUT /api/systems/3050eb45-0ec4-43ea-8913-83635f06a2b7/packages\n{\n \"packages\": [\n \"cheetah\"\n ]\n}\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:47:09Z\",\n \"organization_id\": 2,\n \"progress\": null,\n \"system_name\": \"katello.example.com_227e003\",\n \"task_owner_type\": \"System\",\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"e15873ca-e2f1-11e1-a0a5-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:47:09Z\",\n \"state\": \"waiting\",\n \"task_type\": \"package_update\",\n \"task_owner_id\": 1,\n \"result_description\": \"\",\n \"id\": 11,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n },\n \"description\": \"Package Update: cheetah\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_packages/update","full_description":"","apis":[{"api_url":"/api/systems/:system_id/packages","http_method":"PUT","short_description":"Update packages remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system identifier</p>\n"},{"allow_nil":false,"full_name":"packages","name":"packages","expected_type":"string","validator":"Array","required":false,"description":"\n<p>list of packages names</p>\n"}]},{"name":"destroy","examples":["DELETE /api/systems/3050eb45-0ec4-43ea-8913-83635f06a2b7/packages\n{\n \"packages\": [\n \"cheetah\"\n ]\n}\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:47:12Z\",\n \"organization_id\": 2,\n \"progress\": null,\n \"system_name\": \"katello.example.com_227e003\",\n \"task_owner_type\": \"System\",\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"e31919fa-e2f1-11e1-ac21-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:47:12Z\",\n \"state\": \"waiting\",\n \"task_type\": \"package_remove\",\n \"task_owner_id\": 1,\n \"result_description\": \"\",\n \"id\": 12,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n },\n \"description\": \"Package Remove: cheetah\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_packages/destroy","full_description":"","apis":[{"api_url":"/api/systems/:system_id/packages","http_method":"DELETE","short_description":"Uninstall packages remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system identifier</p>\n"},{"allow_nil":false,"full_name":"packages","name":"packages","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package names</p>\n"},{"allow_nil":false,"full_name":"groups","name":"groups","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package group names</p>\n"}]}]},"compute_resources":{"name":"Compute resources","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/compute_resources","formats":null,"full_description":"\n<p>The Architectures API is available only if support for Foreman is\ninstalled.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/compute_resources/index","full_description":"","apis":[{"api_url":"/api/compute_resources","http_method":"GET","short_description":"Get list of compute resources available in Foreman"}],"errors":[],"params":[]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/compute_resources/show","full_description":"","apis":[{"api_url":"/api/compute_resources/:id","http_method":"GET","short_description":"Show an compute resource"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>compute resource name</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/compute_resources/create","full_description":"","apis":[{"api_url":"/api/compute_resources","http_method":"POST","short_description":"Create new compute resource in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"compute_resource","name":"compute_resource","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"compute_resource[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":""},{"name":"provider","full_name":"compute_resource[provider]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace</p>\n"},{"name":"url","full_name":"compute_resource[url]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>URL for Libvirt, Ovirt, and Openstack</p>\n"},{"name":"description","full_name":"compute_resource[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"user","full_name":"compute_resource[user]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Username for Ovirt, EC2, Vmware, Openstack. Access Key for EC2.</p>\n"},{"name":"password","full_name":"compute_resource[password]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Password for Ovirt, EC2, Vmware, Openstack. Secret key for EC2</p>\n"},{"name":"uuid","full_name":"compute_resource[uuid]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for Ovirt, Vmware Datacenter</p>\n"},{"name":"region","full_name":"compute_resource[region]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for EC2 only</p>\n"},{"name":"tenant","full_name":"compute_resource[tenant]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for Openstack only</p>\n"},{"name":"server","full_name":"compute_resource[server]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for Vmware</p>\n"}],"description":"\n<p>compute resource info</p>\n"}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/compute_resources/update","full_description":"","apis":[{"api_url":"/api/compute_resources/:id","http_method":"PUT","short_description":"Update an compute resource record in Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>compute resource name</p>\n"},{"allow_nil":false,"full_name":"compute_resource","name":"compute_resource","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"compute_resource[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"provider","full_name":"compute_resource[provider]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace</p>\n"},{"name":"url","full_name":"compute_resource[url]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>URL for Libvirt, Ovirt, and Openstack</p>\n"},{"name":"description","full_name":"compute_resource[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"user","full_name":"compute_resource[user]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Username for Ovirt, EC2, Vmware, Openstack. Access Key for EC2.</p>\n"},{"name":"password","full_name":"compute_resource[password]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Password for Ovirt, EC2, Vmware, Openstack. Secret key for EC2</p>\n"},{"name":"uuid","full_name":"compute_resource[uuid]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for Ovirt, Vmware Datacenter</p>\n"},{"name":"region","full_name":"compute_resource[region]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for EC2 only</p>\n"},{"name":"tenant","full_name":"compute_resource[tenant]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for Openstack only</p>\n"},{"name":"server","full_name":"compute_resource[server]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>for Vmware</p>\n"}],"description":"\n<p>compute resource info</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/compute_resources/destroy","full_description":"","apis":[{"api_url":"/api/compute_resources/:id","http_method":"DELETE","short_description":"Remove an compute resource from Foreman"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>compute resource name</p>\n"}]}]},"ping":{"name":"Ping","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/ping","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/ping/\n200\n{\n \"result\": \"fail\",\n \"status\": {\n \"pulp_auth\": {\n \"result\": \"ok\",\n \"duration_ms\": \"183\"\n },\n \"candlepin_auth\": {\n \"result\": \"ok\",\n \"duration_ms\": \"83\"\n },\n \"pulp\": {\n \"result\": \"ok\",\n \"duration_ms\": \"99\"\n },\n \"candlepin\": {\n \"result\": \"ok\",\n \"duration_ms\": \"191\"\n },\n \"katello_jobs\": {\n \"result\": \"fail\",\n \"message\": \"katello-jobs service not running\"\n },\n \"elasticsearch\": {\n \"result\": \"ok\",\n \"duration_ms\": \"15\"\n }\n }\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/ping/index","full_description":"\n<p>This service is only available for authenticated users</p>\n","apis":[{"api_url":"/api/ping","http_method":"GET","short_description":"Shows status of system and it's subcomponents"}],"errors":[],"params":[]},{"name":"status","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/ping/status","full_description":"\n<p>This service is also available for unauthenticated users</p>\n","apis":[{"api_url":"/api/status","http_method":"GET","short_description":"Shows version information"}],"errors":[],"params":[]},{"name":"version","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/ping/version","full_description":"\n<p>This service is only available for authenticated users</p>\n","apis":[{"api_url":"/api/version","http_method":"GET","short_description":"Shows name and version information"}],"errors":[],"params":[]}]},"permissions":{"name":"Permissions","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/permissions","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/roles/6/permissions/\n200\n[\n {\n \"verbs\": [\n {\n \"created_at\": \"2012-08-10T13:41:09Z\",\n \"permission_id\": \"14\",\n \"updated_at\": \"2012-08-10T13:41:09Z\",\n \"verb\": \"read_contents\",\n \"id\": 3,\n \"verb_id\": \"3\"\n }\n ],\n \"created_at\": \"2012-08-10T13:50:10Z\",\n \"name\": \"env_perm_227e003_2\",\n \"organization_id\": 2,\n \"resource_type\": {\n \"created_at\": \"2012-08-10T13:41:09Z\",\n \"name\": \"environments\",\n \"updated_at\": \"2012-08-10T13:41:09Z\",\n \"id\": 4\n },\n \"all_verbs\": false,\n \"tags\": [\n {\n \"created_at\": \"2012-08-10T13:50:10Z\",\n \"formatted\": {\n \"name\": 2,\n \"display_name\": \"Library\"\n },\n \"tag_id\": 2,\n \"permission_id\": 14,\n \"updated_at\": \"2012-08-10T13:50:10Z\",\n \"id\": 1\n }\n ],\n \"resource_type_id\": 4,\n \"updated_at\": \"2012-08-10T13:50:10Z\",\n \"all_tags\": false,\n \"role_id\": 6,\n \"id\": 14,\n \"description\": null\n },\n {\n \"verbs\": [\n {\n \"created_at\": \"2012-08-10T13:41:09Z\",\n \"permission_id\": \"13\",\n \"updated_at\": \"2012-08-10T13:41:09Z\",\n \"verb\": \"read_contents\",\n \"id\": 3,\n \"verb_id\": \"3\"\n }\n ],\n \"created_at\": \"2012-08-10T13:50:09Z\",\n \"name\": \"env_perm_227e003\",\n \"organization_id\": null,\n \"resource_type\": {\n \"created_at\": \"2012-08-10T13:41:09Z\",\n \"name\": \"environments\",\n \"updated_at\": \"2012-08-10T13:41:09Z\",\n \"id\": 4\n },\n \"all_verbs\": false,\n \"tags\": [],\n \"resource_type_id\": 4,\n \"updated_at\": \"2012-08-10T13:50:09Z\",\n \"all_tags\": true,\n \"role_id\": 6,\n \"id\": 13,\n \"description\": null\n },\n {\n \"verbs\": [],\n \"created_at\": \"2012-08-10T13:50:08Z\",\n \"name\": \"all_perm_227e003_2\",\n \"organization_id\": 2,\n \"resource_type\": {\n \"created_at\": \"2012-08-10T13:41:08Z\",\n \"name\": \"all\",\n \"updated_at\": \"2012-08-10T13:41:08Z\",\n \"id\": 1\n },\n \"all_verbs\": true,\n \"tags\": [],\n \"resource_type_id\": 1,\n \"updated_at\": \"2012-08-10T13:50:08Z\",\n \"all_tags\": true,\n \"role_id\": 6,\n \"id\": 12,\n \"description\": null\n },\n {\n \"verbs\": [],\n \"created_at\": \"2012-08-10T13:50:08Z\",\n \"name\": \"all_perm_227e003\",\n \"organization_id\": null,\n \"resource_type\": {\n \"created_at\": \"2012-08-10T13:41:08Z\",\n \"name\": \"all\",\n \"updated_at\": \"2012-08-10T13:41:08Z\",\n \"id\": 1\n },\n \"all_verbs\": true,\n \"tags\": [],\n \"resource_type_id\": 1,\n \"updated_at\": \"2012-08-10T13:50:08Z\",\n \"all_tags\": true,\n \"role_id\": 6,\n \"id\": 11,\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/permissions/index","full_description":"","apis":[{"api_url":"/api/roles/:role_id/permissions","http_method":"GET","short_description":"List permissions for a role"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter by name</p>\n"},{"allow_nil":false,"full_name":"description","name":"description","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter by description</p>\n"},{"allow_nil":false,"full_name":"all_verbs","name":"all_verbs","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>filter by all_verbs flag</p>\n"},{"allow_nil":false,"full_name":"all_tags","name":"all_tags","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>filter by all_flags flag</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/permissions/show","full_description":"","apis":[{"api_url":"/api/roles/:role_id/permissions/:id","http_method":"GET","short_description":"Show a permission"}],"errors":[],"params":[]},{"name":"create","examples":["POST /api/roles/6/permissions/\n{\n \"verbs\": [],\n \"name\": \"all_perm_227e003\",\n \"organization_id\": null,\n \"type\": \"all\",\n \"tags\": [],\n \"description\": null\n}\n200\n{\n \"verbs\": [],\n \"created_at\": \"2012-08-10T13:50:08Z\",\n \"name\": \"all_perm_227e003\",\n \"organization_id\": null,\n \"resource_type\": {\n \"created_at\": \"2012-08-10T13:41:08Z\",\n \"name\": \"all\",\n \"updated_at\": \"2012-08-10T13:41:08Z\",\n \"id\": 1\n },\n \"all_verbs\": true,\n \"tags\": [],\n \"resource_type_id\": 1,\n \"updated_at\": \"2012-08-10T13:50:08Z\",\n \"all_tags\": true,\n \"role_id\": 6,\n \"id\": 11,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/permissions/create","full_description":"","apis":[{"api_url":"/api/roles/:role_id/permissions","http_method":"POST","short_description":"Create a roles permission"}],"errors":[],"params":[{"allow_nil":true,"full_name":"description","name":"description","expected_type":"string","validator":"String","required":false,"description":""},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":""},{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""},{"allow_nil":false,"full_name":"tags","name":"tags","expected_type":"string","validator":"Array","required":false,"description":"\n<p>array of tag ids</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"String","required":true,"description":"\n<p>name of a resource or \u2018all\u2019</p>\n"},{"allow_nil":false,"full_name":"verbs","name":"verbs","expected_type":"string","validator":"Array","required":false,"description":"\n<p>array of permission verbs</p>\n"},{"allow_nil":false,"full_name":"all_tags","name":"all_tags","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>True if the permission should use all tags</p>\n"}]},{"name":"destroy","examples":["DELETE /api/roles/6/permissions/11\n200\nDeleted permission '11'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/permissions/destroy","full_description":"","apis":[{"api_url":"/api/roles/:role_id/permissions/:id","http_method":"DELETE","short_description":"Destroy a roles permission"}],"errors":[],"params":[]}]},"sync_plans":{"name":"Sync plans","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/sync_plans","formats":null,"full_description":"\n<p>Synchronization plans are used to configure the scheduled synchronization\nof the repository with the upstream.</p>\n","short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/org_227e003/sync_plans/\n200\n[\n {\n \"created_at\": \"2012-08-10T13:56:21Z\",\n \"name\": \"plan_1\",\n \"organization_id\": 2,\n \"updated_at\": \"2012-08-10T13:56:21Z\",\n \"sync_date\": \"2012-08-11T07:00:00Z\",\n \"interval\": \"weekly\",\n \"id\": 1,\n \"description\": \"plan 1 desc.\"\n },\n {\n \"created_at\": \"2012-08-10T13:56:21Z\",\n \"name\": \"plan_2\",\n \"organization_id\": 2,\n \"updated_at\": \"2012-08-10T13:56:21Z\",\n \"sync_date\": \"2012-08-11T07:00:00Z\",\n \"interval\": \"none\",\n \"id\": 2,\n \"description\": \"plan 2 desc.\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync_plans/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/sync_plans","http_method":"GET","short_description":"List sync plans"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter by name</p>\n"},{"allow_nil":false,"full_name":"sync_date","name":"sync_date","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter by sync date</p>\n"},{"allow_nil":false,"full_name":"interval","name":"interval","expected_type":"string","validator":"Must be one of: none, hourly, daily, weekly.","required":false,"description":"\n<p>filter by interval</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync_plans/show","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/sync_plans/:id","http_method":"GET","short_description":"Show a sync plan"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>sync plan numeric identifier</p>\n"}]},{"name":"create","examples":["POST /api/organizations/org_227e003/sync_plans/\n{\n \"sync_plan\": {\n \"name\": \"plan_1\",\n \"sync_date\": \"2012-08-11T09:00:00+02:00\",\n \"interval\": \"weekly\",\n \"description\": \"plan 1 desc.\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:56:21Z\",\n \"name\": \"plan_1\",\n \"organization_id\": 2,\n \"updated_at\": \"2012-08-10T13:56:21Z\",\n \"sync_date\": \"2012-08-11T07:00:00Z\",\n \"interval\": \"weekly\",\n \"id\": 1,\n \"description\": \"plan 1 desc.\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync_plans/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/sync_plans","http_method":"POST","short_description":"Create a sync plan"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"sync_plan","name":"sync_plan","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"sync_plan[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>sync plan name</p>\n"},{"name":"interval","full_name":"sync_plan[interval]","allow_nil":true,"expected_type":"string","validator":"Must be one of: none, hourly, daily, weekly.","required":false,"description":"\n<p>how often synchronization should run</p>\n"},{"name":"sync_date","full_name":"sync_plan[sync_date]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>start datetime of synchronization</p>\n"},{"name":"description","full_name":"sync_plan[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>sync plan description</p>\n"}],"description":""}]},{"name":"update","examples":["PUT /api/organizations/org_227e003/sync_plans/1\n{\n \"sync_plan\": {\n \"name\": \"plan_1_updated\",\n \"sync_date\": \"2012-08-11T10:10:10+02:00\",\n \"interval\": \"daily\",\n \"description\": \"new plan 1 desc.\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:56:21Z\",\n \"name\": \"plan_1_updated\",\n \"organization_id\": 2,\n \"updated_at\": \"2012-08-10T13:56:22Z\",\n \"sync_date\": \"2012-08-11T08:10:10Z\",\n \"interval\": \"daily\",\n \"id\": 1,\n \"description\": \"new plan 1 desc.\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync_plans/update","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/sync_plans/:id","http_method":"PUT","short_description":"Update a sync plan"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>sync plan numeric identifier</p>\n"},{"allow_nil":false,"full_name":"sync_plan","name":"sync_plan","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"sync_plan[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>sync plan name</p>\n"},{"name":"interval","full_name":"sync_plan[interval]","allow_nil":true,"expected_type":"string","validator":"Must be one of: none, hourly, daily, weekly.","required":false,"description":"\n<p>how often synchronization should run</p>\n"},{"name":"sync_date","full_name":"sync_plan[sync_date]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>start datetime of synchronization</p>\n"},{"name":"description","full_name":"sync_plan[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>sync plan description</p>\n"}],"description":""}]},{"name":"destroy","examples":["DELETE /api/organizations/org_227e003/sync_plans/1\n200\nDeleted sync plan '1'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync_plans/destroy","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/sync_plans/:id","http_method":"DELETE","short_description":"Destroy a sync plan"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>sync plan numeric identifier</p>\n"}]}]},"crls":{"name":"Crls","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/crls","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/crls/\n200\n-----BEGIN X509 CRL-----\nMIICjDCCAXQCAQEwDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCVVMxFzAVBgNV\nBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdoMRAwDgYDVQQKEwdS\nZWQgSGF0MREwDwYDVQQLEwhDbG91ZCBCVTEeMBwGA1UEAxMVcmhlbDYzLWthdDgu\naW5lY2FzLmN6Fw0xMjA4MTAxMzQzMDNaFw0xMjA4MTExMzQzMDNaoIHCMIG/MIGw\nBgNVHSMEgagwgaWAFMliTcF7cxwV1nAAMS0F8rPX9OKEoYGBpH8wfTELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdSZWQgSGF0MREwDwYDVQQLEwhDbG91ZCBCVTEeMBwGA1UEAxMV\ncmhlbDYzLWthdDguaW5lY2FzLmN6ggkAskjXhJ4iy9IwCgYDVR0UBAMCAQEwDQYJ\nKoZIhvcNAQEFBQADggEBAC33nZagQA9O2kLnpNcvh0TcJipMutvycmTA2MeMPXAW\noAi1n7K2xbGW/PcRVHWNVSghtJCizB0YVpCEiu0Wlk4k0eoUijLzDKnlSU2UCa3X\nzdJMKoazEaWQTDdT9qIGHbAPb2sLy9sr+G1XQ4HVnzvKRxSbr128R0z9qfI2846p\niKiODEaqETCMY2zLlCwm/wYYjrXf87HN5RkfyrWjZFqlFYBFfbjHZvQ3NN3DvDcN\nZKUGZ7qvdS2yRWuhBkANq2eJqYU54u3IK/zoZKi5pRUNoO3B8f3ztlk+7ZTMDK23\nFySrbxcOW3hYc7aB3mnCATECnG/MfiGoeqfGZsl0cBw=\n-----END X509 CRL-----\n"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/crls/index","full_description":"","apis":[{"api_url":"/api/crls","http_method":"GET","short_description":"Regenerate X.509 CRL immediately and return them"}],"errors":[],"params":[]}]},"templates_content":{"name":"Templates content","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/templates_content","formats":null,"full_description":"\n<p>Provides interface to the template content.</p>\n","short_description":null,"methods":[{"name":"add_package","examples":["POST /api/templates/1/packages/\n{\n \"name\": \"cheetah\"\n}\n200\nAdded package 'cheetah'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/add_package","full_description":"","apis":[{"api_url":"/api/templates/:template_id/packages","http_method":"POST","short_description":"Add a package"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>package identifier</p>\n"}]},{"name":"remove_package","examples":["DELETE /api/templates/3/packages/cheetah/\n200\nRemoved package 'cheetah'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/remove_package","full_description":"","apis":[{"api_url":"/api/templates/:template_id/packages/:id","http_method":"DELETE","short_description":"Remove a package"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>package identifier</p>\n"}]},{"name":"add_parameter","examples":["POST /api/templates/3/parameters/\n{\n \"name\": \"attr\",\n \"value\": \"X\"\n}\n200\nParameter 'attr': 'X' was set"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/add_parameter","full_description":"","apis":[{"api_url":"/api/templates/:template_id/parameters","http_method":"POST","short_description":"Set parameter value"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>parameter identifier</p>\n"},{"allow_nil":false,"full_name":"value","name":"value","expected_type":"string","validator":"String","required":true,"description":"\n<p>parameter value</p>\n"}]},{"name":"remove_parameter","examples":["DELETE /api/templates/3/parameters/attr/\n200\nRemoved parameter 'attr'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/remove_parameter","full_description":"","apis":[{"api_url":"/api/templates/:template_id/parameters/:id","http_method":"DELETE","short_description":"Remove parameter"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>parameter identifier</p>\n"}]},{"name":"add_package_group","examples":["POST /api/templates/3/package_groups/\n{\n \"name\": \"mammal\"\n}\n200\nAdded package group 'mammal'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/add_package_group","full_description":"","apis":[{"api_url":"/api/templates/:template_id/package_groups","http_method":"POST","short_description":"Add package group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>package group identifier</p>\n"}]},{"name":"remove_package_group","examples":["DELETE /api/templates/3/package_groups/mammal/\n200\nRemoved package group 'mammal'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/remove_package_group","full_description":"","apis":[{"api_url":"/api/templates/:template_id/package_groups/:id","http_method":"DELETE","short_description":"Remove package group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>package group identifier</p>\n"}]},{"name":"add_package_group_category","examples":["POST /api/templates/3/package_group_categories/\n{\n \"name\": \"all\"\n}\n200\nAdded package group category 'all'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/add_package_group_category","full_description":"","apis":[{"api_url":"/api/templates/:template_id/package_group_categories","http_method":"POST","short_description":"Add package group category"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>package group category identifier</p>\n"}]},{"name":"remove_package_group_category","examples":["DELETE /api/templates/3/package_group_categories/all/\n200\nRemoved package group category 'all'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/remove_package_group_category","full_description":"","apis":[{"api_url":"/api/templates/:template_id/package_group_categories/:id","http_method":"DELETE","short_description":"Remove package group category"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>package group category identifier</p>\n"}]},{"name":"add_distribution","examples":["POST /api/templates/3/distributions/\n{\n \"id\": \"ks-Test Family-TestVariant-16-x86_64\"\n}\n200\nAdded distribution 'ks-Test Family-TestVariant-16-x86_64'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/add_distribution","full_description":"","apis":[{"api_url":"/api/templates/:template_id/distributions","http_method":"POST","short_description":"Add distribution"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>distribution identifier</p>\n"}]},{"name":"remove_distribution","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/remove_distribution","full_description":"","apis":[{"api_url":"/api/templates/:template_id/distributions/:id","http_method":"DELETE","short_description":"Remove distribution"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>distribution identifier</p>\n"}]},{"name":"add_repo","examples":["POST /api/templates/3/repositories/\n{\n \"id\": 2\n}\n200\nAdded repository '2'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/add_repo","full_description":"","apis":[{"api_url":"/api/templates/:template_id/repositories","http_method":"POST","short_description":"Add repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>repository numeric identifier</p>\n"}]},{"name":"remove_repo","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates_content/remove_repo","full_description":"","apis":[{"api_url":"/api/templates/:template_id/repositories/:id","http_method":"DELETE","short_description":"Remove repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>repository numeric identifier</p>\n"}]}]},"users":{"name":"Users","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/users","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/users/?username=user_227e003\n200\n[\n {\n \"created_at\": \"2012-08-10T13:42:38Z\",\n \"page_size\": 25,\n \"disabled\": false,\n \"email\": \"user_227e003@somewhere.com\",\n \"preferences\": {},\n \"helptips_enabled\": true,\n \"password\": \"7e5370c1fc6863c751c38ff7a2fb7ae30f8d0510a3a17ef3d7b9002fa34548f4e1d8174b5e054bc3e63064e67990b7081a9ce4bb10447a29a921f4615f225fa0fuwnxQ4rWaJzauNX9vO9tJPfqAsixwLB4ixMEJxiTXRECjFc0DcJTbwoxQTYhRpc\",\n \"own_role_id\": 5,\n \"default_organization\": null,\n \"updated_at\": \"2012-08-10T13:42:38Z\",\n \"password_reset_token\": null,\n \"default_environment\": null,\n \"password_reset_sent_at\": null,\n \"hidden\": false,\n \"id\": 3,\n \"username\": \"user_227e003\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/index","full_description":"","apis":[{"api_url":"/api/users","http_method":"GET","short_description":"List users"}],"errors":[],"params":[{"allow_nil":false,"full_name":"email","name":"email","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter by email</p>\n"},{"allow_nil":false,"full_name":"disabled","name":"disabled","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>filter by disabled flag</p>\n"},{"allow_nil":false,"full_name":"username","name":"username","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter by username</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/show","full_description":"","apis":[{"api_url":"/api/users/:id","http_method":"GET","short_description":"Show a user"}],"errors":[],"params":[]},{"name":"create","examples":["POST /api/users/\n{\n \"disabled\": false,\n \"email\": \"user_227e003@somewhere.com\",\n \"password\": \"password\",\n \"username\": \"user_227e003\"\n}\n200\n{\n \"created_at\": \"2012-08-10T13:42:38Z\",\n \"page_size\": 25,\n \"disabled\": false,\n \"email\": \"user_227e003@somewhere.com\",\n \"preferences\": {},\n \"helptips_enabled\": true,\n \"password\": \"7e5370c1fc6863c751c38ff7a2fb7ae30f8d0510a3a17ef3d7b9002fa34548f4e1d8174b5e054bc3e63064e67990b7081a9ce4bb10447a29a921f4615f225fa0fuwnxQ4rWaJzauNX9vO9tJPfqAsixwLB4ixMEJxiTXRECjFc0DcJTbwoxQTYhRpc\",\n \"own_role_id\": 5,\n \"default_organization\": null,\n \"updated_at\": \"2012-08-10T13:42:38Z\",\n \"password_reset_token\": null,\n \"default_environment\": null,\n \"password_reset_sent_at\": null,\n \"hidden\": false,\n \"id\": 3,\n \"username\": \"user_227e003\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/create","full_description":"","apis":[{"api_url":"/api/users","http_method":"POST","short_description":"Create an user"}],"errors":[],"params":[{"allow_nil":false,"full_name":"username","name":"username","expected_type":"string","validator":"String","required":true,"description":""},{"allow_nil":false,"full_name":"email","name":"email","expected_type":"string","validator":"String","required":true,"description":""},{"allow_nil":false,"full_name":"password","name":"password","expected_type":"string","validator":"String","required":true,"description":""},{"allow_nil":true,"full_name":"default_environment_id","name":"default_environment_id","expected_type":"numeric","validator":"Integer","required":false,"description":""},{"allow_nil":true,"full_name":"disabled","name":"disabled","expected_type":"string","validator":"boolean","required":false,"description":""}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/update","full_description":"","apis":[{"api_url":"/api/users/:id","http_method":"PUT","short_description":"Update an user"}],"errors":[],"params":[{"allow_nil":false,"full_name":"email","name":"email","expected_type":"string","validator":"String","required":false,"description":""},{"allow_nil":false,"full_name":"password","name":"password","expected_type":"string","validator":"String","required":false,"description":""},{"allow_nil":true,"full_name":"default_environment_id","name":"default_environment_id","expected_type":"numeric","validator":"Integer","required":false,"description":""},{"allow_nil":true,"full_name":"disabled","name":"disabled","expected_type":"string","validator":"boolean","required":false,"description":""}]},{"name":"destroy","examples":["DELETE /api/users/3\n200\nDeleted user '3'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/destroy","full_description":"","apis":[{"api_url":"/api/users/:id","http_method":"DELETE","short_description":"Destroy an user"}],"errors":[],"params":[]},{"name":"list_roles","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/list_roles","full_description":"","apis":[{"api_url":"/api/users/:user_id/roles","http_method":"GET","short_description":"List roles assigned to a user"}],"errors":[],"params":[]},{"name":"sync_ldap_roles","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/sync_ldap_roles","full_description":"","apis":[{"api_url":"/api/users/sync_ldap_roles","http_method":"GET","short_description":"Synchronises roles for all users with LDAP groups"}],"errors":[],"params":[]},{"name":"add_role","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/add_role","full_description":"","apis":[{"api_url":"/api/users/:user_id/roles","http_method":"POST","short_description":"Assign a role to a user"}],"errors":[],"params":[{"allow_nil":false,"full_name":"role_id","name":"role_id","expected_type":"numeric","validator":"Integer","required":false,"description":""}]},{"name":"remove_role","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/remove_role","full_description":"","apis":[{"api_url":"/api/users/:user_id/roles/:id","http_method":"DELETE","short_description":"Remove user's role"}],"errors":[],"params":[]},{"name":"report","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/users/report","full_description":"","apis":[{"api_url":"/api/users/report","http_method":"GET","short_description":"Reports all users in the system in a format according to 'Accept' headers.\n Supported formats are plain text, html, csv, pdf"}],"errors":[],"params":[]}]},"smart_proxies":{"name":"Smart proxies","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/smart_proxies","formats":null,"full_description":"\n<p>A smart proxy is an autonomous web-based foreman component that is placed\non a host performing a specific function in the host commissioning phase.\nIt receives requests from Foreman to perform operations that are required\nduring the commissioning process and executes them on its behalf. More\ndetails can be found on the Foreman Architecture page.</p>\n\n<p>To fully manage the commissioning process then a smart proxy will have to\nmanipulate these services, DHCP, DNS, Puppet CA, Puppet and TFTP. These\nservices may exist on separate machines or several of them may be hosted on\nthe same machine. As each smart proxy instance is capable of managing all\nof these services, there is only need for one proxy per host.</p>\n\n<p>The Domains API is available only if support for Foreman is installed.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/smart_proxies/index","full_description":"","apis":[{"api_url":"/api/smart_proxies","http_method":"GET","short_description":"List of smart proxies"}],"errors":[],"params":[{"allow_nil":false,"full_name":"search","name":"search","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter results</p>\n"},{"allow_nil":false,"full_name":"order","name":"order","expected_type":"string","validator":"String","required":false,"description":"\n<p>Sort results</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/smart_proxies/show","full_description":"","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"GET","short_description":"Show a smart proxy."}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>domain name (no slashes)</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/smart_proxies/create","full_description":"\n<p>The <b>fullname</b> field is used for human readability in reports and\nother pages that refer to domains, and also available as an external node\nparameter</p>\n","apis":[{"api_url":"/api/smart_proxies","http_method":"POST","short_description":"Create a smart proxy."}],"errors":[],"params":[{"allow_nil":false,"full_name":"smart_proxy","name":"smart_proxy","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"smart_proxy[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>The smart proxy name</p>\n"},{"name":"url","full_name":"smart_proxy[url]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>The smart proxy URL starting with \u2018http://\u2019 or \u2018https://\u2019</p>\n"}],"description":""}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/smart_proxies/update","full_description":"","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"PUT","short_description":"Update a smart proxy."}],"errors":[],"params":[{"allow_nil":false,"full_name":"smart_proxy","name":"smart_proxy","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"smart_proxy[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>The smart proxy name</p>\n"},{"name":"url","full_name":"smart_proxy[url]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>The smart proxy URL starting with \u2018http://\u2019 or \u2018https://\u2019</p>\n"}],"description":""}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/smart_proxies/destroy","full_description":"","apis":[{"api_url":"/api/smart_proxies/:id","http_method":"DELETE","short_description":"Delete a domain."}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>domain name (no slashes)</p>\n"}]}]},"config_templates":{"name":"Config templates","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/config_templates","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/index","full_description":"","apis":[{"api_url":"/api/config_templates","http_method":"GET","short_description":"List templates"}],"errors":[],"params":[{"allow_nil":false,"full_name":"search","name":"search","expected_type":"string","validator":"String","required":false,"description":"\n<p>filter results</p>\n"},{"allow_nil":false,"full_name":"order","name":"order","expected_type":"string","validator":"String","required":false,"description":"\n<p>sort results</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/show","full_description":"","apis":[{"api_url":"/api/config_templates/:id","http_method":"GET","short_description":"Show template details"}],"errors":[],"params":[]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/create","full_description":"","apis":[{"api_url":"/api/config_templates","http_method":"POST","short_description":"Create a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"config_template","name":"config_template","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"config_template[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>template name</p>\n"},{"name":"template","full_name":"config_template[template]","allow_nil":false,"expected_type":"string","validator":"Must be one of: String, File.","required":true,"description":""},{"name":"snippet","full_name":"config_template[snippet]","allow_nil":true,"expected_type":"string","validator":"boolean","required":false,"description":""},{"name":"audit_comment","full_name":"config_template[audit_comment]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"template_kind_id","full_name":"config_template[template_kind_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>not relevant for snippet</p>\n"},{"name":"template_combinations_attributes","full_name":"config_template[template_combinations_attributes]","allow_nil":true,"expected_type":"string","validator":"Array","required":false,"description":"\n<p>Array of template combinations (hostgroup_id, environment_id)</p>\n"}],"description":""}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/update","full_description":"","apis":[{"api_url":"/api/config_templates/:id","http_method":"PUT","short_description":"Update a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"config_template","name":"config_template","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"config_template[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>template name</p>\n"},{"name":"template","full_name":"config_template[template]","allow_nil":false,"expected_type":"string","validator":"Must be one of: String, File.","required":false,"description":""},{"name":"snippet","full_name":"config_template[snippet]","allow_nil":true,"expected_type":"string","validator":"boolean","required":false,"description":""},{"name":"audit_comment","full_name":"config_template[audit_comment]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"template_kind_id","full_name":"config_template[template_kind_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>not relevant for snippet</p>\n"},{"name":"template_combinations_attributes","full_name":"config_template[template_combinations_attributes]","allow_nil":true,"expected_type":"string","validator":"Array","required":false,"description":"\n<p>Array of template combinations (hostgroup_id, environment_id)</p>\n"}],"description":""}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/destroy","full_description":"","apis":[{"api_url":"/api/config_templates/:id","http_method":"DELETE","short_description":"Delete a template"}],"errors":[],"params":[]},{"name":"revision","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/revision","full_description":"","apis":[{"api_url":"/api/config_templates/revision","http_method":"GET","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"version","name":"version","expected_type":"string","validator":"String","required":false,"description":"\n<p>template version</p>\n"}]},{"name":"build_pxe_default","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/config_templates/build_pxe_default","full_description":"","apis":[{"api_url":"/api/config_templates/build_pxe_default","http_method":"GET","short_description":"Change the default PXE menu on all configured TFTP servers"}],"errors":[],"params":[]}]},"activation_keys":{"name":"Activation keys","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/activation_keys","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/environments/3/activation_keys/\n200\n[\n {\n \"created_at\": \"2012-08-10T13:43:00Z\",\n \"name\": \"activation_key_227e003\",\n \"usage_count\": 0,\n \"organization_id\": 2,\n \"user_id\": 1,\n \"usage_limit\": -1,\n \"environment_id\": 3,\n \"updated_at\": \"2012-08-10T13:43:00Z\",\n \"system_template_id\": null,\n \"pools\": [],\n \"id\": 1,\n \"description\": \"key description\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/index","full_description":"","apis":[{"api_url":"/api/activation_keys","http_method":"GET","short_description":"List activation keys"},{"api_url":"/api/environments/:environment_id/activation_keys","http_method":"GET","short_description":"List activation keys"},{"api_url":"/api/organizations/:organization_id/activation_keys","http_method":"GET","short_description":"List activation keys"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>lists by activation key name</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/show","full_description":"","apis":[{"api_url":"/api/activation_keys/:id","http_method":"GET","short_description":"Show an activation key"}],"errors":[],"params":[]},{"name":"create","examples":["POST /api/environments/3/activation_keys/\n{\n \"activation_key\": {\n \"name\": \"activation_key_227e003\",\n \"usage_limit\": -1,\n \"description\": \"key description\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:43:00Z\",\n \"name\": \"activation_key_227e003\",\n \"usage_count\": 0,\n \"organization_id\": 2,\n \"user_id\": 1,\n \"usage_limit\": -1,\n \"environment_id\": 3,\n \"updated_at\": \"2012-08-10T13:43:00Z\",\n \"system_template_id\": null,\n \"pools\": [],\n \"id\": 1,\n \"description\": \"key description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/create","full_description":"","apis":[{"api_url":"/api/activation_keys","http_method":"POST","short_description":"Create an activation key"},{"api_url":"/api/environments/:environment_id/activation_keys","http_method":"POST","short_description":"Create an activation key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"activation_key","name":"activation_key","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"activation_key[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>activation key identifier (alphanum characters, space, _ and -)</p>\n"},{"name":"description","full_name":"activation_key[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"content_view_id","full_name":"activation_key[content_view_id]","allow_nil":true,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>content view id</p>\n"}],"description":""}]},{"name":"update","examples":["PUT /api/activation_keys/2/\n{\n \"activation_key\": {\n \"environment_id\": 9\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:54:45Z\",\n \"name\": \"ak1_227e003\",\n \"usage_count\": 0,\n \"organization_id\": 4,\n \"user_id\": 1,\n \"usage_limit\": -1,\n \"environment_id\": 9,\n \"updated_at\": \"2012-08-10T13:54:45Z\",\n \"system_template_id\": null,\n \"pools\": [],\n \"id\": 2,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/update","full_description":"","apis":[{"api_url":"/api/activation_keys/:id","http_method":"PUT","short_description":"Update an activation key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"activation_key","name":"activation_key","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"activation_key[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>activation key identifier (alphanum characters, space, _ and -)</p>\n"},{"name":"description","full_name":"activation_key[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"content_view_id","full_name":"activation_key[content_view_id]","allow_nil":true,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>content view id</p>\n"},{"name":"environment_id","full_name":"activation_key[environment_id]","allow_nil":true,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""}],"description":""}]},{"name":"add_pool","examples":["POST /api/activation_keys/2/pools\n{\n \"poolid\": \"ff8080813910c3d3013910d0e0390063\"\n}\n200\n{\n \"created_at\": \"2012-08-10T13:54:45Z\",\n \"name\": \"ak1_227e003\",\n \"usage_count\": 0,\n \"organization_id\": 4,\n \"user_id\": 1,\n \"usage_limit\": -1,\n \"environment_id\": 9,\n \"updated_at\": \"2012-08-10T13:54:45Z\",\n \"system_template_id\": null,\n \"pools\": [],\n \"id\": 2,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/add_pool","full_description":"","apis":[{"api_url":"/api/activation_keys/:id/pools","http_method":"POST","short_description":"Create an entitlement pool within an activation key"}],"errors":[],"params":[]},{"name":"remove_pool","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/remove_pool","full_description":"","apis":[{"api_url":"/api/activation_keys/:id/pools/:poolid","http_method":"DELETE","short_description":"Delete an entitlement pool within an activation key"}],"errors":[],"params":[]},{"name":"destroy","examples":["DELETE /api/activation_keys/1/\n204"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/destroy","full_description":"","apis":[{"api_url":"/api/activation_keys/:id","http_method":"DELETE","short_description":"Destroy an activation key"}],"errors":[],"params":[]},{"name":"add_system_groups","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/add_system_groups","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/activation_keys/:id/system_groups","http_method":"POST","short_description":null}],"errors":[],"params":[]},{"name":"remove_system_groups","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/activation_keys/remove_system_groups","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/activation_keys/:id/system_groups","http_method":"DELETE","short_description":null}],"errors":[],"params":[]}]},"repository_sets":{"name":"Repository sets","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/repository_sets","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"enable","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repository_sets/enable","full_description":"","apis":[{"api_url":"/api/product/:product_id/repository_set/:id/enable","http_method":"POST","short_description":"Enable a repository set for a product."}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>id of an organization the repository will be contained in</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>id of a product the repository will be contained in</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>id or name of the repository set to enable</p>\n"}]},{"name":"disable","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repository_sets/disable","full_description":"","apis":[{"api_url":"/api/product/:product_id/repository_set/:id/disable","http_method":"POST","short_description":"Enable a repository set for a product."}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>id of an organization the repository will be contained in</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>id of a product the repository will be contained in</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>id of the repository set to disable</p>\n"}]},{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repository_sets/index","full_description":"","apis":[{"api_url":"/api/product/:product_id/repository_set","http_method":"GET","short_description":"List repository sets for a product."}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>id of an</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>id of a product to list repository sets in</p>\n"}]}]},"packages":{"name":"Packages","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/packages","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/packages/index","full_description":"","apis":[{"api_url":"/api/repositories/:repository_id/packages","http_method":"GET","short_description":"List packages"}],"errors":[],"params":[{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>environment numeric identifier</p>\n"}]},{"name":"search","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/packages/search","full_description":"","apis":[{"api_url":"/api/repositories/:repository_id/packages/search","http_method":"GET","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>environment numeric identifier</p>\n"},{"allow_nil":false,"full_name":"search","name":"search","expected_type":"string","validator":"String","required":false,"description":"\n<p>search expression</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/packages/show","full_description":"","apis":[{"api_url":"/api/repositories/:repository_id/packages/:id","http_method":"GET","short_description":"Show a package"}],"errors":[],"params":[{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>environment numeric identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>package id</p>\n"}]}]},"repositories":{"name":"Repositories","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/repositories","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"create","examples":["POST /api/repositories/\n{\n \"name\": \"fewups_product_227e003_fakerepos_zoo5\",\n \"url\": \"http://lzap.fedorapeople.org/fakerepos/zoo5\",\n \"organization_id\": \"org_227e003\",\n \"product_id\": \"1344606167242\"\n}\n200\n{\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:53Z\",\n \"name\": \"fewups_product_227e003_fakerepos_zoo5\",\n \"major\": null,\n \"enabled\": true,\n \"pulp_id\": \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"cp_label\": \"org_227e003_fewups_product_227e003_fewups_product_227e003_fakerepos_zoo5\",\n \"environment_product_id\": 1,\n \"package_count\": 0,\n \"library_instance_id\": null,\n \"updated_at\": \"2012-08-10T13:42:54Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": null,\n \"id\": 1,\n \"minor\": null\n}"],"formats":null,"see":[{"link":"../apidoc/1.0/gpg_keys/index","description":"gpg_keys#index"}],"doc_url":"../apidoc/1.0/repositories/create","full_description":"","apis":[{"api_url":"/api/repositories","http_method":"POST","short_description":"Create a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":""},{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>id of an organization the repository will be contained in</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>id of a product the repository will be contained in</p>\n"},{"allow_nil":false,"full_name":"url","name":"url","expected_type":"string","validator":null,"required":true,"description":"\n<p>repository source url</p>\n"},{"allow_nil":false,"full_name":"gpg_key_name","name":"gpg_key_name","expected_type":"string","validator":"String","required":false,"description":"\n<p>name of a gpg key that will be assigned to the new repository</p>\n"}]},{"name":"show","examples":["GET /api/repositories/2/\n200\n{\n \"created_at\": \"2012-08-10T13:42:57Z\",\n \"gpg_key_id\": null,\n \"keys\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/keys/\",\n \"distributionid\": [\n \"ks-Test Family-TestVariant-16-x86_64\"\n ],\n \"name\": \"repo_227e003\",\n \"uri\": \"https://katello.example.com/pulp/repos/org_227e003/Library/custom/fewups_product_227e003/repo_227e003/\",\n \"comps\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/comps/\",\n \"clone_ids\": [\n \"org_227e003-env_227e003-fewups_product_227e003-repo_227e003\"\n ],\n \"feed_ca\": null,\n \"source\": {\n \"url\": \"http://lzap.fedorapeople.org/fakerepos/zoo5/\",\n \"type\": \"remote\"\n },\n \"files_count\": 77,\n \"major\": null,\n \"enabled\": true,\n \"files\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/files/\",\n \"distribution\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/distribution/\",\n \"feed_cert\": null,\n \"relative_path\": \"org_227e003/Library/custom/fewups_product_227e003/repo_227e003\",\n \"sync_state\": \"finished\",\n \"consumer_ca\": null,\n \"packages\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/packages/\",\n \"consumer_cert\": null,\n \"filters\": [],\n \"pulp_id\": \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"arch\": \"noarch\",\n \"cp_label\": \"org_227e003_fewups_product_227e003_repo_227e003\",\n \"packagegroups\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/packagegroups/\",\n \"preserve_metadata\": false,\n \"notes\": {},\n \"publish\": true,\n \"environment_product_id\": 1,\n \"sync_schedule\": null,\n \"package_count\": 8,\n \"library_instance_id\": null,\n \"_id\": \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"checksum_type\": \"sha256\",\n \"updated_at\": \"2012-08-10T13:42:58Z\",\n \"content_types\": \"yum\",\n \"groupid\": [\n \"product:1344606167242\",\n \"env:2\",\n \"org:2\",\n \"content:1344606177624\"\n ],\n \"gpg_key_name\": \"\",\n \"next_scheduled_time\": null,\n \"uri_ref\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/\",\n \"packagegroupcategories\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/packagegroupcategories/\",\n \"last_sync\": \"2012-08-10T15:43:16+02:00\",\n \"sync_options\": {},\n \"errata\": \"/pulp/api/repositories/org_227e003-fewups_product_227e003-repo_227e003/errata/\",\n \"id\": 2,\n \"minor\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/show","full_description":"","apis":[{"api_url":"/api/repositories/:id","http_method":"GET","short_description":"Show a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>repository id</p>\n"}]},{"name":"update","examples":["PUT /api/repositories/6/\n{\n \"repository\": {\n \"gpg_key_name\": \"Dummy-Package-Generator\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:46:03Z\",\n \"gpg_key_id\": 1,\n \"keys\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/keys/\",\n \"distributionid\": [],\n \"name\": \"GPG-repo-2-227e003\",\n \"uri\": \"https://katello.example.com/pulp/repos/org_227e003/Library/custom/GPG-product-227e003/GPG-repo-2-227e003/\",\n \"comps\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/comps/\",\n \"clone_ids\": [],\n \"feed_ca\": null,\n \"source\": {\n \"url\": \"http://inecas.fedorapeople.org/fakerepos/zoo\",\n \"type\": \"remote\"\n },\n \"files_count\": 80,\n \"major\": null,\n \"enabled\": true,\n \"files\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/files/\",\n \"distribution\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/distribution/\",\n \"feed_cert\": null,\n \"relative_path\": \"org_227e003/Library/custom/GPG-product-227e003/GPG-repo-2-227e003\",\n \"sync_state\": \"not_synced\",\n \"consumer_ca\": null,\n \"packages\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/packages/\",\n \"consumer_cert\": null,\n \"filters\": [],\n \"pulp_id\": \"org_227e003-GPG-product-227e003-GPG-repo-2-227e003\",\n \"arch\": \"noarch\",\n \"cp_label\": \"org_227e003_GPG-product-227e003_GPG-repo-2-227e003\",\n \"packagegroups\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/packagegroups/\",\n \"preserve_metadata\": false,\n \"notes\": {},\n \"publish\": true,\n \"environment_product_id\": 3,\n \"sync_schedule\": null,\n \"package_count\": 0,\n \"library_instance_id\": null,\n \"_id\": \"org_227e003-GPG-product-227e003-GPG-repo-2-227e003\",\n \"checksum_type\": \"sha256\",\n \"updated_at\": \"2012-08-10T13:46:07Z\",\n \"content_types\": \"yum\",\n \"groupid\": [\n \"product:1344606356883\",\n \"env:2\",\n \"org:2\",\n \"content:1344606363895\"\n ],\n \"gpg_key_name\": \"Dummy-Package-Generator\",\n \"next_scheduled_time\": null,\n \"uri_ref\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/\",\n \"packagegroupcategories\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/packagegroupcategories/\",\n \"last_sync\": null,\n \"sync_options\": {},\n \"errata\": \"/pulp/api/repositories/org_227e003-GPG-product-227e003-GPG-repo-2-227e003/errata/\",\n \"id\": 6,\n \"minor\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/update","full_description":"","apis":[{"api_url":"/api/repositories/:id","http_method":"PUT","short_description":"Update a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>repository id</p>\n"},{"allow_nil":false,"full_name":"repository","name":"repository","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"gpg_key_name","full_name":"repository[gpg_key_name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>name of a gpg key that will be assigned to the repository</p>\n"}],"description":""}]},{"name":"destroy","examples":["DELETE /api/repositories/6/\n200\nDeleted repository '6'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/destroy","full_description":"","apis":[{"api_url":"/api/repositories/:id","http_method":"DELETE","short_description":"Destroy a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":""}]},{"name":"enable","examples":["POST /api/repositories/85/enable/\n{\n \"enable\": true\n}\n200\nRepository 'Zoo Enterprise x86_64 6.2' enabled."],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/enable","full_description":"","apis":[{"api_url":"/api/repositories/:id/enable","http_method":"POST","short_description":"Enable or disable a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":""},{"allow_nil":false,"full_name":"enable","name":"enable","expected_type":"string","validator":"boolean","required":true,"description":"\n<p>flag that enables/disables the repository</p>\n"}]},{"name":"sync_complete","examples":["POST /api/repositories/sync_complete\n{\n \"repo_id\": \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"task_id\": \"4fd84a3a-e2f1-11e1-a717-525400b68f90\"\n}\n500\nundefined method `with_indifferent_access' for false:FalseClass"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/sync_complete","full_description":"\n<p>This function is used by pulp for post sync actions. It is not\nauthenticated, but does not accept requests unless they have been sent from\nlocalhost. Since we go through apache HTTP_X_FORWARDED_FOR header should\nbe set with original IP. Pulp blocks during the execution of this call, so\n*DO NOT* try to talk back to pulp within it. Save that for the delayed\njob. Pulp doesn\u2019t send correct headers.\u201c</p>\n","apis":[{"api_url":"/api/repositories/:id/sync_complete","http_method":"POST","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":""}]},{"name":"package_groups","examples":["GET /api/repositories/2/package_groups\n200\n[\n {\n \"name\": \"mammal\",\n \"optional_package_names\": [],\n \"langonly\": null,\n \"translated_description\": {},\n \"default_package_names\": [],\n \"immutable\": true,\n \"translated_name\": {},\n \"repo_defined\": true,\n \"user_visible\": true,\n \"default\": true,\n \"mandatory_package_names\": [\n \"elephant,giraffe,cheetah,lion,monkey,penguin,squirrel,walrus\",\n \"penguin\"\n ],\n \"_id\": \"mammal\",\n \"display_order\": 1024,\n \"conditional_package_names\": {},\n \"id\": \"mammal\",\n \"description\": \"\"\n },\n {\n \"name\": \"bird\",\n \"optional_package_names\": [],\n \"langonly\": null,\n \"translated_description\": {},\n \"default_package_names\": [],\n \"immutable\": true,\n \"translated_name\": {},\n \"repo_defined\": true,\n \"user_visible\": true,\n \"default\": true,\n \"mandatory_package_names\": [\n \"penguin\"\n ],\n \"_id\": \"bird\",\n \"display_order\": 1024,\n \"conditional_package_names\": {},\n \"id\": \"bird\",\n \"description\": \"\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/package_groups","full_description":"","apis":[{"api_url":"/api/repositories/:id/package_groups","http_method":"GET","short_description":"List all package groups in a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":""}]},{"name":"package_group_categories","examples":["GET /api/repositories/2/package_group_categories/\n200\n[\n {\n \"name\": \"all\",\n \"translated_description\": {},\n \"immutable\": true,\n \"translated_name\": {},\n \"repo_defined\": true,\n \"packagegroupids\": [\n \"mammal\",\n \"bird\"\n ],\n \"_id\": \"all\",\n \"display_order\": 99,\n \"id\": \"all\",\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/package_group_categories","full_description":"","apis":[{"api_url":"/api/repositories/:id/package_group_categories","http_method":"GET","short_description":"List all package group categories in a repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":""}]},{"name":"gpg_key_content","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/gpg_key_content","full_description":"","apis":[{"api_url":"/api/repositories/:id/gpg_key_content","http_method":"GET","short_description":"Return the content of a repo gpg key, used directly by yum"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":""}]},{"name":"list_content_view_definition_repositories","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/list_content_view_definition_repositories","full_description":"","apis":[{"api_url":"/api/content_view_definitions/%s/repositories","http_method":"GET","short_description":"List all the repositories for a content view definition"}],"errors":[],"params":[]},{"name":"update_content_view_definition_repositories","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/repositories/update_content_view_definition_repositories","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:content_view_definition_id/repositories","http_method":"PUT","short_description":"Update repositories for content view definition"}],"errors":[],"params":[{"allow_nil":false,"full_name":"content_view_definition_id","name":"content_view_definition_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>content view definition identifier</p>\n"},{"allow_nil":false,"full_name":"repos","name":"repos","expected_type":"string","validator":"Array","required":true,"description":"\n<p>Updated list of repo ids</p>\n"}]}]},"system_group_errata":{"name":"System group errata","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/system_group_errata","formats":null,"full_description":"\n<p>methods for handling erratas on system group level</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_group_errata/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:system_group_id/errata","http_method":"GET","short_description":"Get list of errata associated with the group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"system_group_id","name":"system_group_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system_group identifier</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"Must be one of: bugfix, enhancement, security.","required":false,"description":"\n<p>Filter errata by type</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_group_errata/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:system_group_id/errata","http_method":"POST","short_description":"Install errata remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"system_group_id","name":"system_group_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system_group identifier</p>\n"},{"allow_nil":false,"full_name":"errata_ids","name":"errata_ids","expected_type":"string","validator":"Array","required":true,"description":"\n<p>List of errata ids to install</p>\n"}]}]},"system_group_packages":{"name":"System group packages","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/system_group_packages","formats":null,"full_description":"\n<p>methods for handling packages on system group level</p>\n","short_description":null,"methods":[{"name":"create","examples":["POST /api/organizations/org_227e003/system_groups/1/packages\n{\n \"packages\": [\n \"cheetah\"\n ]\n}\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:48:24Z\",\n \"status_message\": \"Installing Package...\",\n \"pulp_id\": \"0384935e-4216-4d38-9832-6be39e379aba\",\n \"state\": \"running\",\n \"tasks\": [\n {\n \"finish_time\": null,\n \"progress\": null,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"0e0f181c-e2f2-11e1-85ad-525400b68f90\",\n \"state\": \"waiting\",\n \"id\": 15\n }\n ],\n \"task_type\": \"package_install\",\n \"id\": 1,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n }\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_group_packages/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:system_group_id/packages","http_method":"POST","short_description":"Install packages remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"system_group_id","name":"system_group_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system_group identifier</p>\n"},{"allow_nil":false,"full_name":"packages","name":"packages","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package names</p>\n"},{"allow_nil":false,"full_name":"groups","name":"groups","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package group names</p>\n"}]},{"name":"update","examples":["PUT /api/organizations/org_227e003/system_groups/1/packages\n{\n \"packages\": [\n \"cheetah\"\n ]\n}\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:48:48Z\",\n \"status_message\": \"Updating Package...\",\n \"pulp_id\": \"efe07dec-a694-452e-9de1-a0cf4e429da1\",\n \"state\": \"running\",\n \"tasks\": [\n {\n \"finish_time\": null,\n \"progress\": null,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"1cb315cf-e2f2-11e1-a5a0-525400b68f90\",\n \"state\": \"waiting\",\n \"id\": 16\n }\n ],\n \"task_type\": \"package_update\",\n \"id\": 2,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n }\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_group_packages/update","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:system_group_id/packages","http_method":"PUT","short_description":"Update packages remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"system_group_id","name":"system_group_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system_group identifier</p>\n"},{"allow_nil":false,"full_name":"packages","name":"packages","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package names</p>\n"},{"allow_nil":false,"full_name":"groups","name":"groups","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package group names</p>\n"}]},{"name":"destroy","examples":["DELETE /api/organizations/org_227e003/system_groups/1/packages\n{\n \"packages\": [\n \"cheetah\"\n ]\n}\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:48:51Z\",\n \"status_message\": \"Removing Package...\",\n \"pulp_id\": \"c5846b6b-7415-4fb1-b7ca-1b6fec9d7520\",\n \"state\": \"running\",\n \"tasks\": [\n {\n \"finish_time\": null,\n \"progress\": null,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"1e087d07-e2f2-11e1-ae5e-525400b68f90\",\n \"state\": \"waiting\",\n \"id\": 17\n }\n ],\n \"task_type\": \"package_remove\",\n \"id\": 3,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n }\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_group_packages/destroy","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:system_group_id/packages","http_method":"DELETE","short_description":"Uninstall packages remotely"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"system_group_id","name":"system_group_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>system_group identifier</p>\n"},{"allow_nil":false,"full_name":"packages","name":"packages","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package names</p>\n"},{"allow_nil":false,"full_name":"groups","name":"groups","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of package group names</p>\n"}]}]},"status":{"name":"Status","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/status","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"memory","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/status/memory","full_description":"","apis":[{"api_url":"/api/status/memory","http_method":"GET","short_description":"Counts objects in memory for debug purposes. Can take a while!"}],"errors":[],"params":[]}]},"systems":{"name":"Systems","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/systems","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"create","examples":["POST /api/environments/3/consumers\n{\n \"name\": \"katello.example.com_227e003\",\n \"type\": \"system\",\n \"facts\": {\n \"net.interface.eth0.ipv4_broadcast\": \"192.168.122.255\",\n \"net.interface.lo.ipv4_address\": \"127.0.0.1\"\n },\n \"installedProducts\": [\n {\n \"productName\": \"Red Hat Enterprise Linux Server\",\n \"productId\": \"69\"\n }\n ]\n}\n200\n{\n \"created_at\": \"2012-08-10T13:46:33Z\",\n \"name\": \"katello.example.com_227e003\",\n \"release\": \"\",\n \"href\": \"/consumers/3050eb45-0ec4-43ea-8913-83635f06a2b7\",\n \"environment\": {\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:42:44Z\",\n \"name\": \"env 227e003\",\n \"prior_id\": 2,\n \"organization_id\": 2,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:42:44Z\",\n \"organization\": \"org_227e003\",\n \"id\": 3,\n \"description\": null\n },\n \"owner\": {\n \"href\": \"/owners/org_227e003\",\n \"key\": \"org_227e003\",\n \"id\": \"ff8080813910c3d3013910c5c1460003\",\n \"displayName\": \"org_227e003\"\n },\n \"idCert\": {\n \"key\": \"-----BEGIN RSA PRIVATE KEY-----\\n-----END RSA PRIVATE KEY-----\\n\",\n \"updated\": \"2012-08-10T13:46:33.053+0000\",\n \"serial\": {\n \"expiration\": \"2028-08-10T13:46:32.358+0000\",\n \"updated\": \"2012-08-10T13:46:32.358+0000\",\n \"serial\": 5585057444669292718,\n \"revoked\": false,\n \"collected\": false,\n \"id\": 5585057444669292718,\n \"created\": \"2012-08-10T13:46:32.358+0000\"\n },\n \"id\": \"ff8080813910c3d3013910c952dd0018\",\n \"created\": \"2012-08-10T13:46:33.053+0000\",\n \"cert\": \"-----BEGIN CERTIFICATE-----\\n-----END CERTIFICATE-----\\n\"\n },\n \"serviceLevel\": \"\",\n \"activation_key\": [],\n \"environment_id\": 3,\n \"uuid\": \"3050eb45-0ec4-43ea-8913-83635f06a2b7\",\n \"updated_at\": \"2012-08-10T13:46:33Z\",\n \"location\": \"None\",\n \"system_template_id\": null,\n \"facts\": {\n \"net.interface.eth0.ipv4_broadcast\": \"192.168.122.255\",\n \"net.interface.lo.ipv4_address\": \"127.0.0.1\"\n },\n \"ipv4_address\": \"127.0.0.1\",\n \"autoheal\": true,\n \"id\": 1,\n \"description\": \"Initial Registration Params\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/create","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/consumers","http_method":"POST","short_description":"Register a system in environment (compatibility reason)"},{"api_url":"/api/environments/:environment_id/systems","http_method":"POST","short_description":"Register a system in environment"}],"errors":[],"params":[{"allow_nil":true,"full_name":"facts","name":"facts","expected_type":"hash","validator":"Hash","required":false,"description":"\n<p>Key-value hash of system-specific facts</p>\n"},{"allow_nil":true,"full_name":"installedProducts","name":"installedProducts","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of products installed on the system</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":"\n<p>Name of the system</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"String","required":true,"description":"\n<p>Type of the system, it should always be \u2018system\u2019</p>\n"},{"allow_nil":true,"full_name":"serviceLevel","name":"serviceLevel","expected_type":"string","validator":"String","required":false,"description":"\n<p>A service level for auto-healing process, e.g. SELF-SUPPORT</p>\n"},{"allow_nil":false,"full_name":"location","name":"location","expected_type":"string","validator":"String","required":false,"description":"\n<p>Physical of the system</p>\n"},{"allow_nil":false,"full_name":"content_view_id","name":"content_view_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""}]},{"name":"hypervisors_update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/hypervisors_update","full_description":"\n<p>Takes a hash representing the mapping: host system having geust systems,\ne.g.:</p>\n\n<pre>{ &quot;host-uuid&quot;: [&quot;guest-uuid-1&quot;, &quot;guest-uuid-2'] }</pre>\n\n<p>See virt-who tool for more details.</p>\n","apis":[{"api_url":"/api/hypervisors","http_method":"POST","short_description":"Update the hypervisors information for environment"}],"errors":[],"params":[]},{"name":"activate","examples":["POST /api/environments/7/systems\n{\n \"cp_type\": \"system\",\n \"name\": \"katello.example.com_227e003\",\n \"serviceLevel\": \"SELF-SUPPORT\",\n \"facts\": {\n \"cpu.cpu_socket(s)\": \"1\",\n \"distribution.name\": \"Unknown\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:52:27Z\",\n \"name\": \"katello.example.com_227e003\",\n \"release\": \"\",\n \"href\": \"/consumers/269f9e7c-debe-4b3c-b33b-92f309f882df\",\n \"environment\": {\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:50:26Z\",\n \"name\": \"env_manifest_227e003\",\n \"prior_id\": 6,\n \"organization_id\": 3,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:50:26Z\",\n \"organization\": \"org_manifest_227e003\",\n \"id\": 7,\n \"description\": null\n },\n \"owner\": {\n \"href\": \"/owners/org_manifest_227e003\",\n \"key\": \"org_manifest_227e003\",\n \"id\": \"ff8080813910c3d3013910ccdd67001c\",\n \"displayName\": \"org_manifest_227e003\"\n },\n \"idCert\": {\n \"key\": \"-----BEGIN RSA PRIVATE KEY-----\\n-----END RSA PRIVATE KEY-----\\n\",\n \"updated\": \"2012-08-10T13:52:24.698+0000\",\n \"serial\": {\n \"expiration\": \"2028-08-10T13:52:24.099+0000\",\n \"updated\": \"2012-08-10T13:52:24.099+0000\",\n \"serial\": 375757150572080644,\n \"revoked\": false,\n \"collected\": false,\n \"id\": 375757150572080644,\n \"created\": \"2012-08-10T13:52:24.099+0000\"\n },\n \"id\": \"ff8080813910c3d3013910ceb07a003a\",\n \"created\": \"2012-08-10T13:52:24.698+0000\",\n \"cert\": \"-----BEGIN CERTIFICATE-----\\n-----END CERTIFICATE-----\\n\"\n },\n \"serviceLevel\": \"\",\n \"activation_key\": [],\n \"environment_id\": 7,\n \"uuid\": \"269f9e7c-debe-4b3c-b33b-92f309f882df\",\n \"updated_at\": \"2012-08-10T13:52:27Z\",\n \"location\": \"None\",\n \"system_template_id\": null,\n \"facts\": {\n \"cpu.cpu_socket(s)\": \"1\",\n \"distribution.name\": \"Unknown\"\n },\n \"ipv4_address\": null,\n \"guests\": [],\n \"autoheal\": true,\n \"id\": 2,\n \"description\": \"Initial Registration Params\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/activate","full_description":"","apis":[{"api_url":"/api/consumers","http_method":"POST","short_description":"Register a system with activation key (compatibility)"},{"api_url":"/api/organizations/:organization_id/systems","http_method":"POST","short_description":"Register a system with activation key"}],"errors":[],"params":[{"allow_nil":false,"full_name":"activation_keys","name":"activation_keys","expected_type":"string","validator":"String","required":true,"description":""},{"allow_nil":true,"full_name":"facts","name":"facts","expected_type":"hash","validator":"Hash","required":false,"description":"\n<p>Key-value hash of system-specific facts</p>\n"},{"allow_nil":true,"full_name":"installedProducts","name":"installedProducts","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of products installed on the system</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":"\n<p>Name of the system</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"String","required":true,"description":"\n<p>Type of the system, it should always be \u2018system\u2019</p>\n"},{"allow_nil":true,"full_name":"serviceLevel","name":"serviceLevel","expected_type":"string","validator":"String","required":false,"description":"\n<p>A service level for auto-healing process, e.g. SELF-SUPPORT</p>\n"},{"allow_nil":false,"full_name":"location","name":"location","expected_type":"string","validator":"String","required":false,"description":"\n<p>Physical of the system</p>\n"},{"allow_nil":false,"full_name":"content_view_id","name":"content_view_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""}]},{"name":"regenerate_identity_certificates","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/regenerate_identity_certificates","full_description":"\n<p>Schedules the consumer identity certificate regeneration</p>\n","apis":[{"api_url":"/api/consumers/:id","http_method":"POST","short_description":"Regenerate consumer identity"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>UUID of the consumer</p>\n"}]},{"name":"update","examples":["PUT /api/systems/269f9e7c-debe-4b3c-b33b-92f309f882df\n{\n \"serviceLevel\": \"SELF-SUPPORT\"\n}\n200\n{\n \"created_at\": \"2012-08-10T13:52:27Z\",\n \"name\": \"katello.example.com_227e003\",\n \"release\": \"\",\n \"href\": \"/consumers/269f9e7c-debe-4b3c-b33b-92f309f882df\",\n \"environment\": {\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:50:26Z\",\n \"name\": \"env_manifest_227e003\",\n \"prior_id\": 6,\n \"organization_id\": 3,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:50:26Z\",\n \"organization\": \"org_manifest_227e003\",\n \"id\": 7,\n \"description\": null\n },\n \"owner\": {\n \"href\": \"/owners/org_manifest_227e003\",\n \"key\": \"org_manifest_227e003\",\n \"id\": \"ff8080813910c3d3013910ccdd67001c\",\n \"displayName\": \"org_manifest_227e003\"\n },\n \"idCert\": {\n \"key\": \"-----BEGIN RSA PRIVATE KEY-----\\n-----END RSA PRIVATE KEY-----\\n\",\n \"updated\": \"2012-08-10T13:52:24.698+0000\",\n \"serial\": {\n \"expiration\": \"2028-08-10T13:52:24.099+0000\",\n \"updated\": \"2012-08-10T13:52:24.099+0000\",\n \"serial\": 375757150572080644,\n \"revoked\": false,\n \"collected\": false,\n \"id\": 375757150572080644,\n \"created\": \"2012-08-10T13:52:24.099+0000\"\n },\n \"id\": \"ff8080813910c3d3013910ceb07a003a\",\n \"created\": \"2012-08-10T13:52:24.698+0000\",\n \"cert\": \"-----BEGIN CERTIFICATE-----\\n-----END CERTIFICATE-----\\n\"\n },\n \"serviceLevel\": \"SELF-SUPPORT\",\n \"activation_key\": [],\n \"environment_id\": 7,\n \"uuid\": \"269f9e7c-debe-4b3c-b33b-92f309f882df\",\n \"updated_at\": \"2012-08-10T13:52:27Z\",\n \"location\": \"None\",\n \"system_template_id\": null,\n \"facts\": {\n \"cpu.cpu_socket(s)\": \"1\",\n \"distribution.name\": \"Unknown\"\n },\n \"ipv4_address\": null,\n \"guests\": [],\n \"autoheal\": true,\n \"id\": 2,\n \"description\": \"Initial Registration Params\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/update","full_description":"","apis":[{"api_url":"/api/consumers/:id","http_method":"PUT","short_description":"Update system information (compatibility)"},{"api_url":"/api/systems/:id","http_method":"PUT","short_description":"Update system information"}],"errors":[],"params":[{"allow_nil":true,"full_name":"facts","name":"facts","expected_type":"hash","validator":"Hash","required":false,"description":"\n<p>Key-value hash of system-specific facts</p>\n"},{"allow_nil":true,"full_name":"installedProducts","name":"installedProducts","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of products installed on the system</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Name of the system</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"String","required":false,"description":"\n<p>Type of the system, it should always be \u2018system\u2019</p>\n"},{"allow_nil":true,"full_name":"serviceLevel","name":"serviceLevel","expected_type":"string","validator":"String","required":false,"description":"\n<p>A service level for auto-healing process, e.g. SELF-SUPPORT</p>\n"},{"allow_nil":false,"full_name":"location","name":"location","expected_type":"string","validator":"String","required":false,"description":"\n<p>Physical of the system</p>\n"},{"allow_nil":false,"full_name":"content_view_id","name":"content_view_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":""}]},{"name":"index","examples":["GET /api/organizations/org_227e003/systems?name=katello.example.com_227e003\n200\n[\n {\n \"created_at\": \"2012-08-10T13:46:33Z\",\n \"name\": \"katello.example.com_227e003\",\n \"environment\": {\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:42:44Z\",\n \"name\": \"env 227e003\",\n \"prior_id\": 2,\n \"organization_id\": 2,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:42:44Z\",\n \"organization\": \"org_227e003\",\n \"id\": 3,\n \"description\": null\n },\n \"serviceLevel\": \"\",\n \"activation_key\": [],\n \"environment_id\": 3,\n \"uuid\": \"3050eb45-0ec4-43ea-8913-83635f06a2b7\",\n \"updated_at\": \"2012-08-10T13:46:33Z\",\n \"location\": \"None\",\n \"system_template_id\": null,\n \"ipv4_address\": \"127.0.0.1\",\n \"id\": 1,\n \"description\": \"Initial Registration Params\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/index","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/consumers","http_method":"GET","short_description":"List systems (compatibilty)"},{"api_url":"/api/environments/:environment_id/systems","http_method":"GET","short_description":"List systems in environment"},{"api_url":"/api/organizations/:organization_id/systems","http_method":"GET","short_description":"List systems in organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter systems by name</p>\n"},{"allow_nil":false,"full_name":"pool_id","name":"pool_id","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter systems by subscribed pool</p>\n"},{"allow_nil":false,"full_name":"search","name":"search","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter systems by advanced search query</p>\n"}]},{"name":"show","examples":["GET /api/systems/269f9e7c-debe-4b3c-b33b-92f309f882df\n200\n{\n \"created_at\": \"2012-08-10T13:52:27Z\",\n \"name\": \"katello.example.com_227e003\",\n \"release\": \"\",\n \"href\": \"/consumers/269f9e7c-debe-4b3c-b33b-92f309f882df\",\n \"environment\": {\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:50:26Z\",\n \"name\": \"env_manifest_227e003\",\n \"prior_id\": 6,\n \"organization_id\": 3,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:50:26Z\",\n \"organization\": \"org_manifest_227e003\",\n \"id\": 7,\n \"description\": null\n },\n \"owner\": {\n \"href\": \"/owners/org_manifest_227e003\",\n \"key\": \"org_manifest_227e003\",\n \"id\": \"ff8080813910c3d3013910ccdd67001c\",\n \"displayName\": \"org_manifest_227e003\"\n },\n \"idCert\": {\n \"key\": \"-----BEGIN RSA PRIVATE KEY-----\\n-----END RSA PRIVATE KEY-----\\n\",\n \"updated\": \"2012-08-10T13:52:24.698+0000\",\n \"serial\": {\n \"expiration\": \"2028-08-10T13:52:24.099+0000\",\n \"updated\": \"2012-08-10T13:52:24.099+0000\",\n \"serial\": 375757150572080644,\n \"revoked\": false,\n \"collected\": false,\n \"id\": 375757150572080644,\n \"created\": \"2012-08-10T13:52:24.099+0000\"\n },\n \"id\": \"ff8080813910c3d3013910ceb07a003a\",\n \"created\": \"2012-08-10T13:52:24.698+0000\",\n \"cert\": \"-----BEGIN CERTIFICATE-----\\n-----END CERTIFICATE-----\\n\"\n },\n \"serviceLevel\": \"\",\n \"activation_key\": [],\n \"environment_id\": 7,\n \"uuid\": \"269f9e7c-debe-4b3c-b33b-92f309f882df\",\n \"updated_at\": \"2012-08-10T13:52:27Z\",\n \"location\": \"None\",\n \"system_template_id\": null,\n \"facts\": {\n \"cpu.cpu_socket(s)\": \"1\",\n \"distribution.name\": \"Unknown\"\n },\n \"ipv4_address\": null,\n \"guests\": [],\n \"autoheal\": true,\n \"id\": 2,\n \"description\": \"Initial Registration Params\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/show","full_description":"","apis":[{"api_url":"/api/consumers/:id","http_method":"GET","short_description":"Show a system (compatibility)"},{"api_url":"/api/systems/:id","http_method":"GET","short_description":"Show a system"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"destroy","examples":["DELETE /api/consumers/3050eb45-0ec4-43ea-8913-83635f06a2b7\n204"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/destroy","full_description":"","apis":[{"api_url":"/api/consumers/:id","http_method":"DELETE","short_description":"Unregister a system (compatibility)"},{"api_url":"/api/systems/:id","http_method":"DELETE","short_description":"Unregister a system"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"pools","examples":["GET /api/systems/d2a99f27-6c0d-41de-9f3d-3279e4fbadd4/pools\n200\n{\n \"pools\": [\n {\n \"sockets\": \"\",\n \"endDate\": \"2042-08-03\",\n \"consumed\": 0,\n \"multiEntitlement\": false,\n \"poolId\": \"ff8080813910c3d3013910c5e47b000d\",\n \"supportLevel\": \"\",\n \"poolName\": \"fewups_product_227e003\",\n \"startDate\": \"2012-08-10\",\n \"quantity\": -1,\n \"providedProducts\": []\n }\n ]\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/pools","full_description":"","apis":[{"api_url":"/api/systems/:id/pools","http_method":"GET","short_description":"List pools a system is subscribed to"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"releases","examples":["GET /api/systems/d2a99f27-6c0d-41de-9f3d-3279e4fbadd4/releases\n200\n{\n \"releases\": []\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/releases","full_description":"\n<p>A hint for choosing the right value for the releaseVer param</p>\n","apis":[{"api_url":"/api/systems/:id/releases","http_method":"GET","short_description":"Show releases available for the system"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"package_profile","examples":["GET /api/systems/d2a99f27-6c0d-41de-9f3d-3279e4fbadd4/packages\n200\n[\n\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/package_profile","full_description":"","apis":[{"api_url":"/api/systems/:id/packages","http_method":"GET","short_description":"List packages installed on the system"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"errata","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/errata","full_description":"","apis":[{"api_url":"/api/systems/:id/errata","http_method":"GET","short_description":"List errata available for the system"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"upload_package_profile","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/upload_package_profile","full_description":"","apis":[{"api_url":"/api/consumers/:id/packages","http_method":"PUT","short_description":"Update installed packages"},{"api_url":"/api/consumers/:id/profile","http_method":"PUT","short_description":"Update installed packages"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"report","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/report","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/systems/report","http_method":"GET","short_description":"Get system reports for the environment"},{"api_url":"/api/organizations/:organization_id/systems/report","http_method":"GET","short_description":"Get system reports for the organization"}],"errors":[],"params":[]},{"name":"tasks","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/tasks","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/systems/tasks","http_method":"GET","short_description":"List async tasks for the system"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_name","name":"system_name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Name of the system</p>\n"},{"allow_nil":false,"full_name":"system_uuid","name":"system_uuid","expected_type":"string","validator":"String","required":false,"description":"\n<p>UUID of the system</p>\n"}]},{"name":"task_show","examples":["GET /api/systems/tasks/d03b47f5-e2f1-11e1-b07c-525400b68f90\n200\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:46:40Z\",\n \"organization_id\": 2,\n \"progress\": null,\n \"system_name\": \"katello.example.com_227e003\",\n \"task_owner_type\": \"System\",\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"d03b47f5-e2f1-11e1-b07c-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:46:42Z\",\n \"state\": \"running\",\n \"task_type\": \"package_install\",\n \"task_owner_id\": 1,\n \"result_description\": \"\",\n \"id\": 10,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n },\n \"description\": \"Package Install: cheetah\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/task_show","full_description":"","apis":[{"api_url":"/api/systems/tasks/:id","http_method":"GET","short_description":"Show details of the async task"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the task</p>\n"}]},{"name":"enabled_repos","examples":["PUT /api/systems/82b34fd1-8758-493d-8fa6-5b2b1bf8559d/enabled_repos\n{\n \"enabled_repos\": {\n \"repos\": [\n {\n \"repositoryid\": \"zoo-enterprise\"\n }\n ]\n }\n}\n200\n{\n \"unknown_labels\": [],\n \"result\": \"ok\",\n \"error_ids\": [],\n \"processed_ids\": [\n \"org_manifest_227e003-env_manifest_227e003-Zoo_Enterprise-Zoo_Enterprise_x86_64_6_2\"\n ]\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/enabled_repos","full_description":"\n<p>Used by katello-agent to keep the information about enabled repositories up\nto date. This information is then used for computing the errata available\nfor the system.</p>\n","apis":[{"api_url":"/api/systems/:id/enabled_repos","http_method":"PUT","short_description":"Update the information about enabled repositories"}],"errors":[],"params":[]},{"name":"add_system_groups","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/add_system_groups","full_description":"","apis":[{"api_url":"/api/systems/:id/system_groups","http_method":"POST","short_description":"Add a system to groups"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system","name":"system","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"system_group_ids","full_name":"system[system_group_ids]","allow_nil":false,"expected_type":"string","validator":"Array","required":true,"description":"\n<p>List of group ids to add the system to</p>\n"}],"description":""}]},{"name":"remove_system_groups","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/systems/remove_system_groups","full_description":"","apis":[{"api_url":"/api/systems/:id/system_groups","http_method":"DELETE","short_description":"Remove a system from groups"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system","name":"system","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"system_group_ids","full_name":"system[system_group_ids]","allow_nil":false,"expected_type":"string","validator":"Array","required":true,"description":"\n<p>List of group ids to add the system to</p>\n"}],"description":""}]}]},"environments":{"name":"Environments","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/environments","formats":null,"full_description":"\n<p># Description</p>\n\n<p>An environment is a basic organization structure that groups systems,\nproducts, repositories, templates etc. Every system belongs to one\nenvironment and it\u2019s isolated inside so that it can see only content that\nis in its environment.</p>\n\n<p>## Chains</p>\n\n<p>Environments are ordered into chains and their content (propducts,\nrepositories, tempaltes, packages) can be moved to an environment only from\nits prior environment. You can have for example chain like:</p>\n\n<pre>Library -&gt; Development -&gt; Testing -&gt; Production</pre>\n\n<p>Each change in an environment is done through a changeset in an action\ncalled promotion.</p>\n\n<p>## Library</p>\n\n<p>Library is a special environment that has no ascendant: all the content\nstarts in this environment. More chains can start from the library\nenvironment but no further branching of a chain is enabled.</p>\n","short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/org_227e003/environments/?name=Library\n200\n[\n {\n \"prior\": null,\n \"created_at\": \"2012-08-10T13:42:39Z\",\n \"name\": \"Library\",\n \"prior_id\": null,\n \"organization_id\": 2,\n \"library\": true,\n \"updated_at\": \"2012-08-10T13:42:39Z\",\n \"organization\": \"org_227e003\",\n \"id\": 2,\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/environments","http_method":"GET","short_description":"List environments in an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"library","name":"library","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>set true if you want to see only library environment</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>filter only environments with this identifier</p>\n"}]},{"name":"rhsm_index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/rhsm_index","full_description":"","apis":[{"api_url":"/api/owners/:organization_id/environments","http_method":"GET","short_description":"List environments for RHSM"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"library","name":"library","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>set true if you want to see only library environment</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>filter only environments with this identifier</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/show","full_description":"","apis":[{"api_url":"/api/environments/:id","http_method":"GET","short_description":"Show an environment"},{"api_url":"/api/organizations/:organization_id/environments/:id","http_method":"GET","short_description":"Show an environment"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"},{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"}]},{"name":"create","examples":["POST /api/organizations/org_227e003/environments/\n{\n \"environment\": {\n \"prior\": 2,\n \"name\": \"env 227e003\"\n }\n}\n200\n{\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:42:44Z\",\n \"name\": \"env 227e003\",\n \"prior_id\": 2,\n \"organization_id\": 2,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:42:44Z\",\n \"organization\": \"org_227e003\",\n \"id\": 3,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/environments","http_method":"POST","short_description":"Create an environment in an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"environment","name":"environment","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"environment[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>name of the environment (identifier)</p>\n"},{"name":"description","full_name":"environment[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"prior","full_name":"environment[prior]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>identifier of an environment that is prior the new environment in the\nchain, it has to be either library or an environment at the end of the\nchain</p>\n"}],"description":""}]},{"name":"update","examples":["PUT /api/organizations/org_227e003/environments/5\n{\n \"environment\": {\n \"name\": \"tstenv_227e003\",\n \"description\": \"Test environment\"\n }\n}\n200\n{\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:45:23Z\",\n \"name\": \"tstenv_227e003\",\n \"prior_id\": 2,\n \"organization_id\": 2,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:45:24Z\",\n \"organization\": \"org_227e003\",\n \"id\": 5,\n \"description\": \"Test environment\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/update","full_description":"","apis":[{"api_url":"/api/environments/:id","http_method":"PUT","short_description":"Update an environment"},{"api_url":"/api/organizations/:organization_id/environments/:id","http_method":"PUT","short_description":"Update an environment in an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"environment","name":"environment","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"environment[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>name of the environment (identifier)</p>\n"},{"name":"description","full_name":"environment[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""}],"description":""}]},{"name":"destroy","examples":["DELETE /api/organizations/org_227e003/environments/5\n200\nDeleted environment '5'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/destroy","full_description":"","apis":[{"api_url":"/api/environments/:id","http_method":"DELETE","short_description":"Destroy an environment"},{"api_url":"/api/organizations/:organization_id/environments/:id","http_method":"DELETE","short_description":"Destroy an environment in an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"},{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"}]},{"name":"repositories","examples":["GET /api/organizations/org_227e003/environments/2/repositories?include_disabled=False\n200\n[\n {\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:53Z\",\n \"name\": \"fewups_product_227e003_fakerepos_zoo5\",\n \"major\": null,\n \"enabled\": true,\n \"pulp_id\": \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"cp_label\": \"org_227e003_fewups_product_227e003_fewups_product_227e003_fakerepos_zoo5\",\n \"environment_product_id\": 1,\n \"package_count\": 0,\n \"library_instance_id\": null,\n \"updated_at\": \"2012-08-10T13:42:54Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": null,\n \"id\": 1,\n \"minor\": null\n },\n {\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:57Z\",\n \"name\": \"repo_227e003\",\n \"major\": null,\n \"enabled\": true,\n \"pulp_id\": \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"cp_label\": \"org_227e003_fewups_product_227e003_repo_227e003\",\n \"environment_product_id\": 1,\n \"package_count\": 0,\n \"library_instance_id\": null,\n \"updated_at\": \"2012-08-10T13:42:58Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": null,\n \"id\": 2,\n \"minor\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/repositories","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/environments/:id/repositories","http_method":"GET","short_description":"List repositories available in the environment"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"},{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"include_disabled","name":"include_disabled","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>set to true if you want to see also disabled repositories</p>\n"}]},{"name":"releases","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/environments/releases","full_description":"","apis":[{"api_url":"/api/environments/:id/releases","http_method":"GET","short_description":"List available releases for given environment"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"}]}]},"changesets_content":{"name":"Changesets content","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/changesets_content","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"add_product","examples":["POST /api/changesets/1/products/\n{\n \"product_id\": \"1344606167242\"\n}\n200\nAdded product 'fewups_product_227e003'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_product","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/products","http_method":"POST","short_description":"Add a product to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the product which should be added</p>\n"}]},{"name":"remove_product","examples":["DELETE /api/changesets/1/products/1344606167242/\n{\n \"content_id\": \"1344606167242\"\n}\n200\nRemoved product '1344606167242'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_product","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/products/:id","http_method":"DELETE","short_description":"Removes a product from a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"content_id","name":"content_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the product to remove</p>\n"}]},{"name":"add_package","examples":["POST /api/changesets/2/packages/\n{\n \"name\": \"monkey-0.3-0.8.noarch.rpm\",\n \"product_id\": \"1344606167242\"\n}\n200\nAdded package 'monkey-0.3-0.8.noarch.rpm'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_package","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/packages","http_method":"POST","short_description":"Add a package to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>The nvrea of the package to add</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the product which contains the package</p>\n"}]},{"name":"remove_package","examples":["DELETE /api/changesets/2/packages/monkey-0.3-0.8.noarch.rpm/\n{\n \"product_id\": \"1344606167242\",\n \"content_id\": \"monkey-0.3-0.8.noarch.rpm\"\n}\n200\nPackage 'monkey-0.3-0.8.noarch.rpm' not found in the changeset"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_package","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/packages/:id","http_method":"DELETE","short_description":"Remove a package from a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the product which contains the package</p>\n"}]},{"name":"add_erratum","examples":["POST /api/changesets/2/errata/\n{\n \"erratum_id\": \"RHEA-2010:0001\",\n \"product_id\": \"1344606167242\"\n}\n200\nAdded erratum 'RHEA-2010:0001'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_erratum","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/errata","http_method":"POST","short_description":"Add an errata to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"erratum_id","name":"erratum_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the errata to add</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The product which contains the errata</p>\n"}]},{"name":"remove_erratum","examples":["DELETE /api/changesets/2/errata/RHEA-2010:9984/\n{\n \"product_id\": \"1344606167242\",\n \"content_id\": \"RHEA-2010:9984\"\n}\n200\nErratum 'RHEA-2010:9984' not found in the changeset"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_erratum","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/errata/:id","http_method":"DELETE","short_description":"Remove an errata from a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The product which contains the errata</p>\n"}]},{"name":"add_repo","examples":["POST /api/changesets/2/repositories/\n{\n \"repository_id\": 2,\n \"product_id\": \"1344606167242\"\n}\n200\nAdded repository 'repo_227e003'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_repo","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/repositories","http_method":"POST","short_description":"Add a repository to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the repository to add</p>\n"}]},{"name":"remove_repo","examples":["DELETE /api/changesets/2/repositories/2/\n{\n \"product_id\": \"1344606167242\",\n \"content_id\": 2\n}\n200\nRemoved repository'2'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_repo","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/repositories/:id","http_method":"DELETE","short_description":"Remove a repository from a changeset"}],"errors":[],"params":[]},{"name":"add_template","examples":["POST /api/changesets/3/templates/\n{\n \"template_id\": 1\n}\n200\nAdded template 'promotion_test_tpl_227e003'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_template","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/templates","http_method":"POST","short_description":"Add a template to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"template_id","name":"template_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the template to add</p>\n"}]},{"name":"remove_template","examples":["DELETE /api/changesets/3/templates/1/\n{\n \"content_id\": 1\n}\n200\nRemoved template '1'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_template","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/templates/:id","http_method":"DELETE","short_description":"Remove a template from a changeset"}],"errors":[],"params":[]},{"name":"add_content_view","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_content_view","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/content_views","http_method":"POST","short_description":"Add a content view to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"content_view_id","name":"content_view_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the content view to add</p>\n"}]},{"name":"remove_content_view","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_content_view","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/content_views/:id","http_method":"DELETE","short_description":"Remove a content_view from a changeset"}],"errors":[],"params":[]},{"name":"add_distribution","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/add_distribution","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/distributions","http_method":"POST","short_description":"Add a distribution to a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"distribution_id","name":"distribution_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The id of the distribution to add</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The product which contains the distribution</p>\n"}]},{"name":"remove_distribution","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets_content/remove_distribution","full_description":"","apis":[{"api_url":"/api/changesets/:changeset_id/distributions/:id","http_method":"DELETE","short_description":"Remove a distribution from a changeset"}],"errors":[],"params":[]}]},"products":{"name":"Products","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/products","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"show","examples":["GET /api/organizations/org_227e003/products/1344606167242/\n200\n{\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:48Z\",\n \"name\": \"fewups_product_227e003\",\n \"sync_plan_id\": null,\n \"multiplier\": 1,\n \"marketing_product\": false,\n \"sync_state\": \"finished\",\n \"attributes\": [],\n \"productContent\": [\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"repo_227e003\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:42:57.624+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/fewups_product_227e003/repo_227e003\",\n \"id\": \"1344606177624\",\n \"gpgUrl\": \"\",\n \"created\": \"2012-08-10T13:42:57.624+0000\",\n \"label\": \"org_227e003_fewups_product_227e003_repo_227e003\"\n }\n },\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"fewups_product_227e003_fakerepos_zoo5\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:42:53.879+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5\",\n \"id\": \"1344606173878\",\n \"gpgUrl\": \"\",\n \"created\": \"2012-08-10T13:42:53.879+0000\",\n \"label\": \"org_227e003_fewups_product_227e003_fewups_product_227e003_fakerepos_zoo5\"\n }\n }\n ],\n \"updated_at\": \"2012-08-10T13:42:48Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": \"2012-08-10T15:45:36+02:00\",\n \"provider_id\": 3,\n \"id\": \"1344606167242\",\n \"sync_plan_name\": null,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/show","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/products/:id","http_method":"GET","short_description":"Show a product"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>product numeric identifier</p>\n"}]},{"name":"update","examples":["PUT /api/organizations/org_227e003/products/1344606356883/\n{\n \"product\": {\n \"gpg_key_name\": \"Renamed-Dummy-Package-Generator\"\n }\n}\n200\n{\n \"gpg_key_id\": 2,\n \"created_at\": \"2012-08-10T13:45:57Z\",\n \"name\": \"GPG-product-227e003\",\n \"sync_plan_id\": null,\n \"multiplier\": 1,\n \"marketing_product\": false,\n \"sync_state\": \"not_synced\",\n \"attributes\": [],\n \"productContent\": [\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"GPG-repo-2-227e003\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:46:07.395+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/GPG-product-227e003/GPG-repo-2-227e003\",\n \"id\": \"1344606367395\",\n \"gpgUrl\": \"https://katello.example.com/katello/api/repositories/6/gpg_key_content\",\n \"created\": \"2012-08-10T13:46:07.395+0000\",\n \"label\": \"org_227e003_GPG-product-227e003_GPG-repo-2-227e003\"\n }\n },\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"GPG-repo-227e003\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:46:00.376+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/GPG-product-227e003/GPG-repo-227e003\",\n \"id\": \"1344606360376\",\n \"gpgUrl\": \"https://katello.example.com/katello/api/repositories/5/gpg_key_content\",\n \"created\": \"2012-08-10T13:46:00.376+0000\",\n \"label\": \"org_227e003_GPG-product-227e003_GPG-repo-227e003\"\n }\n }\n ],\n \"updated_at\": \"2012-08-10T13:46:09Z\",\n \"gpg_key_name\": \"Renamed-Dummy-Package-Generator\",\n \"last_sync\": null,\n \"provider_id\": 3,\n \"id\": \"1344606356883\",\n \"sync_plan_name\": null,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/update","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/products/:id","http_method":"PUT","short_description":"Update a product"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>product numeric identifier</p>\n"},{"allow_nil":false,"full_name":"product","name":"product","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"gpg_key_name","full_name":"product[gpg_key_name]","allow_nil":true,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>identifier of the gpg key</p>\n"},{"name":"description","full_name":"product[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Product description</p>\n"},{"name":"recursive","full_name":"product[recursive]","allow_nil":false,"expected_type":"string","validator":"boolean","required":false,"description":"\n<p>set to true to recursive update gpg key</p>\n"}],"description":""}]},{"name":"index","examples":["GET /api/organizations/org_227e003/products?name=fewups_product_227e003\n200\n[\n {\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:48Z\",\n \"name\": \"fewups_product_227e003\",\n \"sync_plan_id\": null,\n \"provider_name\": \"yum_provider_227e003\",\n \"multiplier\": 1,\n \"marketing_product\": false,\n \"sync_state\": \"not_synced\",\n \"attributes\": [],\n \"productContent\": [\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"fewups_product_227e003_fakerepos_zoo5\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:42:53.879+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5\",\n \"id\": \"1344606173878\",\n \"gpgUrl\": \"\",\n \"created\": \"2012-08-10T13:42:53.879+0000\",\n \"label\": \"org_227e003_fewups_product_227e003_fewups_product_227e003_fakerepos_zoo5\"\n }\n }\n ],\n \"updated_at\": \"2012-08-10T13:42:48Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": null,\n \"provider_id\": 3,\n \"id\": \"1344606167242\",\n \"sync_plan_name\": null,\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/index","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/products","http_method":"GET","short_description":"List products"},{"api_url":"/api/organizations/:organization_id/products","http_method":"GET","short_description":"List products"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>product identifier</p>\n"}]},{"name":"destroy","examples":["DELETE /api/organizations/org_227e003/products/1344606356883/\n200\nDeleted product '1344606356883'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/destroy","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/products/:id","http_method":"DELETE","short_description":"Destroy a product"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>product numeric identifier</p>\n"}]},{"name":"repositories","examples":["GET /api/environments/2/products/1344606167242/repositories?include_disabled=False&name=repo_227e003\n200\n[\n {\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:57Z\",\n \"name\": \"repo_227e003\",\n \"major\": null,\n \"enabled\": true,\n \"pulp_id\": \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"cp_label\": \"org_227e003_fewups_product_227e003_repo_227e003\",\n \"environment_product_id\": 1,\n \"package_count\": 8,\n \"library_instance_id\": null,\n \"updated_at\": \"2012-08-10T13:42:58Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": \"2012-08-10T15:43:16+02:00\",\n \"id\": 2,\n \"minor\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/repositories","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/products/:id/repositories","http_method":"GET","short_description":null},{"api_url":"/api/organizations/:organization_id/products/:id/repositories","http_method":"GET","short_description":null},{"api_url":"/api/organizations/:organization_id/products/:id/repositories","http_method":"GET","short_description":null}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>environment identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>product numeric identifier</p>\n"},{"allow_nil":false,"full_name":"include_disabled","name":"include_disabled","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>set to True if you want to list disabled repositories</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>repository identifier</p>\n"}]},{"name":"set_sync_plan","examples":["POST /api/organizations/org_227e003/products/1344606167242/sync_plan\n{\n \"plan_id\": 1\n}\n200\nSynchronization plan assigned."],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/set_sync_plan","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/products/:id/sync_plan","http_method":"POST","short_description":"Assign sync plan to product"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>product numeric identifier</p>\n"},{"allow_nil":false,"full_name":"plan_id","name":"plan_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>Plan numeric identifier</p>\n"}]},{"name":"remove_sync_plan","examples":["DELETE /api/organizations/org_227e003/products/1344606167242/sync_plan\n200\nSynchronization plan removed."],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/remove_sync_plan","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/products/:id/sync_plan","http_method":"DELETE","short_description":"Delete assignment sync plan and product"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>product numeric identifier</p>\n"},{"allow_nil":false,"full_name":"plan_id","name":"plan_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>Plan numeric identifier</p>\n"}]},{"name":"list_content_view_definition_products","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/list_content_view_definition_products","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:content_view_definition_id/products","http_method":"GET","short_description":"Get products for content view definition"}],"errors":[],"params":[{"allow_nil":false,"full_name":"content_view_definition_id","name":"content_view_definition_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>content view definition identifier</p>\n"}]},{"name":"update_content_view_definition_products","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/products/update_content_view_definition_products","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:content_view_definition_id/products","http_method":"PUT","short_description":"Update products for content view definition"}],"errors":[],"params":[{"allow_nil":false,"full_name":"content_view_definition_id","name":"content_view_definition_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>content view definition identifier</p>\n"},{"allow_nil":false,"full_name":"products","name":"products","expected_type":"string","validator":"Array","required":true,"description":"\n<p>Updated list of products</p>\n"}]}]},"domains":{"name":"Domains","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/domains","formats":null,"full_description":"\n<p>Foreman considers a domain and a DNS zone as the same thing. That is, if\nyou are planning to manage a site where all the machines are or the form\n<em>hostname</em>.<b>somewhere.com</b> then the domain is\n<b>somewhere.com</b>. This allows Foreman to associate a puppet variable\nwith a domain/site and automatically append this variable to all external\nnode requests made by machines at that site.</p>\n\n<p>The Domains API is available only if support for Foreman is installed.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/domains/index","full_description":"","apis":[{"api_url":"/api/domains","http_method":"GET","short_description":"List of domains"}],"errors":[],"params":[{"allow_nil":false,"full_name":"search","name":"search","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter results</p>\n"},{"allow_nil":false,"full_name":"order","name":"order","expected_type":"string","validator":"String","required":false,"description":"\n<p>Sort results</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/domains/show","full_description":"","apis":[{"api_url":"/api/domains/:id","http_method":"GET","short_description":"Show a domain."}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>domain name (no slashes)</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/domains/create","full_description":"\n<p>The <b>fullname</b> field is used for human readability in reports and\nother pages that refer to domains, and also available as an external node\nparameter</p>\n","apis":[{"api_url":"/api/domains","http_method":"POST","short_description":"Create a domain."}],"errors":[],"params":[{"allow_nil":false,"full_name":"domain","name":"domain","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"domain[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>The full DNS Domain name</p>\n"},{"name":"fullname","full_name":"domain[fullname]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Full name describing the domain</p>\n"},{"name":"dns_id","full_name":"domain[dns_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>DNS Proxy to use within this domain</p>\n"},{"name":"domain_parameters_attributes","full_name":"domain[domain_parameters_attributes]","allow_nil":true,"expected_type":"string","validator":"Array","required":false,"description":"\n<p>Array of parameters (name, value)</p>\n"}],"description":""}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/domains/update","full_description":"","apis":[{"api_url":"/api/domains/:id","http_method":"PUT","short_description":"Update a domain."}],"errors":[],"params":[{"allow_nil":false,"full_name":"domain","name":"domain","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"domain[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>The full DNS Domain name</p>\n"},{"name":"fullname","full_name":"domain[fullname]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Full name describing the domain</p>\n"},{"name":"dns_id","full_name":"domain[dns_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>DNS Proxy to use within this domain</p>\n"},{"name":"domain_parameters_attributes","full_name":"domain[domain_parameters_attributes]","allow_nil":true,"expected_type":"string","validator":"Array","required":false,"description":"\n<p>Array of parameters (name, value)</p>\n"}],"description":""}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/domains/destroy","full_description":"","apis":[{"api_url":"/api/domains/:id","http_method":"DELETE","short_description":"Delete a domain."}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>domain name (no slashes)</p>\n"}]}]},"distributors":{"name":"Distributors","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/distributors","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/create","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/distributors","http_method":"POST","short_description":"Register a distributor in environment"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":"\n<p>Name of the distributor</p>\n"},{"allow_nil":false,"full_name":"facts","name":"facts","expected_type":"hash","validator":"Hash","required":false,"description":"\n<p>Key-value hash of distributor-specific facts</p>\n"},{"allow_nil":false,"full_name":"installedProducts","name":"installedProducts","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of products installed on the distributor</p>\n"},{"allow_nil":true,"full_name":"serviceLevel","name":"serviceLevel","expected_type":"string","validator":"String","required":false,"description":"\n<p>A service level for auto-healing process, e.g. SELF-SUPPORT</p>\n"},{"allow_nil":false,"full_name":"releaseVer","name":"releaseVer","expected_type":"string","validator":"String","required":false,"description":"\n<p>Release of the os. The $releasever variable in repo url will be replaced\nwith this value</p>\n"},{"allow_nil":false,"full_name":"location","name":"location","expected_type":"string","validator":"String","required":false,"description":"\n<p>Physical of the distributor</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"String","required":true,"description":"\n<p>Type of the distributor, it should always be \u2018distributor\u2019</p>\n"}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/update","full_description":"","apis":[{"api_url":"/api/distributors/:id","http_method":"PUT","short_description":"Update distributor information"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Name of the distributor</p>\n"},{"allow_nil":false,"full_name":"facts","name":"facts","expected_type":"hash","validator":"Hash","required":false,"description":"\n<p>Key-value hash of distributor-specific facts</p>\n"},{"allow_nil":false,"full_name":"installedProducts","name":"installedProducts","expected_type":"string","validator":"Array","required":false,"description":"\n<p>List of products installed on the distributor</p>\n"},{"allow_nil":true,"full_name":"serviceLevel","name":"serviceLevel","expected_type":"string","validator":"String","required":false,"description":"\n<p>A service level for auto-healing process, e.g. SELF-SUPPORT</p>\n"},{"allow_nil":false,"full_name":"releaseVer","name":"releaseVer","expected_type":"string","validator":"String","required":false,"description":"\n<p>Release of the os. The $releasever variable in repo url will be replaced\nwith this value</p>\n"},{"allow_nil":false,"full_name":"location","name":"location","expected_type":"string","validator":"String","required":false,"description":"\n<p>Physical of the distributor</p>\n"}]},{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/index","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/distributors","http_method":"GET","short_description":"List distributors in environment"},{"api_url":"/api/organizations/:organization_id/distributors","http_method":"GET","short_description":"List distributors in organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter distributors by name</p>\n"},{"allow_nil":false,"full_name":"pool_id","name":"pool_id","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter distributors by subscribed pool</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/show","full_description":"","apis":[{"api_url":"/api/distributors/:id","http_method":"GET","short_description":"Show a distributor"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the distributor</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/destroy","full_description":"","apis":[{"api_url":"/api/distributors/:id","http_method":"DELETE","short_description":"Unregister a distributor"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the distributor</p>\n"}]},{"name":"pools","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/pools","full_description":"","apis":[{"api_url":"/api/distributors/:id/pools","http_method":"GET","short_description":"List pools a distributor is subscribed to"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the distributor</p>\n"}]},{"name":"report","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/report","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/distributors/report","http_method":"GET","short_description":"Get distributor reports for the environment"},{"api_url":"/api/organizations/:organization_id/distributors/report","http_method":"GET","short_description":"Get distributor reports for the organization"}],"errors":[],"params":[]},{"name":"tasks","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/tasks","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/distributors/tasks","http_method":"GET","short_description":"List async tasks for the distributor"}],"errors":[],"params":[{"allow_nil":false,"full_name":"distributor_name","name":"distributor_name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Name of the distributor</p>\n"},{"allow_nil":false,"full_name":"distributor_uuid","name":"distributor_uuid","expected_type":"string","validator":"String","required":false,"description":"\n<p>UUID of the distributor</p>\n"}]},{"name":"task_show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/distributors/task_show","full_description":"","apis":[{"api_url":"/api/distributors/tasks/:id","http_method":"GET","short_description":"Show details of the async task"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":true,"description":"\n<p>UUID of the task</p>\n"}]}]},"tasks":{"name":"Tasks","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/tasks","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/tasks/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/tasks","http_method":"GET","short_description":"List tasks of given organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"}]},{"name":"show","examples":["GET /api/tasks/45f57d6b-e2f1-11e1-a64d-525400b68f90\n200\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:42:48Z\",\n \"organization_id\": 2,\n \"progress\": {\n \"total_count\": 0,\n \"step\": 0,\n \"size_left\": 0,\n \"total_size\": 0,\n \"error_details\": [],\n \"items_left\": 0\n },\n \"task_owner_type\": null,\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"45f57d6b-e2f1-11e1-a64d-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:42:50Z\",\n \"state\": \"running\",\n \"task_type\": \"PulpSyncStatus\",\n \"task_owner_id\": null,\n \"id\": 1,\n \"parameters\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/tasks/show","full_description":"","apis":[{"api_url":"/api/tasks/:id","http_method":"GET","short_description":"Show a task info"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>task identifier</p>\n"}]}]},"templates":{"name":"Templates","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/templates","formats":null,"full_description":"\n<p>System templates allow to group content (products, repositories, packages)\nand handle them in changesets as a unit. They also provide an export\nconsumable by different systems (such as Aeolus Conductor to generate\nsystem images).</p>\n","short_description":null,"methods":[{"name":"index","examples":["GET /api/environments/2/templates/?name=promotion_test_tpl_227e003\n200\n[\n {\n \"revision\": 1,\n \"created_at\": \"2012-08-10T13:44:51Z\",\n \"name\": \"promotion_test_tpl_227e003\",\n \"parameters_json\": \"{}\",\n \"environment_id\": 2,\n \"updated_at\": \"2012-08-10T13:44:51Z\",\n \"parent_id\": null,\n \"id\": 1,\n \"description\": \"template description\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/index","full_description":"","apis":[{"api_url":"/api/environments/:environment_id/templates","http_method":"GET","short_description":"List system templates for given environment."}],"errors":[],"params":[{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>environment numeric identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>system template identifier</p>\n"}]},{"name":"show","examples":["GET /api/templates/1\n200\n{\n \"revision\": 1,\n \"created_at\": \"2012-08-10T13:44:51Z\",\n \"name\": \"promotion_test_tpl_227e003\",\n \"parameters_json\": \"{}\",\n \"packages\": [],\n \"repositories\": [],\n \"products\": [],\n \"environment_id\": 2,\n \"updated_at\": \"2012-08-10T13:44:51Z\",\n \"parent_id\": null,\n \"pg_categories\": [],\n \"id\": 1,\n \"package_groups\": [],\n \"parameters\": {},\n \"description\": \"template description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/show","full_description":"","apis":[{"api_url":"/api/templates/:id","http_method":"GET","short_description":"Show a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>system template numeric identifier</p>\n"}]},{"name":"create","examples":["POST /api/templates/\n{\n \"template\": {\n \"name\": \"promotion_test_tpl_227e003\",\n \"description\": \"template description\"\n },\n \"environment_id\": 2\n}\n200\n{\n \"revision\": 1,\n \"created_at\": \"2012-08-10T13:44:51Z\",\n \"name\": \"promotion_test_tpl_227e003\",\n \"parameters_json\": \"{}\",\n \"packages\": [],\n \"repositories\": [],\n \"products\": [],\n \"environment_id\": 2,\n \"updated_at\": \"2012-08-10T13:44:51Z\",\n \"parent_id\": null,\n \"pg_categories\": [],\n \"id\": 1,\n \"package_groups\": [],\n \"parameters\": {},\n \"description\": \"template description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/create","full_description":"","apis":[{"api_url":"/api/templates","http_method":"POST","short_description":"Create a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>environment numeric identifier</p>\n"},{"allow_nil":false,"full_name":"template","name":"template","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"template[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>new template name</p>\n"},{"name":"parent_id","full_name":"template[parent_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>parent template numeric identifier</p>\n"},{"name":"description","full_name":"template[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>template description</p>\n"}],"description":""}]},{"name":"update","examples":["PUT /api/templates/1\n{\n \"template\": {}\n}\n200\n{\n \"revision\": 1,\n \"created_at\": \"2012-08-10T13:44:51Z\",\n \"name\": \"promotion_test_tpl_227e003\",\n \"parameters_json\": \"{}\",\n \"packages\": [],\n \"repositories\": [],\n \"products\": [],\n \"environment_id\": 2,\n \"updated_at\": \"2012-08-10T13:44:51Z\",\n \"parent_id\": null,\n \"pg_categories\": [],\n \"id\": 1,\n \"package_groups\": [],\n \"parameters\": {},\n \"description\": \"template description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/update","full_description":"","apis":[{"api_url":"/api/templates/:id","http_method":"PUT","short_description":"Update a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"},{"allow_nil":false,"full_name":"template","name":"template","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"template[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>new template name</p>\n"},{"name":"parent_id","full_name":"template[parent_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>parent template numeric identifier</p>\n"},{"name":"description","full_name":"template[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>template description</p>\n"}],"description":""}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/destroy","full_description":"","apis":[{"api_url":"/api/templates/:id","http_method":"DELETE","short_description":"Destroy a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"}]},{"name":"import","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/import","full_description":"","apis":[{"api_url":"/api/templates/import","http_method":"POST","short_description":"Import a template"}],"errors":[],"params":[{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>environment numeric identifier</p>\n"},{"allow_nil":false,"full_name":"template_file","name":"template_file","expected_type":"string","validator":"File","required":true,"description":"\n<p>template file to import</p>\n"},{"allow_nil":false,"full_name":"template","name":"template","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"template[name]","allow_nil":false,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>new template name</p>\n"},{"name":"parent_id","full_name":"template[parent_id]","allow_nil":true,"expected_type":"string","validator":"number.","required":false,"description":"\n<p>parent template numeric identifier</p>\n"},{"name":"description","full_name":"template[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>template description</p>\n"}],"description":""}]},{"name":"validate","examples":["GET /api/templates/5/validate\n200\nOK"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/validate","full_description":"","apis":[{"api_url":"/api/templates/:id/validate","http_method":"GET","short_description":"Validate a template TDL"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"}]},{"name":"export","examples":["GET /api/templates/5/export\n200\n<?xml version=\"1.0\" encoding=\"UTF-8\"?><template><name>template_227e003</name><os><name>Test Family</name><version>16</version><arch>x86_64</arch><install type=\"url\"><url></url></install><rootpw>redhat</rootpw></os><description>template description</description><packages><package name=\"cheetah\"/><package name=\"@mammal\"/></packages><repositories><repository name=\"repo_227e003\"><url>https://katello.example.com/pulp/repos/org_227e003/env_227e003/custom/fewups_product_227e003/repo_227e003/</url><persisted>No</persisted><clientcert>-----BEGIN CERTIFICATE-----\nMIIG0DCCBbigAwIBAgIIHbTLbK7pLx0wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UE\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\nMRAwDgYDVQQKEwdSZWQgSGF0MREwDwYDVQQLEwhDbG91ZCBCVTEeMBwGA1UEAxMV\ncmhlbDYzLWthdDguaW5lY2FzLmN6MCAXDTEyMDgxMDEzNDI0MVoYDzIxMTIwODEw\nMTM0MjQxWjArMSkwJwYDVQQDEyBmZjgwODA4MTM5MTBjM2QzMDEzOTEwYzVjYjY2\nMDAwOTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOH587u34QCl1lS\n4YqxgKf/TUOK9YKZN+HSZI3cs/vH7jqkXd2dH26GIio4euYSOwlGs2DNHVN7GTKd\nhXimmleLpKOr5P2I+L4AzUdh7CwdSqiWZGE7a3kKqDVi6shhVKYObbJ69cOlJbWt\nMbstCEujvspirnfsmRWjkjoUd7wfmDaGQmWT8+W8TXQ+kIln8stUNczh645n4VQd\nw46QSkIBswY3dr99d10l3Wv++neSgGfP6y84jusMMac0Ri0GI7L8DFzXImaN/l/s\nqOIbWrKBBmx9+x82Z7mzFomo4yOFwi4Ik/u2mKoeqbcEqHsdVElEhr/rcn2RaSQW\nkpmBhq0CAwEAAaOCA6IwggOeMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMC\nBLAwgbAGA1UdIwSBqDCBpYAUyWJNwXtzHBXWcAAxLQXys9f04oShgYGkfzB9MQsw\nCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1Jh\nbGVpZ2gxEDAOBgNVBAoTB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMR4wHAYD\nVQQDExVyaGVsNjMta2F0OC5pbmVjYXMuY3qCCQCySNeEniLL0jAdBgNVHQ4EFgQU\nW/VVEqoWrRZFpSzf2yF8YQYdUaYwEwYDVR0lBAwwCgYIKwYBBQUHAwIwLwYQKwYB\nBAGSCAkBp5GGl5EYAQQbDBlvcmdfMjI3ZTAwM191ZWJlcl9wcm9kdWN0MBYGECsG\nAQQBkggJAaeRhpeRGAMEAgwAMBYGECsGAQQBkggJAaeRhpeRGAIEAgwAMBkGECsG\nAQQBkggJAqeRhpeRHwEEBQwDeXVtMCQGESsGAQQBkggJAqeRhpeRHwEBBA8MDXVl\nYmVyX2NvbnRlbnQwMgYRKwYBBAGSCAkCp5GGl5EfAQIEHQwbMTM0NDYwNjE2MTA0\nOF91ZWJlcl9jb250ZW50MB0GESsGAQQBkggJAqeRhpeRHwEFBAgMBkN1c3RvbTAj\nBhErBgEEAZIICQKnkYaXkR8BBgQODAwvb3JnXzIyN2UwMDMwFwYRKwYBBAGSCAkC\np5GGl5EfAQcEAgwAMBgGESsGAQQBkggJAqeRhpeRHwEIBAMMATEwKQYKKwYBBAGS\nCAkEAQQbDBlvcmdfMjI3ZTAwM191ZWJlcl9wcm9kdWN0MDAGCisGAQQBkggJBAIE\nIgwgZmY4MDgwODEzOTEwYzNkMzAxMzkxMGM1YzhiMDAwMDUwHQYKKwYBBAGSCAkE\nAwQPDA0xMzQ0NjA2MTYxMDQ4MBEGCisGAQQBkggJBAUEAwwBMTAkBgorBgEEAZII\nCQQGBBYMFDIwMTItMDgtMTBUMTM6NDI6NDFaMCQGCisGAQQBkggJBAcEFgwUMjEx\nMi0wOC0xMFQxMzo0Mjo0MVowEQYKKwYBBAGSCAkEDAQDDAEwMBEGCisGAQQBkggJ\nBA4EAwwBMDARBgorBgEEAZIICQQLBAMMATEwNAYKKwYBBAGSCAkFAQQmDCQ0M2Iw\nNTRiMi0yZGQ1LTQyNzAtODU4Zi03NTM5NDAwZjM5YTIwDQYJKoZIhvcNAQEFBQAD\nggEBABRG4zWXgy7NVXoMtsYOtqvnYX7XzzMSSrljGqa3DRpWsTLYTNfkyRgODlXP\nqAGN8z0ITgbgpUyqX5Ehvfo7j5gly0CdPZu54gPS3MBVxxSbrTTQ0vl91zPusA9W\n9/ZzIREdcpDaTJzPL3o2mBw9IrwXHtjDotZjXQj8Yw5cjiaIYIDb9PG9EgDaTHTr\nsBMJSg+Z7EMdxxMFNZY8AJrxL2c+Cis8eP0IXvUtLgYwlQ1X1hqovrQZbJK1YIFc\nem9FfbssaBnY1DnW1j8JZAUoZ6Dc0VAHZdHIXjJeahoN9RDXHvUcGFIan41vcwM9\n4lgwKGnTV67bozjBm+s8eek+sW8=\n-----END CERTIFICATE-----\n</clientcert><clientkey>-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEA04fnzu7fhAKXWVLhirGAp/9NQ4r1gpk34dJkjdyz+8fuOqRd\n3Z0fboYiKjh65hI7CUazYM0dU3sZMp2FeKaaV4uko6vk/Yj4vgDNR2HsLB1KqJZk\nYTtreQqoNWLqyGFUpg5tsnr1w6Ulta0xuy0IS6O+ymKud+yZFaOSOhR3vB+YNoZC\nZZPz5bxNdD6QiWfyy1Q1zOHrjmfhVB3DjpBKQgGzBjd2v313XSXda/76d5KAZ8/r\nLziO6wwxpzRGLQYjsvwMXNciZo3+X+yo4htasoEGbH37HzZnubMWiajjI4XCLgiT\n+7aYqh6ptwSoex1USUSGv+tyfZFpJBaSmYGGrQIDAQABAoIBAF3tkjxsC6pFsEkE\nqYv5h8SRdBCS6rOkL5FB6E6p+u3JeHpntBqNA4EDZLZUwBXbcIWM9Gf+jJAeMDEu\niy7o484N/vyCfrsqEDHmj0CsNb/c/eLgbRBT30QvPEQAeXqi5YCbFZDUUr8eXSFQ\nF64ir/VOb5DUwt4TnGJkcLEDl6tbmWoAOWCmHpOqdR4BU2tqIWZXqeUPIxfDAq72\nxpFdPhW3/XbGBFiRPkNrckarlK06xUWZyKr+kQCc8rVKCAiVwVkZAHbZTusQzC4Y\n3lCEzg2ToU7az2+HRMMbJYFt0bxnGFytgFSrNdUOdXB3oPj0FpDTdhK9W63tjAu5\nlTuul60CgYEA8Cp+B8bFJsNMbLyLCrE+Te/3N2GD+1tPhaXt2WIXkSSxpjzlKRo9\ncygdbVjgguEXSwjX7b5Nbus8dG1XwF3RxprfjJoz1G0WFRsuSQEaQUpqIMXBD29v\npPxS0U8CDnop9dwQ9DMotfz0tuaULbSVHvFta5j6JjcQ0Gmbj+OuSPMCgYEA4Xoc\nji8FR2D5ZwQ7FsAAXIz0m24F+evNw89kQHz3H1ydaKDuM6d4c0oIqQ9vMZVXsNd4\nBLfWX356q3sBTwZ+xxKDbV4AuK/d6N+j0BtjerKO8zZCV2b7+IwhrLzce1pdDKL9\nBoD+vvMdWM6DIlEr43z/kqprAAMbXs6TdSo+2d8CgYEAyv7/m88UoRj+JgKPe7Ao\nu3OS/8p65iBd7Nc9XTqeNN5REfPytnUpb4Z+qQgwbC+ZoqCM8rShepl2depd+4jR\nYQ9S2OMV3/18ZsacrrQx3vHpFl5QOp20Pj3QOn6PfHEhumASLHZ5eKmgpl/q617x\nlD/4frPE7DwrCB3bkRmfHKUCgYBgu1aM2TdWjA/zVilTdUOycPZvyB/gPH2mR88m\nq3YJil4tiP0oQ+y06UoV3X1CtGNOhuIChCwAA+70qmzBTnQNS6/+t5lvomN9iJRq\nr5VaCkixptGHVbM7ykKYLN4aPYY16abLp4OiwAITG2W+zzwY+INclKga9TpEzjMM\nzPbx2QKBgGbn+Rop8m09d/xaiRdoedRuaaIf5fH/nGb3BpUXe6Y3PYwbl5lXb41M\nUKdjr/S+rl1rVJOq0en8uVNOh+nPeBfd5DQ6v6zk679X6nuLxzlHUlhpN3Y6QFR7\nZtikyjWc7jNdm495jW3lRTmI/LvFTjGB9LSp0/E76euOYa1tItaj\n-----END RSA PRIVATE KEY-----\n</clientkey></repository></repositories></template>"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/templates/export","full_description":"","apis":[{"api_url":"/api/templates/:id/export","http_method":"GET","short_description":"Export template as TDL or JSON"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>template numeric identifier</p>\n"}]}]},"role_ldap_groups":{"name":"Role ldap groups","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/role_ldap_groups","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/role_ldap_groups/create","full_description":"","apis":[{"api_url":"/api/roles/:role_id/ldap_groups","http_method":"POST","short_description":"Add group to list of LDAP groups associated with the role"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>name of the LDAP group</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/role_ldap_groups/destroy","full_description":"","apis":[{"api_url":"/api/roles/:role_id/ldap_groups/:id","http_method":"DELETE","short_description":"Remove group from the list of LDAP groups associated with the role"}],"errors":[],"params":[{"allow_nil":false,"full_name":"role_id","name":"role_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>role identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"String","required":false,"description":"\n<p>ldap group (name)</p>\n"}]},{"name":"index","examples":["GET /api/roles/7/ldap_groups/\n200\n[\n\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/role_ldap_groups/index","full_description":"","apis":[{"api_url":"/api/roles/:role_id/ldap_groups","http_method":"GET","short_description":"List LDAP groups associated with the role"}],"errors":[],"params":[{"allow_nil":false,"full_name":"role_id","name":"role_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>role identifier</p>\n"}]}]},"organizations":{"name":"Organizations","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/organizations","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/\n200\n[\n {\n \"created_at\": \"2012-08-10T13:41:14Z\",\n \"service_levels\": [],\n \"name\": \"ACME_Corporation\",\n \"updated_at\": \"2012-08-10T13:41:14Z\",\n \"task_id\": null,\n \"id\": 1,\n \"label\": \"ACME_Corporation\",\n \"description\": \"ACME_Corporation Organization\"\n },\n {\n \"created_at\": \"2012-08-10T13:42:39Z\",\n \"service_levels\": [],\n \"name\": \"org_227e003\",\n \"updated_at\": \"2012-08-10T13:50:00Z\",\n \"task_id\": null,\n \"id\": 2,\n \"label\": \"org_227e003\",\n \"description\": \"org description 2\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/organizations/index","full_description":"","apis":[{"api_url":"/api/organizations","http_method":"GET","short_description":"List organizations"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>name for the organization</p>\n"},{"allow_nil":false,"full_name":"description","name":"description","expected_type":"string","validator":"String","required":false,"description":""},{"allow_nil":false,"full_name":"label","name":"label","expected_type":"string","validator":"String","required":false,"description":"\n<p>label for filtering</p>\n"}]},{"name":"show","examples":["GET /api/organizations/org_227e003\n200\n{\n \"created_at\": \"2012-08-10T13:42:39Z\",\n \"service_levels\": [],\n \"name\": \"org_227e003\",\n \"updated_at\": \"2012-08-10T13:42:39Z\",\n \"task_id\": null,\n \"id\": 2,\n \"label\": \"org_227e003\",\n \"description\": \"org description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/organizations/show","full_description":"","apis":[{"api_url":"/api/organizations/:id","http_method":"GET","short_description":"Show an organization"}],"errors":[],"params":[]},{"name":"create","examples":["POST /api/organizations/\n{\n \"name\": \"org_227e003\",\n \"description\": \"org description\"\n}\n200\n{\n \"created_at\": \"2012-08-10T13:42:39Z\",\n \"service_levels\": [],\n \"name\": \"org_227e003\",\n \"updated_at\": \"2012-08-10T13:42:39Z\",\n \"task_id\": null,\n \"id\": 2,\n \"label\": \"org_227e003\",\n \"description\": \"org description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/organizations/create","full_description":"","apis":[{"api_url":"/api/organizations","http_method":"POST","short_description":"Create an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":"\n<p>name for the organization</p>\n"},{"allow_nil":false,"full_name":"description","name":"description","expected_type":"string","validator":"String","required":false,"description":""}]},{"name":"update","examples":["PUT /api/organizations/org_227e003\n{\n \"organization\": {\n \"description\": \"org description 2\"\n }\n}\n200\ntrue"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/organizations/update","full_description":"","apis":[{"api_url":"/api/organizations/:id","http_method":"PUT","short_description":"Update an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization","name":"organization","expected_type":"hash","validator":"Hash","required":false,"params":[{"name":"name","full_name":"organization[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>name for the organization</p>\n"},{"name":"description","full_name":"organization[description]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":""}],"description":""}]},{"name":"destroy","examples":["DELETE /api/organizations/org_manifest_227e003\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:53:34Z\",\n \"organization_id\": 3,\n \"progress\": null,\n \"task_owner_type\": null,\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": null,\n \"uuid\": \"56cc9d06-5d69-453d-b36d-6baa1626025b\",\n \"updated_at\": \"2012-08-10T13:53:34Z\",\n \"state\": \"waiting\",\n \"task_type\": \"TaskStatus\",\n \"task_owner_id\": null,\n \"id\": 23,\n \"parameters\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/organizations/destroy","full_description":"","apis":[{"api_url":"/api/organizations/:id","http_method":"DELETE","short_description":"Destroy an organization. Asynchronous operation."}],"errors":[],"params":[]}]},"content_view_definitions":{"name":"Content view definitions","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/content_view_definitions","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/content_view_definitions","http_method":"GET","short_description":"List content view definitions"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"label","name":"label","expected_type":"string","validator":"String","required":false,"description":"\n<p>content view label</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>content view name</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>content view id</p>\n"}]},{"name":"create","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/create","full_description":"","apis":[{"api_url":"/api/content_view_definitions","http_method":"POST","short_description":"Create a content view definition"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"content_view_definition","name":"content_view_definition","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"content_view_definition[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>Content view definition name</p>\n"},{"name":"description","full_name":"content_view_definition[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Definition description</p>\n"},{"name":"label","full_name":"content_view_definition[label]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Content view identifier</p>\n"}],"description":""}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/update","full_description":"","apis":[{"api_url":"/api/organizations/:org/content_view_definitions/:id","http_method":"PUT","short_description":"Update a definition"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Definition identifer</p>\n"},{"allow_nil":false,"full_name":"org","name":"org","expected_type":"string","validator":"String","required":true,"description":"\n<p>Organization name</p>\n"},{"allow_nil":false,"full_name":"content_view_definition","name":"content_view_definition","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"content_view_definition[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Content view definition name</p>\n"},{"name":"description","full_name":"content_view_definition[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Definition description</p>\n"}],"description":""}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/show","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:id","http_method":"GET","short_description":"Show definition info"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Definition identifier</p>\n"}]},{"name":"publish","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/publish","full_description":"","apis":[{"api_url":"/api/organizations/:name/content_view_definitions/:id/publish","http_method":"POST","short_description":"Publish a content view"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":true,"description":"\n<p>Name for the new content view</p>\n"},{"allow_nil":false,"full_name":"label","name":"label","expected_type":"string","validator":"String","required":false,"description":"\n<p>Label for the new content view</p>\n"},{"allow_nil":false,"full_name":"description","name":"description","expected_type":"string","validator":"String","required":false,"description":"\n<p>Description for the new content view</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Definition identifier</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/destroy","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:id","http_method":"DELETE","short_description":"Delete a cv definition"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Definition identifier</p>\n"}]},{"name":"content_views","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/content_views","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:id/content_views","http_method":"GET","short_description":"List a definition's content views"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Definition identifier</p>\n"}]},{"name":"update_content_views","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/content_view_definitions/update_content_views","full_description":"","apis":[{"api_url":"/api/content_view_definitions/:id/content_views","http_method":"PUT","short_description":"Update a definition's content views"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Definition identifier</p>\n"},{"allow_nil":false,"full_name":"views","name":"views","expected_type":"string","validator":"Array","required":true,"description":"\n<p>Updated list of view ids</p>\n"}]}]},"changesets":{"name":"Changesets","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/changesets","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/org_227e003/environments/3/changesets/?name=changeset_227e003\n200\n[\n {\n \"created_at\": \"2012-08-10T13:43:17Z\",\n \"name\": \"changeset_227e003\",\n \"task_status_id\": null,\n \"environment_id\": 3,\n \"updated_at\": \"2012-08-10T13:43:17Z\",\n \"state\": \"new\",\n \"promotion_date\": null,\n \"id\": 1,\n \"environment_name\": \"env 227e003\",\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/environments/:environment_id/changesets","http_method":"GET","short_description":"List changesets in an environment"}],"errors":[],"params":[{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>An optional changeset name to filter upon</p>\n"}]},{"name":"show","examples":["GET /api/changesets/1\n200\n{\n \"created_at\": \"2012-08-10T13:43:17Z\",\n \"name\": \"changeset_227e003\",\n \"repos\": [],\n \"distributions\": [],\n \"task_status_id\": null,\n \"packages\": [],\n \"system_templates\": [],\n \"products\": [],\n \"environment_id\": 3,\n \"updated_at\": \"2012-08-10T13:43:17Z\",\n \"state\": \"new\",\n \"promotion_date\": null,\n \"errata\": [],\n \"id\": 1,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/show","full_description":"","apis":[{"api_url":"/api/changesets/:id","http_method":"GET","short_description":"Show a changeset"}],"errors":[],"params":[]},{"name":"update","examples":["PUT /api/changesets/1\n{\n \"changeset\": {}\n}\n200\n{\n \"created_at\": \"2012-08-10T13:43:17Z\",\n \"name\": \"changeset_227e003\",\n \"task_status_id\": null,\n \"environment_id\": 3,\n \"updated_at\": \"2012-08-10T13:43:17Z\",\n \"state\": \"new\",\n \"promotion_date\": null,\n \"id\": 1,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/update","full_description":"","apis":[{"api_url":"/api/changesets/:id","http_method":"PUT","short_description":"Update a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"changeset","name":"changeset","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"changeset[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>The name of the changeset</p>\n"},{"name":"description","full_name":"changeset[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>The description of the changeset</p>\n"}],"description":""}]},{"name":"dependencies","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/dependencies","full_description":"","apis":[{"api_url":"/api/changesets/:id/dependencies","http_method":"GET","short_description":"List the Depenencies for a changeset"}],"errors":[],"params":[]},{"name":"create","examples":["POST /api/organizations/org_227e003/environments/3/changesets/\n{\n \"changeset\": {\n \"name\": \"changeset_227e003\",\n \"description\": null\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:43:17Z\",\n \"name\": \"changeset_227e003\",\n \"task_status_id\": null,\n \"environment_id\": 3,\n \"updated_at\": \"2012-08-10T13:43:17Z\",\n \"state\": \"new\",\n \"promotion_date\": null,\n \"id\": 1,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/environments/:environment_id/changesets","http_method":"POST","short_description":"Create a changeset"}],"errors":[],"params":[{"allow_nil":false,"full_name":"changeset","name":"changeset","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"changeset[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>The name of the changeset</p>\n"},{"name":"description","full_name":"changeset[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>The description of the changeset</p>\n"},{"name":"type","full_name":"changeset[type]","allow_nil":false,"expected_type":"string","validator":"Must be one of: PROMOTION, DELETION.","required":true,"description":""}],"description":""}]},{"name":"promote","examples":["POST /api/changesets/1/promote\n202\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:43:21Z\",\n \"organization_id\": 2,\n \"progress\": null,\n \"task_owner_type\": null,\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": null,\n \"uuid\": \"776e7ee0-3ff6-4994-a37a-50a8d5b0375e\",\n \"updated_at\": \"2012-08-10T13:43:21Z\",\n \"state\": \"waiting\",\n \"task_type\": \"TaskStatus\",\n \"task_owner_id\": null,\n \"id\": 4,\n \"parameters\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/promote","full_description":"","apis":[{"api_url":"/api/changesets/:id/promote","http_method":"POST","short_description":"Promote a changeset into a new envrionment."}],"errors":[],"params":[]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/changesets/destroy","full_description":"","apis":[{"api_url":"/api/changesets/:id","http_method":"DELETE","short_description":"Destroy a changeset"}],"errors":[],"params":[]}]},"errata":{"name":"Errata","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/errata","formats":null,"full_description":"","short_description":null,"methods":[{"name":"index","examples":["GET /api/errata?environment_id=2\n200\n[\n {\n \"title\": \"Empty errata\",\n \"repoids\": [\n \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"org_227e003-env_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-env_227e003-fewups_product_227e003-repo_227e003\"\n ],\n \"type\": \"security\",\n \"severity\": \"\",\n \"_id\": \"RHEA-2010:0001\",\n \"id\": \"RHEA-2010:0001\"\n },\n {\n \"title\": \"One package errata\",\n \"repoids\": [\n \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"org_227e003-env_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-env_227e003-fewups_product_227e003-repo_227e003\"\n ],\n \"type\": \"security\",\n \"severity\": \"\",\n \"_id\": \"RHEA-2010:0002\",\n \"id\": \"RHEA-2010:0002\"\n },\n {\n \"title\": \"Empty errata\",\n \"repoids\": [\n \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"org_227e003-env_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-env_227e003-fewups_product_227e003-repo_227e003\"\n ],\n \"type\": \"security\",\n \"severity\": \"\",\n \"_id\": \"RHEA-2010:0001\",\n \"id\": \"RHEA-2010:0001\"\n },\n {\n \"title\": \"One package errata\",\n \"repoids\": [\n \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"org_227e003-env_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-env_227e003-fewups_product_227e003-repo_227e003\"\n ],\n \"type\": \"security\",\n \"severity\": \"\",\n \"_id\": \"RHEA-2010:0002\",\n \"id\": \"RHEA-2010:0002\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/errata/index","full_description":"\n<p>Either :repoid or :product_id is required.</p>\n","apis":[{"api_url":"/api/errata","http_method":"GET","short_description":"List errata"},{"api_url":"/api/repositories/:repository_id/errata","http_method":"GET","short_description":"List errata"}],"errors":[{"code":401,"description":"Unauthorized"},{"code":404,"description":"Not found"},{"code":400,"description":"Repo id or environment must be provided"}],"params":[{"allow_nil":false,"full_name":"environment_id","name":"environment_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>Id of environment containing the errata.</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>The product which contains the errata.</p>\n"},{"allow_nil":false,"full_name":"repoid","name":"repoid","expected_type":"string","validator":"number.","required":false,"description":"\n<p>Id of repository containing the errata.</p>\n"},{"allow_nil":false,"full_name":"severity","name":"severity","expected_type":"string","validator":"String","required":false,"description":"\n<p>Severity of errata. Usually one of: Critical, Important, Moderate, Low.\nCase insensitive.</p>\n"},{"allow_nil":false,"full_name":"type","name":"type","expected_type":"string","validator":"String","required":false,"description":"\n<p>Type of errata. Usually one of: security, bugfix, enhancement. Case\ninsensitive.</p>\n"}]},{"name":"show","examples":["GET /api/repositories/2/errata/RHEA-2010:0002/\n200\n{\n \"release\": \"1\",\n \"from_str\": \"lzap+pub@redhat.com\",\n \"pkglist\": [\n {\n \"name\": \"1\",\n \"short\": \"\",\n \"packages\": [\n {\n \"name\": \"elephant\",\n \"src\": \"http://www.fedoraproject.org\",\n \"release\": \"0.8\",\n \"epoch\": null,\n \"arch\": \"noarch\",\n \"version\": \"0.3\",\n \"filename\": \"elephant-0.3-0.8.noarch.rpm\"\n }\n ]\n }\n ],\n \"immutable\": true,\n \"title\": \"One package errata\",\n \"repo_defined\": true,\n \"repoids\": [\n \"org_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-fewups_product_227e003-repo_227e003\",\n \"org_227e003-env_227e003-fewups_product_227e003-fewups_product_227e003_fakerepos_zoo5\",\n \"org_227e003-env_227e003-fewups_product_227e003-repo_227e003\"\n ],\n \"pushcount\": 1,\n \"solution\": \"\",\n \"reboot_suggested\": false,\n \"type\": \"security\",\n \"updated\": \"\",\n \"status\": \"stable\",\n \"version\": \"1\",\n \"severity\": \"\",\n \"rights\": \"\",\n \"_id\": \"RHEA-2010:0002\",\n \"issued\": \"2010-01-01 01:01:01\",\n \"references\": [],\n \"id\": \"RHEA-2010:0002\",\n \"_ns\": \"errata\",\n \"summary\": \"\",\n \"description\": \"One package errata\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/errata/show","full_description":"","apis":[{"api_url":"/api/repositories/:repository_id/errata/:id","http_method":"GET","short_description":"Show an erratum"}],"errors":[{"code":401,"description":"Unauthorized"},{"code":404,"description":"Not found"}],"params":[]}]},"subscriptions":{"name":"Subscriptions","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/subscriptions","formats":null,"full_description":"\n<p>Systems subscriptions management.</p>\n","short_description":null,"methods":[{"name":"index","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subscriptions/index","full_description":"","apis":[{"api_url":"/api/systems/:system_id/subscriptions","http_method":"GET","short_description":"List subscriptions"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>System uuid</p>\n"}]},{"name":"create","examples":["POST /api/systems/d2a99f27-6c0d-41de-9f3d-3279e4fbadd4/subscriptions\n{\n \"quantity\": 1,\n \"pool\": \"ff8080813910c3d3013910c5e47b000d\"\n}\n200\n{\n \"created_at\": \"2012-08-10T13:56:31Z\",\n \"name\": \"admin_system_227e003\",\n \"release\": \"\",\n \"href\": \"/consumers/d2a99f27-6c0d-41de-9f3d-3279e4fbadd4\",\n \"environment\": {\n \"prior\": \"Library\",\n \"created_at\": \"2012-08-10T13:42:44Z\",\n \"name\": \"env 227e003\",\n \"prior_id\": 2,\n \"organization_id\": 2,\n \"library\": false,\n \"updated_at\": \"2012-08-10T13:42:44Z\",\n \"organization\": \"org_227e003\",\n \"id\": 3,\n \"description\": null\n },\n \"owner\": {\n \"href\": \"/owners/org_227e003\",\n \"key\": \"org_227e003\",\n \"id\": \"ff8080813910c3d3013910c5c1460003\",\n \"displayName\": \"org_227e003\"\n },\n \"idCert\": {\n \"key\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIIEpAIBAAKCAQEAp95esmGZsOntZSgSBAYmNceQ3D77s6hBuQ8RytPRQlo+BBv9\\n/jWD/Qg8q627J55N0O4VKNX3o8NNTuULZ3wRpmUnG28n9NjBkMhYMVxVflnxXGI6\\nI3P+eh0ExLBO0JKm0Ozvh7/96mbrrnRH3Ky3SAiYehcb+IoFPOlK8emxW4H32NT9\\n+kvgX7os5cq+DTMIC+DUU3k1IOd8d+nIymD97McXAd+eBoi1r2hjLfHboRLT5lmp\\ni/yHcd9V0zMDfL0u2ccrh1szz6GdmJ0o3TRq3NyotTt9K+8bDArwL+MZd9Wd3EDl\\nw/SBSqLMJw6QGGGcD9MNeKbyzipBA8TyMB2uWwIDAQABAoIBAQCkaSOAPB0l64bJ\\nqzwx2r/zrjiPrdQhemqcUEkRyPFLtkzFA5F5N3rFCRs63dXOkLoQJg5tR1radn6y\\nBZxsx1QWDz4FHZIZuW2jWsUd2xwUuwysebwNWx7jBKbV6QPYPbnKKDTVVNHgkNrF\\nqzdyx2pez6Re92E6xBsrNCZl1ocRYhx+kyFTWDQZ3lPHI4Ki/l7s4BrUn0Ipmwy0\\nOt0RYmSgljgapLioz4jn//hoR7Nl/HMjWw3DYnYiYWL/bkIHq46IgrW9uX6A4AHk\\nL2sZIwzKIfBzEhG8qF5toXiftA3hGA+7y03l+fMjZJJpZ+Vpc8fxnq2bOrZvzhRJ\\nfc6W22iBAoGBANG2sC8FIqSENJuRETLUAHSDvzfNL8QD+UMg6/ons7/k3cj0Fua9\\n0qhPO7NayHQUGhGUNMU8mUEe+0rIOX4qzT/21p6ugpp2r4r7ZU1lxAW4VRgzaFve\\nynu8foiRpN4yAIpRmvtToJLPJrUjo94w0a9n98arO+Ism1iGAD/5dYvBAoGBAMzr\\nV2aoEXYkligZvnRTBqxDNF6qmK/p/5+4NIKYvWtDSFEHmlF8wh9C43ywc2K30bJb\\nNnzqGlNl8e3WQXXzAyLf0uNJ6zQoWoEnhVZ4DHWaFERckEMhr4QhUecVwljgsCcl\\nF7p8W3kbokqCzqzwCmiyFpIG6LH6QtBrWYt++DEbAoGBAJPkGsE+BN0yIotmtVM7\\n8Io6croeaEX6a2ksqV2DbB6yfrl9cT0NtqZdIgPszJoXpv6onsJNZuJmv95P70OL\\nWa13HIlRFedqNYd0nE8FqkRCZzgm4LyRFAhIuI8E7tiHOJxSylHc+sstbOWnGaPS\\nl7z0O+cN0LBCttapwTlcacnBAoGAGwvs60W/mEJX907+jkfvF4l/PgdyQ7W04ZXk\\niGA0kBW/U8KXIa4/yPSBJhH8CMmOSeY0GOSlOOC5v9SJq1G51j6IjStSef3hhC59\\nMN6DdnoxtpwpBlNJ4TysnL2Ie0acuW3x5dFIGYIGN6NwN+8u0IbA5+E1kVggvXWN\\nyhWmGIUCgYBOyh3umRnQV/zf9nOfNd6kdfdomiP2sbI8AxB5mHYGFWwu4hvWL3WY\\ni7UAzsaAvCBfYxmqGjccOO6Vj4w4scL+87mjAZ+K+x3WYNqUE2LNkUERTadoIv4D\\nEHhokZe9wq7fAUecJdRLD5uUprFt956p5f7afTkWMTnkX4v+Ki9Pwg==\\n-----END RSA PRIVATE KEY-----\\n\",\n \"updated\": \"2012-08-10T13:56:31.330+0000\",\n \"serial\": {\n \"expiration\": \"2028-08-10T13:56:31.094+0000\",\n \"updated\": \"2012-08-10T13:56:31.120+0000\",\n \"serial\": 633745815739335707,\n \"revoked\": false,\n \"collected\": false,\n \"id\": 633745815739335707,\n \"created\": \"2012-08-10T13:56:31.120+0000\"\n },\n \"id\": \"ff8080813910c3d3013910d273e200a5\",\n \"created\": \"2012-08-10T13:56:31.330+0000\",\n \"cert\": \"-----BEGIN CERTIFICATE-----\\nMIIEaTCCA1GgAwIBAgIICMuEdjEIhBswDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UE\\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\\nMRAwDgYDVQQKEwdSZWQgSGF0MREwDwYDVQQLEwhDbG91ZCBCVTEeMBwGA1UEAxMV\\ncmhlbDYzLWthdDguaW5lY2FzLmN6MB4XDTEyMDgxMDEzNTYzMVoXDTI4MDgxMDEz\\nNTYzMVowLzEtMCsGA1UEAxMkZDJhOTlmMjctNmMwZC00MWRlLTlmM2QtMzI3OWU0\\nZmJhZGQ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp95esmGZsOnt\\nZSgSBAYmNceQ3D77s6hBuQ8RytPRQlo+BBv9/jWD/Qg8q627J55N0O4VKNX3o8NN\\nTuULZ3wRpmUnG28n9NjBkMhYMVxVflnxXGI6I3P+eh0ExLBO0JKm0Ozvh7/96mbr\\nrnRH3Ky3SAiYehcb+IoFPOlK8emxW4H32NT9+kvgX7os5cq+DTMIC+DUU3k1IOd8\\nd+nIymD97McXAd+eBoi1r2hjLfHboRLT5lmpi/yHcd9V0zMDfL0u2ccrh1szz6Gd\\nmJ0o3TRq3NyotTt9K+8bDArwL+MZd9Wd3EDlw/SBSqLMJw6QGGGcD9MNeKbyzipB\\nA8TyMB2uWwIDAQABo4IBOTCCATUwEQYJYIZIAYb4QgEBBAQDAgWgMAsGA1UdDwQE\\nAwIEsDCBsAYDVR0jBIGoMIGlgBTJYk3Be3McFdZwADEtBfKz1/TihKGBgaR/MH0x\\nCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEQMA4GA1UEBxMH\\nUmFsZWlnaDEQMA4GA1UEChMHUmVkIEhhdDERMA8GA1UECxMIQ2xvdWQgQlUxHjAc\\nBgNVBAMTFXJoZWw2My1rYXQ4LmluZWNhcy5jeoIJALJI14SeIsvSMB0GA1UdDgQW\\nBBSao4lqdqR/nkWXNh9n3OmZkdj5XzATBgNVHSUEDDAKBggrBgEFBQcDAjAsBgNV\\nHREEJTAjpCEwHzEdMBsGA1UEAwwUYWRtaW5fc3lzdGVtXzIyN2UwMDMwDQYJKoZI\\nhvcNAQEFBQADggEBAAl4TZON4y5lPUOjwTFYo3MdU4K8JPS+K0aIIndHCu7qCm/6\\nrMl+OgFfRquGGXEQ7T6fPzw3kXx1XFYi1+TUgqKIQzUgyjOSHXzGz3NuiQAu4kGF\\nQ9soPF5rTEc6QzWcWODhLdxAxwJNcVEXBgnMBdLCELRhOwi0NAP8N2ftRSRyM69Z\\nNS2a5yl4kK60MFKJfbsSt+WsDX1SzLFIUihx6W+pmiBaYtAgmjBhIgMD9poJ0wHl\\nDiohTPxQloZnmyYUv88Z2UHeVbkiNf5MC6qQBNZW7KSsU0MTbfIiNSjIKemh4+af\\nKVB+MYhjNlr/Hkf17J5FSQmBjntx4ATN5and45c=\\n-----END CERTIFICATE-----\\n\"\n },\n \"serviceLevel\": \"\",\n \"activation_key\": [],\n \"environment_id\": 3,\n \"uuid\": \"d2a99f27-6c0d-41de-9f3d-3279e4fbadd4\",\n \"updated_at\": \"2012-08-10T13:56:31Z\",\n \"location\": \"None\",\n \"system_template_id\": null,\n \"facts\": {\n \"cpu.cpu_socket(s)\": \"1\",\n \"distribution.name\": \"Unknown\"\n },\n \"ipv4_address\": null,\n \"guests\": [],\n \"autoheal\": true,\n \"id\": 10,\n \"description\": \"Initial Registration Params\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subscriptions/create","full_description":"","apis":[{"api_url":"/api/systems/:system_id/subscriptions","http_method":"POST","short_description":"Create a subscription"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>System uuid</p>\n"},{"allow_nil":false,"full_name":"pool","name":"pool","expected_type":"string","validator":"String","required":true,"description":"\n<p>Subscription Pool uuid</p>\n"},{"allow_nil":false,"full_name":"quantity","name":"quantity","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Number of subscription to use</p>\n"}]},{"name":"destroy","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subscriptions/destroy","full_description":"","apis":[{"api_url":"/api/systems/:system_id/subscriptions/:id","http_method":"DELETE","short_description":"Delete a subscription"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>System uuid</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":false,"description":"\n<p>Entitlement id</p>\n"}]},{"name":"destroy_all","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subscriptions/destroy_all","full_description":"","apis":[{"api_url":"/api/systems/:system_id/subscriptions","http_method":"DELETE","short_description":"Delete all system subscriptions"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>System uuid</p>\n"}]},{"name":"destroy_by_serial","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/subscriptions/destroy_by_serial","full_description":"","apis":[{"api_url":"/api/systems/:system_id/subscriptions/serials/:serial_id","http_method":"DELETE","short_description":"Delete a subscription by serial id"}],"errors":[],"params":[{"allow_nil":false,"full_name":"system_id","name":"system_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>System uuid</p>\n"},{"allow_nil":false,"full_name":"serial_id","name":"serial_id","expected_type":"string","validator":"String","required":false,"description":"\n<p>Subscription serial id</p>\n"}]}]},"providers":{"name":"Providers","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/providers","formats":null,"full_description":"\n<p>Custom Content Repositories and Red Hat repositories management.</p>\n","short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/org_227e003/providers/?name=yum_provider_227e003\n200\n[\n {\n \"created_at\": \"2012-08-10T13:42:46Z\",\n \"name\": \"yum_provider_227e003\",\n \"organization_id\": 2,\n \"provider_type\": \"Custom\",\n \"task_status_id\": null,\n \"sync_state\": \"not_synced\",\n \"repository_url\": \"http://lzap.fedorapeople.org/fakerepos/zoo5/\",\n \"updated_at\": \"2012-08-10T13:42:46Z\",\n \"last_sync\": null,\n \"id\": 3,\n \"description\": \"prov description\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/providers","http_method":"GET","short_description":"List providers"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Organization identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>Filter providers by name</p>\n"}]},{"name":"show","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/show","full_description":"","apis":[{"api_url":"/api/providers/:id","http_method":"GET","short_description":"Show a provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"}]},{"name":"create","examples":["POST /api/providers/\n{\n \"organization_id\": \"org_227e003\",\n \"provider\": {\n \"name\": \"yum_provider_227e003\",\n \"provider_type\": \"Custom\",\n \"repository_url\": \"http://lzap.fedorapeople.org/fakerepos/zoo5/\",\n \"description\": \"prov description\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:42:46Z\",\n \"name\": \"yum_provider_227e003\",\n \"organization_id\": 2,\n \"provider_type\": \"Custom\",\n \"task_status_id\": null,\n \"sync_state\": \"not_synced\",\n \"repository_url\": \"http://lzap.fedorapeople.org/fakerepos/zoo5/\",\n \"updated_at\": \"2012-08-10T13:42:46Z\",\n \"last_sync\": null,\n \"id\": 3,\n \"description\": \"prov description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/create","full_description":"","apis":[{"api_url":"/api/providers","http_method":"POST","short_description":"Create a provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Organization identifier</p>\n"},{"allow_nil":false,"full_name":"provider","name":"provider","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"provider[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>Provider name</p>\n"},{"name":"description","full_name":"provider[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Provider description</p>\n"},{"name":"repository_url","full_name":"provider[repository_url]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Repository URL</p>\n"},{"name":"provider_type","full_name":"provider[provider_type]","allow_nil":false,"expected_type":"string","validator":"Must be one of: Red Hat, Custom.","required":true,"description":""}],"description":""}]},{"name":"update","examples":["PUT /api/providers/4\n{\n \"provider\": {\n \"repository_url\": \"http://inecas.fedorapeople.org/fakerepos/cds/\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:50:25Z\",\n \"name\": \"Red Hat\",\n \"organization_id\": 3,\n \"provider_type\": \"Red Hat\",\n \"task_status_id\": null,\n \"sync_state\": \"not_synced\",\n \"repository_url\": \"http://inecas.fedorapeople.org/fakerepos/cds/\",\n \"updated_at\": \"2012-08-10T13:50:27Z\",\n \"last_sync\": null,\n \"id\": 4,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/update","full_description":"","apis":[{"api_url":"/api/providers/:id","http_method":"PUT","short_description":"Update a provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"},{"allow_nil":false,"full_name":"provider","name":"provider","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"provider[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Provider name</p>\n"},{"name":"description","full_name":"provider[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Provider description</p>\n"},{"name":"repository_url","full_name":"provider[repository_url]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Repository URL</p>\n"}],"description":""}]},{"name":"destroy","examples":["DELETE /api/providers/3\n200\nDeleted provider [ yum_provider_227e003 ]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/destroy","full_description":"","apis":[{"api_url":"/api/providers/:id","http_method":"DELETE","short_description":"Destroy a provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"}]},{"name":"products","examples":["GET /api/providers/3/products/\n200\n[\n {\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:48Z\",\n \"name\": \"fewups_product_227e003\",\n \"sync_plan_id\": null,\n \"provider_name\": \"yum_provider_227e003\",\n \"multiplier\": 1,\n \"marketing_product\": false,\n \"sync_state\": \"finished\",\n \"attributes\": [],\n \"productContent\": [\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"repo_227e003\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:42:57.624+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/fewups_product_227e003/repo_227e003\",\n \"id\": \"1344606177624\",\n \"gpgUrl\": \"\",\n \"created\": \"2012-08-10T13:42:57.624+0000\",\n \"label\": \"org_227e003_fewups_product_227e003_repo_227e003\"\n }\n },\n {\n \"enabled\": true,\n \"content\": {\n \"name\": \"fewups_product_227e003_fakerepos_zoo5\",\n \"type\": \"yum\",\n \"updated\": \"2012-08-10T13:42:53.879+0000\",\n \"vendor\": \"Custom\",\n \"modifiedProductIds\": [],\n \"contentUrl\": \"/custom/fewups_product_227e003/fewups_product_227e003_fakerepos_zoo5\",\n \"id\": \"1344606173878\",\n \"gpgUrl\": \"\",\n \"created\": \"2012-08-10T13:42:53.879+0000\",\n \"label\": \"org_227e003_fewups_product_227e003_fewups_product_227e003_fakerepos_zoo5\"\n }\n }\n ],\n \"updated_at\": \"2012-08-10T13:42:48Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": \"2012-08-10T15:45:36+02:00\",\n \"provider_id\": 3,\n \"id\": \"1344606167242\",\n \"sync_plan_name\": null,\n \"description\": null\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/products","full_description":"","apis":[{"api_url":"/api/providers/:id/products","http_method":"GET","short_description":"List of provider's products"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"}]},{"name":"discovery","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/discovery","full_description":"","apis":[{"api_url":"/api/providers/:id/discovery","http_method":"POST","short_description":"Discover repository urls with metadata and find candidate repos. Supports http, https and file based urls. Async task, returns the delayed job."}],"errors":[],"params":[{"allow_nil":false,"full_name":"url","name":"url","expected_type":"string","validator":"String","required":true,"description":"\n<p>remote url to perform discovery</p>\n"}]},{"name":"import_manifest","examples":["POST /api/providers/4/import_manifest\n200\nManifest imported"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/import_manifest","full_description":"","apis":[{"api_url":"/api/providers/:id/import_manifest","http_method":"POST","short_description":"Import manifest for Red Hat provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"},{"allow_nil":false,"full_name":"import","name":"import","expected_type":"string","validator":"File","required":false,"description":"\n<p>Manifest file</p>\n"},{"allow_nil":false,"full_name":"force","name":"force","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>Force import</p>\n"}]},{"name":"delete_manifest","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/delete_manifest","full_description":"","apis":[{"api_url":"/api/providers/:id/delete_manifest","http_method":"POST","short_description":"Delete manifest from Red Hat provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"}]},{"name":"refresh_products","examples":["POST /api/providers/4/refresh_products\n{}\n200\nProducts refreshed from CDN"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/refresh_products","full_description":"","apis":[{"api_url":"/api/providers/:id/refresh_products","http_method":"POST","short_description":"Refresh products for Red Hat provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"}]},{"name":"import_products","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/import_products","full_description":"","apis":[{"api_url":"/api/providers/:id/import_products","http_method":"POST","short_description":"Import products"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"},{"allow_nil":false,"full_name":"products","name":"products","expected_type":"string","validator":"Array","required":true,"description":"\n<p>Array of products to import</p>\n"}]},{"name":"product_create","examples":["POST /api/providers/3/product_create\n{\n \"product\": {\n \"name\": \"fewups_product_227e003\",\n \"gpg_key_name\": null,\n \"description\": null\n }\n}\n200\n{\n \"gpg_key_id\": null,\n \"created_at\": \"2012-08-10T13:42:48Z\",\n \"name\": \"fewups_product_227e003\",\n \"sync_plan_id\": null,\n \"multiplier\": null,\n \"marketing_product\": false,\n \"sync_state\": \"not_synced\",\n \"attributes\": [],\n \"productContent\": [],\n \"updated_at\": \"2012-08-10T13:42:48Z\",\n \"gpg_key_name\": \"\",\n \"last_sync\": null,\n \"provider_id\": 3,\n \"id\": \"1344606167242\",\n \"sync_plan_name\": null,\n \"description\": null\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/providers/product_create","full_description":"","apis":[{"api_url":"/api/providers/:id/product_create","http_method":"POST","short_description":"Create a new product in custom provider"}],"errors":[],"params":[{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"number.","required":true,"description":"\n<p>Provider numeric identifier</p>\n"},{"allow_nil":false,"full_name":"product","name":"product","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"gpg_key_name","full_name":"product[gpg_key_name]","allow_nil":true,"expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>identifier of the gpg key</p>\n"},{"name":"description","full_name":"product[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":"\n<p>Product description</p>\n"},{"name":"name","full_name":"product[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>Product name</p>\n"},{"name":"label","full_name":"product[label]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":""}],"description":""}]}]},"system_groups":{"name":"System groups","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/system_groups","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"index","examples":["GET /api/organizations/org_227e003/system_groups/?name=system_group_227e003\n200\n[\n {\n \"created_at\": \"2012-08-10T13:48:21Z\",\n \"name\": \"system_group_227e003\",\n \"organization_id\": 2,\n \"max_systems\": -1,\n \"pulp_id\": \"org_227e003-system_group_227e003-9b0aed1f\",\n \"updated_at\": \"2012-08-10T13:48:21Z\",\n \"id\": 1,\n \"description\": \"group description\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/index","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups","http_method":"GET","short_description":"List system groups"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"name","name":"name","expected_type":"string","validator":"String","required":false,"description":"\n<p>System group name to filter by</p>\n"}]},{"name":"show","examples":["GET /api/organizations/org_227e003/system_groups/1\n200\n{\n \"created_at\": \"2012-08-10T13:48:21Z\",\n \"name\": \"system_group_227e003\",\n \"organization_id\": 2,\n \"max_systems\": -1,\n \"total_systems\": 0,\n \"pulp_id\": \"org_227e003-system_group_227e003-9b0aed1f\",\n \"updated_at\": \"2012-08-10T13:48:21Z\",\n \"id\": 1,\n \"description\": \"group description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/show","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id","http_method":"GET","short_description":"Show a system group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"}]},{"name":"update","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/update","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id","http_method":"PUT","short_description":"Update a system group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"},{"allow_nil":false,"full_name":"system_group","name":"system_group","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"system_group[name]","allow_nil":false,"expected_type":"string","validator":"String","required":false,"description":"\n<p>System group name</p>\n"},{"name":"description","full_name":"system_group[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"max_systems","full_name":"system_group[max_systems]","allow_nil":true,"expected_type":"numeric","validator":"Integer","required":false,"description":"\n<p>Maximum number of systems in the group</p>\n"}],"description":""}]},{"name":"systems","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/systems","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id/systems","http_method":"GET","short_description":"List systems in the group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"}]},{"name":"add_systems","examples":["POST /api/organizations/org_227e003/system_groups/1/add_systems\n{\n \"system_group\": {\n \"system_ids\": [\n \"3050eb45-0ec4-43ea-8913-83635f06a2b7\"\n ]\n }\n}\n200\n[\n {\n \"name\": \"katello.example.com_227e003\",\n \"id\": \"3050eb45-0ec4-43ea-8913-83635f06a2b7\"\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/add_systems","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id/add_systems","http_method":"POST","short_description":"Add systems to the group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"},{"allow_nil":false,"full_name":"system_group","name":"system_group","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"system_ids","full_name":"system_group[system_ids]","allow_nil":false,"expected_type":"string","validator":"Array","required":false,"description":"\n<p>Array of system ids</p>\n"}],"description":""}]},{"name":"remove_systems","examples":["POST /api/organizations/org_227e003/system_groups/1/remove_systems\n{\n \"system_group\": {\n \"system_ids\": [\n \"3050eb45-0ec4-43ea-8913-83635f06a2b7\"\n ]\n }\n}\n200\n[\n\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/remove_systems","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id/remove_systems","http_method":"POST","short_description":"Remove systems from the group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"},{"allow_nil":false,"full_name":"system_group","name":"system_group","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"system_ids","full_name":"system_group[system_ids]","allow_nil":false,"expected_type":"string","validator":"Array","required":false,"description":"\n<p>Array of system ids</p>\n"}],"description":""}]},{"name":"history","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/history","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id/history","http_method":"GET","short_description":"History of jobs performed on a system group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"}]},{"name":"history_show","examples":["GET /api/organizations/org_227e003/system_groups/1/history/1\n200\n{\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:48:24Z\",\n \"status_message\": \"Installing Package...\",\n \"pulp_id\": \"0384935e-4216-4d38-9832-6be39e379aba\",\n \"state\": \"running\",\n \"tasks\": [\n {\n \"finish_time\": null,\n \"progress\": null,\n \"start_time\": \"2012-08-10T13:48:24Z\",\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"0e0f181c-e2f2-11e1-85ad-525400b68f90\",\n \"state\": \"running\",\n \"id\": 15\n }\n ],\n \"task_type\": \"package_install\",\n \"id\": 1,\n \"parameters\": {\n \"packages\": [\n \"cheetah\"\n ]\n }\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/history_show","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id/history","http_method":"GET","short_description":"History of a job performed on a system group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"},{"allow_nil":false,"full_name":"job_id","name":"job_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":false,"description":"\n<p>Id of a job for filtering</p>\n"}]},{"name":"create","examples":["POST /api/organizations/org_227e003/system_groups/\n{\n \"system_group\": {\n \"name\": \"system_group_227e003\",\n \"max_systems\": \"-1\",\n \"description\": \"group description\"\n }\n}\n200\n{\n \"created_at\": \"2012-08-10T13:48:21Z\",\n \"name\": \"system_group_227e003\",\n \"organization_id\": 2,\n \"max_systems\": -1,\n \"pulp_id\": \"org_227e003-system_group_227e003-9b0aed1f\",\n \"updated_at\": \"2012-08-10T13:48:21Z\",\n \"id\": 1,\n \"description\": \"group description\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/create","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups","http_method":"POST","short_description":"Create a system group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"system_group","name":"system_group","expected_type":"hash","validator":"Hash","required":true,"params":[{"name":"name","full_name":"system_group[name]","allow_nil":false,"expected_type":"string","validator":"String","required":true,"description":"\n<p>System group name</p>\n"},{"name":"description","full_name":"system_group[description]","allow_nil":true,"expected_type":"string","validator":"String","required":false,"description":""},{"name":"max_systems","full_name":"system_group[max_systems]","allow_nil":true,"expected_type":"numeric","validator":"Integer","required":false,"description":"\n<p>Maximum number of systems in the group</p>\n"}],"description":""}]},{"name":"destroy","examples":["DELETE /api/organizations/org_227e003/system_groups/1\n200\nDeleted system group '1'"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/system_groups/destroy","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/system_groups/:id","http_method":"DELETE","short_description":"Destroy a system group"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>organization identifier</p>\n"},{"allow_nil":false,"full_name":"id","name":"id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>Id of the system group</p>\n"}]}]},"uebercerts":{"name":"Uebercerts","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/uebercerts","formats":null,"full_description":null,"short_description":null,"methods":[{"name":"show","examples":["GET /api/organizations/org_227e003/uebercert?regenerate=None\n200\n{\n \"key\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIIEowIBAAKCAQEA04fnzu7fhAKXWVLhirGAp/9NQ4r1gpk34dJkjdyz+8fuOqRd\\n3Z0fboYiKjh65hI7CUazYM0dU3sZMp2FeKaaV4uko6vk/Yj4vgDNR2HsLB1KqJZk\\nYTtreQqoNWLqyGFUpg5tsnr1w6Ulta0xuy0IS6O+ymKud+yZFaOSOhR3vB+YNoZC\\nZZPz5bxNdD6QiWfyy1Q1zOHrjmfhVB3DjpBKQgGzBjd2v313XSXda/76d5KAZ8/r\\nLziO6wwxpzRGLQYjsvwMXNciZo3+X+yo4htasoEGbH37HzZnubMWiajjI4XCLgiT\\n+7aYqh6ptwSoex1USUSGv+tyfZFpJBaSmYGGrQIDAQABAoIBAF3tkjxsC6pFsEkE\\nqYv5h8SRdBCS6rOkL5FB6E6p+u3JeHpntBqNA4EDZLZUwBXbcIWM9Gf+jJAeMDEu\\niy7o484N/vyCfrsqEDHmj0CsNb/c/eLgbRBT30QvPEQAeXqi5YCbFZDUUr8eXSFQ\\nF64ir/VOb5DUwt4TnGJkcLEDl6tbmWoAOWCmHpOqdR4BU2tqIWZXqeUPIxfDAq72\\nxpFdPhW3/XbGBFiRPkNrckarlK06xUWZyKr+kQCc8rVKCAiVwVkZAHbZTusQzC4Y\\n3lCEzg2ToU7az2+HRMMbJYFt0bxnGFytgFSrNdUOdXB3oPj0FpDTdhK9W63tjAu5\\nlTuul60CgYEA8Cp+B8bFJsNMbLyLCrE+Te/3N2GD+1tPhaXt2WIXkSSxpjzlKRo9\\ncygdbVjgguEXSwjX7b5Nbus8dG1XwF3RxprfjJoz1G0WFRsuSQEaQUpqIMXBD29v\\npPxS0U8CDnop9dwQ9DMotfz0tuaULbSVHvFta5j6JjcQ0Gmbj+OuSPMCgYEA4Xoc\\nji8FR2D5ZwQ7FsAAXIz0m24F+evNw89kQHz3H1ydaKDuM6d4c0oIqQ9vMZVXsNd4\\nBLfWX356q3sBTwZ+xxKDbV4AuK/d6N+j0BtjerKO8zZCV2b7+IwhrLzce1pdDKL9\\nBoD+vvMdWM6DIlEr43z/kqprAAMbXs6TdSo+2d8CgYEAyv7/m88UoRj+JgKPe7Ao\\nu3OS/8p65iBd7Nc9XTqeNN5REfPytnUpb4Z+qQgwbC+ZoqCM8rShepl2depd+4jR\\nYQ9S2OMV3/18ZsacrrQx3vHpFl5QOp20Pj3QOn6PfHEhumASLHZ5eKmgpl/q617x\\nlD/4frPE7DwrCB3bkRmfHKUCgYBgu1aM2TdWjA/zVilTdUOycPZvyB/gPH2mR88m\\nq3YJil4tiP0oQ+y06UoV3X1CtGNOhuIChCwAA+70qmzBTnQNS6/+t5lvomN9iJRq\\nr5VaCkixptGHVbM7ykKYLN4aPYY16abLp4OiwAITG2W+zzwY+INclKga9TpEzjMM\\nzPbx2QKBgGbn+Rop8m09d/xaiRdoedRuaaIf5fH/nGb3BpUXe6Y3PYwbl5lXb41M\\nUKdjr/S+rl1rVJOq0en8uVNOh+nPeBfd5DQ6v6zk679X6nuLxzlHUlhpN3Y6QFR7\\nZtikyjWc7jNdm495jW3lRTmI/LvFTjGB9LSp0/E76euOYa1tItaj\\n-----END RSA PRIVATE KEY-----\\n\",\n \"updated\": \"2012-08-10T13:42:43.432+0000\",\n \"serial\": {\n \"expiration\": \"2112-08-10T13:42:41.059+0000\",\n \"updated\": \"2012-08-10T13:42:43.332+0000\",\n \"serial\": 2140559390559252253,\n \"revoked\": false,\n \"collected\": false,\n \"id\": 2140559390559252253,\n \"created\": \"2012-08-10T13:42:43.332+0000\"\n },\n \"id\": \"ff8080813910c3d3013910c5d1e8000b\",\n \"created\": \"2012-08-10T13:42:43.432+0000\",\n \"cert\": \"-----BEGIN CERTIFICATE-----\\nMIIG0DCCBbigAwIBAgIIHbTLbK7pLx0wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UE\\nBhMCVVMxFzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdo\\nMRAwDgYDVQQKEwdSZWQgSGF0MREwDwYDVQQLEwhDbG91ZCBCVTEeMBwGA1UEAxMV\\ncmhlbDYzLWthdDguaW5lY2FzLmN6MCAXDTEyMDgxMDEzNDI0MVoYDzIxMTIwODEw\\nMTM0MjQxWjArMSkwJwYDVQQDEyBmZjgwODA4MTM5MTBjM2QzMDEzOTEwYzVjYjY2\\nMDAwOTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOH587u34QCl1lS\\n4YqxgKf/TUOK9YKZN+HSZI3cs/vH7jqkXd2dH26GIio4euYSOwlGs2DNHVN7GTKd\\nhXimmleLpKOr5P2I+L4AzUdh7CwdSqiWZGE7a3kKqDVi6shhVKYObbJ69cOlJbWt\\nMbstCEujvspirnfsmRWjkjoUd7wfmDaGQmWT8+W8TXQ+kIln8stUNczh645n4VQd\\nw46QSkIBswY3dr99d10l3Wv++neSgGfP6y84jusMMac0Ri0GI7L8DFzXImaN/l/s\\nqOIbWrKBBmx9+x82Z7mzFomo4yOFwi4Ik/u2mKoeqbcEqHsdVElEhr/rcn2RaSQW\\nkpmBhq0CAwEAAaOCA6IwggOeMBEGCWCGSAGG+EIBAQQEAwIFoDALBgNVHQ8EBAMC\\nBLAwgbAGA1UdIwSBqDCBpYAUyWJNwXtzHBXWcAAxLQXys9f04oShgYGkfzB9MQsw\\nCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAOBgNVBAcTB1Jh\\nbGVpZ2gxEDAOBgNVBAoTB1JlZCBIYXQxETAPBgNVBAsTCENsb3VkIEJVMR4wHAYD\\nVQQDExVyaGVsNjMta2F0OC5pbmVjYXMuY3qCCQCySNeEniLL0jAdBgNVHQ4EFgQU\\nW/VVEqoWrRZFpSzf2yF8YQYdUaYwEwYDVR0lBAwwCgYIKwYBBQUHAwIwLwYQKwYB\\nBAGSCAkBp5GGl5EYAQQbDBlvcmdfMjI3ZTAwM191ZWJlcl9wcm9kdWN0MBYGECsG\\nAQQBkggJAaeRhpeRGAMEAgwAMBYGECsGAQQBkggJAaeRhpeRGAIEAgwAMBkGECsG\\nAQQBkggJAqeRhpeRHwEEBQwDeXVtMCQGESsGAQQBkggJAqeRhpeRHwEBBA8MDXVl\\nYmVyX2NvbnRlbnQwMgYRKwYBBAGSCAkCp5GGl5EfAQIEHQwbMTM0NDYwNjE2MTA0\\nOF91ZWJlcl9jb250ZW50MB0GESsGAQQBkggJAqeRhpeRHwEFBAgMBkN1c3RvbTAj\\nBhErBgEEAZIICQKnkYaXkR8BBgQODAwvb3JnXzIyN2UwMDMwFwYRKwYBBAGSCAkC\\np5GGl5EfAQcEAgwAMBgGESsGAQQBkggJAqeRhpeRHwEIBAMMATEwKQYKKwYBBAGS\\nCAkEAQQbDBlvcmdfMjI3ZTAwM191ZWJlcl9wcm9kdWN0MDAGCisGAQQBkggJBAIE\\nIgwgZmY4MDgwODEzOTEwYzNkMzAxMzkxMGM1YzhiMDAwMDUwHQYKKwYBBAGSCAkE\\nAwQPDA0xMzQ0NjA2MTYxMDQ4MBEGCisGAQQBkggJBAUEAwwBMTAkBgorBgEEAZII\\nCQQGBBYMFDIwMTItMDgtMTBUMTM6NDI6NDFaMCQGCisGAQQBkggJBAcEFgwUMjEx\\nMi0wOC0xMFQxMzo0Mjo0MVowEQYKKwYBBAGSCAkEDAQDDAEwMBEGCisGAQQBkggJ\\nBA4EAwwBMDARBgorBgEEAZIICQQLBAMMATEwNAYKKwYBBAGSCAkFAQQmDCQ0M2Iw\\nNTRiMi0yZGQ1LTQyNzAtODU4Zi03NTM5NDAwZjM5YTIwDQYJKoZIhvcNAQEFBQAD\\nggEBABRG4zWXgy7NVXoMtsYOtqvnYX7XzzMSSrljGqa3DRpWsTLYTNfkyRgODlXP\\nqAGN8z0ITgbgpUyqX5Ehvfo7j5gly0CdPZu54gPS3MBVxxSbrTTQ0vl91zPusA9W\\n9/ZzIREdcpDaTJzPL3o2mBw9IrwXHtjDotZjXQj8Yw5cjiaIYIDb9PG9EgDaTHTr\\nsBMJSg+Z7EMdxxMFNZY8AJrxL2c+Cis8eP0IXvUtLgYwlQ1X1hqovrQZbJK1YIFc\\nem9FfbssaBnY1DnW1j8JZAUoZ6Dc0VAHZdHIXjJeahoN9RDXHvUcGFIan41vcwM9\\n4lgwKGnTV67bozjBm+s8eek+sW8=\\n-----END CERTIFICATE-----\\n\"\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/uebercerts/show","full_description":"","apis":[{"api_url":"/api/organizations/:organization_id/uebercert","http_method":"GET","short_description":"Show an ueber certificate for an organization"}],"errors":[],"params":[{"allow_nil":false,"full_name":"regenerate","name":"regenerate","expected_type":"string","validator":"boolean","required":false,"description":"\n<p>When set to \u2018True\u2019 certificate will be re-issued</p>\n"}]}]},"sync":{"name":"Sync","api_url":"/api","version":"1.0","doc_url":"../apidoc/1.0/sync","formats":null,"full_description":"\n<p>methods for handeling repositories synchronisation. Repositories can be\nselecteted individualy by id, by product or by provider</p>\n","short_description":null,"methods":[{"name":"index","examples":["GET /api/repositories/2/sync\n200\n{\n \"finish_time\": \"2012-08-10T13:43:16Z\",\n \"created_at\": \"2012-08-10T13:43:05Z\",\n \"organization_id\": 2,\n \"progress\": {\n \"total_count\": 8,\n \"step\": \"Running Createrepo\",\n \"size_left\": 0,\n \"total_size\": 17872,\n \"error_details\": [],\n \"items_left\": 0\n },\n \"task_owner_type\": null,\n \"pending?\": false,\n \"user_id\": 1,\n \"start_time\": \"2012-08-10T13:43:05Z\",\n \"result\": true,\n \"uuid\": \"4ff91fc7-e2f1-11e1-a7ee-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:45:06Z\",\n \"state\": \"finished\",\n \"task_type\": \"PulpSyncStatus\",\n \"task_owner_id\": null,\n \"id\": 3,\n \"parameters\": {\n \"options\": {}\n }\n}"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync/index","full_description":"","apis":[{"api_url":"/api/providers/:provider_id/sync","http_method":"GET","short_description":"Get status of repo synchronisation for given provider"},{"api_url":"/api/organizations/:organization_id/products/:product_id/sync","http_method":"GET","short_description":"Get status of repo synchronisation for given product"},{"api_url":"/api/repositories/:repository_id/sync","http_method":"GET","short_description":"Get status of synchronisation for given repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>product identifier</p>\n"},{"allow_nil":false,"full_name":"provider_id","name":"provider_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>provider identifier</p>\n"},{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>repository identifier</p>\n"}]},{"name":"create","examples":["POST /api/organizations/org_227e003/products/1344606167242/sync\n202\n[\n {\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:43:05Z\",\n \"organization_id\": 2,\n \"progress\": {\n \"total_count\": 0,\n \"size_left\": 0,\n \"total_size\": 0,\n \"items_left\": 0\n },\n \"task_owner_type\": null,\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"4fd84a3a-e2f1-11e1-a717-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:43:05Z\",\n \"state\": \"waiting\",\n \"task_type\": \"PulpSyncStatus\",\n \"task_owner_id\": null,\n \"id\": 2,\n \"parameters\": {\n \"options\": {}\n }\n },\n {\n \"finish_time\": null,\n \"created_at\": \"2012-08-10T13:43:05Z\",\n \"organization_id\": 2,\n \"progress\": {\n \"total_count\": 0,\n \"size_left\": 0,\n \"total_size\": 0,\n \"items_left\": 0\n },\n \"task_owner_type\": null,\n \"pending?\": true,\n \"user_id\": 1,\n \"start_time\": null,\n \"result\": {\n \"errors\": [\n null,\n null\n ]\n },\n \"uuid\": \"4ff91fc7-e2f1-11e1-a7ee-525400b68f90\",\n \"updated_at\": \"2012-08-10T13:43:05Z\",\n \"state\": \"waiting\",\n \"task_type\": \"PulpSyncStatus\",\n \"task_owner_id\": null,\n \"id\": 3,\n \"parameters\": {\n \"options\": {}\n }\n }\n]"],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync/create","full_description":"","apis":[{"api_url":"/api/providers/:provider_id/sync","http_method":"POST","short_description":"Synchronize all provider's repositories"},{"api_url":"/apiorganizations/:organization_id/products/:product_id/sync","http_method":"POST","short_description":"Synchronise all repositories for given product"},{"api_url":"/api/repositories/:repository_id/sync","http_method":"POST","short_description":"Synchronise repository"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>product identifier</p>\n"},{"allow_nil":false,"full_name":"provider_id","name":"provider_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>provider identifier</p>\n"},{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>repository identifier</p>\n"}]},{"name":"cancel","examples":[],"formats":null,"see":[],"doc_url":"../apidoc/1.0/sync/cancel","full_description":"","apis":[{"api_url":"/api/providers/:provider_id/sync","http_method":"DELETE","short_description":"Cancel running synchronisation for given provider"},{"api_url":"/api/organizations/:organization_id/products/:product_id/sync","http_method":"DELETE","short_description":"Cancel running synchronisations for given product"},{"api_url":"/api/repositories/:repository_id/sync","http_method":"DELETE","short_description":"Cancel running synchronisation"}],"errors":[],"params":[{"allow_nil":false,"full_name":"organization_id","name":"organization_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>oranization identifier</p>\n"},{"allow_nil":false,"full_name":"product_id","name":"product_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>product identifier</p>\n"},{"allow_nil":false,"full_name":"provider_id","name":"provider_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>provider identifier</p>\n"},{"allow_nil":false,"full_name":"repository_id","name":"repository_id","expected_type":"string","validator":"string from 2 to 128 characters containting only alphanumeric characters, space, '_', '-' with no leading or trailing space..","required":true,"description":"\n<p>repository identifier</p>\n"}]}]}},"doc_url":"../apidoc/1.0","info":"\n<p>The sysadmin\u2019s fortress.</p>\n"}}