You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Anton <fa...@freenet.de> on 2014/12/18 10:04:50 UTC

REST API: Artifact's last modified timestamp

Hi,

is it possible to get the last modified timestamp for a specific artifact
via the REST API or any other way?

Thanks in advance!

Anton



--
View this message in context: http://archiva.996284.n3.nabble.com/REST-API-Artifact-s-last-modified-timestamp-tp16426.html
Sent from the User mailing list archive at Nabble.com.

Re: REST API: Artifact's last modified timestamp

Posted by Olivier Lamy <ol...@apache.org>.
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 <fa...@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

Re: REST API: Artifact's last modified timestamp

Posted by Anton <fa...@freenet.de>.
<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.