...
Code Block | ||
---|---|---|
asset.get :id ASSET-ID | ||
Expand | ||
|
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 | ||
---|---|---|
| ||
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 |
...