monotasker / specifications Goto Github PK
View Code? Open in Web Editor NEWThis project forked from distributed-text-services/specifications
Specifications for the DTS API (fork for proposed extensions)
Home Page: https://w3id.org/dts
This project forked from distributed-text-services/specifications
Specifications for the DTS API (fork for proposed extensions)
Home Page: https://w3id.org/dts
Assuming that the implementation wants to maintain control over who can create and modify server data, the new token parameter also allows for token-based authentication (as with OAuth 2.0) if desired. It is up to the implementation to decide how such tokens should be generated and processed.
Authentication is orthogonal to updates. Different environments may want to do this in different ways.
Currently, DTS does not have optional extensions. If we introduce them, how does a client discover which extensions are supported on a given server?
An alternative would be to say that a client can always return a permission error - you aren't allowed to update this resource, but has to support the method.
This should be stated once somewhere under URL conventions, and perhaps not as part of this particular proposal. Of course you need to URL encode characters if they are problematic.
Interpretation of existing DTS query parameters should be no different for updates than for anything else. Is this section needed?
The POST request body is underspecified. What are the contents?
The document currently requires a parent parameter for post:
parent
identifier for the collection under which a new collection or document is to be created.
The usual REST idiom is that a POST to a collection URI creates a new item as a child of the target resource.
I don't particularly like this version either:
There are no required query parameters for a POST request to the Collections endpoint. The one optional parameter is parent. This should be the unique identifier of an existing collection. If a parent is supplied, then the new item will be created as a child member of that collection. Otherwise the new item will be created at the top level of the target repository.
I prefer not to rely on query parameters to know where a resource is going to be created. The semantics of POST on a collection URI are generally pretty standard, we should stick to them.
It has been suggested that I stick for the moment to proposing the new methods on existing endpoints, rather than proposing new endpoints. I can see the wisdom in that, so I'll probably separate out the possible new endpoints into a separate file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.