Project

General

Profile

Actions

Feature #16607

closed

Add rfc6902 and rfc7396 support to REST api

Added by James Shewey over 7 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
medium
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Recently the IETF has published proposed standards to add the PATCH method to the REST protocol:

https://tools.ietf.org/html/rfc6902
https://tools.ietf.org/html/rfc7396

This allows the programmer to update a single attribute of an object in-place instead of needing to GET the object and then replace the entire object. Ruby libraries for adding this support may be found here:

http://jsonpatch.com/

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to API

Note that the current PUT support in Foreman's API works in the same way as a patch, it only updates the attributes provided.

Actions #2

Updated by Amit Karsale over 5 years ago

  • Status changed from New to Rejected

Based on Dominic's comment closing the issue. If somebody feels the need can re-open the issue.
Thanks.

Actions

Also available in: Atom PDF