Relationships Write
POST http://localhost:8443/v1/relationships/write
Request Body
{"updates"=>[{"operation"=>"OPERATION_TOUCH", "relationship"=>{"resource"=>{"objectType"=>"document", "objectId"=>"topsecret1"}, "relation"=>"writer", "subject"=>{"object"=>{"objectType"=>"user", "objectId"=>"alice"}}}}, {"operation"=>"OPERATION_TOUCH", "relationship"=>{"resource"=>{"objectType"=>"document", "objectId"=>"topsecret1"}, "relation"=>"viewer", "subject"=>{"object"=>{"objectType"=>"user", "objectId"=>"bob"}}}}]}