New schema added.
Introduced 'scopeuuid' in VerifyApiKey request. Removed org, env from the request.
diff --git a/api.go b/api.go
index 5e517b8..f09d8cc 100644
--- a/api.go
+++ b/api.go
@@ -51,7 +51,7 @@
}
f := r.Form
- elems := []string{"action", "key", "uriPath", "organization", "environment"}
+ elems := []string{"action", "key", "uriPath", "scopeuuid"}
for _, elem := range elems {
if f.Get(elem) == "" {
w.WriteHeader(http.StatusBadRequest)
diff --git a/apidVerifyAPIKey-api.yaml b/apidVerifyAPIKey-api.yaml
index 04f0335..f0a1841 100644
--- a/apidVerifyAPIKey-api.yaml
+++ b/apidVerifyAPIKey-api.yaml
@@ -88,6 +88,7 @@
- action
- key
- uriPath
+ - scopeuuid
properties:
action:
enum:
@@ -96,6 +97,8 @@
type: string
uriPath:
type: string
+ scopeuuid:
+ type: string
VerifyAPIKeyResponse:
type: object