pulibrary / tiger-data-experiments

TigerData is a comprehensive set of data storage and management tools and services that provides storage capacity, reliability, functionality, and performance to meet the needs of a rapidly changing research landscape and to enable new opportunities for leveraging the power of institutional data.
Apache License 2.0
2 stars 0 forks source link

Working tag creation #51

Open carolyncole opened 1 year ago

carolyncole commented 1 year ago

not working tag assignement

hectorcorrea commented 1 year ago

@carolyncole it looks like we need to go through the dictionary to add tags.

> dictionary.add :entry < :definition "third time is a charm" :term "term03" >

> dictionary.entries.list
    :term "term01"
    :term "term02"
    :term "term03"

> asset.tag.add :id 1023 :tag < :name "term03" >
> asset.get :id 1023

    ...
    :tag -id "1"
        :name "term01"
        :creator -id "15"
            :domain "system"
            :user "manager"
        :ctime -tz "Etc/UTC" -gmt-offset "0.0" -dst "false" -millisec "1679431179102" "21-Mar-2023 20:39:39"
    :tag -id "2"
        :name "term03"
        :creator -id "15"
            :domain "system"
            :user "manager"
        :ctime -tz "Etc/UTC" -gmt-offset "0.0" -dst "false" -millisec "1679431415355" "21-Mar-2023 20:43:35"
    ...