Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


asset.get :id 1377760

asset = None    { version=4 id=1377760 vid=74319092 }

    type = image/png

    namespace = /projects/Data Team/sean

    path = /projects/Data Team/sean/IMG_0222.PNG

    name = IMG_0222.PNG

    meta = None    { stime=74319092 }

etc

Code Block
asset.get :id ASSET-ID
Expand
titleSample output from the file command

The file can also be addressed by its absolute path.

Code Block

asset.get :id "path=FULL-PATH-TO-FILE"


Exercise 1 - upload a (supplied?) file and then inspect the metadata in the system.


Expand
titleSolution to exercise 1

put IMG_0222.PNG

asset.get :id "path=/projects/Data Team/sean/IMG_0222.PNG"


asset = None    { version=4 id=1377760 vid=74319092 }

    type = image/png

    namespace = /projects/Data Team/sean

    path = /projects/Data Team/sean/IMG_0222.PNG

    name = IMG_0222.PNG

    meta = None    { stime=74319092 }

etc



...