Open josephmturner opened 1 year ago
The Github API uses PATCH requests for renaming repositories (SO post here.
PATCH
WDYT about an API for to rename /foo to /bar like this:
/foo
/bar
PATCH hyper://PUBLIC-KEY/foo Content-Type: application/json { "name": "/bar" }
This feature would make atomic renaming possible by using drive.batch() under the hood.
drive.batch()
@alphapapa do you have any thoughts on this API?
I like it!
The Github API uses
PATCH
requests for renaming repositories (SO post here.WDYT about an API for to rename
/foo
to/bar
like this:This feature would make atomic renaming possible by using
drive.batch()
under the hood.