eluv-io / elv-live-js

Eluvio Live JavaScript SDK
MIT License
4 stars 3 forks source link

Implement content object policy functions #106

Closed elv-wayne closed 1 year ago

elv-wayne commented 1 year ago
  content_set_policy <object>               Set the policy on an existing
  <policy_path> [data]                      content object. This also sets the
                                            delegate on the object contract to
                                            itself.
  content_set_policy_delegate <object>      Set the policy delegate on the
  <delegate>                                object contract.
  content_get_policy <object>               Get the content object policy from
                                            the object metadata and the delegate
                                            from the object's contract meta
  content_clear_policy <object>             Remove content object policy from
                                            the object metadata and the delegate
                                            from the object's contract meta