GithubHelp home page GithubHelp logo

[Request] File versioning about api-spec HOT 3 CLOSED

pnut-api avatar pnut-api commented on August 17, 2024
[Request] File versioning

from api-spec.

Comments (3)

33mhz avatar 33mhz commented on August 17, 2024 1

For the purposes of file storage, being able to version a file in place seems really helpful.
The problem with being able to update a file without changing the link seems like the same problem as allowing people to change post entities when revising a post.

E.g., a post might have an oEmbed pointed to a pnut file. A person reposts that post, and the person changes the file, changing what another person reposted. In theory, a person could link to somewhere else and then change what that link is pointing to, but it seems crummy to allow within the pnut API.

Because of this kind of gaming or unexpected behavior, post raw is immutable, except the oembed links themselves, which are updated on demand for convenience, without affecting content.

Just thinking out loud, versioning a file could not delete the old file, and file revisions would be like post threads; related to each other, but not automatically deleted. You would be able to pull up the "latest" file easily.

from api-spec.

33mhz avatar 33mhz commented on August 17, 2024

Or it could be that files could only be revised if they were not oEmbedded.

from api-spec.

33mhz avatar 33mhz commented on August 17, 2024

May revisit this in the future, but have no plans for it.

from api-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.