buckyos / documents

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

5.2 Introduction CYFS for Developers: R Link #23

Open streetycat opened 1 year ago

streetycat commented 1 year ago

R Link

It's like below:

cyfs://$target_zone.r/$dec_id/$inner_path[?mode=json&mime=txt]

The R Link read the specified field mounted on the RootState of a DECApp. it's usually used to access the mutable Objects.

Different from O link, the content specified by R link can be modified by the owner, It behaves much like http, and we can always use it instead of the http.

Domain for R Link

Different from O link, the domain of R link is depend on the DecApp. So, there are cross domain issues and defense. We must open the permissions to the target DecApp to allow it's access.