How write directly into another user Gaia Service or write on behalf of one another. Assuming Alice and Bob are Partners. Is it possible for Alice to write
directly into Bobs Gaia service and Vice versa.
I saw this API documentation below and I was wondering if it could be achieved with that or is there any other way
PUT/store/<public-key-hash>/<file-name> it is use to write data to user gaia service on behalf user by applications
GET/store/<public-key-hash>/<file-name> reads file from user defined by public key hash.
can someone provide me code sample of how to utlize this API. currently, I only know how to post to my gaia via the code below
but cannot post to another user Gaia.
//const options = { encrypt: false, zoneFileLookupURL: 'https://core.blockstack.org/v1/names/' }
const options = { encrypt: false }
putFile(test.json, JSON.stringify(content), options)
.then((res) => {
// print returned data here
})