eluv-io / elv-live-js

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

add env to tenant-publish #186

Closed elv-todd closed 2 months ago

elv-todd commented 2 months ago

use the new authd staging tenant PostConfigMeta /tnt/config/:tid/metadata [POST]

previously required a POST body with { "content_hash": <hash> }; it now also accepts an optional env: { "content_hash": <hash>, "env": "staging" } and will publish to the matching live object.