Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

[Memo] There is no API to undelete a file. #150

Description

@probablycorey

I don’t think it’s possible to undo a file deletion. Would it be possible to let users do something like that?

Activity

  1. as-cii commented on Oct 15, 2018

    @as-cii
    Contributor

    We think this should already be possible by calling rename and specifying the old parent id and name. You could try that in the short term, but it might be more convenient and discoverable for us to add a method that offers this under a name like undelete.

  2. probablycorey commented on Oct 17, 2018

    @probablycorey
    Author

    I got it working with the rename strategy. It is a little weird and I think an undelete method would make the code clearer, but it all works for now!

  3. probablycorey commented on Nov 6, 2018

    @probablycorey
    Author

    @as-cii In v0.5.0 the renaming strategy doesn't work anymore. Looks like it might be time for an an API call!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions