Comments (3)
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.
Or it could be that files could only be revised if they were not oEmbedded.
from api-spec.
May revisit this in the future, but have no plans for it.
from api-spec.
Related Issues (20)
- A Poll's options.is_your_response type doesn't match documentation HOT 6
- Restrict client/apps count stat to active/public HOT 1
- Invalid data returned when setting include_user=0 on File endpoints HOT 1
- auto-rotate uploaded JPEG images based on EXIF data HOT 1
- +io.pnut.core.user replacement raw
- mime_types filter for files
- Support payments with PayPal HOT 2
- /sys/stats users.disabled inaccurate
- Parenthesis handling around links
- Allow users to change poll_response
- Add example docs to User Streams
- Do not show poll results until it is over
- Add native (custom) video oembed HOT 1
- Allow "deleting" avatar and cover
- QR code invite sharing
- Revoke scopes when all tokens are deleted
- Add channel search RSS
- 1.0 Changes
- Polls in App Streams
- Add created_at to channels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-spec.