Hi,
It seems that this is a bug.
There is an open issue about it you can follow:
https://issues.jfrog.org/browse/RTFACT-5735
Shay.
On Sun, Jun 9, 2013 at 3:34 AM, Nestor Urquiza [via Artifactory] <
[email protected]> wrote:
> 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><style><!--H1
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color :
> #525D76;}--></style> </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
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://forums.jfrog.org/Search-creation-REST-API-not-working-correctly-tp7578857.html
> To start a new topic under Artifactory - Users, email
> [email protected]
> To unsubscribe from Artifactory, click
> here<http://forums.jfrog.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2380776&code=c2hheWJAamZyb2cuY29tfDIzODA3NzZ8MTU0NDg2MTQ3OA==>
> .
> NAML<http://forums.jfrog.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context:
http://forums.jfrog.org/Search-creation-REST-API-not-working-correctly-tp7578857p7578861.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