External Data Option 4 - Use OPA's API #375
Replies: 1 comment
-
Yes, you'd use the data API with PUT. |
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
-
I'm reading https://www.openpolicyagent.org/docs/latest/external-data/#option-4-push-data and I would like to understand more about the OPA's API mentioned in the document.
Do you happen to have examples for step B calling OPA's API to update or add external data to OPA server at run time?
I guess the OPA's API could be policy API or Data API?
https://www.openpolicyagent.org/docs/latest/rest-api/#create-or-overwrite-a-document
https://www.openpolicyagent.org/docs/latest/rest-api/#create-or-update-a-policy
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions