Fixes #4022: Make api puppetrun a PUT for REST standards
fixes #3515 - API handles not found objects with 404
fixes #3099 - Adding parameters to locations and organizations
fixes #2794 - set api_version and app_info in v1 and v2 base_controllers
fixes #3928 - API v2 - update os_default_templates for operating system
fixes #3930 - refactoring of edit_self implementation.
fixed #3905 - wrong route in apidoc for reports delete (API v2)
fixes #3693 - API v2 - accept GET json format of object in PUT/POST requests to add/remove has_many associations
Fixes #3720 - Add description field to operatingsystem
fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller
fixes #3776 - change NAME_MAP to be a method
fixes #3137 - API v2 - show error if optional nested object does not exist for nested route
fixes #3018 - API v2 metadata for pagination, search, order in index collection json response
fixes #3011 - default root node name for api collections json response to :results but make it configurable
fixes #3736 - users API uses login name as an identifying attribute
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #2763 - correcting doco links
fixes #3017 - split APIv2 controllers from v1 parents
fixes #3587, #2855 - print an error on invalid json vs 500 error
fixes #3578 - minor SQL and whitespaces updates to the smart proxy class
fixes #3566 - exposes orchestration tasks via the API at /api/orchestration/id/tasks
fixes #2951 - Host API documentation lacks compute_resource_id
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
fixes #3140 - API to allow importing of puppet classes
fixes #2741 - rails 3 syntax
fixes #3111 - v2 API calls to /api/[class]/[object]/parameters/[parameter] return wrong object
fixes #3207 avoid extra validation calls when importing a report
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 #3130 - Use the standard CentOS mirror
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).
fixes #2863 - restrict APIs to resources that a user is permitted to manage (CVE-2013-4182)
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 #2988 - merge authentication code, enables REMOTE_USER auth on new API controllers
fixes #2933 - add missing fields to installation media API
fixes #2869 - refactor method find_nested_obj into API::BaseController
fixes #2838 - taxonomies controller - fix in params and finder
fixes #2757 - show model validation errors in production.log
Fixes #2817 - wrong param types in lookup keys API documentation
fixes #2411 - move files in /models to /concerns, /services, /mailers, /observers
fixes #2803 - apipie docs, rabl definition matches conventions
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
remove incorrect documentation in API v1 lookup_keys_controller
fixes #2728 - POST /api/hostgroups does not accept ancestry
fixes #2539 - puppetrun API added.
fixes #2539 - added API puppetrun access permission and test
fixes #2553 let setting admin attribute on user creation
fixes #2525 - apipie documentation of actions defined in a concern
Apipie now supports defining actions defined in module by including`Apipie::DSL::Concern`. Some substitutions are preformed whileincluding the documentation in each controller, so that instead of...
Fixes #2513 - orgs created in katello do not appear in org filtering
- topbar cache sweeper turned on for api controllers- a bit of refactoring to get rid of repetitive expire_fragment
Fixes #2459 - Create ProxyFeature methods from symbol name, lookup on real text
fixes #2248 adds api controllers and actions to access_permissions.rb
Feature #2368 - i18n extracting strings
fixes #2250 API v2 add/remove puppetclasses from hosts and hostgroups
fixes #2318 - API v2 documentation for parameters to include real paths rather than /references/:id
Load the apipie documentation when calling '/api'
The documentation is used to list the links for the resources. We makesure it's loaded.
fixes #2299 - Parameters Controller (API v2) can reset parameters (delete them all)
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
Using Apipie versioning features and Maruku for markdown
Apipie switched from Redcarpet to Maruku to avoid crashes of the CExtension. No further need of compiling anything to get markdown support.
API now allows for search of usergroups
include nested host routes in the api documentation
v2 api for configuration_templates and template_combinations
fix in compute resources api doc
added API v2 placeholders.
fixes #1890 api host status
added slash /unattended to other url_for calls
added compute resource actions and tests
host routes api changes squashed
support for passing template_kind hash as input parameter during create and update operations
Fix the path for create medium API
Clear the thread values outside of handling request
Adding an around filter to clear the thread values. Without this thereis a risk that the thread value from previous request will be used inother request, which can lead to security issues.
We clear the current user at the beginning of the request (except the...
added template_kinds controller to api
removed params required => from update action
smart proxies api - filtering by proxy type
subnets api - removed required constraints from fields in update
The required constraints were blocking partial updates.
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.
adds foreman versions to response headers
minor API v1 fixes
update api documentation
Subnets API
added environment API
api v1 - domains controller
api v1 - added media and dashboard controllers
api v1 - config templates
fixes #1576 - api v1 - oauth support
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
api v1 - fisrt version of bookmarks controller
added architectures controller in v1 API
Fixed error handling in BaseController
api v1 - operatingsystems controller
api v1 - Authorization
api v1 - architectures controler and tests
cleanup after merge conflict with latest develop branch
api v1 - fixing permissions
cleanups in base controller
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json
api v1 - render home#index links from restapi