Deep-Lynx icon indicating copy to clipboard operation
Deep-Lynx copied to clipboard

Uploading files documentation doesn't seem to be correct

Open alahiff opened this issue 1 year ago • 1 comments

Bug Description

The URLs mentionedin https://github.com/idaholab/Deep-Lynx/wiki/Uploading-Files don't appear to be correct.

Steps to Reproduce

Follow the documentation as described here: https://github.com/idaholab/Deep-Lynx/wiki/Uploading-Files using appropriate container and data source ids.

This gives an error:

Cannot POST /containers/1/datasources/1/files

The documentation refers to /containers/:id/datasources/:id/files but this does not appear to be listed on the API documentation. The API docs suggests that that /containers/:id/import/datasources/:id/files should be used, i.e. import in the path is missing.

I am using DeepLynx 1.5.1.

(As an aside I couldn't work out how to upload files & metadata successfully using /containers/:id/import/datasources/:id/files either but then came across the DeepLynx Python module and was able to use that).

alahiff avatar Nov 10 '23 06:11 alahiff

@alahiff Sorry you are running into some troubles. Did you get some help?

DnOberon avatar Nov 23 '23 22:11 DnOberon