Fixes #4022: Make api puppetrun a PUT for REST standards
fixes #3099 - Adding parameters to locations and organizations
Fixes #3974 - Drop leftover Api::V2 wildcard route
fixes #3928 - API v2 - update os_default_templates for operating system
fixes #3524 - api cannot reference smart proxies by name when they contain a "."
fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller
fixes #3020 - API v2 - option to specify version in URL as well as in header
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #3017 - split APIv2 controllers from v1 parents
fixes #3566 - exposes orchestration tasks via the API at /api/orchestration/id/tasks
fixes #3140 - API to allow importing of puppet classes
fixes #3165 - /api/fact_values route missing from v2 API
fixes #1244 - add smart proxy feature refresh link + API call
fixes #2810 - more restful API v2 JSON responses in puppetclasses
NOTE: breaking changes to API v2 api/lookup_keys does not exist, replaced by api/smart_variables and api/smart_class_parameters
fixes #3101 - list available images for CRs, add iam_role field to images API
Fixes #2984 - API v1/v2 StatisticsController and remove JSON from UI controller
fixes #3046 - add NIC CRUD, power and boot operations API
Fixes #2414 - Move puppet report processing code to the report processor
This creates a API route for POST:/api/reports which matches the GETformat for reports. Tests are updated, with the report model testsmoving to the puppet-foreman module (along with the report fixtures).
Refs #2414 - Remove Puppet from facts API and Settings
Reports are still in progress and will come in a later PRDB schema is updated to not need puppet/rails
fixes #2898 - missing API v2 nested routes for config_templates/:id/locations & organizations
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
fixes #2539 - puppetrun API added.
fixes #2248 adds api controllers and actions to access_permissions.rb
fixes #2250 API v2 add/remove puppetclasses from hosts and hostgroups
fixes #2299 - Parameters Controller (API v2) can reset parameters (delete them all)
Ensures that unused API v2 routes are not added when using nested routes
refs #1988 and refs #2239
fixes #1988 - CRUD Actions for nested parameters for host, domain, hostgroup, os
e.g.
GET /api/domains/6/parametersPOST /api/hosts/6/parametersPUT /api/hostgroups/6/parameters/100DELETE /api/operatingsystems/6/parameters/100
fixes #2239 API v2 CRUD for locations and organizations and added nested loc/org
Fix home mapping in API v2
Home controller is in v1, mapping all the routes from scope for v1except the final fallback, that needs to go to the end of routes file.
Oterwise status is not working for V2.
v2 api for configuration_templates and template_combinations
added API v2 placeholders.
fixes #1890 api host status
fixes #2037 remove catchall routes
this blocks any plugin/engine from adding additional routes
host routes api changes squashed
added template_kinds controller to api
set apiadmin user in headers before api controller tests
This commit adds most of the functionality required for API v1
The overall goal was to extract the existing JSON responseoverall controllers, and to move them to a seperate name space.
Subnets API
added environment API
api v1 - domains controller
api v1 - added media and dashboard controllers
api v1 - config templates
corrected routes DSL
api v1 - restapi renamed to apipie
api v1 - Users controller and tests
- split api routes to separate routes file- better detection of permission failure in model- fix ApiConstraints- catch bad routes in api and return json- render home#index links from restapi- fixed resource params recognition
split api routes to separate routes file
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json