Open ryaliscs opened 7 years ago
The issue seems with conversion of response to manifest. check below the plain response and it has all the urn and other information https://drive.google.com/file/d/0ByrHSB-f7jP3LXF6Y0VkeHVwWlU/view?usp=sharing
The response is not correctly converted into Manifest.
Hi, The issue closed, but I don't find any comment on why this is closed.
I have the exact same issue here. I'm supposed to get the converted file's urn from the manifest so I can use it in getDerivativeManifest to download the file (however this function works to download something without a File return value or a target path), but the manifest I get after job success only contains 2 urns :
I guess I should do something like "manifest.getDerivatives().get(0).getUrn(), but it turns out that the class ManifestDerivative doesn't have an urn member at all. What am I supposed to do ? Randomly build an urn and hope my app doesn't crash from so bad coding ? (=> base file urn, replace .rvt with .svf, add /output/0 before file name ?)
Hi Keorl,
This issues seems to be of no priority to the team.
I found another GItHub project with the similar implementation, may be that helps
I am using the following code to get the manifest from a successful job
ApiResponse manifest = derivativesApi.getManifest(urnOfSuccessfulJob, null, oauth2TwoLegged, twoLeggedCredentials);
Manifest data = manifest.getData();
The response does not contain urn's eg: children: [class ManifestChildren { type: geometry role: 2d name: 03.51 - Detail V.01 hasThumbnail: true mime: null urn: null progress: complete status: success resolution: [] modelGUID: null objectIds: [] messages: null }
Full Response can be found at: https://drive.google.com/file/d/0ByrHSB-f7jP3TXhHYVQtOEUyM2c/view
Thanks & Regards, Sarat.