remove separate 'path' and 'name' from ContentsManager

Opening now, so the plan is clear, but it will need to be rebased and finished after #6045 and #6783, which touch the same code. We should notify anyone who is already writing ContentsManagers that target 3.0.

Changes:

- ContentsManager APIs will only use a single 'path' argument, which is the full path
- `path` in the Contents model will become the full path, rather than the parent directory
- remove "untitled upload" via POST to a directory (only upload via PUT)
- remove copy via PUT(only POST)
makes sense, done.

On Mon, Nov 10, 2014 at 5:21 PM, Thomas Kluyver <notifications@github.com>
wrote:

> In IPython/html/static/services/contents.js:
>
> >       */
> > -    Contents.prototype.new = function(path, name, options) {
> > -        var method, data;
> > -        if (name) {
> > -            method = "PUT";
> > -        } else {
> > -            method = "POST";
> > -            data = JSON.stringify({ext: options.ext || ".ipynb"});
> > -        }
> > +    Contents.prototype.new = function(path, options) {
>
> I would now call this new_untitled, for symmetry with the Python API.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ipython/ipython/pull/6809/files#r20126811>.
>