curl --fail-with-body -XPOST \
--data '{"namespace": "File", "object": "object-1", "relation": "owner", "subject_id": "user_u1"}' \
'<http://localhost:4466/relation-tuples/check/openapi>'
{"allowed":true}
curl --fail-with-body -XPOST \
--data '{"namespace": "File", "object": "object-1", "relation": "view", "subject_id": "user_u1"}' \
'<http://localhost:4466/relation-tuples/check/openapi>'
{"allowed":false}
curl --fail-with-body -XPOST \
--data '{"namespace": "File", "object": "object-1", "relation": "viewer", "subject_id": "user_u1"}' \
'<http://localhost:4466/relation-tuples/check/openapi>'
{"error":{"code":500,"status":"Internal Server Error","message":"relation \"viewer\" not found"}}
curl: (22) The requested URL returned error: 500
make: *** [check-tuple] Error 22