Re: What is a Version?

On Thu, Mar 12, 2026 at 07:17:30PM +0100, Julian Reschke wrote:
> > I'm asking how to get a URI for the version _alone_, not the versioned
> > resource.  If we're talking about a VCS application we'd be talking
> > about obtaining a URI for a "commit" that might involve many resources.
> > 
> > Given:
> > 
> >    GET /some/resource
> > 
> >    200 Ok
> >    Version: 12345
> > 
> > find a URI for a commit named 12345 that affected /some/resource and
> > possibly others.
> 
> Ok, so let's distinguish between "version of a resource", "resource that has
> versions" ("version-controlled" in WebDAV), and "commit" or "change list";
> just to avoid overloading "version".

Yes.

> > > Having a URI for "the representation of the resource when it (the
> > > representation) had this etag" could be useful when looking at the history
> > > of a resource. FWIW, we have a response field for that in HTTP.
> > 
> > What header is that?  Location:?
> 
> C-L (I think, can be confusing).

Content-Location:?  No, that's the location of this resource, not the
location of a related resource like the "commit" or "change list"
resource corresponding to the version of this resource.

Nico
-- 

Received on Friday, 13 March 2026 04:43:03 UTC