Tangler Discussion Forums

Discuss

Topics

Click a Topicto start discussing

    Sri

    Howdy all.  I thought Id start a topic for API related issues (I know this is too vague but hey its a start)...

    should the key be "apikey" or "api_key"?? 

    2007-04-19 22:36:30.0

    hah, we have also had the api_key and apikey discussion internally as well:)

    2007-04-20 01:28:49.0

    hey any feedback on function calls, methodologies, formats etc. we are more then open to. we are steadily refining the API and there is no doubt that the current form is a 'final' form

    2007-04-20 01:29:33.0
    Sri

    i just found another issue with the GetFileProperties function....  I sent the following headers: 

    GET /APIServer/authz/getfileprops/spanyam/%2F?apikey=<apikey> HTTP/1.1
    Host: api.omnidrive.com
    Accept: */*
    Cookie: r_sessionid=1177162853556_6508667239390355964
     

    and it throws the following error:

     <html><head><title>Apache Tomcat/5.5.20 - 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><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.20</h3></body></html>

    2007-04-21 06:42:28.0

    note that when i did the same thing using the ListFolders function, it works fine... (i get the contents of the folder as xml text...

    2007-04-21 06:42:55.0

    Also nick, can i make a small suggestion to the api?

    it would be more "os"-like if the getfile and putfile (uploadfile) methods actually allowed partial transfers... i mean writing n bytes at offset O.  This would essentially make it similar to read and write calls you find in normal programming opertations...

    just a thought...  

    2007-04-22 16:51:50.0

    by the way this change would be an extension to the existing api (in the form of extra parameters to the http request) rather than change in the actual request endpoint ...

    2007-04-22 19:04:35.0

    ok fellos, its my bad here... i just realised i was trying to get the properties of the root FOLDER using the getfileprops method... i should have been using the getfolderprops.  Works now.... sorry about that..

    2007-04-22 22:11:44.0

    hey, good to see that you managed to work it out:) we do have a plan to expose the 'resume' functionality, we currently do use it, but it isn't exposed to you guys yet, but it will be soon

    2007-04-22 23:53:13.0
    Sri

    is the resume funcitonality for uploads or downloads as well??

    2007-04-23 00:20:48.0

    (i mean the other way around regarding uploads and downloadsXP)

    2007-04-23 00:21:24.0

    Also on that note regarding the "server encountere dan internal error", i am not sure if it should really fail... at the worst case, itd would be great if it could return a response with result = xx and message = "not a file" or "not a folder"...

    also, is there a rationale behind two distince methods for getfileprops and getfolderprops? wouldnt one have sufficed?  (you gotta pardon my slowness on the uptake)...

    2007-04-23 00:23:14.0

    Howdy again...

     has there been a change to the authentication api??  i am suddenly getting failed authentications when using the api using curl

    when using cookies, the server is returning an empty value for "r_sessionid" and when using http auth, it just fails with the message "

      <authentication result="failure">
      <user>spanyam</user>
      <return>-4</return>
      <message><![CDATA["spanyam" login failed]]></message>
    </authentication>

    any ideas?? 

    2007-04-29 18:56:50.0

    Fellas - in the createfolder method, the server is returning "return" where as the docos are mentioning "result" .. thought id let you know..

    2007-04-29 22:52:18.0
    nik

    hey sorry I missed this message but I see you got it sorted

    2007-05-06 01:31:10.0

    Hey Sri - what are you working on? Did you manage to make something with the Omnidrive API?

    2007-05-23 17:37:56.0
    Sri

    yeah i am currently building a mountable linux fs for omnidrive.  Almost done, just runing it through some ltp and bonnie test suitesXP  should be out in a week or a bit...

    2007-05-24 18:53:01.0

    Wow - that's terrific! Let me know if I can help in any way.

    2007-05-24 19:00:25.0
    Sri

    no probs.. il post  it up as soon as i am done with it...   thanks for the offer... il take you up on it soonXP

    actually one thing i am worried about it is trying to make its installation "simple"...   so would love feed back and help with that aspect.... 

    2007-05-24 19:15:33.0

    Very happy to assist you Sri - can't wait to see work in progress.

    2007-05-28 18:55:29.0
To send a message, Join Now (it's quick and free) or Sign In
Edit Topic
Delete Topic
Are you sure you want to delete the topic