I’m trying to add bulk KVM entries to a KVM at environment level in Apigee X. I see an api that does the job but for only single entry.
I tried passing multiple entries as an array but api gives error invalid json error.
curl “https://apigee.googleapis.com/v1/organizations/org_1/environments/env_1/keyvaluemaps/KVM_1/entries” \
-X POST \
-H “Authorization: Bearer $TOKEN” \
-H ‘Content-Type:application/json’ \
-d ‘[{“name”: “key1”, “value”: “data1”},{“name”: “key2”, “value”: “data2”}]’
Does this api only support one entry at a time? Is there any api that can add multiple KVM entries to a KVM in Apigee X? I guess I see an api for the same for apigee Edge, but couldnt find one for Apigee X.
Thanks