https://github.com/cdent/tiddlywebplugins.patch
HTTP PATCH for TiddlyWeb
https://github.com/cdent/tiddlywebplugins.patch
Last synced: 27 days ago
JSON representation
HTTP PATCH for TiddlyWeb
- Host: GitHub
- URL: https://github.com/cdent/tiddlywebplugins.patch
- Owner: cdent
- Created: 2012-05-16T19:22:38.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-20T19:07:37.000Z (about 14 years ago)
- Last Synced: 2025-02-01T03:28:53.156Z (over 1 year ago)
- Language: Python
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
TiddlyWeb plugin to allow HTTP PATCH on TiddlyWeb entities.
By default tiddlers are edited and created with PUT, wherein
the request represents the full tiddler resource. In general
this is sufficient, but there are times when it may be useful
to adjust just one attribute.
For this plugin a PATCH is a JSON dictionary document containing
one or more key and value pairs where the key is an attribute and
the value is a complete replacement for that value[1]. For those
entities where the entity has nested dictionaries, the deepest key
is replaced, not the top key.
Created and Copyright 2012, Chris Dent with lots of
help from the people talking in [1]. BSD License.
[1] Several different options for how to do this were considered and
this was considered the least ambiguious and onerous. See
https://groups.google.com/d/topic/tiddlyweb/0udpLxRKp-E/discussion