The api is not working correctly as far as I can see. Try yourself: $ date --date "June 8 2013" +%s 1370664000 $ curl -XGET -u user:password "http://sample.com:8080/artifactory/api/search/creation?from=1370664000"
It returns all artifacts instead of obeying the request. Furthermore in reality we would like "from=0&to=epoc for a year ago" however that will produce: $ date --date "June 8 2012" +%s 1339128000 $ curl -XGET -u user:password "http://sample.com:8080/artifactory/api/search/creation?from=0&to=1339128000" <html><head><title>Apache Tomcat/7.0.26 - Error report</title> </head><body> HTTP Status 404 - No results found. <HR size="1" noshade="noshade"><p>*type* Status report</p><p>*message* <u>No results found.</u></p><p>*description* <u>The requested resource (No results found.) is not available.</u></p><HR size="1" noshade="noshade"> A Is this a bug or I am using the API incorrectly? Thanks1 - Nestor -- View this message in context: http://forums.jfrog.org/Search-creation-REST-API-not-working-correctly-tp7578857.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
