-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleteing files now complies with api v2.1 #25
base: master
Are you sure you want to change the base?
Conversation
any updates on this? i can't delete files with the current sdk version. |
I haven't heard anything from the devs in this project. @kkushimoto and @shohara is there anything I can do to help this pull request along? I didn't see anything in terms of guidelines for pull requests on this project. I tried to keep the added delete functionality in-line with what is already in the code base. Any feedback is appreciated! Thank you! |
@TomRaybould and @Kyusung4698, thanks for the PR. Can you send me and @jcasman an email with information on the plug-in you're building? We want to relay this information on to the team at RICOH when we ask them the status of the PR to help get their attention. Our email is [email protected] and [email protected] We don't work for RICOH, but we talk to people there from time to time. |
It's not work for me.
|
Hey @Jackdea, So in all honesty, since making this PR I have since switched jobs and no longer work on anything related to Theta, that being said I think I can still help you here... First the issue.. v2.1's API The solution.. It looks like above you are trying to delete a file that is called "image" so in order to get this to work you need to first put that fileId into a JSONArray and then add the array as a param.
Extra tip: |
Thanks~~~ It's work!!
|
The HttpConnector class is still using the old v2.0 web api for the camera, for deleting images, and does not currently work this way. This commit changes the HttpConnector logic so that it can delete files off the camera using the v2.1 web api. This requires a different callback with an array of multiple image paths which I have created "HttpDeleteFileListener".
https://developers.theta360.com/en/docs/v2.1/api_reference/commands/camera.delete.html