archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: REST API: Artifact's last modified timestamp
Date Mon, 16 Feb 2015 10:24:15 GMT
no.
But you can get it with an http call and read the header 'Last-Modified'.
Sample:
mb-olamy:parent olamy$ curl -I
https://archiva-repository.apache.org/archiva/repository/snapshots/org/apache/archiva/archiva/maven-metadata.xml

HTTP/1.1 200 OK

Date: Mon, 16 Feb 2015 10:22:49 GMT

....

Cache-Control: max-age=86401, public

Last-Modified: Mon, 16 Feb 2015 10:22:49 GMT

....


OTH

Olivier

On 14 February 2015 at 02:33, Anton <fallout.86@freenet.de> wrote:

> <http://archiva.996284.n3.nabble.com/file/n16528/last_modified.png>
>
> Is it possible to get this information with the REST API?
>
>
>
> --
> View this message in context:
> http://archiva.996284.n3.nabble.com/REST-API-Artifact-s-last-modified-timestamp-tp16426p16528.html
> Sent from the User mailing list archive at Nabble.com.
>



-- 
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message