OPA Policy API #385
Unanswered
Ronnie-personal
asked this question in
OPA and Rego
Replies: 1 comment
-
Hi @Ronnie-personal! I think the difference is in the name :) The data API is for CRUD operations on data (including querying), while the policy API is for policies. You can modify documents via the data API, but AFAIK it can't be used to upload policies. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi There,
I'm currently reading https://www.openpolicyagent.org/docs/latest/rest-api/#policy-api. I also did tests on calling the API, it works.
My questions are why we need policy APIs, what are the unique use cases?
I'm able to create document under any module using data API, so why I need policy api?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions